CN105760316A - Control method and device, matrix connecting device, access method and device and processing system - Google Patents

Control method and device, matrix connecting device, access method and device and processing system Download PDF

Info

Publication number
CN105760316A
CN105760316A CN201410800273.4A CN201410800273A CN105760316A CN 105760316 A CN105760316 A CN 105760316A CN 201410800273 A CN201410800273 A CN 201410800273A CN 105760316 A CN105760316 A CN 105760316A
Authority
CN
China
Prior art keywords
access
main body
data
unit
access unit
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
CN201410800273.4A
Other languages
Chinese (zh)
Other versions
CN105760316B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201410800273.4A priority Critical patent/CN105760316B/en
Publication of CN105760316A publication Critical patent/CN105760316A/en
Application granted granted Critical
Publication of CN105760316B publication Critical patent/CN105760316B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a control method and device.The control method is applied to a matrix connecting device, N first interfaces are arranged in the matrix connecting device, the matrix connecting device is connected with at least one first access body, each first access body comprises N second interfaces, the matrix connecting device is connected with the N second interfaces of all the first access bodies respectively through the N first interfaces to set N transmission channels, all access units in the first access bodies correspond to the transmission channels, and the transmission channels corresponding to all the access units are in the enable state.The method includes the steps that the first data access requests of M access units in the first access body of the at least one first access body are received; based on the first data access requests, data channels between the transmission channels corresponding to all the access units and corresponding storage units are set, and the M access units and the corresponding storage units are subjected to data interaction through corresponding data channels at the same time.

Description

Control method device, connection matrix device, access method device and the system of process
Technical field
The present invention relates to data access technology field, particularly to a kind of control method device, connection matrix device, access method device and the system of process.
Background technology
Existing memorizer is in application process, when needs are conducted interviews by multiple access main equipments such as ASIC logic circuit etc., each ASIC is needed to carry out memory access respectively several times, as when running fingerprint distinguished number, multiple ASIC will repeatedly access this memorizer respectively.
But owing to accessing the FPDP bandwidth restriction in memorizer, when needs read big data, it is necessary to each access main body is several times by the data in FPDP accessing memory so that the speed reading data is slower.
Summary of the invention
It is an object of the invention to, a kind of control method device, connection matrix device, access method rotating shaft and the system of process are provided, in order to solve in prior art owing to the FPDP bandwidth accessing in memorizer limits, when needs read big data, need each access main body several times by the data in FPDP accessing memory to read the technical problem that the speed of data is slower.
The invention provides a kind of control method, it is applied to connection matrix device, described connection matrix device is provided with N number of first interface, described connection matrix device is connected with at least one first access main body, described each first accesses main body has N number of second interface, described connection matrix device is accessed N number of second interface foundation of main body respectively and is connected to set up N number of transmission channel by described N number of first interface with described each first, access at one first and main body has at least one access unit, described first accesses each access unit each corresponding described transmission channel in main body, and described transmission channel corresponding to each described access unit is in enabled state, described method includes:
Receive at least one first M accessed in main body in one first access main body described and access respective first data access request of unit;
Based on described first data access request, set up the data channel between transmission channel corresponding to each described access unit and corresponding memory element, accessed unit by described M and carry out data interaction by its each self-corresponding data channel and respective memory unit simultaneously;
Wherein, M, N be positive integer respectively, and M is less than or equal to N.
Said method, it is preferred that based on described first data access request, set up the data channel between transmission channel corresponding to each described access unit and corresponding memory element, including:
In each described first data access request, obtain the reference address of each described access unit;
Based on described reference address, it is determined that the memory element corresponding to each described access unit;
Setting up the data channel between the memory element that transmission channel corresponding to each described access unit is corresponding with this access unit, described data channel is a corresponding access unit and at least one memory element respectively.
Said method, it is preferred that described based on described reference address, it is determined that the memory element corresponding to each described access unit, including:
Based on described reference address, obtain the data space size of each described access unit access;
Data space size based on each described access unit access, it is determined that the memory element corresponding to each described access unit, wherein, the described data space size that each described access unit is corresponding is identical or different.
Said method, it is preferred that described connection matrix device can only process one first data access request accessing main body at any one time.
Said method, it is preferred that described method also includes:
Receive the data access request being different from described first data access request;
Disconnect the data channel corresponding to each described access unit in described first access main body.
Present invention also offers a kind of control device, it is applied to connection matrix device, described connection matrix device is provided with N number of first interface, described connection matrix device is connected with at least one first access main body, described each first accesses main body has N number of second interface, described connection matrix device sets up connection to set up N number of transmission channel by described N number of first interface respectively at the described each first N number of second interface accessing main body, access at one first and main body has at least one access unit, described first accesses each access unit each corresponding described transmission channel in main body, and described transmission channel corresponding to each described access unit is in enabled state, described device includes:
Request reception unit, accesses respective first data access request of unit for receiving at least one first M accessed in main body in one first access main body described;
Path Setup unit, for based on described first data access request, set up the data channel between transmission channel corresponding to each described access unit and corresponding memory element, accessed unit by described M and carry out data interaction by its each self-corresponding data channel and respective memory unit simultaneously;
Wherein, M, N be positive integer respectively, and M is less than or equal to N.
Said apparatus, it is preferred that described Path Setup unit includes:
Address acquisition subelement, for, in each described first data access request, obtaining the reference address of each described access unit;
Subelement is determined in storage, for based on described reference address, it is determined that the memory element corresponding to each described access unit;
Path Setup subelement, for setting up the data channel between the memory element that transmission channel corresponding to each described access unit is corresponding with this access unit, described data channel is a corresponding access unit and at least one memory element respectively.
Said apparatus, it is preferred that described storage determines that subelement includes:
Space acquisition module, for based on described reference address, obtaining the data space size of each described access unit access;
Module is determined in storage, for the data space size based on each described access unit access, it is determined that the memory element corresponding to each described access unit, wherein, the described data space size that each described access unit is corresponding is identical or different.
Said apparatus, it is preferred that described request reception unit can only receive one first data access request accessing main body at any one time.
Said apparatus, it is preferred that described device also includes:
Passage switching units, when receiving, for described request reception unit, the data access request being different from described first data access request, disconnects the data channel corresponding to each described access unit in described first access main body.
Present invention also offers a kind of connection matrix device, described connection matrix device is provided with N number of first interface, described connection matrix device is connected with at least one first access main body, described each first accesses main body has N number of second interface, described connection matrix device is accessed N number of second interface foundation of main body respectively and is connected to set up N number of transmission channel by described N number of first interface with described each first, access at one first and main body has at least one access unit, described first accesses each access unit each corresponding described transmission channel in main body, and described transmission channel corresponding to each described access unit is in enabled state, described connection matrix device also includes the control device as described in above-mentioned any one.
Present invention also offers a kind of access method, it is applied to the first access main body, described first accesses main body can generate data access request after receiving the schedule information of the second access main body, described first accesses main body has N number of second interface, described N number of second interface is set up with the N number of first interface in connection matrix device respectively and is connected to set up N number of transmission channel, described first access main body has M and accesses unit, each described access unit is a corresponding described transmission channel each, and described transmission channel corresponding to each described access unit is in enabled state, described method includes:
Send M to described connection matrix device and access respective first data access request of unit, by described connection matrix device based on described first data access request, set up the data channel between transmission channel corresponding to each described access unit and corresponding memory element;
Trigger described M access unit and carry out data interaction by its each self-corresponding data channel and respective memory unit simultaneously;
Wherein, M, N be positive integer respectively, and M is less than or equal to N.
Said method, it is preferred that described method also includes:
Control in described N number of transmission channel the transmission channel except the transmission channel that correspondence has described access unit and be in non-enabled state.
Present invention also offers a kind of access device, it is arranged in the first access main body, described first accesses main body can generate data access request after receiving the schedule information of the second access main body, described first accesses main body has N number of second interface, described N number of second interface is set up with the N number of first interface in connection matrix device respectively and is connected to set up N number of transmission channel, described first access main body has M and accesses unit, each described access unit is a corresponding described transmission channel each, and described transmission channel corresponding to each described access unit is in enabled state, described access device includes:
Request transmitting unit, respective first data access request of unit is accessed for sending M to described connection matrix device, by described connection matrix device based on described first data access request, set up the data channel between transmission channel corresponding to each described access unit and corresponding memory element;
Mutual trigger element, is used for triggering described M access unit and carries out data interaction by its each self-corresponding data channel and respective memory unit simultaneously;
Wherein, M, N be positive integer respectively, and M is less than or equal to N.
Said apparatus, it is preferred that also include:
Status unit, is in non-enabled state for the transmission channel controlled in described N number of transmission channel except the transmission channel that correspondence has described access unit.
Present invention also offers a kind of process system, access main body, connection matrix device and at least one memory element including multiple first, described connection matrix device is provided with the control device as described in above-mentioned any one.
nullFrom such scheme,A kind of control method provided by the invention and device、Connection matrix device、In access method rotating shaft and process system,By arranging connection matrix device between the first access unit and memory element accessing main body,The interface having fixed number evidence in this connection matrix device to be connected one by one with the first each access unit accessing main body,Wherein,Only the interface of connected reference unit is in enabled state,And then foundation has transmission channel,And set up the data channel between respective memory unit when the first access unit accessing main body generates data access request,And then carried out data interaction by accessing unit,Therefore,The present invention can while the parallel data realizing each first multiple access unit accessing main body be mutual,The first access main body with different number access unit can both be able to be attached when without changing connection matrix device hardware connection structure,That is,The present invention can not only be limited by the individual data port bandwidth accessed in memorizer,The data interaction of parallel channel is carried out when needing to read big data,Reach to improve the purpose of data read rates,Can also solve to access in main body that the access unit of unbalanced number is that may be present when carrying out parallel data and being mutual needs repeatedly to connect hardware interface、The problem of hardware practicality and autgmentability difference.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in the following describes is only embodiments of the invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to the accompanying drawing provided.
Fig. 1 is the flow chart of a kind of control method embodiment one provided by the invention;
Fig. 2 is the application example figure of the embodiment of the present invention;
Fig. 3 is the partial process view of a kind of control method embodiment two provided by the invention;
Fig. 4 is another part flow chart of the embodiment of the present invention two;
Fig. 5 is the flow chart of a kind of control method embodiment three provided by the invention;
Fig. 6 is a kind of structural representation controlling device embodiment four provided by the invention;
Fig. 7 is a kind of part-structure schematic diagram controlling device embodiment five provided by the invention;
Fig. 8 is another part structural representation of the embodiment of the present invention five;
Fig. 9 is a kind of structural representation controlling device embodiment six provided by the invention;
Figure 10 is the flow chart of a kind of access method embodiment eight provided by the invention;
Figure 11 is the flow chart of a kind of access method embodiment nine provided by the invention;
Figure 12 is a kind of structural representation accessing device embodiment ten provided by the invention;
Figure 13 is a kind of structural representation accessing device embodiment 11 provided by the invention;
Figure 14 is a kind of structural representation processing system embodiment 12 provided by the invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
nullWith reference to Fig. 1,Flow chart for a kind of control method embodiment one provided by the invention,Wherein,Described method is applied in connection matrix device,Described connection matrix device x is provided with N number of first interface a,As shown in Figure 2,Described connection matrix device x is connected with at least one first access main body y,Described each first accesses main body y has N number of second interface b,Described connection matrix device x is accessed N number of second interface b foundation of main body y respectively and is connected to set up N number of transmission channel z by described N number of first interface a with described each first,Access at one first and main body y has at least one access unit w,Described first accesses each access unit w each corresponding described transmission channel z in main body y,And each described described transmission channel z corresponding for access unit w is in enabled state,That is,N number of first interface a in described connection matrix device x is for being fixedly installed,And the number of described first interface a is greater than each described first number accessing unit w accessing in main body y,Make any one first access main body y need to carry out parallel data mutual time,Each of which accesses unit w and all can be connected on the first interface a in described connection matrix device x by the second interface b.
Wherein, the control method in the present embodiment can be realized by following steps:
Step 101: receive at least one first M accessed in main body in one first access main body described and access respective first data access request of unit.
Wherein, described step 101 refers to, receive one first and access M access respective first data access request of unit in main body, and each described access unit is to access when main body receives the schedule information of the second access main body such as CPU described first to generate described first data access request, described second schedule information accessing main body refers to, described second accesses operation on main body such as CPU the mastery routine of project algorithm, when this mastery routine runs to the reading of the certain position big data of needs with calculating and then needs the first access principal access memory element, described first can be transmitted scheduling information to and access main body, now described first each access unit accessed in main body generates respective first data access request according to this schedule information.
Step 102: based on described first data access request, set up the data channel between transmission channel corresponding to each described access unit and corresponding memory element, accessed unit by described M and carry out data interaction by its each self-corresponding data channel and respective memory unit simultaneously.
Wherein, M, N be positive integer respectively, and M is less than or equal to N.
It should be noted that, data content in described first data access request can show that each described access unit needs which memory element to carry out data interaction with, therefore, described step 102 is set up the transmission channel corresponding to each described access unit and the data channel s between the corresponding memory element accessed corresponding to unit based on this first data access request.And after data channel s has set up, each described access unit w carry out data interaction by its each self-corresponding data channel s memory element c come with data channel s opposite simultaneously, as shown in Figure 2.
nullFrom such scheme,A kind of control method embodiment one provided by the invention,By arranging connection matrix device between the first access unit and memory element accessing main body,The interface having fixed number evidence in this connection matrix device to be connected one by one with the first each access unit accessing main body,Wherein,Only the interface of connected reference unit is in enabled state,And then foundation has transmission channel,And set up the data channel between respective memory unit when the first access unit accessing main body generates data access request,And then carried out data interaction by accessing unit,Therefore,The present embodiment can while the parallel data realizing each first multiple access unit accessing main body be mutual,The first access main body with different number access unit can both be able to be attached when without changing connection matrix device hardware connection structure,That is,The present invention can not only be limited by the individual data port bandwidth accessed in memorizer,The data interaction of parallel channel is carried out when needing to read big data,Reach to improve the purpose of data read rates,Can also solve to access in main body that the access unit of unbalanced number is that may be present when carrying out parallel data and being mutual needs repeatedly to connect hardware interface、The problem of hardware practicality and autgmentability difference.
nullIt should be noted that,Each described first accesses main body all can generate access request after it receives the schedule information of the second access main body such as CPU,And in described connection matrix device,One described first data access request accessing main body only can be received at synchronization,Now,Remaining first data access request accessing main body is in and waits the described second dispatch state accessing main body,And after the data interaction that access unit namely corresponding after the described first data access request accessing main body has been processed completes between memory element,The the first access main body completing data interaction transmits completion signal to described second access main body,Described second accesses main body accesses main body transmission signal to one first that does not carry out data interaction,Accessed main body by receive signal first to send its data access request to connection matrix device,Carry out parallel data mutual.It is to say, described connection matrix device can only process one first data access request accessing main body at any one time.
With reference to Fig. 3, for the flowchart of step 102 described in a kind of control method embodiment two provided by the invention, wherein, described step 102 can be realized by following steps:
Step 121: in each described first data access request, obtains the reference address of each described access unit.
Wherein, in described first data access request, the reference address of data interaction is carried out required for there is each described access unit, this reference address has uniqueness in the memory unit, therefore, in the present embodiment, first each described access unit reference address in described first data access request is obtained.
Step 122: based on described reference address, it is determined that the memory element corresponding to each described access unit.
Concrete, as shown in Figure 4, described step 122 can be realized by following steps:
Step 401: based on described reference address, obtain the data space size of each described access unit access.
Wherein, in described step 401 can by described reference address being carried out the calculating in continuation address space, to carry out the data space size of data interaction required for obtaining each described access unit.
Step 402: based on the data space size of each described access unit access, it is determined that the memory element corresponding to each described access unit, wherein, the described data space size that each described access unit is corresponding is identical or different.
It should be noted that, storage size in described memory element can be the same or different, when storage size in described memory element is identical, the data space size utilizing each described access unit access in described step 402 determines at least one memory element corresponding with each described access unit, and storage size in described memory element inconsistent time, described step 402 determines a self-corresponding memory element each with each described access unit respectively based on the data space size of each described access unit access.
Step 123: set up the data channel between the memory element that transmission channel corresponding to each described access unit is corresponding with this access unit, described data channel is a corresponding access unit and at least one memory element respectively.
With reference to Fig. 5, for the flow chart of a kind of control method embodiment three provided by the invention, wherein, described method can also comprise the following steps:
Step 103: receive the data access request being different from described first data access request.
That is, after the first the first data access request accessing main body currently carrying out data interaction being carried out process and completes, described connection matrix device can receive next first and access the data access request or current first that main body sends and access the data access request that main body sends again, is namely different from the data access request of described first data access request.
Step 104: disconnect the data channel corresponding to each described access unit in described first access main body.
Wherein, described step 104 refers to, after receiving the data access request being different from described first data access request, need to disconnect current data channel, so that responding in the follow-up data access request carrying out being newly received, carry out the foundation of new data channel, carry out data interaction new accordingly.
It addition, receiving the processing scheme of turn-off data passage after the data access request being different from described first data access request except above-mentioned, described method can also include following several processing mode:
First method:
After each self-corresponding data channel and respective memory unit complete data interaction by it simultaneously by described M access unit, turn off the data channel corresponding to each described access unit in described first access main body.Now, it is not necessary to wait until that receiving the new data access request being different from described first data access request turns off again.
Second method:
After being accessed unit by described M each self-corresponding data channel and respective memory unit complete data interaction by it simultaneously and after receiving the new data access request being different from described first data access request, before setting up new data channel based on new data access request, disconnect the data channel corresponding to each described access unit in described first access main body, in order in the follow-up foundation carrying out new data channel.
nullWith reference to Fig. 6,For a kind of structural representation controlling device embodiment four provided by the invention,Wherein,Described control device is applied and is arranged in connection matrix device,Described connection matrix device x is provided with N number of first interface a,As shown in Figure 2,Described connection matrix device x is connected with at least one first access main body y,Described each first accesses main body y has N number of second interface b,Described connection matrix device x is accessed N number of second interface b foundation of main body y respectively and is connected to set up N number of transmission channel z by described N number of first interface a with described each first,Access at one first and main body y has at least one access unit w,Described first accesses each access unit w each corresponding described transmission channel z in main body y,And each described described transmission channel z corresponding for access unit w is in enabled state,That is,N number of first interface a in described connection matrix device x is for being fixedly installed,And the number of described first interface a is greater than each described first number accessing unit w accessing in main body y,Make any one first access main body y need to carry out parallel data mutual time,Each of which accesses unit w and all can be connected on the first interface a in described connection matrix device x by the second interface b.
Wherein, the control device in the present embodiment can include following structure:
Request reception unit 601, accesses respective first data access request of unit for receiving at least one first M accessed in main body in one first access main body described.
Wherein, described request reception unit 601 refers to, receive one first and access M access respective first data access request of unit in main body, and each described access unit is to access when main body receives the schedule information of the second access main body such as CPU described first to claim described first data access request, described second schedule information accessing main body refers to, described second accesses operation on main body such as CPU the mastery routine of project algorithm, when this mastery routine runs to the reading of the certain position big data of needs with calculating and then needs the first access principal access memory element, described first can be transmitted scheduling information to and access main body, now described first each access unit accessed in main body generates respective first data access request according to this schedule information.
Path Setup unit 602, for based on described first data access request, set up the data channel between transmission channel corresponding to each described access unit and corresponding memory element, accessed unit by described M and carry out data interaction by its each self-corresponding data channel and respective memory unit simultaneously.
Wherein, M, N be positive integer respectively, and M is less than or equal to N.
It should be noted that, data content in described first data access request can show that each described access unit needs which memory element to carry out data interaction with, therefore, described Path Setup unit 602 is set up the transmission channel corresponding to each described access unit and the data channel between the corresponding memory element accessed corresponding to unit based on this first data access request.And after data channel has been set up, each described access unit the memory element come with data channel opposite by its each self-corresponding data channel carries out data interaction simultaneously, as shown in Figure 2.
nullFrom such scheme,A kind of control device embodiment four provided by the invention,By arranging connection matrix device between the first access unit and memory element accessing main body,The interface having fixed number evidence in this connection matrix device to be connected one by one with the first each access unit accessing main body,Wherein,Only the interface of connected reference unit is in enabled state,And then foundation has transmission channel,And set up the data channel between respective memory unit when the first access unit accessing main body generates data access request,And then carried out data interaction by accessing unit,Therefore,The present embodiment can while the parallel data realizing each first multiple access unit accessing main body be mutual,The first access main body with different number access unit can both be able to be attached when without changing connection matrix device hardware connection structure,That is,The present invention can not only be limited by the individual data port bandwidth accessed in memorizer,The data interaction of parallel channel is carried out when needing to read big data,Reach to improve the purpose of data read rates,Can also solve to access in main body that the access unit of unbalanced number is that may be present when carrying out parallel data and being mutual needs repeatedly to connect hardware interface、The problem of hardware practicality and autgmentability difference.
nullIt should be noted that,Each described first accesses main body all can generate access request after it receives the schedule information of the second access main body such as CPU,And the request reception unit 601 in described connection matrix device,One described first data access request accessing main body only can be received at synchronization,Now,Remaining first data access request accessing main body is in and waits the described second dispatch state accessing main body,And after the data interaction that access unit namely corresponding after the described first data access request accessing main body has been processed completes between memory element,The the first access main body completing data interaction transmits completion signal to described second access main body,Described second accesses main body accesses main body transmission signal to one first that does not carry out data interaction,Accessed main body by receive signal first to send its data access request to connection matrix device,Carry out parallel data mutual.It is to say, the request reception unit 601 in described connection matrix device can only process one first data access request accessing main body at any one time.
With reference to Fig. 7, a kind of controlling the structural representation of Path Setup unit 602 described in device embodiment five for provided by the invention, wherein, described Path Setup unit 602 can include following structure:
Address acquisition subelement 621, for, in each described first data access request, obtaining the reference address of each described access unit.
Wherein, in described first data access request, the reference address of data interaction is carried out required for there is each described access unit, this reference address has uniqueness in the memory unit, therefore, in the present embodiment, first each described access unit reference address in described first data access request is obtained.
Subelement 622 is determined in storage, for based on described reference address, it is determined that the memory element corresponding to each described access unit.
Concrete, as shown in Figure 8, described storage determines that subelement 622 can be realized by following structure:
Space acquisition module 801, for based on described reference address, obtaining the data space size of each described access unit access.
Wherein, in described space acquisition module 801 can by described reference address being carried out the calculating in continuation address space, to carry out the data space size of data interaction required for obtaining each described access unit.
Module 802 is determined in storage, for the data space size based on each described access unit access, it is determined that the memory element corresponding to each described access unit, wherein, the described data space size that each described access unit is corresponding is identical or different.
It should be noted that, storage size in described memory element can be the same or different, when storage size in described memory element is identical, described storage is determined and is utilized the data space size of each described access unit access to determine at least one memory element corresponding with each described access unit in module 802, and storage size in described memory element inconsistent time, described storage is determined in module 802 and is determined a self-corresponding memory element each with each described access unit respectively based on the data space size of each described access unit access.
Path Setup subelement 623, for setting up the data channel between the memory element that transmission channel corresponding to each described access unit is corresponding with this access unit, described data channel is a corresponding access unit and at least one memory element respectively.
With reference to Fig. 9, for a kind of structural representation controlling device embodiment six provided by the invention, wherein, described device can also include following structure:
Passage switching units 603, when receiving, for described request reception unit 601, the data access request being different from described first data access request, disconnects the data channel corresponding to each described access unit in described first access main body.
That is, the foundation of data channel is completed at described Path Setup unit 602, and accessed each of main body by described first and access after unit completes the data interaction between respective memory unit, described request receiving unit 601 can receive next first and access the data access request or current first that main body sends and access the data access request that main body sends again, is namely different from the data access request of described first data access request.
And described passage switching units 603 refers to, after described request reception unit 601 receives the data access request being different from described first data access request, need to disconnect current data channel, so that responding in the follow-up data access request carrying out being newly received, carry out the foundation of new data channel, carry out data interaction new accordingly.
Additionally, except above-mentioned after described request reception unit 601 receives the data access request being different from described first data access request described passage switching units 603 carry out the processing scheme of turn-off data passage, described passage switching units 603 can also include following several method of operation:
First method:
After by described M access unit, by it, each self-corresponding data channel and respective memory unit complete data interaction simultaneously, described passage switching units 603 turns off the data channel in described first access main body corresponding to each described access unit.Now, it is not necessary to wait until that described request reception unit 601 receives the new data access request being different from described first data access request and turns off.
Second method:
After being accessed unit by described M each self-corresponding data channel and respective memory unit complete data interaction by it simultaneously and after described request reception unit 601 receives the new data access request being different from described first data access request, before described Path Setup unit 602 sets up new data channel based on new data access request, described passage switching units 602 can disconnect the data channel in described first access main body corresponding to each described access unit, in order in the follow-up foundation carrying out new data channel.
nullWith reference to Fig. 2,Structural representation for a kind of connection matrix device embodiment seven provided by the invention,Described connection matrix device x is provided with N number of first interface a,As shown in Figure 2,Described connection matrix device x is connected with at least one first access main body y,Described each first accesses main body y has N number of second interface b,Described connection matrix device x is accessed N number of second interface b foundation of main body y respectively and is connected to set up N number of transmission channel z by described N number of first interface a with described each first,Access at one first and main body y has at least one access unit w,Described first accesses each access unit w each corresponding described transmission channel z in main body y,And each described described transmission channel z corresponding for access unit w is in enabled state,That is,N number of first interface a in described connection matrix device x is for being fixedly installed,And the number of described first interface a is greater than each described first number accessing unit w accessing in main body y,Make any one first access main body y need to carry out parallel data mutual time,Each of which accesses unit w and all can be connected on the first interface a in described connection matrix device x by the second interface b.
Wherein, described connection matrix device also includes controlling device c, after described control device c accesses respective first data access request of unit by reception at least one first M accessed in main body in one first access main body described, based on described first data access request, set up the data channel between transmission channel corresponding to each described access unit and corresponding memory element, accessed unit by described M and carry out data interaction by its each self-corresponding data channel and respective memory unit simultaneously.
Wherein, M, N be positive integer respectively, and M is less than or equal to N.
Concrete, the structure that realizes of described control device c is referred in above to control device described in any one embodiment, no longer describe in detail herein.
With reference to Figure 10, flow chart for a kind of access method embodiment eight provided by the invention, wherein, described method is applied to the first access main body, such as arithmetic logic circuit ASIC etc., described first accesses main body can generate data access request after receiving the schedule information of the second access main body, described first accesses main body has N number of second interface, described N number of second interface is set up with the N number of first interface in connection matrix device respectively and is connected to set up N number of transmission channel, described first access main body has M and accesses unit, each described access unit is a corresponding described transmission channel each, and described transmission channel corresponding to each described access unit is in enabled state, the structure of described connection matrix device is referred to shown in Fig. 2.
Wherein, the described method in the present embodiment may comprise steps of:
Step 1001: send M to described connection matrix device and access respective first data access request of unit, by described connection matrix device based on described first data access request, set up the data channel between transmission channel corresponding to each described access unit and corresponding memory element.
Concrete, after described first access main body sends the first data access request to described connection matrix device, by the control device in described connection matrix device based on described first data access request, set up the data channel between transmission channel corresponding to each described access unit and corresponding memory element.And the realization of described control device is referred to content in above, no longer describe in detail herein.
It should be noted that described first access main body only just can perform described step 1001 after receiving the described second schedule information accessing main body, send the first data access request to described connection matrix device.
Step 1002: trigger described M access unit and carry out data interaction by its each self-corresponding data channel and respective memory unit simultaneously.
Wherein, M, N be positive integer respectively, and M is less than or equal to N.
nullFrom such scheme,In a kind of access method embodiment eight provided by the invention,Described first accesses main body is connected by arranging connection matrix device,To realize the data channel between each access unit and respective memory unit,Thus it is mutual to carry out parallel data,And the interface quantity in connection matrix device is more than or equal to each first access unit number accessing main body,The each first access unit accessing main body is made to be each connectable to corresponding memory element,To realize the data interaction having between the first access main body and the memory element that access unit of varying number,Realize unbalanced parallel data mutual,That is,The present embodiment can not only be limited by the FPDP bandwidth accessed in memorizer,The data interaction of parallel channel is carried out when needing to read big data,Reach to improve the purpose of data read rates,Can also solve to access in main body that the access unit of unbalanced number is that may be present when carrying out parallel data and being mutual needs repeatedly to connect hardware interface、The problem of hardware practicality and autgmentability difference.
With reference to Figure 11, for the flow chart of a kind of access method embodiment nine provided by the invention, wherein, described method can also comprise the following steps:
Step 1003: control in described N number of transmission channel the transmission channel except the transmission channel that correspondence has described access unit and be in non-enabled state.
Wherein, described step 1003 can perform before described step 1001, that is, when described first accesses the schedule information that main body receives the second access main body, need the transmission channel enabling between each access its corresponding first interface of unit of this first access main body, simultaneously, control in N number of transmission channel except other transmission channels except should having the transmission channel accessing unit are in enabled state, described first access main body have 4 the second interfaces respectively be connected with 4 first interfaces in described connection matrix device formation 4 transmission channels, and the described first 3 accessed in main body access a unit corresponding transmission channel respectively and are in enabled state, another does not have the corresponding transmission channel accessing unit to be controlled to be in non-enabled state.
With reference to Figure 12, for a kind of structural representation accessing device embodiment ten provided by the invention, wherein, described access device can be arranged in the first access main body, such as arithmetic logic circuit ASIC etc., described first accesses main body can generate data access request after receiving the schedule information of the second access main body, described first accesses main body has N number of second interface, described N number of second interface is set up with the N number of first interface in connection matrix device respectively and is connected to set up N number of transmission channel, described first access main body has M and accesses unit, each described access unit is a corresponding described transmission channel each, and described transmission channel corresponding to each described access unit is in enabled state, the structure of described connection matrix device is referred to shown in Fig. 2.
Wherein, the described device in the present embodiment can include following structure:
Request transmitting unit 1201, respective first data access request of unit is accessed for sending M to described connection matrix device, by described connection matrix device based on described first data access request, set up the data channel between transmission channel corresponding to each described access unit and corresponding memory element.
Concrete, after described first access main body sends the first data access request to described connection matrix device, by the control device in described connection matrix device based on described first data access request, set up the data channel between transmission channel corresponding to each described access unit and corresponding memory element.And the realization of described control device is referred to content in above, no longer describe in detail herein.
It should be noted that described first access main body only just can run described request transmitting unit 1201 after receiving the described second schedule information accessing main body, send the first data access request to described connection matrix device.
Mutual trigger element 1202, is used for triggering described M access unit and carries out data interaction by its each self-corresponding data channel and respective memory unit simultaneously.
Wherein, M, N be positive integer respectively, and M is less than or equal to N.
nullFrom such scheme,In a kind of access device embodiment ten provided by the invention,Described first accesses main body is connected by arranging connection matrix device,To realize the data channel between each access unit and respective memory unit,Thus it is mutual to carry out parallel data,And the interface quantity in connection matrix device is more than or equal to each first access unit number accessing main body,The each first access unit accessing main body is made to be each connectable to corresponding memory element,To realize the data interaction having between the first access main body and the memory element that access unit of varying number,Realize unbalanced parallel data mutual,That is,The present embodiment can not only be limited by the FPDP bandwidth accessed in memorizer,The data interaction of parallel channel is carried out when needing to read big data,Reach to improve the purpose of data read rates,Can also solve to access in main body that the access unit of unbalanced number is that may be present when carrying out parallel data and being mutual needs repeatedly to connect hardware interface、The problem of hardware practicality and autgmentability difference.
With reference to Figure 13, for a kind of structural representation accessing device embodiment 11 provided by the invention, wherein, described device can also include following structure:
Status unit 1203, is in non-enabled state for the transmission channel controlled in described N number of transmission channel except the transmission channel that correspondence has described access unit.
Wherein, described status unit 1203 can run before described request transmitting unit 1201, that is, when described first accesses the schedule information that main body receives the second access main body, need the transmission channel enabling between each access its corresponding first interface of unit of this first access main body, simultaneously, control in N number of transmission channel except other transmission channels except should having the transmission channel accessing unit are in enabled state, described first access main body have 4 the second interfaces respectively be connected with 4 first interfaces in described connection matrix device formation 4 transmission channels, and the described first 3 accessed in main body access a unit corresponding transmission channel respectively and are in enabled state, another does not have the corresponding transmission channel accessing unit to be controlled to be in non-enabled state.
nullWith reference to Figure 14,For a kind of structural representation processing system embodiment 12 provided by the invention,Wherein,Described process system can include multiple first and access main body 1401、Connection matrix device 1402 and at least one memory element 1403,Wherein,Described connection matrix device 1402 is provided with N number of first interface a,Described connection matrix device 1402 is connected with at least one first access main body 1401,Described each first accesses main body 1401 has N number of second interface b,Described connection matrix device 1402 is accessed N number of second interface b foundation of main body 1401 respectively and is connected to set up N number of transmission channel z by described N number of first interface a with described each first,Access at one first and main body 1401 has at least one access unit w,Described first accesses each access unit w each corresponding described transmission channel z in main body 1401,And each described described transmission channel z corresponding for access unit w is in enabled state,Described connection matrix device 1402 is provided with control device 1421.
Wherein, described control device 1421 is after receiving at least one first M accessed in main body 1401 in one first access main body 1401 described and accessing respective first data access request of unit w, based on described first data access request, set up the data channel s between each described transmission channel z corresponding for access unit w and corresponding memory element 1403, accessed unit w by described M and carry out data interaction by its each self-corresponding data channel s with respective memory unit 1403 simultaneously.
Wherein, M, N be positive integer respectively, and M is less than or equal to N.
Concrete, implementing of described control device 1421 is referred to content in above, no longer describes in detail herein.
It should be noted that each embodiment in this specification all adopts the mode gone forward one by one to describe, what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually referring to.
Finally, it can further be stated that, in this article, the relational terms of such as first and second or the like is used merely to separate an entity or operation with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " includes ", " comprising " or its any other variant are intended to comprising of nonexcludability, so that include the process of a series of key element, method, article or equipment not only include those key elements, but also include other key elements being not expressly set out, or also include the key element intrinsic for this process, method, article or equipment.When there is no more restriction, statement " including ... " key element limited, it is not excluded that there is also other identical element in including the process of described key element, method, article or equipment.
Above a kind of control method device provided herein, connection matrix device, access method device and process system are described in detail, principle and the embodiment of the application are set forth by specific case used herein, and the explanation of above example is only intended to help and understands the present processes and core concept thereof;Simultaneously for one of ordinary skill in the art, according to the thought of the application, all will change in specific embodiments and applications, in sum, this specification content should not be construed as the restriction to the application.

