CN102063399A - Multichannel data transmission method, system andequipment - Google Patents
Multichannel data transmission method, system andequipment Download PDFInfo
- Publication number
- CN102063399A CN102063399A CN 201110003981 CN201110003981A CN102063399A CN 102063399 A CN102063399 A CN 102063399A CN 201110003981 CN201110003981 CN 201110003981 CN 201110003981 A CN201110003981 A CN 201110003981A CN 102063399 A CN102063399 A CN 102063399A
- Authority
- CN
- China
- Prior art keywords
- data
- usb
- treatment facility
- usb interface
- main frame
- 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
Links
Images
Landscapes
- Information Transfer Systems (AREA)
Abstract
The embodiment of the invention discloses a multichannel data transmission method, system and equipment. The multichannel data transmission method is characterized in that a host machine is configured with at least two USB (Universal Serial Bus) interfaces respectively connected with at least two USB data tablets; and the at least two USB data tablets are connected with the processing equipment. The multichannel data transmission method comprises the following steps of: sending a section of data to be transmitted to the processing equipment, which has a length shorter than or equal to a first set length, to the second USB data tablet connected with the first USB interface of the host machine in an asynchronous sending way by the host machine; judging whether the data to be transmitted to the processing equipment is remained; and if so, sending a section of the data to be transmitted to the processing equipment, which has a length shorter than or equal to a second set length, to the second data tablet connected with the second USB interface of the host machine in the asynchronous sending way. The embodiment of the invention can enhance the data transmission speed in a scene using the USB interfaces.
Description
Technical field
The present invention relates to communication technical field, be specifically related to multi-channel data transmission method and equipment and system.
Background technology
Current, USB2.0 (Universal Serial Bus 2.0, USB (universal serial bus) 2.0) has become the computer architecture interface of main flow, and is very easy to use quick.
The usb data plate is a kind of USB interface of main frame (for example computer) can the connection with miscellaneous equipment (as printer), and to realize main frame by the device of USB interface to miscellaneous equipment transmission data, the usb data plate comprises the USB interface that is connected with main frame.
For example in a lot of fields such as spray printing field, also be the computer architecture interface that adopts main flow such as USB2.0 at present usually, a kind of existing print scene can be as shown in Figure 1, and the USB interface of main frame is connected to a usb data plate; The usb data plate is connected to printer, and main frame transmits data by this usb data plate that is connected to its USB interface to printer, and printer is then printed accordingly.
Find in the practice that present USB series interfaces more and more can not satisfy work requirements aspect data rate, data rate will become the application bottleneck of USB interface.
Summary of the invention
The embodiment of the invention provides multi-channel data transmission method and equipment and system, to improve the data rate of using under the USB interface scene.
For solving the problems of the technologies described above, the embodiment of the invention provides following technical scheme:
The embodiment of the invention provides a kind of multi-channel data transmission method, and at least two general-purpose serial bus USB interfaces of host configuration are connected respectively at least two usb data plates, and described at least two usb data plates are connected to a treatment facility, and described method comprises:
Main frame is according to asynchronous sending mode, to the first usb data plate of first USB interface that is connected to described main frame, sends and treats that in the data of described treatment facility transmission length is less than or equal to the one piece of data of first preseting length;
Judge whether also to remain the data that remain to described treatment facility transmission;
If,, send and to treat that in the data of described treatment facility transmission length is less than or equal to the one piece of data of second preseting length to the second usb data plate of second USB interface that is connected to described main frame then according to asynchronous sending mode; Wherein, described first preseting length greater than, be equal to or less than second preseting length.
Optionally, described at least two general-purpose serial bus USB interfaces comprise: first USB interface, second USB interface and the 3rd USB interface; Described at least two usb data plates comprise: the first usb data plate, the second usb data plate and the 3rd usb data plate;
Described transmission also comprises after treating that length is less than or equal to the one piece of data of first preseting length in the data of described treatment facility transmission:
If also remain the data that remain to described treatment facility transmission, then according to asynchronous sending mode, to the 3rd usb data plate of the 3rd USB interface that is connected to described main frame, send and to treat that in the data of described treatment facility transmission length is less than or equal to the one piece of data of the 3rd preseting length; Described the 3rd preseting length greater than, be equal to or less than first preseting length.
Optionally, one or more in described first USB interface, second USB interface and the 3rd USB interface are USB 2.0 interfaces.
Optionally, described treatment facility is a spray printing equipment, and described treating is the spray printing data or controls signaling to the data of described treatment facility transmission.
The embodiment of the invention also provides a kind of main frame, and at least two general-purpose serial bus USB interfaces of described host configuration are connected respectively at least two usb data plates, and described main frame comprises:
First transmitting element is used for according to asynchronous sending mode, to the first usb data plate of first USB interface that is connected to described main frame, sends and to treat that in the data of treatment facility transmission length is less than or equal to the one piece of data of first preseting length; Wherein, described at least two usb data plates are connected to described treatment facility;
Judging unit is used to judge whether also to remain the data that remain to described treatment facility transmission;
Second transmitting element, residue remains after the data of described treatment facility transmission to be used for going out also in described judgment unit judges, according to asynchronous sending mode, to the second usb data plate of second USB interface that is connected to described main frame, send and to treat that in the data of described treatment facility transmission length is less than or equal to the one piece of data of second preseting length; Wherein, described first preseting length greater than, be equal to or less than second preseting length.
Optionally, the USB interface of described host configuration comprises: first USB interface, second USB interface and the 3rd USB interface; Described at least two usb data plates comprise: the first usb data plate, the second usb data plate and the 3rd usb data plate;
Described main frame also comprises:
The 3rd sending module, residue remains after the data of described treatment facility transmission to be used for going out also in described judgment unit judges, according to asynchronous sending mode, to the 3rd usb data plate of the 3rd USB interface that is connected to described main frame, send and to treat that in the data of described treatment facility transmission length is less than or equal to the one piece of data of the 3rd preseting length;
Wherein, described the 3rd preseting length greater than, be equal to or less than first preseting length.
Optionally, one or more in first USB interface of described host configuration, second USB interface and the 3rd USB interface are USB 2.0 interfaces.
The embodiment of the invention also provides a kind of multi-channel data transmission system, comprising: dispose the main frame of at least two USB interface, at least two usb data plates and treatment facility;
Wherein, at least two general-purpose serial bus USB interfaces of main frame are connected respectively at least two usb data plates, and described at least two usb data plates are connected to described treatment facility;
Described main frame is used for according to asynchronous sending mode, to the first usb data plate of first USB interface that is connected to this main frame, sends and to treat that in the data of described treatment facility transmission length is less than or equal to the one piece of data of first preseting length; Judge whether also to remain the data that remain to described treatment facility transmission; If then according to asynchronous sending mode,, send and to treat that in the data of described treatment facility transmission length is less than or equal to the one piece of data of second preseting length to the second usb data plate of second USB interface that is connected to described main frame; Wherein, described first preseting length greater than, be equal to or less than second preseting length;
The described first usb data plate, the data forwarding that is used for first USB interface from described main frame is received is given described treatment facility;
The described second usb data plate, the data forwarding that is used for second USB interface from described main frame is received is given described treatment facility.
Optionally, the USB interface of described host configuration comprises: first USB interface, second USB interface and the 3rd USB interface; Described at least two usb data plates comprise: the first usb data plate, the second usb data plate and the 3rd usb data plate;
Described main frame also is used for, residue remains after the data of described treatment facility transmission judging also, according to asynchronous sending mode, to the 3rd usb data plate of the 3rd USB interface that is connected to described main frame, send and to treat that in the data of described treatment facility transmission length is less than or equal to the one piece of data of the 3rd preseting length; Described the 3rd preseting length greater than, be equal to or less than first preseting length;
Described the 3rd usb data plate, the data forwarding that is used for the 3rd USB interface from described main frame is received is given described treatment facility.
Optionally, described treatment facility is a spray printing equipment,
Described treatment facility is used for carrying out the spray printing processing according to receiving data.
Therefore, at least two USB interface of host configuration in the embodiment of the invention, these at least two USB interface are connected with at least two usb data plates, because main frame is to adopt asynchronous sending mode, carry out data transmission simultaneously by at least two USB interface, thereby raising main frame that can be bigger on the whole is to the speed of other treatment facility transmission data.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention and technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment and the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the single channel data transmission system Organization Chart of prior art;
Fig. 2 is a kind of multi-channel data transmission system Organization Chart that the embodiment of the invention provides;
Fig. 3 is a kind of multi-channel data transmission method schematic flow sheet that the embodiment of the invention one provides;
Fig. 4 is a kind of multi-channel data transmission method schematic flow sheet that the embodiment of the invention two provides;
Fig. 5 is a kind of main machine structure synoptic diagram that the embodiment of the invention three provides;
Fig. 6 is a kind of multi-channel data transmission system synoptic diagram that the embodiment of the invention four provides.
Embodiment
The embodiment of the invention provides multi-channel data transmission method and equipment and system, to improve the data rate of using under the USB interface scene.
In order to make those skilled in the art person understand the present invention program better, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the embodiment of a part of the present invention, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills should belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Referring to Fig. 2, Fig. 2 provides a kind of multi-channel data transmission system Organization Chart for the embodiment of the invention, as shown in Figure 2, host configuration has at least two USB interface (wherein, one or more in these at least two USB interface can be the USB2.0 interfaces, the USB interface of USB3.0 interface or other type etc.), these at least two USB interface are connected respectively at least two usb data plates, these at least two usb data plates are connected to a treatment facility (wherein, the treatment facility of usb data plate can be spray printing equipment, memory device, playback equipment or miscellaneous equipment), main frame supports the usb data plate to work simultaneously.The scheme of the embodiment of the invention can specifically be implemented based on said system framework or similar framework.
Be elaborated respectively by the following examples.
Embodiment one
An embodiment of multi-channel data transmission method of the present invention, at least two USB interface of host configuration are connected respectively at least two usb data plates, and these at least two usb data plates are connected to a treatment facility; This method can comprise: main frame is according to asynchronous sending mode, to the first usb data plate of first USB interface that is connected to it, sends and treats that in the data of treatment facility transmission length is less than or equal to the one piece of data of first preseting length; Judge whether also to remain the data that remain to above-mentioned treatment facility transmission; If,, send and to treat that in the data of above-mentioned treatment facility transmission length is less than or equal to the one piece of data of second preseting length to the second usb data plate of second USB interface that is connected to this main frame then according to asynchronous sending mode; First preseting length greater than, be equal to or less than second preseting length.
Referring to Fig. 3, concrete steps can comprise:
310, main frame is according to asynchronous sending mode, to the first usb data plate that is connected to its first USB interface, sends and treats that in the data of treatment facility transmission length is less than or equal to the one piece of data of first preseting length;
Wherein, at least two USB interface of host configuration (comprising first USB interface and second USB interface) are connected respectively at least two usb data plates (comprising the first usb data plate and the second usb data plate), these at least two usb data plates are connected to a treatment facility, and this treatment facility can be spray printing equipment, memory device, playback equipment or miscellaneous equipment.The data-interface that is connected with treatment facility of usb data plate configuration, different and possible different according to the type of institute's connection processing equipment.The usb data plate is in order to finish the data-interface switching between main frame and treatment facility.In the practical application scene, the usb data plate may be parts (i.e. this treatment facility itself configurable have usb data plate) of treatment facility, also may be independent of this treatment facility.
Wherein, asynchronous sending mode is a kind of after certain port sends data, is not also receiving the corresponding response that is sent completely, and just can send a kind of transmission mode of data once more at this port, and asynchronous sending mode adopts multithreading background process mechanism more.
320, main frame judges whether also to remain the data that remain to the treatment facility transmission;
Under a kind of application scenarios, a plurality of data blocks that main frame for example can be divided into the data for the treatment of to treatment facility transmission equal and opposite in direction or not wait, and can carry out serial number to a plurality of data blocks that mark off; If the reference numeral of the data block that sends is numbered less than maximum recently, then can judge and also remain the data that remain to the treatment facility transmission; Reference numeral as if the nearest data block that sends equals maximum numbering, then can judge not remain the data that remain to the treatment facility transmission.Or, main frame also can will treat that the data to the treatment facility transmission are divided into equal and opposite in direction or a plurality of data blocks that do not wait and are cached in the somewhere, after sending a data block, just in buffer memory, delete corresponding data block (perhaps the data block that has sent being carried out mark), when in finding buffer memory, not had data block to be sent, then can judge and not remain the data that remain to the treatment facility transmission, otherwise, then judge and also remain the data that remain to the treatment facility transmission.
Be appreciated that above-mentioned main frame judges whether also to remain the mode that remains to the data of treatment facility transmission only for describing for example, also can select alternate manner to judge in actual applications, repeat no more herein.
330, main frame also remains the data that remain to the treatment facility transmission if judge, then according to asynchronous sending mode, to the second usb data plate that is connected to this main frame second USB interface, send and to treat that in the data of above-mentioned treatment facility transmission length is less than or equal to the one piece of data of second preseting length.
Wherein, first preseting length greater than, be equal to or less than second preseting length.
In actual applications, can set first preseting length and the second preseting length size as required, for example first preseting length can be 50 bits, 100 bits or other value, second preseting length can be 100 bits, 30 bits or other value.
Wherein, one or more in the USB interface of host configuration can be USB interface of USB2.0 interface, USB3.0 interface or other type etc.
In actual applications, if main frame has only disposed two USB interface, then main frame sends data to two USB interface by turns, for instance, main frame is at the second usb data plate to second USB interface that is connected to this main frame, after transmission treats that length is less than or equal to the one piece of data of second length in the data of above-mentioned treatment facility transmission, also can judge whether also to remain the data that remain to the treatment facility transmission, if, then main frame can be according to asynchronous sending mode, to the first usb data plate that is connected to its first USB interface, transmission treats that in the data of treatment facility transmission length is less than or equal to the one piece of data of first preseting length, circulate with this, finish until the data transmission.If main frame is to disposing three or more USB interface, main frame can rotated to a plurality of USB interface and send data, by that analogy.
Under a kind of application scenarios, if the USB interface of host configuration comprises: first USB interface, second USB interface and the 3rd USB interface; And at least two usb data plates comprise: the first usb data plate, the second usb data plate and the 3rd usb data plate;
Main frame is to the first usb data plate of first USB interface that is connected to it, after transmission treats that length is less than or equal to the one piece of data of first preseting length in the data of above-mentioned treatment facility transmission, if also remain the data that remain to the treatment facility transmission, then according to asynchronous sending mode, to the 3rd usb data plate of the 3rd USB interface that is connected to this main frame, send and to treat that in the data of treatment facility transmission length is less than or equal to the one piece of data of the 3rd preseting length.Perhaps, main frame is at the second usb data plate to second USB interface that is connected to this main frame, transmission also can judge whether also to remain the data that remain to the treatment facility transmission after treating that length is less than or equal to the one piece of data of second length in the data of above-mentioned treatment facility transmission; Also remain the data that remain to the treatment facility transmission if judge, then according to asynchronous sending mode, to the 3rd usb data plate of the 3rd USB interface that is connected to this main frame, send and to treat that in the data of treatment facility transmission length is less than or equal to the one piece of data of the 3rd preseting length.Wherein, the 3rd preseting length greater than, be equal to or less than first preseting length.
Under a kind of application scenarios,, then treat to comprise spray printing data (for example picture and/or document etc.) or control signaling etc. to the data of this treatment facility transmission if treatment facility is spray printing equipment (for example printer or an air brushing machine).Above-mentioned multi-channel data transmission mechanism is applied to the spray printing field, can overcome the defective of multi-purpose computer main flow interface to the data transmission speed limit.
Therefore, at least two USB interface of host configuration in the present embodiment, these at least two USB interface are connected with at least two usb data plates, because main frame is to adopt asynchronous sending mode, carry out data transmission simultaneously by at least two USB interface, thereby raising main frame that can be bigger on the whole is to the speed of other treatment facility transmission data.
And, owing to can select to have the driving of parallel work-flow performance, and need not to change the intrinsic hardware configuration of usb data plate, so can effectively control cost; Secondly, owing to can on existing multi-purpose computer main flow system interface basis, realize, so have stronger availability and generalization aborning.
Embodiment two
For ease of better understanding the technical scheme of the embodiment of the invention, a concrete scene is more specifically described for example below.For ease of describing, mainly transmit data instance by two USB interface (being referred to as USB interface A and USB interface B) of its configuration to certain treatment facility N in the present embodiment with main frame.
For example USB interface A is connected to usb data plate A1, and USB interface B is connected to usb data plate B1.
Referring to Fig. 4, specifically can comprise:
401, usb data plate A1 and usb data plate B1 start;
402, main frame is according to asynchronous sending mode, to the usb data plate A1 that is connected to USB interface A, sends and treats that in the data of treatment facility N transmission length is less than or equal to the one piece of data of length T 1;
Wherein, treatment facility N is spray printing equipment, memory device, playback equipment or miscellaneous equipment.The data-interface that is connected with treatment facility N of usb data plate configuration, different and possible different according to the type of institute's connection processing equipment.The usb data plate is in order to finish the data-interface switching between main frame and treatment facility.
Main frame can be a PC, and server or other opertaing device, main frame are equipped with the driver that can support at least two USB interface work simultaneously in advance.
In the practical application scene, usb data plate A1 and B1 may be the parts (i.e. this treatment facility N itself configurable have usb data plate) of treatment facility N, also may be independent of treatment facility N.
Wherein, asynchronous sending mode is a kind of after certain port sends data, is not also receiving the corresponding response that is sent completely, and just can send a kind of transmission mode of data once more at this port, and asynchronous sending mode adopts multithreading background process mechanism more.
Usb data plate A1 based on corresponding data forwarding strategy, is transmitted to treatment facility N with it receiving from USB interface A after above-mentioned length is less than or equal to the one piece of data of length T 1.
403, main frame judges whether also to remain the data that remain to treatment facility N transmission;
If then execution in step 401, or not, but end data transfer process then.
In actual applications, a plurality of data blocks that main frame for example can be divided into the data for the treatment of to treatment facility N transmission equal and opposite in direction or not wait, and can carry out serial number to a plurality of data blocks that mark off; If the reference numeral of the data block that sends is numbered less than maximum recently, then can judge also residue to the data of treatment facility N transmission (for example remains, the data block maximum is numbered 1000, and the reference numeral of the data block that sends constantly recently is 900, then shows also for remaining the data that remain to treatment facility N transmission); Reference numeral as if the nearest data block that sends equals maximum numbering, then can judge not remain the data that remain to treatment facility N transmission.Or, main frame also can will treat that the data to treatment facility N transmission are divided into equal and opposite in direction or a plurality of data blocks that do not wait and are cached in the somewhere, after sending a data block, just in buffer memory, delete corresponding data block (perhaps the data block that has sent being carried out mark), when in finding buffer memory, not had data block to be sent, then can judge and not remain the data that remain to treatment facility N transmission, otherwise, then judge and also remain the data that remain to treatment facility N transmission.
Be appreciated that above-mentioned main frame judges whether also to remain the mode that remains to the data of treatment facility N transmission only for describing for example, also can select alternate manner to judge in actual applications, repeat no more herein.
404, main frame also remains the data that remain to treatment facility N transmission if judge, then according to asynchronous sending mode, to the usb data plate B1 that is connected to its USB interface B, send and to treat that in the data of treatment facility N transmission length is less than or equal to the one piece of data of length T 2.
Wherein, length T 1 greater than, be equal to or less than length T 2.
In actual applications, the size of preseting length T1 and length T 2 as required, for example length T 1 can be 50 bits, 100 bits or other value, length T 1 can be 100 bits, 30 bits or other value.For example the length of She Dinging can be not more than 1024 * 512 bits; its size has certain influence to the transmission speed of data in fact; in general; be no more than under the prerequisite of certain limit; the big more transmission speed of setting of length value usually can be high more, and value is 1024 * 512 bits in the test, certainly; in actual applications, specifically scene is specifically set.
Wherein, one or more in the USB interface of host configuration can be USB interface of USB2.0 interface, USB3.0 interface or other type etc.
Usb data plate B1 based on corresponding data forwarding strategy, is transmitted to treatment facility N with it receiving from USB interface B after above-mentioned length is less than or equal to the one piece of data of length T 2.
405, main frame judges whether also to remain the data that remain to treatment facility N transmission;
If then execution in step 401; If not, but end data transfer process then.
Treatment facility N handles accordingly according to the data that receive from usb data plate A1 and B 1.
Under a kind of application scenarios,, then treat to comprise spray printing data (for example picture and/or document etc.) or control signaling etc. to the data of this treatment facility N transmission if treatment facility N is spray printing equipment (as printer or an air brushing machine).Above-mentioned multi-channel data transmission mechanism is applied to the spray printing field, can overcome the defective of multi-purpose computer main flow interface to the data transmission speed limit, helps improving spray printing speed.
Test finds that the data rate of single USB plate is about 35.0M/S (+-0.5); And work simultaneously with two blocks of usb data plates in the present embodiment, main frame adopts asynchronous mode to send data simultaneously in two blocks of usb data plates, test shows, data for equivalent, transmit operation significantly reduced from the time that begins to spend to finishing, data rate is greatly improved, and can reach 51.0M/S (+-0.5), may have part difference certainly on the computing machine of difference configuration.
Need explanation to be, such scheme mainly is to be described to certain treatment facility transmission data instance with two USB interface of main frame by its configuration, can analogize to the mode of certain treatment facility transmission data by three or more USB interface of its configuration for main frame, repeat no more herein.
Therefore, two USB interface of host configuration in the present embodiment, these two USB interface are connected with at least two usb data plates, because main frame is to adopt asynchronous sending mode, carry out data transmission simultaneously by two USB interface, thereby this data transmission mechanism, raising main frame that can be bigger on the whole is to the speed of other treatment facility transmission data.
And, owing to can select to have the driving of parallel work-flow performance, and need not to change usb data plate hardware configuration originally, so can effectively control cost; Secondly, owing to can on existing multi-purpose computer main flow system interface basis, realize, so have stronger availability and generalization aborning.
For ease of the said method of the better implement embodiment of the invention, the embodiment of the invention also is provided for implementing the related device of said method.
Embodiment three
A kind of main frame 500 that provides referring to Fig. 5, the embodiment of the invention.Wherein, main frame 500 disposes at least two USB interface, and at least two USB interface are connected respectively at least two usb data plates, and these at least two usb data plates are connected to a treatment facility.
First transmitting element 510 is used for according to asynchronous sending mode, to the first usb data plate of first USB interface that is connected to above-mentioned main frame, sends and to treat that in the data of above-mentioned treatment facility transmission length is less than or equal to the one piece of data of first preseting length;
Judging unit 520 is used to judge whether also to remain the data that remain to above-mentioned treatment facility transmission;
Second transmitting element 530, residue remains after the data of above-mentioned treatment facility transmission to be used for judging also at judging unit 520, according to asynchronous sending mode, to the second usb data plate of second USB interface that is connected to main frame 500, send and to treat that in the data of above-mentioned treatment facility transmission length is less than or equal to the one piece of data of second preseting length;
Wherein, first preseting length greater than, be equal to or less than second preseting length.
Under a kind of application scenarios, if the USB interface of main frame 500 configurations comprises: first USB interface, second USB interface and the 3rd USB interface; At least two usb data plates comprise: first USB interface, second USB interface and the 3rd USB interface;
The 3rd sending module, residue remains after the data of above-mentioned treatment facility transmission to be used for judging also at judging unit 520, according to asynchronous sending mode, to the 3rd usb data plate of the 3rd USB interface that is connected to main frame 500, send and to treat that in the data of above-mentioned treatment facility transmission length is less than or equal to the one piece of data of the 3rd preseting length; Wherein, the 3rd preseting length greater than, be equal to or less than first preseting length.
Under a kind of application scenarios, the one or more USB interface that can be USB 2.0 interfaces, USB 3.0 interfaces or other types in first USB interface, second USB interface and the 3rd USB interface of main frame 500 configurations.
Therefore, at least two USB interface of main frame 500 configurations in the present embodiment, these at least two USB interface are connected with at least two usb data plates, because main frame 500 is to adopt asynchronous sending mode, carry out data transmission simultaneously by at least two USB interface, thereby raising main frame that can be bigger on the whole is to the speed of other treatment facility transmission data.
And, owing to can select to have the driving of parallel work-flow performance, and need not to change the intrinsic hardware configuration of usb data plate, so can effectively control cost; Secondly, owing to can on existing multi-purpose computer main flow system interface basis, realize, so have stronger availability and generalization aborning.
Embodiment four
Provide a kind of multi-channel data transmission system referring to Fig. 6, the embodiment of the invention, can comprise: dispose the main frame 610 of at least two USB interface, at least two usb data plates (comprising the first usb data plate 621 and the second usb data plate 622) and treatment facilities 630;
Wherein, at least two USB interface of main frame 610 are connected respectively at least two usb data plates, and these at least two usb data plates are connected to treatment facility 630;
The first usb data plate 621, the data forwarding that is used for first USB interface from main frame 610 is received is given treatment facility 630;
The second usb data plate 622, the data forwarding that is used for second USB interface from main frame 610 is received is given treatment facility 630.
Under a kind of application scenarios, if the USB interface of main frame 610 configurations comprises: first USB interface, second USB interface and the 3rd USB interface;
At least two usb data plates comprise: the first usb data plate 621, the second usb data plate 622 and the 3rd usb data plate (not shown among Fig. 6);
The 3rd usb data plate, the data forwarding that is used for the 3rd USB interface from main frame 610 is received is given treatment facility 630.
Under a kind of application scenarios, if treatment facility 630 is a spray printing equipment, then treatment facility 630 is used for, and carries out the spray printing processing according to receiving data.
Under a kind of application scenarios, the one or more USB interface that can be USB 2.0 interfaces, USB 3.0 interfaces or other types in first USB interface, second USB interface and the 3rd USB interface of main frame 610 configurations.
Therefore, at least two USB interface of main frame 610 configurations in the present embodiment, these at least two USB interface are connected with at least two usb data plates, because main frame 610 is to adopt asynchronous sending mode, carry out data transmission simultaneously by at least two USB interface, thereby raising main frame that can be bigger on the whole is to the speed of treatment facility 630 transmission data.
And, owing to can select to have the driving of parallel work-flow performance, and need not to change the intrinsic hardware configuration of usb data plate, so can effectively control cost; Secondly, owing to can on existing multi-purpose computer main flow system interface basis, realize, so have stronger availability and generalization aborning.
Need to prove, for aforesaid each method embodiment, for simple description, so it all is expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not subjected to the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in the instructions all belongs to preferred embodiment, and related action and module might not be that the present invention is necessary.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, do not have the part that describes in detail among certain embodiment, can be referring to the associated description of other embodiment.
To sum up, at least two USB interface of host configuration in the embodiment of the invention, these at least two USB interface are connected with at least two usb data plates, because main frame is to adopt asynchronous sending mode, carry out data transmission simultaneously by at least two USB interface, thereby raising main frame that can be bigger on the whole is to the speed of treatment facility transmission data.
And, owing to can select to have the driving of parallel work-flow performance, and need not to change the intrinsic hardware configuration of usb data plate, so can effectively control cost; Secondly, owing to can on existing multi-purpose computer main flow system interface basis, realize, so have stronger availability and generalization aborning.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of the foregoing description is to instruct relevant hardware to finish by program, this program can be stored in the computer-readable recording medium, and storage medium can comprise: ROM (read-only memory), random access memory, disk or CD etc.
More than multi-channel data transmission method that the embodiment of the invention provided and equipment and system are described in detail, used specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, to sum up, this description should not be construed as limitation of the present invention.
Claims (10)
1. a multi-channel data transmission method is characterized in that, at least two general-purpose serial bus USB interfaces of host configuration are connected respectively at least two usb data plates, and described at least two usb data plates are connected to a treatment facility, and described method comprises:
Main frame is according to asynchronous sending mode, to the first usb data plate of first USB interface that is connected to described main frame, sends and treats that in the data of described treatment facility transmission length is less than or equal to the one piece of data of first preseting length;
Judge whether also to remain the data that remain to described treatment facility transmission;
If,, send and to treat that in the data of described treatment facility transmission length is less than or equal to the one piece of data of second preseting length to the second usb data plate of second USB interface that is connected to described main frame then according to asynchronous sending mode; Wherein, described first preseting length greater than, be equal to or less than second preseting length.
2. method according to claim 1 is characterized in that,
Described at least two general-purpose serial bus USB interfaces comprise: first USB interface, second USB interface and the 3rd USB interface; Described at least two usb data plates comprise: the first usb data plate, the second usb data plate and the 3rd usb data plate;
Described transmission also comprises after treating that length is less than or equal to the one piece of data of first preseting length in the data of described treatment facility transmission:
If also remain the data that remain to described treatment facility transmission, then according to asynchronous sending mode, to the 3rd usb data plate of the 3rd USB interface that is connected to described main frame, send and to treat that in the data of described treatment facility transmission length is less than or equal to the one piece of data of the 3rd preseting length; Described the 3rd preseting length greater than, be equal to or less than first preseting length.
3. method according to claim 2 is characterized in that,
One or more in described first USB interface, second USB interface and the 3rd USB interface are the USB2.0 interface.
4. according to each described method of claim 1 to 3, it is characterized in that,
Described treatment facility is a spray printing equipment, and described treating is the spray printing data or controls signaling to the data of described treatment facility transmission.
5. a main frame is characterized in that, at least two general-purpose serial bus USB interfaces of described host configuration are connected respectively at least two usb data plates, and described main frame comprises:
First transmitting element is used for according to asynchronous sending mode, to the first usb data plate of first USB interface that is connected to described main frame, sends and to treat that in the data of treatment facility transmission length is less than or equal to the one piece of data of first preseting length; Wherein, described at least two usb data plates are connected to described treatment facility;
Judging unit is used to judge whether also to remain the data that remain to described treatment facility transmission;
Second transmitting element, residue remains after the data of described treatment facility transmission to be used for going out also in described judgment unit judges, according to asynchronous sending mode, to the second usb data plate of second USB interface that is connected to described main frame, send and to treat that in the data of described treatment facility transmission length is less than or equal to the one piece of data of second preseting length; Wherein, described first preseting length greater than, be equal to or less than second preseting length.
6. main frame according to claim 5 is characterized in that, the USB interface of described host configuration comprises: first USB interface, second USB interface and the 3rd USB interface; Described at least two usb data plates comprise: the first usb data plate, the second usb data plate and the 3rd usb data plate;
Described main frame also comprises:
The 3rd sending module, residue remains after the data of described treatment facility transmission to be used for going out also in described judgment unit judges, according to asynchronous sending mode, to the 3rd usb data plate of the 3rd USB interface that is connected to described main frame, send and to treat that in the data of described treatment facility transmission length is less than or equal to the one piece of data of the 3rd preseting length;
Wherein, described the 3rd preseting length greater than, be equal to or less than first preseting length.
7. method according to claim 6 is characterized in that,
One or more in first USB interface of described host configuration, second USB interface and the 3rd USB interface are USB 2.0 interfaces.
8. a multi-channel data transmission system is characterized in that, comprising: dispose the main frame of at least two USB interface, at least two usb data plates and treatment facility;
Wherein, at least two general-purpose serial bus USB interfaces of main frame are connected respectively at least two usb data plates, and described at least two usb data plates are connected to described treatment facility;
Described main frame is used for according to asynchronous sending mode, to the first usb data plate of first USB interface that is connected to this main frame, sends and to treat that in the data of described treatment facility transmission length is less than or equal to the one piece of data of first preseting length; Judge whether also to remain the data that remain to described treatment facility transmission; If then according to asynchronous sending mode,, send and to treat that in the data of described treatment facility transmission length is less than or equal to the one piece of data of second preseting length to the second usb data plate of second USB interface that is connected to described main frame; Wherein, described first preseting length greater than, be equal to or less than second preseting length;
The described first usb data plate, the data forwarding that is used for first USB interface from described main frame is received is given described treatment facility;
The described second usb data plate, the data forwarding that is used for second USB interface from described main frame is received is given described treatment facility.
9. system according to claim 8 is characterized in that, the USB interface of described host configuration comprises: first USB interface, second USB interface and the 3rd USB interface; Described at least two usb data plates comprise: the first usb data plate, the second usb data plate and the 3rd usb data plate;
Described main frame also is used for, residue remains after the data of described treatment facility transmission judging also, according to asynchronous sending mode, to the 3rd usb data plate of the 3rd USB interface that is connected to described main frame, send and to treat that in the data of described treatment facility transmission length is less than or equal to the one piece of data of the 3rd preseting length; Described the 3rd preseting length greater than, be equal to or less than first preseting length;
Described the 3rd usb data plate, the data forwarding that is used for the 3rd USB interface from described main frame is received is given described treatment facility.
10. according to Claim 8 or 9 described systems, it is characterized in that,
Described treatment facility is a spray printing equipment,
Described treatment facility is used for carrying out the spray printing processing according to receiving data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110003981.1A CN102063399B (en) | 2011-01-10 | 2011-01-10 | Multichannel data transmission method, system and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110003981.1A CN102063399B (en) | 2011-01-10 | 2011-01-10 | Multichannel data transmission method, system and equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102063399A true CN102063399A (en) | 2011-05-18 |
CN102063399B CN102063399B (en) | 2014-02-19 |
Family
ID=43998681
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110003981.1A Active CN102063399B (en) | 2011-01-10 | 2011-01-10 | Multichannel data transmission method, system and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102063399B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102881275A (en) * | 2012-09-20 | 2013-01-16 | 深圳市彤兴电子有限公司 | Intelligent display device and internal communication method thereof |
CN103019987A (en) * | 2013-01-10 | 2013-04-03 | 厦门市美亚柏科信息股份有限公司 | Method and system for transmitting data on basis of USB (universal serial bus) interfaces |
CN104079398A (en) * | 2013-03-28 | 2014-10-01 | 腾讯科技(深圳)有限公司 | Data communication method, device and system |
CN106453845A (en) * | 2016-09-14 | 2017-02-22 | 广东欧珀移动通信有限公司 | Data transmission method and equipment |
CN107341125A (en) * | 2017-07-15 | 2017-11-10 | 深圳市华琥技术有限公司 | Data transmission method and system and usb controller |
CN107451085A (en) * | 2017-10-10 | 2017-12-08 | 江苏艾科半导体有限公司 | A kind of multichannel logic control signal Transmission system based on USB2.0 data/address bus |
CN108173950A (en) * | 2017-12-29 | 2018-06-15 | 浙江华睿科技有限公司 | Data transmission method, device, system, image capture device and storage medium |
CN115150218A (en) * | 2021-03-30 | 2022-10-04 | 广东博智林机器人有限公司 | Serial communication method, device and system for upper computer and driver |
CN115379280A (en) * | 2022-10-19 | 2022-11-22 | 深圳沛喆微电子有限公司 | Information source channel intercommunication transmission method and device and intelligent photo frame |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070143519A1 (en) * | 2004-06-15 | 2007-06-21 | Koninklijke Philips Electronics N.V. | Bus controller for transferring data |
CN101038577A (en) * | 2001-04-30 | 2007-09-19 | 诺基亚有限公司 | Communication interface for an electric device |
CN101265584A (en) * | 2008-05-16 | 2008-09-17 | 张景远 | Transferring separation gallow for pipeline rust cleaning machine |
-
2011
- 2011-01-10 CN CN201110003981.1A patent/CN102063399B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101038577A (en) * | 2001-04-30 | 2007-09-19 | 诺基亚有限公司 | Communication interface for an electric device |
US20070143519A1 (en) * | 2004-06-15 | 2007-06-21 | Koninklijke Philips Electronics N.V. | Bus controller for transferring data |
CN101265584A (en) * | 2008-05-16 | 2008-09-17 | 张景远 | Transferring separation gallow for pipeline rust cleaning machine |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102881275A (en) * | 2012-09-20 | 2013-01-16 | 深圳市彤兴电子有限公司 | Intelligent display device and internal communication method thereof |
CN103019987A (en) * | 2013-01-10 | 2013-04-03 | 厦门市美亚柏科信息股份有限公司 | Method and system for transmitting data on basis of USB (universal serial bus) interfaces |
CN104079398A (en) * | 2013-03-28 | 2014-10-01 | 腾讯科技(深圳)有限公司 | Data communication method, device and system |
CN106453845A (en) * | 2016-09-14 | 2017-02-22 | 广东欧珀移动通信有限公司 | Data transmission method and equipment |
CN107341125A (en) * | 2017-07-15 | 2017-11-10 | 深圳市华琥技术有限公司 | Data transmission method and system and usb controller |
CN107451085A (en) * | 2017-10-10 | 2017-12-08 | 江苏艾科半导体有限公司 | A kind of multichannel logic control signal Transmission system based on USB2.0 data/address bus |
CN107451085B (en) * | 2017-10-10 | 2020-12-22 | 江苏艾科半导体有限公司 | Multichannel logic control signal transmission system based on USB2.0 data bus |
CN108173950A (en) * | 2017-12-29 | 2018-06-15 | 浙江华睿科技有限公司 | Data transmission method, device, system, image capture device and storage medium |
CN108173950B (en) * | 2017-12-29 | 2021-02-02 | 浙江华睿科技有限公司 | Data transmission method, device and system, image acquisition equipment and storage medium |
CN115150218A (en) * | 2021-03-30 | 2022-10-04 | 广东博智林机器人有限公司 | Serial communication method, device and system for upper computer and driver |
CN115379280A (en) * | 2022-10-19 | 2022-11-22 | 深圳沛喆微电子有限公司 | Information source channel intercommunication transmission method and device and intelligent photo frame |
CN115379280B (en) * | 2022-10-19 | 2023-01-31 | 深圳沛喆微电子有限公司 | Information source channel intercommunication transmission method and device and intelligent photo frame |
Also Published As
Publication number | Publication date |
---|---|
CN102063399B (en) | 2014-02-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102063399A (en) | Multichannel data transmission method, system andequipment | |
US20160306759A1 (en) | Data transmission and reception system | |
CN102685159B (en) | Document transmission method and device | |
CN102298508B (en) | Stream-based method and device for prereading solid state disk | |
EP3001323B1 (en) | Serial peripheral interface | |
CN103490966A (en) | Dual-redundancy CAN bus data receiving and processing method | |
CN103154920A (en) | Unified I/O adapter | |
CN105656808A (en) | Message processing method and system thereof | |
CN103166821A (en) | Method, device and system capable of achieving serial port communication | |
CN104936315A (en) | Method for transmitting data through WiFi, master device and module devices | |
CN102571492A (en) | Method and device for detecting failure of routing equipment | |
CN101303677B (en) | Method and system for controlling accessing direct memory as well as controller | |
CN102801686A (en) | Equipment control method, main equipment, secondary equipment as well as main-secondary equipment group | |
CN100524267C (en) | Data processing system and data processing method | |
CN100365602C (en) | Apparatus for realizing access of driven devices on a unified bus by a plurality of active devices | |
CN101950279B (en) | Method and bus system for balancing data information flow and decoder | |
CN102103530B (en) | Snapshot methods, snapshot device and snapshot system | |
CN101388906A (en) | Method and system for accessing data | |
US20150009860A1 (en) | Setting system and method for setting interfaces of connection apparatus connected to electronic device | |
KR20210053347A (en) | Direct data transfer in memory and between devices in a memory module | |
CN102857443B (en) | Data writing method, device and system | |
CN102143072A (en) | Method for fluid control configuration and network equipment | |
CN101546194B (en) | Interface device, interface control method and memory system | |
CN103885813B (en) | Packet capturing method in virtual machine environment | |
CN113312090A (en) | System and method for tag-based synchronization of tasks for machine learning operations |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C53 | Correction of patent of invention or patent application | ||
CB02 | Change of applicant information |
Address after: 518110 Guanlan high tech Development Zone, Shenzhen, Baoan District, Guangdong Applicant after: Shenzhen Runtianzhi Digital Equipment Co., Ltd. Address before: 518110 Guanlan high tech Development Zone, Shenzhen, Baoan District, Guangdong Applicant before: Runtianzhi Image Technology Co., Ltd., Shenzhen City |
|
COR | Change of bibliographic data |
Free format text: CORRECT: APPLICANT; FROM: RUNTIANZHI IMAGE TECHNOLOGY CO., LTD., SHENZHEN CITY TO: SHENZHEN RUNTIANZHI DIGITAL EQUIPMENT CO., LTD. |
|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |