[go: up one dir, main page]

CN105760316B - Control method device, connection matrix device, access method device and processing system - Google Patents

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

Info

Publication number
CN105760316B
CN105760316B CN201410800273.4A CN201410800273A CN105760316B CN 105760316 B CN105760316 B CN 105760316B CN 201410800273 A CN201410800273 A CN 201410800273A CN 105760316 B CN105760316 B CN 105760316B
Authority
CN
China
Prior art keywords
access
unit
data
main body
connection matrix
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410800273.4A
Other languages
Chinese (zh)
Other versions
CN105760316A (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

Landscapes

  • Computer And Data Communications (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of control method and device, control method is applied to connection matrix device, N number of first interface is provided in connection matrix device, connection matrix device is connected at least one first access main body, each first access main body has N number of second interface, N number of second interface of the connection matrix device by N number of first interface respectively with each first access main body establishes connection to establish N number of transmission channel, each access unit in first access main body respectively corresponds to a transmission channel, the corresponding transmission channel of each access unit is in enabled state, method includes: to receive main intracorporal respective first data access request of M access unit of one first access at least one first access main body;Based on the first data access request, the data channel between the corresponding transmission channel of each access unit and corresponding storage unit is established, its corresponding data channel is passed through by M access unit simultaneously and respective memory unit carries out data interaction.

Description

Control method device, connection matrix device, access method device and processing system
Technical field
The present invention relates to data access technology field, in particular to a kind of control method device, connection matrix device, access Square law device and processing system.
Background technique
Existing memory in application process, is needing to be carried out by multiple access main equipments such as ASIC logic circuit etc. When access, each ASIC is needed to be performed in multiple times memory access respectively, such as when running fingerprint distinguished number, multiple ASIC are The memory is repeatedly accessed respectively.
But due to the data port bandwidth limitation in access memory, when needing to read big data, need each access Main body accesses the data in memory by data port several times, so that the rate for reading data is slower.
Summary of the invention
The object of the present invention is to provide a kind of control method device, connection matrix device, access method shaft and processing System, to solve in the prior art due to the data port bandwidth limitation in access memory, when needing to read big data, Each access main body is needed to access the data in memory by data port several times, so that the rate for reading data is slower The technical issues of.
The present invention provides a kind of control methods, are applied to connection matrix device, are provided with N in the connection matrix device A first interface, the connection matrix device are connected at least one first access main body, each first access main body With N number of second interface, the connection matrix device accesses main body with described each first respectively by N number of first interface N number of second interface establish connection to establish N number of transmission channel, have at least one access single in one first access main body Member, the described first each access unit for accessing in main body respectively corresponds to a transmission channel, and each access is single The corresponding transmission channel of member is in enabled state, which comprises
It receives one first access at least one described first access main body and leads intracorporal M access unit respective the One data access request;
Based on first data access request, establishes the corresponding transmission channel of each access unit and deposited with corresponding Data channel between storage unit passes through its corresponding data channel and respective stored by the M access unit simultaneously Unit carries out data interaction;
Wherein, M, N are respectively positive integer, and M is less than or equal to N.
The above method, it is preferred that be based on first data access request, establish the corresponding biography of each access unit Data channel between defeated channel and corresponding storage unit, comprising:
In each first data access request, the access address of each access unit is obtained;
Based on the access address, storage unit corresponding to each access unit is determined;
Establish the number between the corresponding transmission channel of each access unit storage unit corresponding with the access unit According to channel, the data channel respectively corresponds an access unit and at least one storage unit.
The above method, it is preferred that it is described to be based on the access address, determine storage corresponding to each access unit Unit, comprising:
Based on the access address, the data space size of each access unit access is obtained;
Based on the data space size of each access unit access, determines and deposited corresponding to each access unit Storage unit, wherein the corresponding data space size of each access unit is identical or different.
The above method, it is preferred that the connection matrix device can only handle one first access main body at any one time Data access request.
The above method, it is preferred that the method also includes:
Receive the data access request for being different from first data access request;
Disconnect data channel corresponding to each access unit in the first access main body.
The present invention also provides a kind of control devices, are applied to connection matrix device, and the connection matrix dress centers There is N number of first interface, the connection matrix device is connected at least one first access main body, each first access master Body has N number of second interface, and the connection matrix device is by N number of first interface respectively at each first access master N number of second interface of body establishes connection to establish N number of transmission channel, has at least one access in one first access main body Unit, the described first each access unit for accessing in main body respectively correspond to a transmission channel, and each access The corresponding transmission channel of unit is in enabled state, and described device includes:
Request reception unit, for receiving the main intracorporal M of one first access at least one described first access main body A respective first data access request of access unit;
It is corresponding to establish each access unit for being based on first data access request for Path Setup unit It is corresponding to pass through its simultaneously by the M access unit for data channel between transmission channel and corresponding storage unit Data channel and respective memory unit carry out data interaction;
Wherein, M, N are respectively positive integer, and M is less than or equal to N.
Above-mentioned apparatus, it is preferred that the Path Setup unit includes:
Address obtains subelement, for obtaining each access unit in each first data access request Access address;
It stores and determines subelement, for being based on the access address, determine storage corresponding to each access unit Unit;
Path Setup subelement, it is corresponding with the access unit for establishing the corresponding transmission channel of each access unit Storage unit between data channel, the data channel respectively corresponds an access unit and at least one storage unit.
Above-mentioned apparatus, it is preferred that the storage determines that subelement includes:
Space obtains module, for being based on the access address, obtains the data space of each access unit access Size;
Determining module is stored, for the data space size based on each access unit access, is determined each described Storage unit corresponding to access unit, wherein the corresponding data space size of each access unit is identical or not Together.
Above-mentioned apparatus, it is preferred that the request reception unit can only receive one first access main body at any one time Data access request.
Above-mentioned apparatus, it is preferred that described device further include:
Channel switching units receive the number for being different from first data access request for the request reception unit When according to access request, data channel corresponding to each access unit in the first access main body is disconnected.
The present invention also provides a kind of connection matrix device, N number of first interface, institute are provided in the connection matrix device It states connection matrix device to be connected at least one first access main body, each first access main body has N number of second to connect Mouthful, N number of second interface that the connection matrix device accesses main body with described each first respectively by N number of first interface Connection is established to establish N number of transmission channel, there is at least one access unit in one first access main body, described first visits Ask that each access unit in main body respectively corresponds to a transmission channel, and the corresponding biography of each access unit Defeated channel is in enabled state, and the connection matrix device further includes the control device as described in above-mentioned any one.
The present invention also provides a kind of access methods, are applied to the first access main body, and the first access main body is receiving Data access request can be generated after to the scheduling information of the second access main body, the first access main body has N number of second Interface, it is logical to establish N number of transmission that N number of second interface establishes connection with N number of first interface in connection matrix device respectively Road, described first accesses with M access unit in main body, and it is logical that each access unit respectively corresponds to the transmission Road, and the corresponding transmission channel of each access unit is in enabled state, which comprises
Respective first data access request of M access unit is sent to the connection matrix device, by the connection square Battle array device is based on first data access request, establishes the corresponding transmission channel of each access unit and corresponding storage Data channel between unit;
It triggers the M access unit while passing through its corresponding data channel and respective memory unit progress data Interaction;
Wherein, M, N are respectively positive integer, and M is less than or equal to N.
The above method, it is preferred that the method also includes:
It controls at the transmission channel in N number of transmission channel other than being corresponding with the transmission channel of the access unit In non-enabled state.
The present invention also provides a kind of access mechanisms, are set in the first access main body, and the first access main body is connecing Data access request can be generated after the scheduling information of the second access main body by receiving, and the first access main body has N number of the Two interfaces, N number of second interface establish connection with N number of first interface in connection matrix device respectively to establish N number of transmission Channel, described first accesses with M access unit in main body, and it is logical that each access unit respectively corresponds to the transmission Road, and the corresponding transmission channel of each access unit is in enabled state, the access mechanism includes:
Request transmitting unit, for sending respective first data access of M access unit to the connection matrix device Request is based on first data access request by the connection matrix device, establishes the corresponding biography of each access unit Data channel between defeated channel and corresponding storage unit;
Interaction trigger unit, for triggering the M access unit while passing through its corresponding data channel and phase Storage unit is answered to carry out data interaction;
Wherein, M, N are respectively positive integer, and M is less than or equal to N.
Above-mentioned apparatus, it is preferred that further include:
Status control unit, for controlling in N number of transmission channel in addition to the transmission for being corresponding with the access unit is logical Transmission channel except road is in non-enabled state.
The present invention also provides a kind of processing systems, including multiple first access main bodys, connection matrix device and at least one A storage unit is provided with the control device as described in above-mentioned any one in the connection matrix device.
By above scheme it is found that a kind of control method and device provided by the invention, connection matrix device, access method turn It, should through setting connection matrix device between the access unit and storage unit of the first access main body in axis and processing system There is the interface of fixed number evidence in connection matrix device to connect one by one with each access unit of the first access main body, wherein Only the interface of connected reference unit is in enabled state, and then establishes the access for having transmission channel, and accessing main body first Unit establishes the data channel between respective memory unit when generating data access request, and then carries out data by access unit It interacts, therefore, while the parallel data for multiple access units that the present invention can access main body in realization each first interacts, Enable the first access main body with different number access units without changing connection matrix device hardware connection structure In the case where can be attached, that is to say, that the present invention can not only by access memory in individual data port Bandwidth limitation, the data interaction of parallel channel is carried out when needing to read big data, achievees the purpose that improve data read rates, Can also solve the access unit of unbalanced number in access main body when carrying out parallel data interaction it is that may be present need it is anti- The multiply-connected problem for connecing hardware interface, hardware practicability and scalability difference.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow chart of control method embodiment one provided by the invention;
Fig. 2 is the exemplary application map of the embodiment of the present invention;
Fig. 3 is a kind of partial process view 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 a kind of flow chart of control method embodiment three provided by the invention;
Fig. 6 is a kind of structural schematic diagram of control device example IV provided by the invention;
Fig. 7 is a kind of partial structure diagram of control device embodiment five provided by the invention;
Fig. 8 is another part structural schematic diagram of the embodiment of the present invention five;
Fig. 9 is a kind of structural schematic diagram of control device embodiment six provided by the invention;
Figure 10 is a kind of flow chart of access method embodiment eight provided by the invention;
Figure 11 is a kind of flow chart of access method embodiment nine provided by the invention;
Figure 12 is a kind of structural schematic diagram of access mechanism embodiment ten provided by the invention;
Figure 13 is a kind of structural schematic diagram of access mechanism embodiment 11 provided by the invention;
Figure 14 is a kind of structural schematic diagram of processing system embodiment 12 provided by the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
It is a kind of flow chart of control method embodiment one provided by the invention, wherein the method application with reference to Fig. 1 In connection matrix device, it is provided with N number of first interface a in the connection matrix device x, as shown in Figure 2, the connection square Battle array device x is connected at least one first access main body y, and each first access main body y has N number of second interface b, institute State N number of second interface b that connection matrix device x accesses main body y with described each first respectively by N number of first interface a Connection is established to establish N number of transmission channel z, there is at least one access unit w in one first access main body y, described the Each access unit w in one access main body y respectively corresponds to a transmission channel z, and each access unit w is corresponding The transmission channel z be in enabled state, that is to say, that N number of first interface a in the connection matrix device x is to fix Setting, and the number of the first interface a is greater than the number of the access unit w in each first access main body y, so that When any one first access main body y needs to carry out parallel data interaction, each of which access unit w can pass through second interface B is connected on the first interface a in the connection matrix device x.
Wherein, the control method in the present embodiment can be realized by following steps:
Step 101: receiving the main intracorporal M access unit of one first access at least one described first access main body Respective first data access request.
Wherein, refer in the step 101, receive respective first number of M access unit in one first access main body According to access request, and each access unit is to receive the tune of the second access main body such as CPU in the first access main body First data access request is generated when spending information, the scheduling information of the second access main body refers to, second access Operation has the main program of project algorithm on main body such as CPU, when the main program run to certain position need the reading of big data with When calculating and then needing the first access principal access storage unit, the first access main body can be transmitted scheduling information to, at this time Each access unit in the first access main body generates respective first data access request according to the scheduling information.
Step 102: be based on first data access request, establish the corresponding transmission channel of each access unit with Data channel between corresponding storage unit, passed through simultaneously by the M access unit its corresponding data channel and Respective memory unit carries out data interaction.
Wherein, M, N are respectively positive integer, and M is less than or equal to N.
It should be noted that the data content in first data access request can show that each access unit Which need storage unit to carry out data interaction with therefore to build in the step 102 based on first data access request The data stood between storage unit corresponding to transmission channel corresponding to each access unit and corresponding access unit are logical Road s.And after data channel s establishes completion, its corresponding data channel is passed through by each access unit w simultaneously S to carry out data interaction with the storage unit c on the opposite data channel s, as shown in Figure 2.
By above scheme it is found that a kind of control method embodiment one provided by the invention, passes through setting connection matrix device First access main body access unit and storage unit between, have in the connection matrix device interface of fixed number evidence come with Each access unit of first access main body connects one by one, wherein and the interface of only connected reference unit is in enabled state, into And establishing has transmission channel, and establishes and respective stored list when the access unit of the first access main body generates data access request Data channel between member, and then data interaction is carried out by access unit, therefore, the present embodiment can be visited realizing each first While asking the parallel data interaction of multiple access units of main body, so that the with different number access units first access master Body can be without that can be attached in the case where changing connection matrix device hardware connection structure, that is to say, that this hair It is bright to be limited by the individual data port bandwidth in access memory, led to parallel when needing to read big data The data interaction in road achievees the purpose that improve data read rates, additionally it is possible to solve the access of unbalanced number in access main body Unit is that may be present when carrying out parallel data interaction, and to need to connect hardware interface, hardware practicability and scalability repeatedly poor The problem of.
It should be noted that each first access main body receives the scheduling letter of the second access main body such as CPU at it Access request can be generated after breath, and in the connection matrix device, one described first, which can be only received, in synchronization visits The data access request of main body is asked, at this point, the data access request of remaining first access main body is in and waits described second to visit It asks the dispatch state of main body, and is had been processed into the data access request of the first access main body namely corresponding later After data interaction between access unit completion and storage unit, completes the first of data interaction and access main body to described second Access main body transmits completion signal, and the second access main body sends letter to one first access main body for not carrying out data interaction Number, its data access request is sent to connection matrix device by the first access main body by receiving signal, carries out parallel data Interaction.That is, the data access that the connection matrix device can only handle one first access main body at any one time is asked It asks.
It is the implementation flow chart of step 102 described in a kind of control method embodiment two provided by the invention with reference to Fig. 3, Wherein, the step 102 can be realized by following steps:
Step 121: in each first data access request, obtaining the access address of each access unit.
Wherein, in first data access request, have and carry out data interaction required for each access unit Access address, which has uniqueness in the memory unit, therefore, in the present embodiment, first to each described Access address of the access unit in first data access request is obtained.
Step 122: being based on the access address, determine storage unit corresponding to each access unit.
Specifically, as shown in Figure 4, the step 122 can be realized by following steps:
Step 401: being based on the access address, obtain the data space size of each access unit access.
It wherein, can be by the calculating to access address progress continuation address space, to obtain in the step 401 The data space size of data interaction is carried out required for each access unit.
Step 402: the data space size based on each access unit access determines each access unit institute Corresponding storage unit, wherein the corresponding data space size of each access unit is identical or different.
It should be noted that the storage size in the storage unit can be the same or different, deposited described When storage size in storage unit is identical, the data space of each access unit access is utilized in the step 402 Determining at least one storage unit corresponding with each access unit of size, and the memory space in the storage unit When not of uniform size, the data space size in the step 402 based on each access unit access is determined respectively and often A corresponding storage unit of the access unit.
Step 123: establishing the corresponding transmission channel of each access unit storage unit corresponding with the access unit Between data channel, the data channel respectively corresponds an access unit and at least one storage unit.
It is a kind of flow chart of control method embodiment three provided by the invention, wherein the method may be used also with reference to Fig. 5 With the following steps are included:
Step 103: receiving the data access request for being different from first data access request.
That is, being handled in the first data access request to current the first access main body for carrying out data interaction After completion, the connection matrix device can receive data access request or current transmitted by next first access main body The data access request that first access main body is sent again, that is, the data access for being different from first data access request are asked It asks.
Step 104: disconnecting data channel corresponding to each access unit in the first access main body.
Wherein, the step 104 refers to, is receiving the data access request for being different from first data access request Later, it needs to disconnect current data channel, in order to be responded in the subsequent data access request newly received, into The foundation of the new data channel of row carries out corresponding new data interaction.
In addition, being disconnected after receiving the data access request for being different from first data access request in addition to above-mentioned The processing scheme of data channel, the method can also include following several processing modes:
First method:
Passing through its corresponding data channel and respective memory unit completion data simultaneously by the M access unit After interaction, data channel corresponding to each access unit in the first access main body is turned off.At this point, being not necessarily to It is different from the new data access request of first data access request until receiving and turns off again.
Second method:
Passing through its corresponding data channel and respective memory unit completion data simultaneously by the M access unit It after interaction and receives and is different from after the new data access request of first data access request, based on new data Access request is established before new data channel, and number corresponding to each access unit in the first access main body is disconnected According to channel, in order in the subsequent foundation for carrying out new data channel.
It is a kind of structural schematic diagram of control device example IV provided by the invention, wherein the control with reference to Fig. 6 Device is applied and is set in connection matrix device, N number of first interface a is provided in the connection matrix device x, in Fig. 2 Shown, the connection matrix device x is connected at least one first access main body y, and each first access main body y has N number of second interface b, the connection matrix device x access main body y with described each first respectively by N number of first interface a N number of second interface b establish connection to establish N number of transmission channel z, there is at least one visit in one first access main body y Ask that unit w, each access unit w in the first access main body y respectively correspond to a transmission channel z, and each institute It states the corresponding transmission channel z of access unit w and is in enabled state, that is to say, that is in the connection matrix device x N number of First interface a is fixed setting, and the number of the first interface a is greater than the access in each first access main body y The number of unit w, when so that any one first access main body y needing to carry out parallel data interaction, each of which access unit w is equal It can be connected to by second interface b on the first interface a in the connection matrix device x.
Wherein, the control device in the present embodiment may include with flowering structure:
Request reception unit 601, for receiving at least one described first access main body in one first access main body Respective first data access request of M access unit.
Wherein, refer in the request reception unit 601, receive one first access main body in M access unit respectively The first data access request, and each access unit be it is described first access main body receive the second access main body such as Claim first data access request when scheduling information of CPU, the scheduling information of the second access main body refers to, described the The main program for having project algorithm is run on two access main bodys such as CPU, needs big data when the main program runs to certain position When reading with calculating and then needing the first access principal access storage unit, the first access master can be transmitted scheduling information to Body, each access unit in the first access main body generates respective first data access according to the scheduling information and asks at this time It asks.
It is corresponding to establish each access unit for being based on first data access request for Path Setup unit 602 Transmission channel and corresponding storage unit between data channel, by the M access unit simultaneously pass through its respectively correspondence Data channel and respective memory unit carry out data interaction.
Wherein, M, N are respectively positive integer, and M is less than or equal to N.
It should be noted that the data content in first data access request can show that each access unit It needs which storage unit to carry out data interaction with, therefore, first data access is based in the Path Setup unit 602 Request is to establish between storage unit corresponding to transmission channel corresponding to each access unit and corresponding access unit Data channel.And after data channel establishes completion, its corresponding number is passed through by each access unit simultaneously Come to carry out data interaction with the storage unit on data channel opposite according to channel, as shown in Figure 2.
By above scheme it is found that a kind of control device example IV provided by the invention, passes through setting connection matrix device First access main body access unit and storage unit between, have in the connection matrix device interface of fixed number evidence come with Each access unit of first access main body connects one by one, wherein and the interface of only connected reference unit is in enabled state, into And establishing has transmission channel, and establishes and respective stored list when the access unit of the first access main body generates data access request Data channel between member, and then data interaction is carried out by access unit, therefore, the present embodiment can be visited realizing each first While asking the parallel data interaction of multiple access units of main body, so that the with different number access units first access master Body can be without that can be attached in the case where changing connection matrix device hardware connection structure, that is to say, that this hair It is bright to be limited by the individual data port bandwidth in access memory, led to parallel when needing to read big data The data interaction in road achievees the purpose that improve data read rates, additionally it is possible to solve the access of unbalanced number in access main body Unit is that may be present when carrying out parallel data interaction, and to need to connect hardware interface, hardware practicability and scalability repeatedly poor The problem of.
It should be noted that each first access main body receives the scheduling letter of the second access main body such as CPU at it Access request can be generated later by ceasing, and the request reception unit 601 in the connection matrix device, can only be connect in synchronization The data access request of the first access main body is received, at this point, at the data access request of remaining first access main body In the dispatch state for waiting the second access main body, and the data access request in the first access main body has been processed into After namely corresponding access unit completes the data interaction between storage unit later, complete data interaction first is visited Ask that main body is transmitted completion signal to the second access main body, the second access main body is not to carrying out one of data interaction the One access main body sends signal, its data access request is sent to connection matrix dress by the first access main body by receiving signal It sets, carries out parallel data interaction.That is, request reception unit 601 in the connection matrix device is at any one time only The data access request of one first access main body can be handled.
It is the structure of Path Setup unit 602 described in a kind of control device embodiment five provided by the invention with reference to Fig. 7 Schematic diagram, wherein the Path Setup unit 602 may include with flowering structure:
Address obtains subelement 621, single in each first data access request, obtaining each access The access address of member.
Wherein, in first data access request, have and carry out data interaction required for each access unit Access address, which has uniqueness in the memory unit, therefore, in the present embodiment, first to each described Access address of the access unit in first data access request is obtained.
It stores and determines subelement 622, for being based on the access address, determine and deposited corresponding to each access unit Storage unit.
Specifically, as shown in Figure 8, the storage determines that subelement 622 can be by realizing with flowering structure:
Space obtains module 801, and for being based on the access address, the data for obtaining each access unit access are empty Between size.
Wherein, the meter to access address progress continuation address space can be passed through in the space acquisition module 801 It calculates, to obtain carrying out the data space size of data interaction required for each access unit.
Determining module 802 is stored, for the data space size based on each access unit access, determines each institute State storage unit corresponding to access unit, wherein the corresponding data space size of each access unit it is identical or It is different.
It should be noted that the storage size in the storage unit can be the same or different, deposited described When storage size in storage unit is identical, each access unit access is utilized in the storage determining module 802 Data space size determines at least one storage unit corresponding with each access unit, and in the storage unit Data space when storage size is inconsistent, based on each access unit access in the storage determining module 802 Size determine respectively with each corresponding storage unit of access unit.
Path Setup subelement 623, for establishing the corresponding transmission channel of each access unit and the access unit Data channel between corresponding storage unit, the data channel respectively corresponds an access unit and at least one storage is single Member.
It is a kind of structural schematic diagram of control device embodiment six provided by the invention, wherein described device with reference to Fig. 9 Can also include with flowering structure:
Channel switching units 603 receive for the request reception unit 601 and are different from first data access and ask When the data access request asked, data channel corresponding to each access unit in the first access main body is disconnected.
That is, completing the foundation of data channel in the Path Setup unit 602, and by the first access main body Each access unit complete and respective memory unit between data interaction after, the request receiving unit 601 can receive The data access that data access request transmitted by next first access main body or current first access main body are sent again is asked It asks, that is, is different from the data access request of first data access request.
And the channel switching units 603 refer to, receive in the request reception unit 601 and are different from first number After the data access request of access request, need to disconnect current data channel, in order to newly be received subsequent Data access request responded, carry out the foundation of new data channel, carry out corresponding new data interaction.
In addition, in addition to above-mentioned receive in the request reception unit 601 is different from first data access request The channel switching units 603 come the processing scheme in turn-off data channel, the channel switching units after data access request 603 can also include following several methods of operation:
First method:
Passing through its corresponding data channel and respective memory unit completion data simultaneously by the M access unit After interaction, the channel switching units 603 are turned off in the first access main body corresponding to each access unit Data channel.At this point, without being different from first data access request until the request reception unit 601 receives New data access request turns off again.
Second method:
Passing through its corresponding data channel and respective memory unit completion data simultaneously by the M access unit After interaction and the request reception unit 601 receives the new data access for being different from first data access request After request, the Path Setup unit 602 is established based on new data access request before new data channel, the channel Switching units 602 can disconnect data channel corresponding to each access unit in the first access main body, in order to In the subsequent foundation for carrying out new data channel.
It is a kind of structural schematic diagram of connection matrix Installation practice seven provided by the invention, the connection square with reference to Fig. 2 It is provided with N number of first interface a in battle array device x, as shown in Figure 2, the connection matrix device x and at least one first access master Body y is connected, and there is each first access main body y N number of second interface b, the connection matrix device x to pass through described N number of N number of second interface b of the first interface a respectively with each first access main body y establishes connection to establish N number of transmission channel z, There is at least one access unit w, each access unit w in the first access main body y in one first access main body y A respectively corresponding transmission channel z, and the corresponding transmission channel z of each access unit w is in enabled state, That is, N number of first interface a in the connection matrix device x is fixed setting, and the number of the first interface a is wanted Greater than it is each it is described first access main body y in access unit w number so that any one first access main body y need into When the interaction of row parallel data, each of which access unit w can be connected in the connection matrix device x by second interface b First interface a on.
Wherein, the connection matrix device further includes control device c, and the control device c is by receiving described at least one In a first access main body after main intracorporal respective first data access request of M access unit of one first access, base In first data access request, establish between the corresponding transmission channel of each access unit and corresponding storage unit Data channel, passed through its corresponding data channel simultaneously by the M access unit and counted with respective memory unit According to interaction.
Wherein, M, N are respectively positive integer, and M is less than or equal to N.
Specifically, the realization structure of the control device c can be controlled with reference to described in embodiment any one of above Device processed, and will not be described here in detail.
It is a kind of flow chart of access method embodiment eight provided by the invention, wherein the method application with reference to Figure 10 Main body, such as arithmetic logic circuit ASIC are accessed in first, the first access main body is in the tune for receiving the second access main body Data access request can be generated after degree information, the first access main body has N number of second interface, and described N number of second connects Mouth establishes connection with N number of first interface in connection matrix device respectively to establish N number of transmission channel, the first access main body In there is M access unit, each access unit respectively corresponding transmission channel, and each access unit The corresponding transmission channel is in enabled state, and the structure of the connection matrix device can be with reference to shown in Fig. 2.
Wherein, in the present embodiment the method may include following steps:
Step 1001: respective first data access request of M access unit is sent to the connection matrix device, by institute It states connection matrix device and is based on first data access request, establish the corresponding transmission channel of each access unit and phase The data channel between storage unit answered.
Specifically, after the first access main body sends the first data access request to the connection matrix device, It is based on first data access request by the control device in the connection matrix device, establishes each access unit Data channel between corresponding transmission channel and corresponding storage unit.And the realization of the control device can be with reference to above Middle content, and will not be described here in detail.
It should be noted that it is described first access main body only receive it is described second access main body scheduling information it The step 1001 can be just executed afterwards, send the first data access request to the connection matrix device.
Step 1002: triggering the M access unit while passing through its corresponding data channel and respective stored list Member carries out data interaction.
Wherein, M, N are respectively positive integer, and M is less than or equal to N.
By above scheme it is found that in a kind of access method embodiment eight provided by the invention, the first access main body is logical Setting connection matrix device is crossed to be connected, to realize the data channel between each access unit and respective memory unit, thus Parallel data interaction is carried out, and the interface quantity in connection matrix device is greater than or equal to the access of each first access main body Unit number has so that the access unit of each first access main body is each connectable to corresponding storage unit to realize Data interaction between the first access main body and storage unit of the access unit of different number, realizes unbalanced parallel data Interaction, that is to say, that the present embodiment can not only be limited by the data port bandwidth in access memory, big needing to read The data interaction that parallel channel is carried out when data achievees the purpose that improve data read rates, additionally it is possible to solve in access main body The access unit of unbalanced number is that may be present when carrying out parallel data interaction to need to connect hardware interface, hardware reality repeatedly With property and the problem of scalability difference.
It is a kind of flow chart of access method embodiment nine provided by the invention, wherein the method may be used also with reference to Figure 11 With the following steps are included:
Step 1003: in control N number of transmission channel other than being corresponding with the transmission channel of the access unit Transmission channel is in non-enabled state.
Wherein, the step 1003 can execute before the step 1001, that is to say, that in the first access master When body receives the scheduling information of the second access main body, each access unit for needing to enable the first access main body is corresponding to its First interface between transmission channel, meanwhile, control in N number of transmission channel in addition to be corresponding with access unit transmission channel it Other outer transmission channels are in enabled state, the first access main body have 4 second interfaces respectively with the connection square 4 first interfaces in battle array device are connected to form 4 transmission channels, and 3 access units in the first access main body It respectively corresponds a transmission channel and is in enabled state, another transmission channel for not corresponding to access unit is in non-by control Enabled state.
It is a kind of structural schematic diagram of access mechanism embodiment ten provided by the invention, wherein the access with reference to Figure 12 Device can be set in the first access main body, such as arithmetic logic circuit ASIC, and the first access main body is receiving the Data access request can be generated after the scheduling information of two access main bodys, the first access main body has N number of second interface, N number of second interface establishes connection with N number of first interface in connection matrix device respectively to establish N number of transmission channel, institute Stating has M access unit in the first access main body, each access unit respectively corresponds to a transmission channel, and every The corresponding transmission channel of a access unit is in enabled state, and the structure of the connection matrix device can be with reference to figure Shown in 2.
Wherein, in the present embodiment the apparatus may include with flowering structure:
Request transmitting unit 1201, for sending respective first data of M access unit to the connection matrix device Access request is based on first data access request by the connection matrix device, and it is corresponding to establish each access unit Transmission channel and corresponding storage unit between data channel.
Specifically, after the first access main body sends the first data access request to the connection matrix device, It is based on first data access request by the control device in the connection matrix device, establishes each access unit Data channel between corresponding transmission channel and corresponding storage unit.And the realization of the control device can be with reference to above Middle content, and will not be described here in detail.
It should be noted that it is described first access main body only receive it is described second access main body scheduling information it The request transmitting unit 1201 can be just run afterwards, send the first data access request to the connection matrix device.
Interaction trigger unit 1202, for triggering the M access unit while passing through its corresponding data channel Data interaction is carried out with respective memory unit.
Wherein, M, N are respectively positive integer, and M is less than or equal to N.
By above scheme it is found that in a kind of access mechanism embodiment ten provided by the invention, the first access main body is logical Setting connection matrix device is crossed to be connected, to realize the data channel between each access unit and respective memory unit, thus Parallel data interaction is carried out, and the interface quantity in connection matrix device is greater than or equal to the access of each first access main body Unit number has so that the access unit of each first access main body is each connectable to corresponding storage unit to realize Data interaction between the first access main body and storage unit of the access unit of different number, realizes unbalanced parallel data Interaction, that is to say, that the present embodiment can not only be limited by the data port bandwidth in access memory, big needing to read The data interaction that parallel channel is carried out when data achievees the purpose that improve data read rates, additionally it is possible to solve in access main body The access unit of unbalanced number is that may be present when carrying out parallel data interaction to need to connect hardware interface, hardware reality repeatedly With property and the problem of scalability difference.
It is a kind of structural schematic diagram of access mechanism embodiment 11 provided by the invention, wherein the dress with reference to Figure 13 Setting can also include with flowering structure:
Status control unit 1203, for controlling the biography in N number of transmission channel in addition to being corresponding with the access unit Transmission channel except defeated channel is in non-enabled state.
Wherein, the status control unit 1203 can be run before the request transmitting unit 1201, that is to say, that When the first access main body receives the scheduling information of the second access main body, need to enable each of the first access main body Transmission channel between its corresponding first interface of access unit, meanwhile, it controls in N number of transmission channel in addition to being corresponding with access Other transmission channels except the transmission channel of unit are in enabled state, and the first access main body has 4 second interfaces It is connected to form 4 transmission channels with 4 first interfaces in the connection matrix device respectively, and the first access main body In 3 access units respectively correspond a transmission channel and be in enabled state, another does not correspond to the transmission of access unit Channel is in non-enabled state by control.
It is a kind of structural schematic diagram of processing system embodiment 12 provided by the invention, wherein the place with reference to Figure 14 It may include multiple first access main bodys 1401, connection matrix device 1402 and at least one storage unit 1403 in reason system, Wherein, be provided with N number of first interface a in the connection matrix device 1402, the connection matrix device 1402 and at least one First access main body 1401 is connected, and each first access main body 1401 has N number of second interface b, the connection matrix N number of second interface b of the device 1402 by N number of first interface a respectively with each first access main body 1401 is established Connection is to establish N number of transmission channel z, at least one access unit w in one first access main body 1401, described first It accesses each access unit w in main body 1401 and respectively corresponds to a transmission channel z, and each w pairs of the access unit The transmission channel z answered is in enabled state, is provided with control device 1421 in the connection matrix device 1402.
Wherein, the control device 1,421 one first access in receiving at least one described first access main body 1401 After respective first data access request of M access unit w in main body 1401, it is based on first data access request, The data channel s between the corresponding transmission channel z of each access unit w and corresponding storage unit 1403 is established, by institute It states M access unit w while passing through its corresponding data channel s and the progress data interaction of respective memory unit 1403.
Wherein, M, N are respectively positive integer, and M is less than or equal to N.
Specifically, the specific implementation of the control device 1421 can be with reference to hereinbefore content, and will not be described here in detail.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in the process, method, article or apparatus that includes the element.
Above to a kind of control method device, connection matrix device, access method device and processing provided herein System is described in detail, and specific examples are used herein to illustrate the principle and implementation manner of the present application, with The explanation of upper embodiment is merely used to help understand the present processes and its core concept;Meanwhile for the general of this field Technical staff, according to the thought of the application, there will be changes in the specific implementation manner and application range, in conclusion The contents of this specification should not be construed as limiting the present application.

Claims (16)

1. a kind of control method is applied to connection matrix device, is provided with N number of first interface, institute in the connection matrix device It states connection matrix device to be connected at least one first access main body, the first access main body has N number of second interface, institute It states N number of second interface of the connection matrix device by N number of first interface respectively with the first access main body and establishes connection To establish N number of transmission channel, there is at least one access unit, the first access master in each first access main body Each access unit in body respectively corresponds to a transmission channel, and the corresponding transmission of each access unit is logical Road is in enabled state, which comprises
Receive respective first data access request of M access unit at least one described first access main body;
Based on first data access request, it is single with corresponding storage to establish the corresponding transmission channel of each access unit Data channel between member passes through its corresponding data channel and respective memory unit by the M access unit simultaneously Carry out data interaction;
Wherein, M, N are respectively positive integer, and M is less than or equal to N.
2. establishing each institute the method according to claim 1, wherein being based on first data access request State the data channel between the corresponding transmission channel of access unit and corresponding storage unit, comprising:
In each first data access request, the access address of each access unit is obtained;
Based on the access address, storage unit corresponding to each access unit is determined;
The data established between the corresponding transmission channel of each access unit storage unit corresponding with the access unit are logical Road, the data channel respectively correspond an access unit and at least one storage unit.
3. according to the method described in claim 2, it is characterized in that, it is described be based on the access address, determine each visit Ask storage unit corresponding to unit, comprising:
Based on the access address, the data space size of each access unit access is obtained;
Based on the data space size of each access unit access, storage list corresponding to each access unit is determined Member, wherein the corresponding data space size of each access unit is identical or different.
4. the method according to claim 1, wherein the connection matrix device can only handle one at any one time The data access request of a first access main body.
5. the method according to claim 1, wherein the method also includes:
Receive the data access request for being different from first data access request;
Disconnect data channel corresponding to each access unit in the first access main body.
6. a kind of control device is applied to connection matrix device, is provided with N number of first interface, institute in the connection matrix device It states connection matrix device to be connected at least one first access main body, the first access main body has N number of second interface, institute It states N number of second interface of the connection matrix device by N number of first interface respectively at the first access main body and establishes connection To establish N number of transmission channel, there is at least one access unit, the first access master in each first access main body Each access unit in body respectively corresponds to a transmission channel, and the corresponding transmission of each access unit is logical Road is in enabled state, and the control device includes:
Request reception unit, for receiving respective first number of M access unit at least one described first access main body According to access request;
Path Setup unit establishes the corresponding transmission of each access unit for being based on first data access request Data channel between channel and corresponding storage unit passes through its corresponding data by the M access unit simultaneously Channel and respective memory unit carry out data interaction;
Wherein, M, N are respectively positive integer, and M is less than or equal to N.
7. control device according to claim 6, which is characterized in that the Path Setup unit includes:
Address obtains subelement, for obtaining the visit of each access unit in each first data access request Ask address;
It stores and determines subelement, for being based on the access address, determine storage unit corresponding to each access unit;
Path Setup subelement, for establishing, the corresponding transmission channel of each access unit is corresponding with the access unit to be deposited Data channel between storage unit, the data channel respectively correspond an access unit and at least one storage unit.
8. control device according to claim 7, feature exist, the storage determines that subelement includes:
Space obtains module, for being based on the access address, obtains the data space size of each access unit access;
Determining module is stored, for the data space size based on each access unit access, determines each access Storage unit corresponding to unit, wherein the corresponding data space size of each access unit is identical or different.
9. control device according to claim 6, which is characterized in that the request reception unit can only connect at any one time Receive the data access request of one first access main body.
10. control device according to claim 6, which is characterized in that the control device further include:
Channel switching units receive the data visit for being different from first data access request for the request reception unit When asking request, data channel corresponding to each access unit in the first access main body is disconnected.
11. a kind of connection matrix device, N number of first interface, the connection matrix device are provided in the connection matrix device It is connected at least one first access main body, the first access main body has N number of second interface, the connection matrix device It is logical to establish N number of transmission that connection is established with N number of second interface of the first access main body respectively by N number of first interface Road has at least one access unit, each access in the first access main body in each first access main body Unit respectively corresponds to a transmission channel, and the corresponding transmission channel of each access unit is in enabled shape State, the connection matrix device further include the control device as described in any one of claim 6-10.
12. a kind of access method, is applied to the first access main body, the first access main body is receiving the second access main body It can generate data access request after scheduling information, the first access main body has N number of second interface, and described N number of second Interface establishes connection with N number of first interface in connection matrix device respectively to establish N number of transmission channel, the first access master There is M access unit, each access unit respectively corresponds to a transmission channel, and each access is single in body The corresponding transmission channel of member is in enabled state, which comprises
Respective first data access request of M access unit is sent to the connection matrix device, is filled by the connection matrix It sets based on first data access request, establishes the corresponding transmission channel of each access unit and corresponding storage unit Between data channel;
It triggers the M access unit while passing through its corresponding data channel and respective memory unit progress data friendship Mutually;
Wherein, M, N are respectively positive integer, and M is less than or equal to N.
13. according to the method for claim 12, which is characterized in that the method also includes:
It controls the transmission channel in N number of transmission channel other than being corresponding with the transmission channel of the access unit and is in non- Enabled state.
14. a kind of access mechanism is set in the first access main body, the first access main body is receiving the second access main body Scheduling information after can generate data access request, the first access main body has N number of second interface, described N number of the Two interfaces establish connection with N number of first interface in connection matrix device respectively to establish N number of transmission channel, first access There is M access unit, each access unit respectively corresponds to a transmission channel, and each access in main body The corresponding transmission channel of unit is in enabled state, and the access mechanism includes:
Request transmitting unit, for sending respective first data access request of M access unit to the connection matrix device, First data access request is based on by the connection matrix device, establishes the corresponding transmission channel of each access unit With the data channel between corresponding storage unit;
Interaction trigger unit, for triggering the M access unit while passing through its corresponding data channel and accordingly depositing Storage unit carries out data interaction;
Wherein, M, N are respectively positive integer, and M is less than or equal to N.
15. access mechanism according to claim 14, which is characterized in that further include:
Status control unit, for control in N number of transmission channel in addition to be corresponding with the access unit transmission channel it Outer transmission channel is in non-enabled state.
16. a kind of processing system, including multiple first access main bodys, connection matrix device and at least one storage unit, described It is arranged in connection matrix device just like control device described in any one of 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 CN105760316A (en) 2016-07-13
CN105760316B true 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)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005135116A (en) * 2003-10-29 2005-05-26 Nec Corp Storage device and access control method thereof
US7567567B2 (en) * 2005-04-05 2009-07-28 Sun Microsystems, Inc. Network system including packet classification for partitioned resources
WO2009060459A2 (en) * 2007-11-09 2009-05-14 Plurality Shared memory system for a tightly-coupled multiprocessor
CN102521155B (en) * 2011-12-12 2014-09-10 盛科网络(苏州)有限公司 Method and device for realizing table item dynamic allocation on physical storage

Also Published As

Publication number Publication date
CN105760316A (en) 2016-07-13

Similar Documents

Publication Publication Date Title
CN105527881B (en) A kind of command processing method and device
CN108696581A (en) Caching method, device, computer equipment and the storage medium of distributed information
CN106774382A (en) A kind of multiple no-manned plane real-time situation information sharing system
US20130091502A1 (en) System and method of providing virtual machine using device cloud
CN109474701A (en) Blockchain oracles, IoT devices and information processing methods
CN106888120A (en) A kind of method, the apparatus and system of Internet of Things management
US20160019086A1 (en) Apparauts and method for generating software defined network(sdn)-based virtual network according to user demand
US20140188253A1 (en) Method and system for reprogramming
EP3686738A1 (en) Device and method for accelerating graphics processor units, and computer readable storage medium
CN105338258B (en) A kind of video transmission method and equipment
CN104750028B (en) The safe communication system with multiple CPU I/O cells to be communicated is used
CN111597024B (en) Cross-domain cluster processing method and device, electronic equipment and storage medium
CN106776032B (en) The treating method and apparatus of the I/O request of distributed block storage
CN103105839A (en) Intelligent network control system and method of fracturing device
CN105760316B (en) Control method device, connection matrix device, access method device and processing system
CN104142902B (en) Adaptive interface for coupling FPGA modules
US20090240859A1 (en) Automatic address setting system
CN108905202A (en) Control virtual reality scenario rotating method and device, storage medium, electronic device
CN108965119A (en) A kind of intelligent gateway
CN110222000A (en) A kind of AXI stream data frame bus combining device
CN106126723A (en) A kind of method and device of mobile destination object
CN109309615A (en) Method and device for transmitting data
CN105874757B (en) A data processing method and multi-core processor system
CN107070955A (en) The transmission method and device of a kind of electric power system data
CN111092788B (en) Switch test system

Legal Events

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