Claims (16)

1. a control method, it is applied to connection matrix device, described connection matrix device is provided with N number of first interface, described connection matrix device is connected with at least one first access main body, described each first accesses main body has N number of second interface, described connection matrix device is accessed N number of second interface foundation of main body respectively and is connected to set up N number of transmission channel by described N number of first interface with described each first, access at one first and main body has at least one access unit, described first accesses each access unit each corresponding described transmission channel in main body, and described transmission channel corresponding to each described access unit is in enabled state, described method includes:
Receive at least one first M accessed in main body in one first access main body described and access respective first data access request of unit;
Based on described first data access request, set up the data channel between transmission channel corresponding to each described access unit and corresponding memory element, accessed unit by described M and carry out data interaction by its each self-corresponding data channel and respective memory unit simultaneously;
Wherein, M, N be positive integer respectively, and M is less than or equal to N.
2. method according to claim 1, it is characterised in that based on described first data access request, set up the data channel between transmission channel corresponding to each described access unit and corresponding memory element, including:
In each described first data access request, obtain the reference address of each described access unit;
Based on described reference address, it is determined that the memory element corresponding to each described access unit;
Setting up the data channel between the memory element that transmission channel corresponding to each described access unit is corresponding with this access unit, described data channel is a corresponding access unit and at least one memory element respectively.
3. method according to claim 2, it is characterised in that described based on described reference address, it is determined that the memory element corresponding to each described access unit, including:
Based on described reference address, obtain the data space size of each described access unit access;
Data space size based on each described access unit access, it is determined that the memory element corresponding to each described access unit, wherein, the described data space size that each described access unit is corresponding is identical or different.
4. method according to claim 1, it is characterised in that described connection matrix device can only process one first data access request accessing main body at any one time.
5. method according to claim 1, it is characterised in that described method also includes:
Receive the data access request being different from described first data access request;
Disconnect the data channel corresponding to each described access unit in described first access main body.
6. one kind controls device, it is applied to connection matrix device, described connection matrix device is provided with N number of first interface, described connection matrix device is connected with at least one first access main body, described each first accesses main body has N number of second interface, described connection matrix device sets up connection to set up N number of transmission channel by described N number of first interface respectively at the described each first N number of second interface accessing main body, access at one first and main body has at least one access unit, described first accesses each access unit each corresponding described transmission channel in main body, and described transmission channel corresponding to each described access unit is in enabled state, described device includes:
Request reception unit, accesses respective first data access request of unit for receiving at least one first M accessed in main body in one first access main body described;
Path Setup unit, for based on described first data access request, set up the data channel between transmission channel corresponding to each described access unit and corresponding memory element, accessed unit by described M and carry out data interaction by its each self-corresponding data channel and respective memory unit simultaneously;
Wherein, M, N be positive integer respectively, and M is less than or equal to N.
7. device according to claim 6, it is characterised in that described Path Setup unit includes:
Address acquisition subelement, for, in each described first data access request, obtaining the reference address of each described access unit;
Subelement is determined in storage, for based on described reference address, it is determined that the memory element corresponding to each described access unit;
Path Setup subelement, for setting up the data channel between the memory element that transmission channel corresponding to each described access unit is corresponding with this access unit, described data channel is a corresponding access unit and at least one memory element respectively.
8. device according to claim 7, its feature exists, and described storage determines that subelement includes:
Space acquisition module, for based on described reference address, obtaining the data space size of each described access unit access;
Module is determined in storage, for the data space size based on each described access unit access, it is determined that the memory element corresponding to each described access unit, wherein, the described data space size that each described access unit is corresponding is identical or different.
9. device according to claim 6, it is characterised in that described request reception unit can only receive one first data access request accessing main body at any one time.
10. device according to claim 6, it is characterised in that described device also includes:
Passage switching units, when receiving, for described request reception unit, the data access request being different from described first data access request, disconnects the data channel corresponding to each described access unit in described first access main body.
11. a connection matrix device, described connection matrix device is provided with N number of first interface, described connection matrix device is connected with at least one first access main body, described each first accesses main body has N number of second interface, described connection matrix device is accessed N number of second interface foundation of main body respectively and is connected to set up N number of transmission channel by described N number of first interface with described each first, access at one first and main body has at least one access unit, described first accesses each access unit each corresponding described transmission channel in main body, and described transmission channel corresponding to each described access unit is in enabled state, described connection matrix device also includes the control device in claim 6-10 as described in any one.
12. an access method, it is applied to the first access main body, described first accesses main body can generate data access request after receiving the schedule information of the second access main body, described first accesses main body has N number of second interface, described N number of second interface is set up with the N number of first interface in connection matrix device respectively and is connected to set up N number of transmission channel, described first access main body has M and accesses unit, each described access unit is a corresponding described transmission channel each, and described transmission channel corresponding to each described access unit is in enabled state, described method includes:
Send M to described connection matrix device and access respective first data access request of unit, by described connection matrix device based on described first data access request, set up the data channel between transmission channel corresponding to each described access unit and corresponding memory element;
Trigger described M access unit and carry out data interaction by its each self-corresponding data channel and respective memory unit simultaneously;
Wherein, M, N be positive integer respectively, and M is less than or equal to N.
13. method according to claim 12, it is characterised in that described method also includes:
Control in described N number of transmission channel the transmission channel except the transmission channel that correspondence has described access unit and be in non-enabled state.
14. one kind accesses device, it is arranged in the first access main body, described first accesses main body can generate data access request after receiving the schedule information of the second access main body, described first accesses main body has N number of second interface, described N number of second interface is set up with the N number of first interface in connection matrix device respectively and is connected to set up N number of transmission channel, described first access main body has M and accesses unit, each described access unit is a corresponding described transmission channel each, and described transmission channel corresponding to each described access unit is in enabled state, described access device includes:
Request transmitting unit, respective first data access request of unit is accessed for sending M to described connection matrix device, by described connection matrix device based on described first data access request, set up the data channel between transmission channel corresponding to each described access unit and corresponding memory element;
Mutual trigger element, is used for triggering described M access unit and carries out data interaction by its each self-corresponding data channel and respective memory unit simultaneously;
Wherein, M, N be positive integer respectively, and M is less than or equal to N.
15. device according to claim 14, it is characterised in that also include:
Status unit, is in non-enabled state for the transmission channel controlled in described N number of transmission channel except the transmission channel that correspondence has described access unit.
16. the system of process, access main body, connection matrix device and at least one memory element including multiple first, described connection matrix device is arranged just like the control device described in any one in claim 6-10.
CN201410800273.4A 2014-12-19 2014-12-19 Control method device, connection matrix device, access method device and processing system Active CN105760316B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410800273.4A CN105760316B (en) 2014-12-19 2014-12-19 Control method device, connection matrix device, access method device and processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410800273.4A CN105760316B (en) 2014-12-19 2014-12-19 Control method device, connection matrix device, access method device and processing system

