CN104102619B - Method and system of first operating system operating DSP (digital signal processing) of second operating system - Google Patents

Method and system of first operating system operating DSP (digital signal processing) of second operating system Download PDF

Info

Publication number
CN104102619B
CN104102619B CN201310125921.6A CN201310125921A CN104102619B CN 104102619 B CN104102619 B CN 104102619B CN 201310125921 A CN201310125921 A CN 201310125921A CN 104102619 B CN104102619 B CN 104102619B
Authority
CN
China
Prior art keywords
order
dsp
arm processor
operating system
daughter nucleus
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
CN201310125921.6A
Other languages
Chinese (zh)
Other versions
CN104102619A (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.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital 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 Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN201310125921.6A priority Critical patent/CN104102619B/en
Publication of CN104102619A publication Critical patent/CN104102619A/en
Application granted granted Critical
Publication of CN104102619B publication Critical patent/CN104102619B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Multi Processors (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a method and a system of a first operating system operating DSP (digital signal processing) of a second operating system. The method comprises the following steps of enabling the first operating system to write a command into a shared-memory buffer, and sending an interruption notice to an ARM processor; after the ARM processor receives the interruption notice, reading the command in the shared-memory buffer, and judging a target DSP sub-core of the DSP which can realize the function of the command, runs under the second operating system and is provided with a plurality of DSP sub-cores; enabling the ARM processor to forward the command into the target DSP sub-core, so as to enable the target DSP sub-core to complete the function. By additionally arranging the ARM processor, the command generated by SDK (software development kit) of the first operating system is forwarded to the DSP under the second operating system through the ARM processor, and the DSP of the second operating system can be controlled by the first operating system, so a video and audio board card of a Centaurus platform can be applied to a Windows operating system.

Description

The method and system that first operating system is operated to the DSP of the second operating system
Technical field
The present invention relates to video communication operational control field, particularly to a kind of first operating system to the second operating system DSP(Digital Signal Processing, digital signal processing unit)The method and system being operated.
Background technology
Netra is Texas Instrument(TI)A kind of video SOC(system on a chip) released(SoC, System on Chip), it is by height All captures of clear multi-channel system, compression, display and control function are integrated on single-chip, and it is integrated with ARM Cortex- A8 processor, Ti C674x Floating-point DSP, some secondary programmable HD video image coprocessors(HDVICP V2.0), and One HD video processing subsystem(HDVPSS, or VPS).
Centaurus is the platform that Texas Instrument is extended based on Netra, is integrated with the characteristic of Netra, also more focuses on low work( Consumption design.In Centaurus platform, DSP refers in particular to by VID(HDVICP, programmable HD video image coprocessor)、 C674x(DSP operation processor on Centaurus platform, C674x is industry lowest power consumption Floating-point DSP, is put down based on C64x+ Platform, the speed of service can reach 750MHz)And HD video processing subsystem(HDVPSS, or VPS)At the multinuclear of composition Reason unit.Wherein, C674x is the DSP operation processor on Centaurus platform, and C674x is lowest power consumption floating-point in industry DSP, based on C64x+ platform, the speed of service reaches as high as 750MHz.
DVR(Digital Video Recorder, DVR)It is the computer system that audio frequency and video storage is processed, can Realize long-time recording, the function such as video recording, remote monitoring, the operating system that DVR is typically run is linux.
At present, it is all independent operating linux operating system based on the DVR product of Netra platform, under Linux system, main DSP is controlled to realize various functions with menu-style.And PC is then belonging to based on the video and audio board of Centaurus platform A part, if PC run Windows operating system if, then the scheme under Linux system cannot meet demand, and then Limit application under Windows operating system for the DVR product.
Content of the invention
In view of this, the present invention provides a kind of first operating system that the DSP running on the second operating system is operated Method and system, and then realize the application under Windows operating system of the video and audio board of Centaurus platform.
The technical scheme of the application is realized in:
A kind of method that first operating system is operated to the DSP running on the second operating system, including:
First operating system sends interrupt notification by order write shared buffer and to arm processor;
After described arm processor receives described interrupt notification, read the described order in described shared buffer, and sentence Break to realize the function of described order and run under the second operating system the DSP with multiple DSP daughter nucleus in purpose DSP daughter nucleus;
Described order is forwarded to described purpose DSP daughter nucleus by described arm processor, so that described purpose DSP daughter nucleus completes Described function.
Further, described first operating system will order write shared buffer simultaneously by the SDK of this first operating system Send interrupt notification to arm processor.
Further, methods described also includes:
The time-out time of the interrupt notification to be received such as described arm processor setting;
Reach set time-out time when the waiting time of the described interrupt notification to be received such as described arm processor, And when described arm processor is not received by described interrupt notification, described arm processor inquires about described shared buffer with true Recognize the new order whether having described SDK write in described shared buffer;
If there is no described new order in described shared buffer, described arm processor continue waiting for receiving new in Open close know;
If there being described new order in described shared buffer, described arm processor reads in described shared buffer Described new ordering and judge to realize the purpose DSP daughter nucleus of the function of described new order;Described arm processor will be described New order is forwarded to described purpose DSP daughter nucleus, so that described purpose DSP daughter nucleus completes described function.
Further, described time-out time is 20ms.
Further, after the described order in reading described shared buffer, judge to realize the function of described order Before purpose DSP daughter nucleus, also include:
Described order is verified;
If verifying successfully, judge to realize the purpose DSP daughter nucleus of the function of described order;Otherwise, wait SDK again to Arm processor sends interrupt notification.
Further, described judge to realize the function of described order and run under the second operating system have multiple Purpose DSP daughter nucleus in the DSP of DSP daughter nucleus, is to forward matrix table to judge to realize the mesh of the function of described order according to order DSP daughter nucleus, and order execution time and the realization such as purpose DSP daughter nucleus needing feedback.
Further, described order forwards matrix table to include:
_retCoreFlg_:For judging the purpose DSP daughter nucleus of the function of realizing described order;
_recevCoreFlg_:For judging the DSP daughter nucleus of return information;
_wait_:For recording the waiting time of described order, if described order can not be completed within the set time, Then report mistake;
_bPara_:The parameter of order, for realizing the transmission of command parameter;
_bRetPara_:The feedback parameter of order, for realizing the transmission of order return parameterss;
_buf_:The relief area of order, for placement parameter information;
_retBuf_:The feedback relief area of order, for placing the information such as return parameterss;
_func_:Order the corresponding function pointer realizing function.
Further, described DSP daughter nucleus includes:VID, VPS and C674X.
Further, described DSP is the multi-core DSP in Centaurus platform.
The system that a kind of first operating system is operated to the DSP running on the second operating system, including:
The SDK of the first operating system, sends interrupt notification for by order write shared buffer and to arm processor;
Arm processor, for receiving described interrupt notification, reads the described order in described shared buffer, and judges Go out to realize the function of described order and run under the second operating system the DSP with multiple DSP daughter nucleus in purpose DSP Daughter nucleus, and described order is forwarded to described purpose DSP daughter nucleus, so that described purpose DSP daughter nucleus completes described function;And
DSP, runs under the second operating system, has multiple DSP daughter nucleus.
From such scheme as can be seen that first operating system of the present invention is carried out to the DSP running on the second operating system The method and system of operation, by increasing arm processor between the SDK and the DSP of the second operating system of the first operating system, Enable the order that the first operating system is sent to be forwarded to described DSP by this arm processor, and then may be implemented in first Controlling so that the video and audio board energy of Centaurus platform to described DSP under operating system such as Windows operating system Enough it is applied to Windows operating system.
Brief description
Fig. 1 is the stream to the method that the DSP running on the second operating system is operated for first operating system of the present invention Cheng Tu;
Fig. 2 is the order transfer process schematic diagram in the method for the present invention;
Fig. 3 is applied to schematic flow sheet during Centaurus platform for the method for the present invention;
Fig. 4 is one of the method for the present invention and is embodied as flow chart;
Fig. 5 is the first operating system system structure that the DSP running on the second operating system is operated of the present invention Schematic diagram.
Specific embodiment
In order that the objects, technical solutions and advantages of the present invention become more apparent, develop simultaneously embodiment referring to the drawings, The present invention is described in further detail.
As shown in figure 1, the method that first operating system of the present invention is operated to the DSP running on the second operating system Mainly include the following steps that:
First operating system sends interrupt notification by order write shared buffer and to arm processor;
After described arm processor receives described interrupt notification, read the described order in described shared buffer, and sentence Break to realize the function of described order and run under the second operating system the DSP with multiple DSP daughter nucleus in purpose DSP daughter nucleus;
Described order is forwarded to described purpose DSP daughter nucleus by described arm processor, so that described purpose DSP daughter nucleus completes Described function.
Wherein, described first operating system passes through the SDK of this first operating system(Software Development Kit, SDK)Send interrupt notification by order write shared buffer and to arm processor.Below with Windows operating system is as the first operating system, the side as a example the second operating system is (SuSE) Linux OS, to the present invention Method is specifically described.
SDK is software engineer is that the foundation application such as specific software kit, software frame, hardware platform, operating system is soft The set of the developing instrument of part.For Windows(Form)For operating system, Microsoft often releases an important Windows Version, typically all can release a SDK simultaneously.SDK contains and develops Windows function needed for this version of window and often Number definition, api function explanation document, related tool and example.
SDK in the specific embodiment of the invention is the SDK of Windows system, and described DSP is in Centaurus platform Multi-core DSP, this dsp operation is under linux system.
Using the method for the present invention, forwarded by the order of arm processor and can realize user couple under Windows system The funcall of DSP.As shown in Fig. 2 user sends downwards order using a series of functional interfaces that SDK provides first;At ARM Reason device terminates and forwards the command to corresponding DSP daughter nucleus in DSP after receiving SDK order, such as VPS, VID and C674X etc., Realize the operation to DSP eventually.
The method of the present invention is applied to Centaurus platform so that user can also enter to DSP under Windows system Row operation and control, to realize the corresponding function of DSP.As shown in figure 3, in the method for the present invention, arm processor passes through from SDK Enter line command to receive, then order is forwarded in DSP corresponding DSP daughter nucleus, arm processor is substantially as SDK to DSP's Order forwarding module, is set up the bridge of an order transmission between SDK and DSP, and then is achieved by identification and forwarding The control to DSP under Windows system.
The method of the present invention, by increasing arm processor so that the order that SDK is sent can between SDK and DSP Described DSP is forwarded to by this arm processor, and then may be implemented in operation and the control to described DSP under Windows system, The video and audio board enabling Centaurus platform is applied to Windows operating system.
In actual motion, it is possible to the loss interrupted occur, that is, SDK is to arm processor for arm processor The interrupt notification sending is probably due to some reasons are without being obtained by arm processor.For the loss of avoidance breakout, the present invention's Method still further comprises:
The time-out time of the interrupt notification to be received such as described arm processor setting;
Reach set time-out time when the waiting time of the described interrupt notification to be received such as described arm processor, And when described arm processor is not received by described interrupt notification, described arm processor all inquires about once described shared buffer Area is to be confirmed whether the new order having described SDK to write to described shared buffer;
If there is no described new order in described shared buffer, described arm processor continue waiting for receiving new in Open close know, when the waiting time of the new interrupt notification to be received such as described arm processor having reached set time-out time, Described arm processor inquires about described shared buffer again to be confirmed whether to have described SDK to write to described shared buffer New order;
If there being described new order in described shared buffer, described arm processor reads in described shared buffer Described new ordering and judge to realize the purpose DSP daughter nucleus of the function of described new order;
Described new order is forwarded to described purpose DSP daughter nucleus by described arm processor, so that described purpose DSP daughter nucleus Complete described function.
As can be seen from the above scheme, after setting timeout period, arm processor just can be every for the method for the present invention A shared buffer is all inquired about at the end of individual timeout period.So, when the loss situation occurring interrupting, as long as SDK To in shared buffer, it is written with order, arm processor can read the up-to-date life of SDK write from shared buffer Order, and then complete the operation to DSP, thus avoidance breakout can lose and cause waiting as long for of arm processor, or even can not Read the problem of shared buffer.
In the method for the present invention, in order to prevent, reading order from producing mistake, described in reading described shared buffer After order, before the purpose DSP daughter nucleus judging to realize the function of described order, also include:
Described order is verified;
If verifying successfully, judge to realize the purpose DSP daughter nucleus of the function of described order;Otherwise, wait SDK again to Arm processor sends interrupt notification.
In addition, in the method for the present invention, described judge to realize the function of described order and run on the second operation system The purpose DSP daughter nucleus in the DSP with multiple DSP daughter nucleus under system, is to forward matrix table to judge described in realization according to order The purpose DSP daughter nucleus of the function of order, and order execution time and need purpose DSP daughter nucleus of feedback etc. to realize.
Embodiment illustrated in fig. 4 carries out concrete logic flow during concrete application for the method for the present invention, below to Fig. 4 institute Show that embodiment flow process is described in detail.
Step a, arm processor are initialized, and to set up shared buffer, to create order forwarding task, execute afterwards Step b.
The initialization procedure of this step a includes:(1)Set up shared buffer it is intended that fixing memory address as SDK and The order shared buffer of DSP, and corresponding for this memory address physical address is notified DSP to access for DSP;(2)Create Order forwarding task, for monitoring the interrupt notification of SDK and forwarding received order to DSP.
Step b, arm processor wait the interrupt notification that SDK sends, and arrange the time-out time of wait;At described ARM After reason device receives described interrupt notification, or after the waiting time having reached set time-out time, execution step c.
In this step b, arm processor is waited for, and waits the interrupt notification that SDK is sent.When user calls SDK interface sends after interrupt notification to arm processor, and arm processor produces and interrupts and read shared buffer to judge to be No have newer command.Cause to wait as long in order to avoid interrupting loss, in step b, be provided with a time-out time, super when reaching When the time after arm processor automatically will inquire about shared buffer, judge whether there is newer command.As a specific embodiment, Time-out time is set to 20ms.
Step c, arm processor judge whether etc. until interrupt notification, if it is execution step f, otherwise execution step d.
When in stepb, arm processor receives interrupt notification, then it is directly entered this step c, without waiting for time-out Step c is entered back into, now arm processor will determine that out wait in step c after time(Receive)Arrive interrupt notification, subsequently just It is directly entered step f.When in stepb, arm processor is not received by interrupt notification, and the waiting time reached set After the time-out time put, then enter this step c, now in step c arm processor will determine that out without waiting in open close Know, subsequently just enter step d.
Step d, inquiry shared buffer, to confirm the new life whether having described SDK write in described shared buffer Order, and execution step e.
Step e, judge whether to have the new order of described SDK write in shared buffer, if there are then execution step f, Otherwise execution step b.
Can be seen that step d from the flow process of abovementioned steps b, step c, the execution of step e is in arm processor not etc. Until just triggering in the case of interrupting.Carry out in practical application in the method for the present invention, for arm processor, having can Can occur interrupting losing, the interrupt notification that is, SDK sends to arm processor is probably due to some reasons are without by ARM process Device obtains, and now SDK is possible to be written with new order to shared buffer.Therefore, time-out time in step b Setting and step c, step d and step f setting can be effectively prevented because interrupt loss situation occur when led to Unexpected generation.
In step e, when judging not have the new order of described SDK write in shared buffer, indicate and reaching To within cycle this period of time-out time, arm processor had both been not received by interrupt notification, also not in shared buffer Inquire new order, now it is believed that SDK does not send order within cycle this period reaching time-out time.This In the case of, arm processor returns to the execution state of step b, resumes waiting for SDK transmission in a new timeout period Interrupt notification.
In step e, when judging to have the new order of described SDK write in shared buffer, indicate and reaching In cycle this period of time-out time, although arm processor is not received by interrupt notification, SDK is shared slow Rush and in area, be written with new order, now it is believed that SDK have issued order within cycle this period reaching time-out time, but It is due to certain(A bit)Reason causes the loss of interrupt notification.In this case, the next step of arm processor processes synchronization Rapid c medium until the process after interrupt notification is the same it is believed that SDK have issued order, and then carry out the execution of step f.
Step f, order is verified, execution step e afterwards.
Step g, judge command checksum whether success, if it is execution step h, otherwise execution step b.
The setting of step f and step g can prevent order mistake.When judging in step g that step f does not have to command checksum Success, that is, it is believed that the order that this SDK is sent is wrong when verifying unsuccessfully, then come back to step b, and then avoid The execution order of DSP mistake, so can effectively prevent bad command from DSP is caused with the control of mistake.
Step h, arm processor forward matrix table according to order, forward the command to purpose DSP daughter nucleus, so that described mesh DSP daughter nucleus complete the function of described order.
Because the setting of abovementioned steps b to step g is so that when going to this step h, the order that SDK is sent is just permissible Confirming as is the correct order that DSP is controlled.Now execution step h can really obtain the sent order of SDK and pass through The function of being realized in DSP after the forwarding of arm processor.
In conjunction with shown in Fig. 4, through step b, when SDK sends interruption by order write shared buffer and to arm processor Notify, after described arm processor receives described interrupt notification, in step c, arm processor is judged to wait(Receive)Arrive Interrupt notification, subsequent arm processor reads the described order in described shared buffer, and judges to realize described order The purpose DSP daughter nucleus of function.Read the described order in described shared buffer in arm processor, and judge that realization is described During the purpose DSP daughter nucleus of function of order, by the process that order is verified of experience step f and step g.When Verify unsuccessful in step g, then return to the execution of step b.
In conjunction with shown in Fig. 4, in step b, arm processor arranges the time-out time waiting;After step b, step c, when The waiting time of the described interrupt notification to be received such as described arm processor has reached set time-out time, and described ARM When processor is not received by described interrupt notification, then execution step d, described arm processor inquire about described shared buffer with Confirm the new order whether having described SDK write in described shared buffer;
In step e, if there is no described new order in described shared buffer, return to step b, described ARM process Device continues waiting for receiving new interrupt notification, when again passing by step b, step c, described arm processor etc. to be received new in When the open close waiting time known has reached set time-out time, continue executing with step d, described arm processor is inquired about again Described shared buffer, to be confirmed whether the new order having described SDK to write to described shared buffer, so executes repeatedly;
In step e, if there being described new order in described shared buffer, described arm processor reads described common Enjoy described new the ordering and judge to realize the purpose DSP daughter nucleus of the function of described new order in relief area;At described ARM Described new order is forwarded to described purpose DSP daughter nucleus, so that described purpose DSP daughter nucleus completes described function by reason device.For Embodiment illustrated in fig. 4, wherein further comprises the process that described new order is verified.
In the present invention, the process that described order is verified is the described order in reading described shared buffer Afterwards, carry out before the purpose DSP daughter nucleus judging to realize the function of described order.Specifically can be found in step f in Fig. 4, step g With step f.
In the present invention, judge to realize the concrete DSP daughter nucleus of the function of described order and described order is forwarded to institute Stating purpose DSP daughter nucleus is to forward matrix table to realize according to order, and described order forwards matrix table to include:
_retCoreFlg_(Execution core identification parameter):For judging the purpose DSP daughter nucleus of the function of realizing described order;
_recevCoreFlg_(Return core identification parameter):For judging the DSP daughter nucleus of return information;
_wait_(Waiting time parameter):For recording the waiting time of described order, if within the set time not Described order can be completed, then report mistake;
_chanType_(Channel type parameter):For recording channel type, the number of channels of described order, for right Described order is verified;
_bPara_(Command parameter):The parameter of order, for realizing the transmission of order;
_bRetPara_(Order feedback parameter):The feedback parameter of order, for realizing the transmission of the parameter that order returns;
_buf_(Order buffer parameter):The relief area of order, for placement parameter information;
_retBuf_(Order feedback buffer parameter):The feedback relief area of order, for placing the information such as return parameterss;
_func_(Execution function parameter):Order the corresponding function pointer realizing function.
Wherein _ chanType_ is dispensable, and other all parameters are essential.But it is noted that some orders Take less than _ retBuf_(Order feedback buffer parameter), _ retBuf_ takes less than to these _ and the order of retBuf_ is not use , but be probably then useful to other orders.
Order forwards each parameter in matrix table as mentioned above, and order forwards matrix table to have recorded the whole letters needed for order Breath.SDK only need to provide command number and necessary arrange parameter to during DSP transmitting order to lower levels, thus shielding by arm processor The detail of order setting.Arm processor passes through command sequence number and can find the corresponding command in order forwarding matrix table, When at this, itemized record execute the DSP daughter nucleus of this corresponding command, the DSP daughter nucleus that needs feedback information, exectorial wait Between, order type(Coding, decoding or display), the information such as exectorial function pointer.And then arm processor will order and Relevant parameter is issued to corresponding DSP daughter nucleus, and forwards the function pointer in matrix table to call accordingly in this daughter nucleus by order Function complete order.Feedback information is write the feedback relief area forwarding order in matrix table by last DSP daughter nucleus(_ retBuf_)And feedback parameter(_bRetPara_), thus completing the interaction of SDK and multi-core DSP.
The method of the present invention, by increasing ARM process between the DSP under the first operating system and the second operating system Device is so that the order that the first operating system is sent can be forwarded to described DSP by this arm processor, and then may be implemented in First operating system(As Windows system)Under control to described DSP, and then make the video and audio plate of Centaurus platform Card can be applied to Windows operating system.
According to said method, present invention also offers a kind of first operating system is to the DSP running on the second operating system The system being operated, as shown in figure 5, include:The SDK of the first operating system, for by order write shared buffer and to Arm processor sends interrupt notification;
Arm processor, for receiving described interrupt notification, reads the described order in described shared buffer, and judges Purpose DSP in the DSP with multiple DSP daughter nucleus that is going out to realize described command functions and running under the second operating system Core, and described order is forwarded to described purpose DSP daughter nucleus, so that described purpose DSP daughter nucleus completes described function;And
DSP, runs under the second operating system, has multiple DSP daughter nucleus, such as VID, VPS and C674X etc..This DSP is Multi-core DSP in Centaurus platform.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all essences in the present invention Within god and principle, any modification, equivalent substitution and improvement done etc., should be included within the scope of protection of the invention.

Claims (8)

1. a kind of method that first operating system is operated to the DSP running on the second operating system, including:
First operating system sends interrupt notification by order write shared buffer and to arm processor;
After described arm processor receives described interrupt notification, read the described order in described shared buffer, and judge Realize the function of described order and run under the second operating system the DSP with multiple DSP daughter nucleus in purpose DSP Core;
Described order is forwarded to described purpose DSP daughter nucleus by described arm processor so that described purpose DSP daughter nucleus complete described Function;
Wherein, described first operating system passes through the SDK of this first operating system by order write shared buffer and at ARM Reason device sends interrupt notification;
Methods described also includes:
The time-out time of the interrupt notification to be received such as described arm processor setting;
Reach set time-out time when the waiting time of the described interrupt notification to be received such as described arm processor, and When described arm processor is not received by described interrupt notification, described arm processor inquires about described shared buffer to confirm State the new order whether having described SDK write in shared buffer;
If there is no described new order in described shared buffer, described arm processor continue waiting for receiving new in open close Know;
If there being described new order in described shared buffer, described arm processor reads the institute in described shared buffer State new ordering and judge to realize the purpose DSP daughter nucleus of the function of described new order;Described arm processor will be described new Order is forwarded to described purpose DSP daughter nucleus, so that described purpose DSP daughter nucleus completes described function.
2. method according to claim 1 it is characterised in that:Described time-out time is 20ms.
3. method according to claim 1 it is characterised in that read described shared buffer in described order after, Before the purpose DSP daughter nucleus judging to realize the function of described order, also include:
Described order is verified;
If verifying successfully, judge to realize the purpose DSP daughter nucleus of the function of described order;Otherwise, wait SDK again at ARM Reason device sends interrupt notification.
4. method according to claim 1 it is characterised in that:Described judge to realize the function of described order and run Purpose DSP daughter nucleus in the DSP with multiple DSP daughter nucleus under the second operating system, is to forward matrix table to sentence according to order Break and the purpose DSP daughter nucleus of the function of realizing described order, and the purpose DSP daughter nucleus of order execution time and needs feedback is real Existing.
5. method according to claim 4 is it is characterised in that described order forwards matrix table to include:
_retCoreFlg_:For judging the purpose DSP daughter nucleus of the function of realizing described order;
_recevCoreFlg_:For judging the DSP daughter nucleus of return information;
_wait_:For recording the waiting time of described order, if described order can not be completed within the set time, report Accuse mistake;
_bPara_:The parameter of order, for realizing the transmission of command parameter;
_bRetPara_:The feedback parameter of order, for realizing the transmission of order return parameterss;
_buf_:The relief area of order, for placement parameter information;
_retBuf_:The feedback relief area of order, for placing the information such as return parameterss;
_func_:Order the corresponding function pointer realizing function.
6. the method according to any one of claim 1 to 5 is it is characterised in that described DSP daughter nucleus includes:Programmable high definition Video image coprocessor VID, HD video processing subsystem VPS and C674X.
7. the method according to any one of claim 1 to 5 it is characterised in that:Described DSP is in Centaurus platform Multi-core DSP.
8. the system that a kind of first operating system is operated to the DSP running on the second operating system is it is characterised in that wrap Include:
The SDK of the first operating system, sends interrupt notification for by order write shared buffer and to arm processor;
Arm processor, for receiving described interrupt notification, reads the described order in described shared buffer, and judges reality Existing described order function and run under the second operating system the DSP with multiple DSP daughter nucleus in purpose DSP Core, and described order is forwarded to described purpose DSP daughter nucleus, so that described purpose DSP daughter nucleus completes described function;And
DSP, runs under the second operating system, has multiple DSP daughter nucleus;
Described arm processor, is additionally operable to the time-out time of the interrupt notification to be received such as setting, when described arm processor etc. is waiting The waiting time receiving described interrupt notification has reached set time-out time, and described arm processor is not received by institute When stating interrupt notification, whether described arm processor inquires about described shared buffer described to confirm to have in described shared buffer The new order of SDK write;
If there is no described new order in described shared buffer, described arm processor continue waiting for receiving new in open close Know;
If there being described new order in described shared buffer, described arm processor reads the institute in described shared buffer State new ordering and judge to realize the purpose DSP daughter nucleus of the function of described new order;Described arm processor will be described new Order is forwarded to described purpose DSP daughter nucleus, so that described purpose DSP daughter nucleus completes described function.
CN201310125921.6A 2013-04-11 2013-04-11 Method and system of first operating system operating DSP (digital signal processing) of second operating system Active CN104102619B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310125921.6A CN104102619B (en) 2013-04-11 2013-04-11 Method and system of first operating system operating DSP (digital signal processing) of second operating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310125921.6A CN104102619B (en) 2013-04-11 2013-04-11 Method and system of first operating system operating DSP (digital signal processing) of second operating system

Publications (2)

Publication Number Publication Date
CN104102619A CN104102619A (en) 2014-10-15
CN104102619B true CN104102619B (en) 2017-02-08

Family

ID=51670784

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310125921.6A Active CN104102619B (en) 2013-04-11 2013-04-11 Method and system of first operating system operating DSP (digital signal processing) of second operating system

Country Status (1)

Country Link
CN (1) CN104102619B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110515662B (en) * 2019-07-17 2021-01-01 湖南新云网科技有限公司 Remote control method, system, equipment and readable storage medium for dual-system equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7503049B2 (en) * 2003-05-29 2009-03-10 Panasonic Corporation Information processing apparatus operable to switch operating systems
JP2006004092A (en) * 2004-06-16 2006-01-05 Denso Corp Computer system
CN100507883C (en) * 2006-07-26 2009-07-01 广达电脑股份有限公司 Method for controlling universal serial bus unit between no-compatibility processing platforms
CN102736595A (en) * 2012-06-06 2012-10-17 中国电力科学研究院 Unified platform of intelligent power distribution terminal based on 32 bit microprocessor and real time operating system (RTOS)
CN102999731B (en) * 2012-11-20 2015-09-30 成都卫士通信息产业股份有限公司 A kind of safety communicating method based on dual core processor and system

Also Published As

Publication number Publication date
CN104102619A (en) 2014-10-15

Similar Documents

Publication Publication Date Title
US20120284696A1 (en) Method, Apparatuses and a System for Compilation
JP4669088B1 (en) Test apparatus, test method and program
WO2023284699A1 (en) Protocol stack data transmission method based on linux system, and computer device and storage medium
US20030188054A1 (en) Data transfer apparatus and method
EP2856753B1 (en) Communicating with an endpoint using matrix barcodes
CN106331733A (en) Desktop cloud terminal's audio and video data real-time processing method and system
CN115665342B (en) Image processing method, image processing circuit, electronic device, and readable storage medium
CN109597653A (en) Method, BIOS and the BMC of BIOS and BMC command interaction
CN111736792B (en) Programmable logic device, control method and control system thereof and video processor
CN104102619B (en) Method and system of first operating system operating DSP (digital signal processing) of second operating system
TW201112130A (en) Controllers and methods for controlling data transfer, and electronic systems
US20030146976A1 (en) Digital camera system enabling remote monitoring
WO2024037076A1 (en) Data interaction method, apparatus and system, and electronic device and storage medium
CN112926285A (en) Chip verification method, platform, device, equipment and storage medium
KR100787220B1 (en) Electronic apparatus with device possible to both read and write simultaneously and method thereof
CN115454881B (en) Debugging system and debugging method of RISC-V architecture
JP2007286654A (en) Sequencer simulation device
US7451240B2 (en) Method and related circuit for increasing network transmission efficiency by increasing a data updating rate of a memory
US20060271650A1 (en) Framework for establishing application system
CN111371799A (en) Method, device and equipment for controlling data transmission and reception of MCTP (Multi-channel media processing protocol) controller
JP2009253723A (en) Communication protocol processing circuit, communication protocol processing method, and communication terminal
KR101180784B1 (en) apparatus for automatically creating operation sequence diagram of program based on component
JP2005275643A (en) Contents data processor, and method
CN117435532B (en) Copying method, device and storage medium based on video hardware acceleration interface
KR100677914B1 (en) Method for enhancing a speed using epmcq2 remote mode

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