CN108664323A - A kind of data transmission method and device based on multiprocessor - Google Patents

A kind of data transmission method and device based on multiprocessor Download PDF

Info

Publication number
CN108664323A
CN108664323A CN201710199144.8A CN201710199144A CN108664323A CN 108664323 A CN108664323 A CN 108664323A CN 201710199144 A CN201710199144 A CN 201710199144A CN 108664323 A CN108664323 A CN 108664323A
Authority
CN
China
Prior art keywords
data
transmitted
interface
rate
data receiver
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710199144.8A
Other languages
Chinese (zh)
Other versions
CN108664323B (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.)
Beijing Visionvera International Information Technology Co Ltd
Original Assignee
Beijing Visionvera International Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Visionvera International Information Technology Co Ltd filed Critical Beijing Visionvera International Information Technology Co Ltd
Priority to CN201710199144.8A priority Critical patent/CN108664323B/en
Publication of CN108664323A publication Critical patent/CN108664323A/en
Application granted granted Critical
Publication of CN108664323B publication Critical patent/CN108664323B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/543User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multi Processors (AREA)
  • Computer And Data Communications (AREA)

Abstract

The embodiment of the present application provides a kind of data transmission method, the method includes:Receive data transfer task;The data transfer task carries the current target processor mark for receiving data;Multiple data receiver interfaces are determined according to target processor mark, and search the message transmission rate of each data receiver interface;Data to be transmitted is divided into data volume and the matched multiple subdatas of each message transmission rate, and multiple subdatas are respectively sent to each data receiver interface, multiple subdatas are obtained from each data receiver interface for the target processor.

Description