Publications (2)

Publication Number Publication Date
CN105760316A true CN105760316A (en) 2016-07-13
CN105760316B CN105760316B (en) 2019-01-15

Family

ID=56339925

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410800273.4A Active CN105760316B (en) 2014-12-19 2014-12-19 Control method device, connection matrix device, access method device and processing system

Country Status (1)

Country Link
CN (1) CN105760316B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050097274A1 (en) * 2003-10-29 2005-05-05 Nec Corporation Storage system and its access control method
US20060251109A1 (en) * 2005-04-05 2006-11-09 Shimon Muller Network system
CN101855622A (en) * 2007-11-09 2010-10-06 多数有限公司 Shared memory system for a tightly-coupled multiprocessor
CN102521155A (en) * 2011-12-12 2012-06-27 盛科网络(苏州)有限公司 Method and device for realizing table item dynamic allocation on physical storage

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050097274A1 (en) * 2003-10-29 2005-05-05 Nec Corporation Storage system and its access control method
US20060251109A1 (en) * 2005-04-05 2006-11-09 Shimon Muller Network system
CN101855622A (en) * 2007-11-09 2010-10-06 多数有限公司 Shared memory system for a tightly-coupled multiprocessor
CN102521155A (en) * 2011-12-12 2012-06-27 盛科网络(苏州)有限公司 Method and device for realizing table item dynamic allocation on physical storage

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
夏际金等: ""多级并行的多核DSP软件设计"", 《雷达科学与技术》 *
谢伦国,刘德峰: ""存储级并行与处理器微体系结构"", 《计算机学报》 *

Also Published As

Publication number Publication date
CN105760316B (en) 2019-01-15

Similar Documents

Publication Publication Date Title
CN101478577A (en) System and method for addressing the slave device by the master device
US7970960B2 (en) Direct memory access controller and data transmitting method of direct memory access channel
US10033546B2 (en) Method and system for reprogramming
US20060161720A1 (en) Image data transmission method and system with DMAC
US8260872B1 (en) Modbus simulation system and associated transfer methods
CN103049408B (en) Multi-interface SRAM (static random access memory) read-write control circuit and multi-interface SRAM read-write control method
CN103728961B (en) Collecting method, transferring equipment and electric-bag complex dust collector supervisory system
US10867363B2 (en) Device and method for accelerating graphics processor units, and computer readable storage medium
CN105760316A (en) Control method and device, matrix connecting device, access method and device and processing system
CN106168932A (en) A kind of Flash control method and device
CN105676726A (en) Serial peripheral interface (SPI)-based multi-MEMS sensor fast data access system and method
CN110659242A (en) MIL-STD-1553B bus protocol controller
CN104820645A (en) One-key scanning method and scanning system applied to scanning equipment
US20150009860A1 (en) Setting system and method for setting interfaces of connection apparatus connected to electronic device
CN103149909A (en) Field programmable gate array (FPGA)-based controller area network (CAN) simulation node system
CN103095739A (en) Cabinet server system and node communication method thereof
CN105447114A (en) Display method and apparatus for form field
CN105550157A (en) Fractal tree structure commutation structure and method, control device and intelligent chip
CN104836710A (en) Method and apparatus based on one-master with multi-slaves communication of distributed system
CN106326172A (en) APB bus slave interface expansion circuit and use method thereof
CN110824891B (en) Semi-physical simulation time correction system and method suitable for double-star formation
CN107544328A (en) CAN controller chip interface serialization device
CN103810142B (en) Reconfigurable system and construction method thereof
CN205946044U (en) Video flowing processing apparatus and system
TWI761624B (en) Addressing method for integrated circuit chip and system thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant