CN103365805A - Dynamic switching multi-path input-output interface system and method - Google Patents

Dynamic switching multi-path input-output interface system and method Download PDF

Info

Publication number
CN103365805A
CN103365805A CN2012100984478A CN201210098447A CN103365805A CN 103365805 A CN103365805 A CN 103365805A CN 2012100984478 A CN2012100984478 A CN 2012100984478A CN 201210098447 A CN201210098447 A CN 201210098447A CN 103365805 A CN103365805 A CN 103365805A
Authority
CN
China
Prior art keywords
input
path
current
data
switching
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012100984478A
Other languages
Chinese (zh)
Other versions
CN103365805B (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.)
Galaxycore Shanghai Ltd Corp
Original Assignee
SHANGHAI SUANXIN MICROELECTRONICS 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 SHANGHAI SUANXIN MICROELECTRONICS CO Ltd filed Critical SHANGHAI SUANXIN MICROELECTRONICS CO Ltd
Priority to CN201210098447.8A priority Critical patent/CN103365805B/en
Publication of CN103365805A publication Critical patent/CN103365805A/en
Application granted granted Critical
Publication of CN103365805B publication Critical patent/CN103365805B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Multi Processors (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a dynamic switching multi-path input-output interface system and method. The dynamic switching multi-path input-output interface system comprises a plurality of input routes, a state register and a switching controller, wherein each route comprises an input buffer, wherein each input buffer is used for receiving and buffering input data and storing state data corresponding to each input buffer into the state register; the state register stores the state data; the switching controller receives a current switching command, switches output of the input buffer assigned by the current switching command in the input routes into the data output end of the switching controller, and switches output of the state register assigned by the current switching command in the input routes into the state output end of the switching controller.

Description

Dynamically switch multichannel input/output interface System and method for
Technical field
The present invention relates to multichannel input/output interface System and method for, especially, relate to the dynamic switching multichannel input/output interface System and method for that can dynamically switch the multichannel I/O.
Background technology
Development along with infotech, data structure as the data stream of information carrier is day by day complicated, the processing of data and storage size also improve day by day, therefore the speed of the input/output interface of system, switching capability, parallel processing capability etc. have been proposed very high requirement.
Traditional single channel input/single channel output interface can only receive one tunnel input data, and according to original Sequential output one circuit-switched data of data, for present a lot of complicated application scenarios, the performance of this interface can not satisfy the needs of application far away.Therefore, having proposed can the input of parallel receive multichannel or the multichannel/IO interface of multichannel output is provided.
Existing multichannel input/output interface generally adopts static handoff technique, namely switches statically data on a plurality of input paths or a plurality of outgoing route according to set order, thereby realizes the effect of time-sharing multiplex.Yet at present a lot of application scenarioss, there are a lot of defectives in this static multichannel input/output interface that switches.
For example, as the cutting edge technology in current video encoding and decoding field, the application that video data is cut apart is increasingly extensive.The principle of video data cutting techniques is as basic processing unit with macro block; syntactic element to each macro block carries out classifying packing (cutting apart) according to its importance; and adopt different fault-tolerant and channel guard grades; to improve the fault-tolerance of video code flow, improve the video quality of fluctuation net environment.The design feature of processing video data stream afterwards through the video data cutting techniques is, with most important syntactic element is corresponding in each macro block data placement in the data stream front end, then data corresponding to other syntactic elements that the order that descends by importance is placed each macro block successively, that is to say that this data stream is no longer come naturally array data according to the geometric position of each macro block in original image.When such video data is decoded, can't decode again and show successively the image of each macro block to each macro block by the geometric position of looking for macro block, but need to be to the decoding data of each class syntactic element, after the multipass (multi-path) of Various types of data is processed, synthetic all decoded results can obtain whole image again, this has just proposed very high requirement to video decoding system and arithmetic capability and storage capacity, therefore needs huge hardware resource to finish computing and the preservation of data.And when processing different Data Segmentations, system need to open up system resource with the contextual information of preservation and switch data code stream by firmware or software, if and utilize traditional static multichannel input/output interface to receive or send the data stream of cutting apart through video data, then can't change the original structure of data stream, therefore can't address the above problem.
Again for example for SOC (system on a chip) (SOC), its modules may need various external commands and data simultaneously, switch the multichannel input/output interface if adopt traditional static state, then can't be according to the current needs of modules, dynamically, from multipath input data, switch its current required data or order for each module neatly.If distribute separately input/output interface for each module, then can cause huge hardware spending.
Therefore, how to provide a kind of and can be adapted to the multichannel output/output interface that complicated market demand dynamically switches, become present problem demanding prompt solution.
Summary of the invention
The present invention proposes a kind of dynamic switching multichannel input/output interface method and system, the method and system can dynamically switch multipath input data according to switching command, or dynamically will input data exchange to multichannel and export, the demand of this interface system data handling system outside with it is adapted, at full speed, high degree of parallelism, dynamic flexible ground provide data by the instruction demand.
According to an aspect of the present invention, proposed a kind of dynamic switching multichannel input interface system, this system comprises:
A plurality of input paths, each input path comprises:
Input buffer, this input buffer receive and buffering input data, and the status data corresponding with this input buffer is saved to status register;
Status register is preserved described status data;
Switch controller, receive current switching command, and with in described a plurality of input paths by the output switching of the input buffer of this current switching command appointment data output end to switch controller, and with in described a plurality of input paths by the output switching of the status register of this current switching command appointment state output end to switch controller.
Preferably, each in described a plurality of input paths has the with it path ID of unique correspondence, is used for input buffer and the status register of this input path of identification and this input path; And described current switching command comprises the current path ID of the input path that current needs switch, and specifies input buffer and the status register that is switched by this current path ID.
Preferably, described system also comprises path ID storer, and this path ID storer is used for preserving the last time path ID of a front switching command, and the current path ID in the current switching command.
Preferably, the output switching of the input buffer that described switch controller is will this current path ID corresponding is to data output end, status data with described state output end is saved in the status register that last time path ID was corresponding again, and then the output switching of the status register that current path ID is corresponding is to described state output end.
According to a further aspect in the invention, proposed a kind of dynamic switching multichannel input interface method, the method comprises:
1) in each of a plurality of input paths, receives and buffering input data by input buffer;
2) status data corresponding with this input buffer is saved to corresponding status register;
3) receive current switching command;
4) with in described a plurality of input paths by the output switching of the input buffer of this current switching command appointment to data output end; And
5) with in described a plurality of input paths by the output switching of the status register of this current switching command appointment to state output end.
Preferably, each in described a plurality of input paths has the with it path ID of unique correspondence, is used for input buffer and the status register of this input path of identification and this input path; And in step 3) in; Described current switching command comprises the current path ID of the input path of current needs switching, in step 4) in, specify the input buffer that is switched by this current path ID; And in step 5) in, specify the status register that is switched by this current path ID.
Preferably, in step 3) in, preserve the current path ID in the current switching command; And in step 4) and step 5) between, also comprise step 6), in step 6) in, the last time path ID that preserves when receiving switching command last time preserves as for this status data on described state output end last time in the corresponding status register of path ID.
According to a further aspect in the invention, proposed a kind of dynamic switching multichannel output interface system, this system comprises:
-a plurality of outgoing routes, each outgoing route comprises:
Output buffer cushions and exports the input data from switch controller, and the status data corresponding with this output buffer is saved to status register;
Status register is preserved described status data;
-switch controller, receive current switching command, the output buffer by this current switching command appointment of the input data exchange that the data input pin of this switch controller is received to a plurality of outgoing routes, and with in described a plurality of outgoing routes by the output switching of the status register of this current switching command appointment state output end to switch controller.
Preferably, each in described a plurality of outgoing routes has the with it path ID of unique correspondence, is used for output buffer and the status register of this outgoing route of identification and this outgoing route; And described current switching command comprises the current path ID of the outgoing route that current needs switch, and specifies output buffer and the status register that is switched by this current path ID.
Preferably, described system also comprises path ID storer, and this path ID storer is used for preserving the last time path ID of a front switching command, and the current path ID in the current switching command.
Preferably, described switch controller with described input data exchange to output buffer corresponding to this current path ID, status data with described state output end is saved in the status register that last time path ID was corresponding again, and then the output switching of the status register that current path ID is corresponding is to described state output end.
According to a further aspect in the invention, proposed a kind of dynamic switching multichannel output interface method, the method comprises:
1) receives the input data at data input pin;
2) receive current switching command;
3) with the output buffer by this current switching command appointment of described input data exchange to a plurality of outgoing routes;
4) status data corresponding with this output buffer is saved to corresponding status register;
5) with in described a plurality of outgoing routes by the output switching of the status register of this current switching command appointment to state output end.
Preferably, each in described a plurality of outgoing routes has the with it path ID of unique correspondence, is used for output buffer and the status register of this outgoing route of identification and this outgoing route;
In step 2) in, described current switching command comprises the current path ID of the outgoing route of current needs switching,
In step 3) in, by this current path ID specify the output buffer that is switched and
In step 5) in, specify the status register that is switched by this current path ID.
Preferably, in step 2) in, preserve the current path ID in the current switching command; And in step 4) and step 5) between, also comprise step 6), in step 6) in, the last time path ID that preserves when receiving switching command last time is saved to this status data on described state output end last time in the corresponding status register of path ID.
Description of drawings
Fig. 1 is the structured flowchart of dynamic switching multichannel input interface system according to a preferred embodiment of the present invention;
Fig. 2 is the structured flowchart of dynamic switching multichannel input interface system according to a further advantageous embodiment of the invention;
Fig. 3 is the process flow diagram of dynamic switching multichannel input interface method according to a preferred embodiment of the present invention;
Fig. 4 is the process flow diagram of dynamic switching multichannel input interface method according to a further advantageous embodiment of the invention;
Fig. 5 is the structured flowchart of dynamic switching multichannel output interface system according to a preferred embodiment of the present invention;
Fig. 6 is the structured flowchart of dynamic switching multichannel output interface system according to a further advantageous embodiment of the invention;
Fig. 7 is the process flow diagram of dynamic switching multichannel output interface method according to a preferred embodiment of the present invention;
Fig. 8 is the process flow diagram of dynamic switching multichannel output interface method according to a further advantageous embodiment of the invention;
The synoptic diagram according to an exemplary application of dynamic switching multichannel input interface of the present invention system that Fig. 9 is.
Embodiment
Fig. 1 is the structured flowchart of dynamic switching multichannel input interface system according to a preferred embodiment of the present invention, and this system mainly comprises:
-a plurality of input paths (100a, 100b, 100c), each input path comprises:
Input buffer (101a, 101b, 101c), this input buffer (101a, 101b, 101c) receive and buffering input data, and will with this input buffer (101a, 101b, 101c) corresponding status data is saved to status register (102a, 102b, 102c);
Status register (102a, 102b, 102c) is preserved described status data;
-switch controller 103, receive current switching command, and with described a plurality of input path (100a, 100b, the input buffer (101a by this current switching command appointment 100c), 101b, output switching 101c) is to the data output end 104 of switch controller 103, and with described a plurality of input path (100a, 100b, the output switching of the status register by this current switching command appointment 100c) (102a, 102b, 102c) is to the state output end 105 of switch controller 103.
Preferably, a plurality of input buffers (101a, 101b, 101c) of described a plurality of input paths synchronously receive multipath input data, realize thus the parallel receive of multichannel data.Described in the embodiment shown in fig. 1 three input paths (100a, 100b, 100c), in fact, the quantity of input path is not limited to three, can be more than one any amount as required.
Preferably, status register (102a in each input path (100a, 100b, 100c), 102b, 102c) be used for the preservation status data corresponding with the state of the input buffer (101a, 101b, 101c) of this input path, or be called " status information " or " contextual information ", this status data can comprise, for example: buffer pointer, count value etc.According to different application scenarios, these status datas can be used for indicating the read/write address of impact damper, read-write state, or the state etc. of data in the impact damper.
Preferably, each input path has the with it path ID of unique correspondence, the input buffer and the status register that are used for this path of identification and this path, be that each path ID is all corresponding, also corresponding with status register and input buffer in this input path with specific input path.The current switching command that switch controller 103 receives can comprise the current path ID of the input path of current needs switching, and specify input buffer and status register in the input path that will switch by this current path ID, and with the output switching of this input buffer to data output end 104, with the output switching of this status register to state output end 105.Yet the specific mode of current switching command is not limited to this, also can specify simultaneously input buffer and the status register that switches in the different input paths according to the needs of using.
According to different application scenarios, described status data may change in response to the order of external logic, or change along with the state of input buffer, or along with data are upgraded through different processing, that is to say, after the status data in certain status register is switched to state output end 105, before switching generation next time, variation may occur in the status data on this state output end 105, in this case, can be before receiving next switching command, current status data preservation on the state output end 105 is got back in the corresponding status register, thereby preserve up-to-date status data in the Guarantee Status register, Fig. 2 has described the structured flowchart corresponding to another preferred embodiment of the of the present invention dynamic switching multichannel input interface system of above-mentioned situation.
In the described embodiment of Fig. 2, this system also comprises path ID storer 106 on the basis of the described system of Fig. 1, and this path ID storer 106 is used for preserving the last time path ID of a front switching command, and the current path ID in the current switching command.In this embodiment, the output switching of the input buffer that switch controller 103 is will this current path ID corresponding is to data output end 104, next, switch controller 103 at first is saved to the status data of state output end 105 in the status register that last time path ID was corresponding, then the output switching of the status register that current path ID is corresponding wherein is saved to status data the status register that last time path ID was corresponding and also can carries out before switching the corresponding input buffer of current path ID to state output end 105.Present embodiment can guarantee that each status register comprises the current up-to-date status information corresponding to the input buffer in its path, place and data.Preferably, when the status data of state output end 105 is saved to the status register that last time path ID was corresponding, can covering, partial coverage or do not cover legacy data in this status register.
The output state data that obtain at state output end 105 can offer exterior storage or logic module, and can be used for the output data of data output terminal 104 are for further processing.
Fig. 3 is the process flow diagram of dynamic switching multichannel input interface method according to a preferred embodiment of the present invention, and the method mainly comprises:
S301 in each of a plurality of input paths, receives and buffering input data by input buffer;
S302 is saved to corresponding status register with the status data corresponding with this input buffer;
S303 receives current switching command;
S304, with in described a plurality of input paths by the output switching of the input buffer of this current switching command appointment to data output end;
S305, with in described a plurality of input paths by the output switching of the status register of this current switching command appointment to state output end.
Preferably, in step S301, a plurality of input buffers of described a plurality of input paths synchronously receive multipath input data, realize thus the parallel receive of multichannel data.
Preferably, each input path has the with it path ID of unique correspondence, the input buffer and the status register that are used for this input path of identification and this input path, be that each path ID is all corresponding, also corresponding with status register and input buffer in this input path with specific input path.In step S303, the current switching command that receives can comprise the current path ID of the input path of current needs switching, thereby input buffer and status register in the input path that current path ID appointment will be switched by this in step S304 and step S305, and with the output switching of this input buffer to data output end, with the data exchange of this status register to state output end.
In another preferred embodiment of the method shown in Figure 4, exporting to before the state output end of switching state register, first according to the last time path ID that preserves the data on the state output end are saved to last time status register corresponding to path ID, the output switching of the status register that current path ID is corresponding is to state output end again, so the method among this embodiment comprises:
S401 in each of a plurality of input paths, receives and buffering input data by input buffer;
S402 is saved to corresponding status register with the status data corresponding with this input buffer;
S403 receives current switching command, and preserves the current path ID in the current switching command;
S404, with in described a plurality of input paths by the output switching of the input buffer of this current path ID appointment to data output end,
S405, the last time path ID that preserves when receiving switching command last time preserves the status data on the state output end as for this corresponding status register of path ID last time,
S406, with in described a plurality of input paths by the output switching of the status register of this current path ID appointment to state output end.
Wherein, step S405 also can carry out between step S403 and step S404.
With dynamic switching multichannel input interface system and method in above-described embodiment accordingly, the invention still further relates to the dynamic switching multichannel output interface system and method based on same principle.
Fig. 5 is the structured flowchart of dynamic switching multichannel output interface system according to a preferred embodiment of the present invention, and this system mainly comprises:
-a plurality of outgoing routes (500a, 500b, 500c), each outgoing route comprises:
Output buffer (501a, 501b, 501c), buffering and output is from the input data of switch controller 503, and will with this output buffer (501a, 501b, 501c) corresponding status data is saved to status register (502a, 502b, 502c);
Status register (502a, 502b, 502c) is preserved described status data;
-switch controller 503, receive current switching command, and the input data exchange that the data input pin 504 of this switch controller is received is to described a plurality of path (500a, 500b, the output buffer (501a by this current switching command appointment 500c), 501b, 501c), and with described a plurality of outgoing route (500a, 500b, the output switching of the status register by this current switching command appointment 500c) (502a, 502b, 502c) is to the state output end 505 of switch controller 503.
Preferably, the input data that data input pin 504 receives comprise according to certain standard carries out a plurality of data slots that Data Segmentation obtains, according to the current switching command that receives, one or more fragments that switch controller 503 will be inputted in the data switch to specified each output buffer (501a of current switching command, 501b, 501c) line output of going forward side by side.
Preferably, the synchronous output multi-channel data of a plurality of output buffers (501a, 501b, 501c) in described a plurality of data routing.
Preferably, each outgoing route has the with it path ID of unique correspondence, the output buffer and the status register that are used for this outgoing route of identification and this outgoing route, be that each path ID is all corresponding, also corresponding with status register and output buffer in this outgoing route with specific outgoing route.The current switching command that switch controller 503 receives can comprise the current path ID of the outgoing route of current needs switching, like this, switch controller 503 can be with the input data exchange in the data input pin 504 to output buffer corresponding to this current path ID, and the status information in also will this current path ID corresponding status register switches to state output end 505.Yet the specific mode of current switching command is not limited to this, also can specify simultaneously input buffer and the status register that switches in the different outgoing routes according to the needs of using.
In the described embodiment of Fig. 6, this system also comprises path ID storer 506 on the basis of system shown in Figure 5, and this path ID storer 506 is used for preserving the last time path ID of a front switching command, and the current path ID in the current switching command.In this embodiment, switch controller 503 with the input data exchange of data input pin 504 to should current path ID correspondence output buffer, next, the status data of state output end 505 is saved in the status register that last time path ID was corresponding, then the output switching of the status register that current path ID is corresponding is to state output end 505, wherein the status data of state output end is saved to the status register that last time path ID was corresponding and also can carries out before the output buffer that the input data exchange of data input pin 504 is corresponding to this current path ID.Present embodiment can guarantee that each status register comprises the current up-to-date status information corresponding to the output buffer in this path and data.Preferably, when the status data of state output end 505 is saved to the status register that last time path ID was corresponding, can covering, partial coverage or do not cover legacy data in the status register.
Fig. 7 is the process flow diagram of dynamic switching multichannel output interface method according to a preferred embodiment of the present invention, and the method mainly comprises:
S701 receives the input data at data input pin;
S702 receives current switching command;
S703 is with the output buffer by this current switching command appointment of described input data exchange to described a plurality of outgoing routes;
S704 is saved to corresponding status register with the status data corresponding with this output buffer;
S705, with in described a plurality of outgoing routes by the output switching of the status register of this current switching command appointment to state output end.
Preferably, in step S703, a plurality of output buffers of described a plurality of outgoing routes are the output multi-channel data synchronously, realize thus the parallel output of multichannel data.
Preferably, each outgoing route has the with it path ID of unique correspondence, is used for output buffer and the status register of this outgoing route of identification and this outgoing route.In step S702, the current switching command that receives can comprise the path ID of the outgoing route of current needs switching, like this, switch controller can be with the input data exchange in the data input pin to output buffer corresponding to this current path ID, and the status information in also will this current path ID corresponding status register switches to state output end.
In another preferred embodiment of the described the method for Fig. 8, in this embodiment, data in the switching state register are to the state output end, first according to the last time path ID that preserves the data on the state output end are saved to last time status register corresponding to path ID, the status data of the status register that current path ID is corresponding switches to state output end again, so the method among this embodiment comprises:
S801 receives the input data at data input pin;
S802 receives current switching command, preserves the current path ID in the current switching command;
S803 is with the output buffer by this current switching command appointment of described input data exchange to described a plurality of outgoing routes;
S804 is saved to corresponding status register with the status data corresponding with this output buffer;
S805, the last time path ID that preserves when receiving switching command last time is saved to the status data on the state output end and this corresponding status register of path ID last time;
S806, with in described a plurality of outgoing routes by the output switching of the status register of this current switching command appointment to state output end.
Wherein, also commutative order execution of step S804 and S805.
In an exemplary application of as shown in Figure 9 of the present invention dynamic switching multichannel input interface system, described input interface is used for receiving and switches I/O video code flow STRMIN0, STRMIN1, STRMIN2 through Video segmentation.Provided three input paths in the example of Fig. 9, corresponding to three syntactic element classes of Video segmentation, in fact according to different application, the quantity of input path is not limited to three.Input buffer BUF0, BUF1, BUF2 is Synchronous Receiving three road video datas respectively, and the separately corresponding status information of three input buffers is saved to three states deposits CTXTREG0, CTXTREG1, CTXTREG2, the status information of this moment can be the contextual information of video input code stream, when receiving switching command, switch controller SWC at first identifies the current current path ID that will switch and is " 1 ", therefore with the output switching of corresponding input buffer BUF1 to data output end STRMDATA, and from the ID storer PID of path as can be known, last time path ID in the last time switching command that receives is " 0 ", therefore, first the status data of state output end STRMCTEX being saved to the state corresponding with path ID " 0 " deposits among the CTXTREG0, then state is deposited the output switching of CTXTREG1 to state output end STRMCTXT, can come switch data output terminal and state output end output data according to the geometric position of macro block by switching command control, namely from three input buffers, switch successively three tunnel (three classes) data of a macro block of output, switch again three circuit-switched data of the next macro block of output, thereby in follow-up encoding-decoding process, even if original input data are not by how much tactic Video segmentation data of macro block, so can decode to each macro block successively and show according to the geometric position of macro block, process the code stream that different types of data is cut apart in one time mode (one-path), make the multichannel code stream share identical codec hardware logic, greatly reduce scale and the complexity of coding/decoding module.This interface allows different video datas to cut apart code stream can to read in independently of each other or write out from the multichannel IO interface, improve efficient and the degree of parallelism of encoding and decoding simultaneously.
Yet input/output interface of the present invention and method are not limited to above application.For example in SOC, also can dynamically switch multipath input data to road output terminal by switching command, or dynamically switch a circuit-switched data to the multichannel output terminal, thereby will input in the system module that Data Dynamic is dispensed to current appointment, realize the dynamic switching of data and order with very little hardware costs and logical complexity.
Above-described embodiment is for illustrative principle of the present invention and effect thereof, but not is used for restriction the present invention.Any those skilled in the art all can under spirit of the present invention and category, make amendment to above-described embodiment.So protection scope of the present invention, should be listed such as claims of the present invention.

Claims (14)

1. one kind dynamically switches multichannel input interface system, and this system comprises:
A plurality of input paths, each input path comprises:
Input buffer, this input buffer receive and buffering input data, and the status data corresponding with this input buffer is saved to status register;
Status register is preserved described status data;
Switch controller, receive current switching command, and with in described a plurality of input paths by the output switching of the input buffer of this current switching command appointment data output end to switch controller, and with in described a plurality of input paths by the output switching of the status register of this current switching command appointment state output end to switch controller.
2. dynamic switching multichannel input interface according to claim 1 system, in wherein said a plurality of input path each has the with it path ID of unique correspondence, is used for input buffer and the status register of this input path of identification and this input path; And
The current path ID that described current switching command comprises the input path of current needs switching specifies input buffer and the status register that is switched by this current path ID.
3. dynamic switching multichannel input interface according to claim 2 system, wherein said system also comprises path ID storer, this path ID storer is used for preserving the last time path ID of a front switching command, and the current path ID in the current switching command.
4. dynamic switching multichannel input interface according to claim 3 system, the output switching of the input buffer that wherein said switch controller is will this current path ID corresponding is to data output end, status data with described state output end is saved in the status register that last time path ID was corresponding again, and then the output switching of the status register that current path ID is corresponding is to described state output end.
5. one kind dynamically switches multichannel input interface method, and the method comprises:
1) in each of a plurality of input paths, receives and buffering input data by input buffer;
2) status data corresponding with this input buffer is saved to corresponding status register;
3) receive current switching command;
4) with in described a plurality of input paths by the output switching of the input buffer of this current switching command appointment to data output end; And
5) with in described a plurality of input paths by the output switching of the status register of this current switching command appointment to state output end.
6. dynamic switching multichannel input interface method according to claim 5, wherein, in described a plurality of input path each has the with it path ID of unique correspondence, is used for input buffer and the status register of this input path of identification and this input path; And
In step 3) in, described current switching command comprises the current path ID of the input path of current needs switching;
In step 4) in, specify the input buffer that is switched by this current path ID; And
In step 5) in, specify the status register that is switched by this current path ID.
7. dynamic switching multichannel input interface method according to claim 6, wherein
In step 3) in, the current path ID in the current switching command preserved; And
In step 4) and step 5) between, also comprise step 6), in step 6) in, the last time path ID that preserves when receiving switching command last time preserves as for this status data on described state output end last time in the corresponding status register of path ID.
8. one kind dynamically switches multichannel output interface system, and this system comprises:
-a plurality of outgoing routes, each outgoing route comprises:
Output buffer cushions and exports the input data from switch controller, and the status data corresponding with this output buffer is saved to status register;
Status register is preserved described status data;
-switch controller, receive current switching command, the output buffer by this current switching command appointment of the input data exchange that the data input pin of this switch controller is received to a plurality of outgoing routes, and with in described a plurality of outgoing routes by the output switching of the status register of this current switching command appointment state output end to switch controller.
9. dynamic switching multichannel output interface according to claim 8 system, in wherein said a plurality of outgoing route each has the with it path ID of unique correspondence, is used for output buffer and the status register of this outgoing route of identification and this outgoing route; And
The current path ID that described current switching command comprises the outgoing route of current needs switching specifies output buffer and the status register that is switched by this current path ID.
10. dynamic switching multichannel output interface according to claim 9 system, wherein said system also comprises path ID storer, this path ID storer is used for preserving the last time path ID of a front switching command, and the current path ID in the current switching command.
11. dynamic switching multichannel output interface according to claim 10 system, wherein said switch controller with described input data exchange to output buffer corresponding to this current path ID, status data with described state output end is saved in the status register that last time path ID was corresponding again, and then the output switching of the status register that current path ID is corresponding is to described state output end.
12. one kind dynamically switches multichannel output interface method, the method comprises:
1) receives the input data at data input pin;
2) receive current switching command;
3) with the output buffer by this current switching command appointment of described input data exchange to a plurality of outgoing routes;
4) status data corresponding with this output buffer is saved to corresponding status register;
5) with in described a plurality of outgoing routes by the output switching of the status register of this current switching command appointment to state output end.
13. dynamic switching multichannel output interface method according to claim 12, wherein, in described a plurality of outgoing route each has the with it path ID of unique correspondence, is used for output buffer and the status register of this outgoing route of identification and this outgoing route;
In step 2) in, described current switching command comprises the current path ID of the outgoing route of current needs switching;
In step 3) in, specify the output buffer that is switched by this current path ID; And
In step 5) in, specify the status register that is switched by this current path ID.
14. dynamic switching multichannel output interface method according to claim 13, wherein
In step 2) in, the current path ID in the current switching command preserved; And
In step 4) and step 5) between, also comprise step 6), in step 6) in, the last time path ID that preserves when receiving switching command last time is saved to this status data on described state output end last time in the corresponding status register of path ID.
CN201210098447.8A 2012-04-06 2012-04-06 Dynamic switching multi-path input-output interface system and method Active CN103365805B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210098447.8A CN103365805B (en) 2012-04-06 2012-04-06 Dynamic switching multi-path input-output interface system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210098447.8A CN103365805B (en) 2012-04-06 2012-04-06 Dynamic switching multi-path input-output interface system and method

Publications (2)

Publication Number Publication Date
CN103365805A true CN103365805A (en) 2013-10-23
CN103365805B CN103365805B (en) 2017-02-15

Family

ID=49367198

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210098447.8A Active CN103365805B (en) 2012-04-06 2012-04-06 Dynamic switching multi-path input-output interface system and method

Country Status (1)

Country Link
CN (1) CN103365805B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104079952A (en) * 2014-07-09 2014-10-01 上海风格信息技术股份有限公司 Audio and video transmission stream embedded with label watermark and monitoring method thereof
CN105306838A (en) * 2015-12-03 2016-02-03 北京小鸟科技发展有限责任公司 Video input/output signal channel switching method and apparatus
CN106533976A (en) * 2016-11-07 2017-03-22 深圳怡化电脑股份有限公司 Data packet processing method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101563810A (en) * 2006-09-21 2009-10-21 Kmw株式会社 Switchable combiner/divider with multiple inputs/outputs
CN102231730A (en) * 2011-05-31 2011-11-02 电子科技大学 Audio/video continuous play seamless switching system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101563810A (en) * 2006-09-21 2009-10-21 Kmw株式会社 Switchable combiner/divider with multiple inputs/outputs
US20100019860A1 (en) * 2006-09-21 2010-01-28 Kmw Inc. Switchable Combiner/Divider With Multiple Inputs/Outputs
CN102231730A (en) * 2011-05-31 2011-11-02 电子科技大学 Audio/video continuous play seamless switching system and method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104079952A (en) * 2014-07-09 2014-10-01 上海风格信息技术股份有限公司 Audio and video transmission stream embedded with label watermark and monitoring method thereof
CN105306838A (en) * 2015-12-03 2016-02-03 北京小鸟科技发展有限责任公司 Video input/output signal channel switching method and apparatus
CN105306838B (en) * 2015-12-03 2018-11-09 北京小鸟科技股份有限公司 The switching method and switching device of video input/output signal channel
CN106533976A (en) * 2016-11-07 2017-03-22 深圳怡化电脑股份有限公司 Data packet processing method and device
CN106533976B (en) * 2016-11-07 2019-12-06 深圳怡化电脑股份有限公司 data packet processing method and device

Also Published As

Publication number Publication date
CN103365805B (en) 2017-02-15

Similar Documents

Publication Publication Date Title
CN100538736C (en) Storage and back-storing state context are at the method and apparatus of Graphics Processing Unit
CN1916961B (en) Interruptible graphic processing unit and its control method
CN105431905B (en) Storage unit with the operation of internal read-modify-write
US9239783B2 (en) Multiprocessor storage controller
CN100435172C (en) Method for stopping multiple programs in image processing unit and image processing unit
CN103282887A (en) Controller and method for performing background operations
US20140044128A1 (en) Serial replication of multicast packets
CN101689107A (en) Be used for conditional order is expanded to the method and system of imperative statement and selection instruction
US20100211747A1 (en) Processor with reconfigurable architecture
CN101303884A (en) Nand type flash memory controller and read-write control system and method
CN103365805A (en) Dynamic switching multi-path input-output interface system and method
CN100349442C (en) Ping pong buffer device
US7979607B2 (en) Cascadable high-performance instant-fall-through synchronous first-in-first-out (FIFO) buffer
US10996860B2 (en) Method to improve mixed workload performance on storage devices that use cached operations
CN117827284B (en) Vector processor memory access instruction processing method, system, equipment and storage medium
CN202904564U (en) Dynamic switching multi-way input interface system and dynamic switching multi-way output interface system
CN102129476A (en) Application of virtual file system by utilizing ZIP compression format
US20180198713A1 (en) Multiple datastreams processing by fragment-based timeslicing
CN103369287A (en) Method and system for video data conversion
KR101763731B1 (en) A method for implementing a line speed interconnect structure
CN102930898A (en) Method of structuring multiport asynchronous storage module
CN102665104A (en) Parallel multiplexing method and device for transport streams
US20140173175A1 (en) Nand command aggregation
US10503513B2 (en) Dispatching a stored instruction in response to determining that a received instruction is of a same instruction type
CN102200961A (en) Expansion method of sub-units in dynamically reconfigurable processor

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
TR01 Transfer of patent right

Effective date of registration: 20220727

Address after: 201203 11F, No. 2 Building, 560 Lane, Midsummer Road, Pudong New Area, Shanghai

Patentee after: GALAXYCORE SHANGHAI Ltd.,Corp.

Address before: Room 1004-1005, building 2, No. 560, shengxia Road, Pudong New Area, Shanghai 201203

Patentee before: SHANGHAI SUANXIN MICROELECTRONICS Co.,Ltd.

TR01 Transfer of patent right