A kind of data transmission method and device based on multiprocessor
Technical field
This application involves technical field of data processing, more particularly to a kind of data transmission method based on multiprocessor, And a kind of data transmission device based on multiprocessor.
Background technology
Currently, data transmission bauds more demanding in the data processing system of computer, to realize that the data of high speed are handed over It changes.Particularly with the data processing system of multiprocessor, it is frequently necessary to carry out a large amount of data transmission between multiple processors.
However, applicant it has been investigated that, when carrying out data transmission between processor, can only call wherein certain individual interface Carry out data transmission, and other interfaces are left unused, nothing is carried out data transmission by single data receiver interface between processor Method meets the needs of data interaction.That is, current data transmission method has that data transmission efficiency is relatively low.
Invention content
The embodiment of the present application provides a kind of data interaction need between meeting multiprocessor for technical problem to be solved The data transmission method asked.
To solve the above-mentioned problems, this application provides a kind of data transmission method based on multiprocessor, the methods Including:
Receive data transfer task;The data transfer task carries the current target processor mark for receiving data;
Multiple data receiver interfaces are determined according to target processor mark, and search the data transmission of each data receiver interface Rate;
Data to be transmitted is divided into data volume and the matched multiple subdatas of each message transmission rate, and by multiple subnumbers According to each data receiver interface is respectively sent to, multiple subdatas are obtained from each data receiver interface for the target processor.
Optionally, described that data to be transmitted is divided into data volume and the matched multiple subdata packets of each message transmission rate It includes:
Calculate the rate summation of the message transmission rate of each data receiver interface;
Calculate rate accounting of each message transmission rate relative to the rate summation;
Each rate accounting is multiplied with the data volume of the data to be transmitted to obtain the number to be allocated of each data receiver interface According to amount;
The data to be transmitted is divided into multiple subdatas that data volume meets each data to be distributed amount.
Optionally, it is described multiple subdatas are respectively sent to each data receiver interface before, the method further includes:
In subdata addition data to be transmitted mark, after getting multiple subdatas for the target processor, press It is identified according to the data to be transmitted and multiple subdatas is reduced into the data to be transmitted.
Optionally, described multiple subdatas are respectively sent to each data receiver interface to include:
Locally calling several data transmission interfaces with each data receiver Interface Matching;
Multiple subdatas are sent to by each data receiver interface using each data transmission interface simultaneously.
To solve the above-mentioned problems, present invention also provides a kind of data transmission method based on multiprocessor, the sides Method includes:
Multiple subdatas identified added with data to be transmitted are obtained from each data receiver interface;The subdata is data Processor is sent after receiving the data transfer task for carrying the current target processor mark for receiving data, is searched according to mesh Mark processor flag determine multiple data receiver interfaces message transmission rate, and by data to be transmitted be divided into data volume with Each message transmission rate is matched, is sent to the data of each data receiver interface;
It is identified according to the data to be transmitted and multiple subdatas is reduced into the data to be transmitted.
To solve the above-mentioned problems, present invention also provides a kind of data transmission device based on multiprocessor, the dresses Set including:
Task receiving module, for receiving data transfer task;The data transfer task carries current reception data Target processor identifies;
Interface determining module for determining multiple data receiver interfaces according to target processor mark, and searches each data The message transmission rate of receiving interface;
Data division module, for data to be transmitted to be divided into data volume and the matched multiple sons of each message transmission rate Data, and multiple subdatas are respectively sent to each data receiver interface, for the target processor from each data receiver interface Obtain multiple subdatas.
Optionally, the data division module includes:
Rate summation computational submodule, the rate summation of the message transmission rate for calculating each data receiver interface;
Rate accounting submodule, for calculating rate accounting of each message transmission rate relative to the rate summation;
Data to be distributed gauge operator module, for the data volume of each rate accounting and the data to be transmitted is mutually multiplied To the data to be distributed amount of each data receiver interface;
Data divide submodule, meet the more of each data to be distributed amount for the data to be transmitted to be divided into data volume A subdata.
Optionally, described device further includes:
Add module is identified, in subdata addition data to be transmitted mark, being obtained for the target processor To after multiple subdatas, is identified according to the data to be transmitted and multiple subdatas are reduced into the data to be transmitted.
Optionally, the data division module includes:
Interface calling module, for locally calling several data transmission interfaces with each data receiver Interface Matching;
Data sending submodule, for multiple subdatas to be sent to each data receiver simultaneously using each data transmission interface Interface.
To solve the above-mentioned problems, present invention also provides a kind of data transmission device based on multiprocessor, the dresses Set including:
Subdata acquisition module, for obtaining multiple subnumbers identified added with data to be transmitted from each data receiver interface According to;The subdata is that data sending processing device is passed in the data for receiving the target processor mark for carrying current reception data After defeated task, the message transmission rate according to the determining multiple data receiver interfaces of target processor mark is searched, and will be to be passed Transmission of data is divided into data volume and each message transmission rate is matched, is sent to the data of each data receiver interface;
Multiple subdatas are reduced into the number to be transmitted by data restoring module for being identified according to the data to be transmitted According to.
Compared with prior art, the embodiment of the present application includes the following advantages:
According to the embodiment of the present application, in the data processing system of multiprocessor, realized by the way of multiplex roles transmission The parallel transmission of mass data improves the data transmission efficiency between processor.
Moreover, the transmission for the data between processor, weighting scheme is determined according to the message transmission rate of interface, and Distribution is determined to the data volume of the subdata of each interface, to farthest utilize the processing of interface to provide according to weighting scheme Source further improves the data transmission efficiency between processor.
Description of the drawings
Fig. 1 is a kind of step flow chart of data transmission method based on multiprocessor of the embodiment of the present application one;
Fig. 2 is a kind of step flow chart of data transmission method based on multiprocessor of the embodiment of the present application two;
Fig. 3 is a kind of structure diagram of data transmission device based on multiprocessor of the embodiment of the present application three;
Fig. 4 is a kind of structure diagram of data transmission device based on multiprocessor of the embodiment of the present application three;
Fig. 5 is a kind of structural schematic diagram of data processing system of the application.
Specific implementation mode
In order to make the above objects, features, and advantages of the present application more apparent, below in conjunction with the accompanying drawings and it is specific real Applying mode, the present application will be further described in detail.
Embodiment one
Fig. 1 shows a kind of step flow chart of data transmission method based on multiprocessor of the embodiment of the present application one, The method can specifically comprise the following steps:
Step 101, data transfer task is received;The data transfer task carries the current target processor for receiving data Mark.
It should be noted that in actual application scenarios, multiple places are there may be in a data processing system Manage device (CPU, Central Processing Unit), i.e. many-core systems.The main function of processor is that interpretive machine refers to Enable and handle the data in computer software.
Processor can send corresponding data to other processor according to data transfer task to other processors.Cause This, can will need the processor of transmission data as data sending processing device, and the processor for receiving data connects as data Receive processor.The data transmission method of the embodiment of the present application can be applied to data sending processing device.
In practical application, it is understood that there may be one or more data sending processing devices are to one or more data receiving processors The technical thought of the application can be applied to the data transmission of a variety of situations by the case where transmission data, those skilled in the art In.
In the specific implementation, data sending processing device can receive data transfer task.Wherein, data transfer task can be with The mark of the current data receiving processor for receiving data is carried, it can be using the data receiving processor as target processing Device.
Step 102, multiple data receiver interfaces are determined according to target processor mark, and searches each data receiver interface Message transmission rate.
It should be noted that in a data processing system, for the consideration of compatibility, various adapt to can be designed with The peripheral interface that processor carries out data transmission with peripheral hardware.Fig. 5 shows a kind of structural representation of data processing system of the application Figure.It can be seen that there are CPU1 and CPU2 in a data processing system, it is provided between CPU1 and CPU2 SATAIII, USB3.0, kilomega network etc. are used to carry out the interface of data interaction with peripheral hardware.Therefore, in the embodiment of the present application, may be used To call peripheral interface to realize the parallel transmission of mass data.
In the specific implementation, the multiple data receiver interfaces for currently needing to call can be determined according to target processor.True After fixed number is according to receiving interface, the message transmission rate of each interface can be searched.
In practical application, the message transmission rate for the data transmission bus that different data receiver interfaces uses may not Together, for example, SATAIII transmission rates are 6.0Gb/s, USB3.0 transmission rates are 5.0Gb/s, and kilomega network port transmission rate is 1.0Gb/s。
Step 103, data to be transmitted is divided into data volume and the matched multiple subdatas of each message transmission rate, and will Multiple subdatas are respectively sent to each data receiver interface, and multiple sons are obtained from each data receiver interface for the target processor Data.
In the specific implementation, data sending processing device can will be sent to the data of target processor as number to be transmitted According to.For data to be transmitted, the subdata that multiple data volumes match with each message transmission rate can be divided into.It is logical Often, can determine the quantity divided according to the quantity of current interface, for example, it is current there are three data receiver interfaces, therefore can be with It is divided into three one's share of expenses for a joint undertaking data.
After data to be transmitted is divided into subdata, each subdata can be used corresponding data receiver interface and mesh It marks processor and carries out data interaction.
Optionally, described that data to be transmitted is divided into data volume and the matched multiple subdata packets of each message transmission rate It includes:
Sub-step S11 calculates the rate summation of the message transmission rate of each data receiver interface;
Sub-step S12 calculates rate accounting of each message transmission rate relative to the rate summation;
Each rate accounting is multiplied with the data volume of the data to be transmitted to obtain each data receiver interface by sub-step S13 Data to be distributed amount;
The data to be transmitted is divided into multiple subdatas that data volume meets each data to be distributed amount by sub-step S14.
In the specific implementation, the rate summation of the message transmission rate of each data receiver interface can be calculated.For example, SATAIII transmission rates be 6.0Gb/s, USB3.0 transmission rates be 5.0Gb/s, kilomega network port transmission rate be 1.0Gb/s, three The rate summation of the message transmission rate of a interface is 12Gb/s.
Accounting of each rate relative to rate summation can be calculated.For example, the accounting of SATAIII is accounting for for 1/2, USB3.0 Than being 5/12, the accounting of gigabit network interface is 1/12.
Each rate accounting is multiplied with the data volume of data to be transmitted, you can obtain distributing to the son of each data receiver interface The data to be distributed amount of data.For example, the data volume of data to be transmitted is 120Gb, and therefore, the subnumber sent by SATAIII According to data to be distributed amount be 60Gb, by USB3.0 send subdata data to be distributed amount be 50Gb, pass through kilomega network The data to be distributed amount for the subdata that mouth is sent is 10Gb.
After the data to be distributed amount for determining each subdata, data to be transmitted can be divided into and meet above-mentioned number to be allocated According to multiple subdatas of amount.
Optionally, it is described multiple subdatas are respectively sent to each data receiver interface before, the method further includes:
In subdata addition data to be transmitted mark, after getting multiple subdatas for the target processor, press It is identified according to the data to be transmitted and multiple subdatas is reduced into the data to be transmitted.
In the specific implementation, data to be transmitted mark can be added in subdata, subdata is being sent to target processor Afterwards, target processor can identify according to data to be transmitted multiple subdatas being reduced into data to be transmitted.For example, can be according to Multiple subdatas are numbered in sequence, and target processor can incite somebody to action after receiving multiple subdatas according to the sequence of number Subdata is merged into data to be transmitted.
Optionally, described multiple subdatas are respectively sent to each data receiver interface to include:
Sub-step S21 is locally calling several data transmission interfaces with each data receiver Interface Matching;
Multiple subdatas are sent to each data receiver interface by sub-step S22 simultaneously using each data transmission interface.
It is connect with the transmission of the data of data receiver Interface Matching in the specific implementation, can locally be called in data sending processing device Mouthful, multiple subdatas are sent to by corresponding data receiver interface using the data transmission interface of calling simultaneously.For example, using number According to sending the SATAIII interfaces of processor local to the SATAIII interface transmission datas of data receiving processor.
According to the embodiment of the present application, in the data processing system of multiprocessor, realized by the way of multiplex roles transmission The parallel transmission of mass data improves the data transmission efficiency between processor.
Moreover, the transmission for the data between processor, weighting scheme is determined according to the message transmission rate of interface, and Distribution is determined to the data volume of the subdata of each interface, to farthest utilize the processing of interface to provide according to weighting scheme Source further improves the data transmission efficiency between processor.
Embodiment two
Fig. 2 shows a kind of step flow chart of data transmission method based on multiprocessor of the embodiment of the present application two, The method can specifically comprise the following steps:
Step 201, multiple subdatas identified added with data to be transmitted are obtained from each data receiver interface;The subnumber According to being data sending processing device after receiving the data transfer task for carrying the current target processor mark for receiving data, look into The message transmission rate according to the determining multiple data receiver interfaces of target processor mark is looked for, and data to be transmitted is divided into Data volume with each message transmission rate is matched, is sent to the data of each data receiver interface.
Step 202, it is identified according to the data to be transmitted and multiple subdatas is reduced into the data to be transmitted.
It should be noted that the data that data transmission method provided by the embodiments of the present application can be applied to receive data connect Receive processor.Since the data transmission method of the embodiment of the present application corresponds to the data transmission method of the embodiment of the present application one, because This is repeated no more.
According to the embodiment of the present application, in the data processing system of multiprocessor, realized by the way of multiplex roles transmission The parallel transmission of mass data improves the data transmission efficiency between processor.
Moreover, the transmission for the data between processor, weighting scheme is determined according to the message transmission rate of interface, and Distribution is determined to the data volume of the subdata of each interface, to farthest utilize the processing of interface to provide according to weighting scheme Source further improves the data transmission efficiency between processor.
It should be noted that for embodiment of the method, for simple description, therefore it is all expressed as a series of action group It closes, but those skilled in the art should understand that, the embodiment of the present application is not limited by the described action sequence, because according to According to the embodiment of the present application, certain steps can be performed in other orders or simultaneously.Secondly, those skilled in the art also should Know, embodiment described in this description belongs to preferred embodiment, and involved action not necessarily the application is implemented Necessary to example.
Embodiment three
Corresponding with embodiment one, the embodiment of the present application three additionally provides a kind of data transmission device based on multiprocessor, The device can be applied particularly to data sending processing device.Fig. 3 shows that one kind of the embodiment of the present application three is based on multiprocessor Data transmission device structure diagram, described device can specifically include following module:
Task receiving module 301, for receiving data transfer task;The data transfer task carries current reception data Target processor mark.
Interface determining module 302 for determining multiple data receiver interfaces according to target processor mark, and searches each number According to the message transmission rate of receiving interface.
Data division module 303 is matched more with each message transmission rate for data to be transmitted to be divided into data volume A subdata, and multiple subdatas are respectively sent to each data receiver interface, for the target processor from each data receiver Interface obtains multiple subdatas.
Optionally, the data division module 303 includes:
Rate summation computational submodule, the rate summation of the message transmission rate for calculating each data receiver interface;
Rate accounting submodule, for calculating rate accounting of each message transmission rate relative to the rate summation;
Data to be distributed gauge operator module, for the data volume of each rate accounting and the data to be transmitted is mutually multiplied To the data to be distributed amount of each data receiver interface;
Data divide submodule, meet the more of each data to be distributed amount for the data to be transmitted to be divided into data volume A subdata.
Optionally, described device further includes:
Add module is identified, in subdata addition data to be transmitted mark, being obtained for the target processor To after multiple subdatas, is identified according to the data to be transmitted and multiple subdatas are reduced into the data to be transmitted.
Optionally, the data division module 303 includes:
Interface calling module, for locally calling several data transmission interfaces with each data receiver Interface Matching;
Data sending submodule, for multiple subdatas to be sent to each data receiver simultaneously using each data transmission interface Interface.
According to the embodiment of the present application, in the data processing system of multiprocessor, realized by the way of multiplex roles transmission The parallel transmission of mass data improves the data transmission efficiency between processor.
Moreover, the transmission for the data between processor, weighting scheme is determined according to the message transmission rate of interface, and Distribution is determined to the data volume of the subdata of each interface, to farthest utilize the processing of interface to provide according to weighting scheme Source further improves the data transmission efficiency between processor.
Example IV
Corresponding with embodiment two, the embodiment of the present application four additionally provides a kind of data transmission device based on multiprocessor, The device can be applied particularly to data receiving processor.Fig. 4 shows that one kind of the embodiment of the present application three is based on multiprocessor Data transmission device structure diagram, described device can specifically include following module:
Subdata acquisition module 401, for from each data receiver interface obtain it is multiple added with data to be transmitted identify Subdata;The subdata is that data sending processing device is receiving the number for carrying the current target processor mark for receiving data After transformation task, the message transmission rate according to the determining multiple data receiver interfaces of target processor mark is searched, and will Data to be transmitted is divided into data volume and each message transmission rate is matched, is sent to the data of each data receiver interface.
Data restoring module 402, it is described to be passed for being reduced into multiple subdatas according to data to be transmitted mark Transmission of data.
According to the embodiment of the present application, in the data processing system of multiprocessor, realized by the way of multiplex roles transmission The parallel transmission of mass data improves the data transmission efficiency between processor.
Moreover, the transmission for the data between processor, weighting scheme is determined according to the message transmission rate of interface, and Distribution is determined to the data volume of the subdata of each interface, to farthest utilize the processing of interface to provide according to weighting scheme Source further improves the data transmission efficiency between processor.
For device embodiments, since it is basically similar to the method embodiment, so fairly simple, the correlation of description Place illustrates referring to the part of embodiment of the method.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with The difference of other embodiment, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiments of the present application may be provided as method, apparatus or calculating Machine program product.Therefore, the embodiment of the present application can be used complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.Moreover, the embodiment of the present application can be used one or more wherein include computer can With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form of the computer program product of implementation.
In a typical configuration, the computer system includes one or more processors (CPU), input/output Interface, network interface and memory.Memory may include the volatile memory in computer-readable medium, random access memory The forms such as device (RAM) and/or Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is to calculate The example of machine readable medium.Computer-readable medium includes that permanent and non-permanent, removable and non-removable media can be with Information storage is realized by any method or technique.Information can be computer-readable instruction, data structure, the module of program or Other data.The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), dynamic random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), fast flash memory bank or other memory techniques, CD-ROM are read-only Memory (CD-ROM), digital versatile disc (DVD) or other optical storages, magnetic tape cassette, tape magnetic disk storage or Other magnetic storage systems or any other non-transmission medium, can be used for storing can be by the information of computing system accesses.According to Herein defines, and computer-readable medium does not include non-persistent computer readable media (transitory media), such as The data-signal and carrier wave of modulation.
The embodiment of the present application is with reference to the method, terminal system (system) and computer program according to the embodiment of the present application The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions In each flow and/or block and flowchart and/or the block diagram in flow and/or box combination.These can be provided Computer program instructions are to all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminal systems The processor of system is to generate a machine so that is held by the processor of computer or other programmable data processing terminal systems Capable instruction generates for realizing in one flow of flow chart or multiple flows and/or one box of block diagram or multiple boxes The device of specified function.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing terminal systems In computer-readable memory operate in a specific manner so that instruction stored in the computer readable memory generates packet The manufacture of command device is included, which realizes in one flow of flow chart or multiple flows and/or one side of block diagram The function of being specified in frame or multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing terminal systems so that Series of operation steps are executed on computer or other programmable terminal systems to generate computer implemented processing, thus The instruction executed on computer or other programmable terminal systems is provided for realizing in one flow of flow chart or multiple flows And/or in one box of block diagram or multiple boxes specify function the step of.
Although preferred embodiments of the embodiments of the present application have been described, once a person skilled in the art knows bases This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as Including preferred embodiment and all change and modification within the scope of the embodiments of the present application.
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 process, method, article or terminal system including a series of elements are not only wrapped Those elements are included, but also include other elements that are not explicitly listed, or further include for this process, method, article Or the element that terminal system is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited Element, it is not excluded that there is also other identical elements in process, method, article or the terminal system including the element.
Technical solution provided herein is described in detail above, specific case used herein is to this Shen Principle and embodiment please is expounded, the explanation of above example is only intended to help understand the present processes and its Core concept;Meanwhile for those of ordinary skill in the art, according to the thought of the application, in specific implementation mode and application There will be changes in range, in conclusion the contents of this specification should not be construed as limiting the present application.

Claims (10)

1. a kind of data transmission method based on multiprocessor, which is characterized in that the method includes:
Receive data transfer task;The data transfer task carries the current target processor mark for receiving data;
Multiple data receiver interfaces are determined according to target processor mark, and search the data transmission speed of each data receiver interface Rate;
Data to be transmitted is divided into data volume and the matched multiple subdatas of each message transmission rate, and multiple subdatas are divided It is not sent to each data receiver interface, multiple subdatas are obtained from each data receiver interface for the target processor.
2. according to the method described in claim 1, it is characterized in that, described be divided into data volume and each data by data to be transmitted The matched multiple subdatas of transmission rate include:
Calculate the rate summation of the message transmission rate of each data receiver interface;
Calculate rate accounting of each message transmission rate relative to the rate summation;
Each rate accounting is multiplied with the data volume of the data to be transmitted to obtain the data to be distributed amount of each data receiver interface;
The data to be transmitted is divided into multiple subdatas that data volume meets each data to be distributed amount.
3. according to the method described in claim 1, it is characterized in that, multiple subdatas be respectively sent to each data connecing described Before receiving interface, the method further includes:
In subdata addition data to be transmitted mark, after getting multiple subdatas for the target processor, according to institute It states data to be transmitted mark and multiple subdatas is reduced into the data to be transmitted.
4. according to the method described in claim 1, it is characterized in that, described be respectively sent to each data receiver by multiple subdatas Interface includes:
Locally calling several data transmission interfaces with each data receiver Interface Matching;
Multiple subdatas are sent to by each data receiver interface using each data transmission interface simultaneously.
5. a kind of data transmission method based on multiprocessor, which is characterized in that the method includes:
Multiple subdatas identified added with data to be transmitted are obtained from each data receiver interface;The subdata sends for data Processor is searched after receiving the data transfer task for carrying the current target processor mark for receiving data at according to target The message transmission rate of the determining multiple data receiver interfaces of device mark is managed, and data to be transmitted is divided into data volume and each number Data that are matched according to transmission rate, being sent to each data receiver interface;
It is identified according to the data to be transmitted and multiple subdatas is reduced into the data to be transmitted.
6. a kind of data transmission device based on multiprocessor, which is characterized in that described device includes:
Task receiving module, for receiving data transfer task;The data transfer task carries the current target for receiving data Processor flag;
Interface determining module for determining multiple data receiver interfaces according to target processor mark, and searches each data receiver The message transmission rate of interface;
Data division module, for data to be transmitted to be divided into data volume and the matched multiple subnumbers of each message transmission rate According to, and multiple subdatas are respectively sent to each data receiver interface, it is obtained from each data receiver interface for the target processor Take multiple subdatas.
7. device according to claim 6, which is characterized in that the data division module includes:
Rate summation computational submodule, the rate summation of the message transmission rate for calculating each data receiver interface;
Rate accounting submodule, for calculating rate accounting of each message transmission rate relative to the rate summation;
Data to be distributed gauge operator module, it is each for being multiplied each rate accounting with the data volume of the data to be transmitted to obtain The data to be distributed amount of data receiver interface;
Data divide submodule, for the data to be transmitted to be divided into multiple sons that data volume meets each data to be distributed amount Data.
8. device according to claim 6, which is characterized in that described device further includes:
Add module is identified, in subdata addition data to be transmitted mark, being got for the target processor more After a subdata, is identified according to the data to be transmitted and multiple subdatas are reduced into the data to be transmitted.
9. device according to claim 6, which is characterized in that the data division module includes:
Interface calling module, for locally calling several data transmission interfaces with each data receiver Interface Matching;
Data sending submodule connects for multiple subdatas to be sent to each data receiver simultaneously using each data transmission interface Mouthful.
10. a kind of data transmission device based on multiprocessor, which is characterized in that described device includes:
Subdata acquisition module, for obtaining multiple subdatas identified added with data to be transmitted from each data receiver interface; The subdata is that data sending processing device is receiving the data transmission for carrying the current target processor mark for receiving data After task, the message transmission rate according to the determining multiple data receiver interfaces of target processor mark is searched, and will be to be transmitted Data are divided into data volume and each message transmission rate is matched, is sent to the data of each data receiver interface;
Multiple subdatas are reduced into the data to be transmitted by data restoring module for being identified according to the data to be transmitted.
CN201710199144.8A 2017-03-29 2017-03-29 Data transmission method and device based on multiple processors Active CN108664323B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710199144.8A CN108664323B (en) 2017-03-29 2017-03-29 Data transmission method and device based on multiple processors

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710199144.8A CN108664323B (en) 2017-03-29 2017-03-29 Data transmission method and device based on multiple processors

Publications (2)

Publication Number Publication Date
CN108664323A true CN108664323A (en) 2018-10-16
CN108664323B CN108664323B (en) 2021-06-11

Family

ID=63786835

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710199144.8A Active CN108664323B (en) 2017-03-29 2017-03-29 Data transmission method and device based on multiple processors

Country Status (1)

Country Link
CN (1) CN108664323B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113556813A (en) * 2020-04-23 2021-10-26 京东方科技集团股份有限公司 Uplink data transmission method, device and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202750089U (en) * 2012-04-19 2013-02-20 中国联合网络通信集团有限公司 Bluetooth device and integrated peripheral devices
CN103580966A (en) * 2013-11-04 2014-02-12 惠州Tcl移动通信有限公司 Wireless link and wire link parallel data transmission method and system
CN104735818A (en) * 2013-12-23 2015-06-24 京信通信***(中国)有限公司 Access point equipment of wireless local area network and signal processing method thereof
CN105578528A (en) * 2016-01-08 2016-05-11 努比亚技术有限公司 Data interface distribution method and apparatus and terminal device
CN105847139A (en) * 2016-03-25 2016-08-10 乐视控股(北京)有限公司 Data transmission method, apparatus and system
WO2017031956A1 (en) * 2015-08-25 2017-03-02 中兴通讯股份有限公司 Service offloading method and apparatus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202750089U (en) * 2012-04-19 2013-02-20 中国联合网络通信集团有限公司 Bluetooth device and integrated peripheral devices
CN103580966A (en) * 2013-11-04 2014-02-12 惠州Tcl移动通信有限公司 Wireless link and wire link parallel data transmission method and system
CN104735818A (en) * 2013-12-23 2015-06-24 京信通信***(中国)有限公司 Access point equipment of wireless local area network and signal processing method thereof
WO2017031956A1 (en) * 2015-08-25 2017-03-02 中兴通讯股份有限公司 Service offloading method and apparatus
CN105578528A (en) * 2016-01-08 2016-05-11 努比亚技术有限公司 Data interface distribution method and apparatus and terminal device
CN105847139A (en) * 2016-03-25 2016-08-10 乐视控股(北京)有限公司 Data transmission method, apparatus and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113556813A (en) * 2020-04-23 2021-10-26 京东方科技集团股份有限公司 Uplink data transmission method, device and system
CN113556813B (en) * 2020-04-23 2024-04-30 京东方科技集团股份有限公司 Uplink data transmission method, device and system

Also Published As

Publication number Publication date
CN108664323B (en) 2021-06-11

Similar Documents

Publication Publication Date Title
CN110032447B (en) Method and apparatus for allocating resources
CN108052615B (en) Access request processing method, device, medium and electronic equipment
EP3281359B1 (en) Application driven and adaptive unified resource management for data centers with multi-resource schedulable unit (mrsu)
CN110703980B (en) File transmission method and device
US20170171344A1 (en) Scheduling method and server for content delivery network service node
CN107622079A (en) Data storage, querying method and device
CN109660578B (en) CDN back-to-source processing method, device and system
CN110471949A (en) Data consanguinity analysis method, apparatus, system, server and storage medium
US20150088995A1 (en) Method and apparatus for sharing contents using information of group change in content oriented network environment
CN104283975A (en) File distribution method and device
US11936755B2 (en) Systems and methods for determining a destination location for transmission of packetized data in a network system based on an application server attribute
CN104346135A (en) Method, device and system for parallel processing of data flows
CN107547391A (en) A kind of message transmitting method and device
CN106326309A (en) Data query method and device
WO2018153256A1 (en) Method and apparatus for accelerating dynamic resource access, medium, and device
US20210042311A1 (en) Dynamic prioritization of attributes to determine search space size of each term, then index on those sizes as attributes
TW201702870A (en) Method and system for allocating resources for virtual hosts
CN107566477A (en) A kind of method and apparatus that file is obtained in distributed file system cluster
US9716666B2 (en) Process cage providing attraction to distributed storage
CN106686040A (en) Message processing method and message processing device
CN108664323A (en) A kind of data transmission method and device based on multiprocessor
CN108234551A (en) A kind of data processing method and device
US20190129737A1 (en) Virtual private cloud services with physical machine servers and virtual machines
CN115277816B (en) Service adaptation method, device, system and computer readable medium
CN108153494A (en) A kind of I/O request processing method and processing device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 100000 Dongcheng District, Beijing, Qinglong Hutong 1, 1103 house of Ge Hua building.

Applicant after: VISIONVERA INFORMATION TECHNOLOGY Co.,Ltd.

Address before: A1103-1113, Gehua building, No.1 Qinglong Hutong, Dongcheng District, Beijing

Applicant before: BEIJING VISIONVERA INTERNATIONAL INFORMATION TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant