CN103560976B - A kind of method, apparatus and system that control data are sent - Google Patents

A kind of method, apparatus and system that control data are sent Download PDF

Info

Publication number
CN103560976B
CN103560976B CN201310587152.1A CN201310587152A CN103560976B CN 103560976 B CN103560976 B CN 103560976B CN 201310587152 A CN201310587152 A CN 201310587152A CN 103560976 B CN103560976 B CN 103560976B
Authority
CN
China
Prior art keywords
sent
business datum
data
index
control unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310587152.1A
Other languages
Chinese (zh)
Other versions
CN103560976A (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.)
Maipu Communication Technology Co Ltd
Original Assignee
Maipu Communication 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 Maipu Communication Technology Co Ltd filed Critical Maipu Communication Technology Co Ltd
Priority to CN201310587152.1A priority Critical patent/CN103560976B/en
Publication of CN103560976A publication Critical patent/CN103560976A/en
Application granted granted Critical
Publication of CN103560976B publication Critical patent/CN103560976B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Communication Control (AREA)

Abstract

The invention discloses a kind of method, apparatus and system that control data are sent, and are related to data communication technology field, in data transmission procedure, the problem of significantly alleviating the wasting of resources, reduce overhead.Specific embodiments of the present invention include: when determining that testing mechanism can send business datum, the index of business datum to be sent is determined from caching, data to be sent corresponding with the index are obtained according to the index of the business datum to be sent, and the data to be sent are sent by communication channel.Technical solution provided in an embodiment of the present invention is mainly used in data transmission flow.

Description

A kind of method, apparatus and system that control data are sent
Technical field
The present invention relates to data communication technology field more particularly to a kind of method, apparatus and system that control data are sent.
Background technique
Currently, in data communication process, when sending ending equipment sends data, it may appear that the feelings of data can not be sent Condition, cause this case the reason of be due to communication channel send buffer area be far smaller than the sending ending equipment data to be sent Amount, for example, communication channel bandwidth is limited, flow control, situations such as transmission/reception buffer area has been expired, network shakes result in hair It send buffer area to be less than data volume to be sent, and then causes sending ending equipment that can not send the appearance of this problem of data.At this moment, Data to be sent will be first cached by sending ending equipment, until communication channel allows to send new data, though in this way Right sending ending equipment can will need the data sent to send, but simultaneously but also sending ending equipment has to caching greatly The data of amount, this will result in a large amount of wasting of resources, also just increase the expense of sending ending equipment system.
Summary of the invention
The embodiment of the present invention provides a kind of method, apparatus and system that control data are sent, in data transmission procedure, The problem of significantly alleviating the wasting of resources, reduces overhead.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that
A method of control data are sent, and are applied to sending ending equipment, comprising:
The consumer module of data producer module and receiving device establishes communication channel, and creates and the receiving end The corresponding transmission control unit of the consumer module of equipment;
The transmission control unit is when detecting that the communication channel allows to send business datum, successively according in caching The index of business datum to be sent obtain the business datum to be sent, and new data to be sent are generated, by described logical Believe channel, sends and described new pending transmit data to the receiving device.
Another object of the present invention provides a kind of device that control data are sent, and described device includes at least one number According to producer's module, the data producer module is established communication channel for the consumer module with receiving device, and is created Build transmission control unit corresponding with the consumer module of the receiving device;
The transmission control unit, for when detecting that the communication channel allows to send business datum, successively basis The index of business datum to be sent in caching obtains the business datum to be sent, and generates new data to be sent, passes through The communication channel sends and described new pending transmits data to the receiving device.
Another object of the present invention provides a kind of system that control data are sent, which is characterized in that send including data Device and receiving device.
The method, apparatus and system that control data provided in an embodiment of the present invention are sent, build when determining with receiving device When vertical communication channel can send business datum, the index of business datum to be sent is determined from caching, it is to be sent according to this The index of business datum obtains data to be sent corresponding with the index, and sends pending transmit data to by communication channel and connect Receiving end equipment.With in the prior art, sending ending equipment has to cache all data to be sent, and allow in communication channel In the case of retransmit these data and compare, technical solution provided in an embodiment of the present invention, it is only necessary to cache the rope of data to be sent Draw, the data volume of index is less than the data volume of business datum corresponding with the index, to significantly alleviate asking for the wasting of resources Topic, reduces overhead.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is the method flow diagram that a kind of control data that one embodiment of the invention provides are sent;
Fig. 2 be another embodiment of the present invention provides a kind of control data send method flow diagram;
Fig. 3 be another embodiment of the present invention provides a kind of control data send method flow diagram;
Fig. 4 be another embodiment of the present invention provides a kind of elimination repeat send data method flow diagram;
Fig. 5 be another embodiment of the present invention provides a kind of control data Transmission system composition schematic diagram;
Fig. 6 be another embodiment of the present invention provides a kind of control data sending device composition schematic diagram.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
One embodiment of the invention provides a kind of method that control data are sent, as shown in Figure 1, this method comprises:
101, the consumer module of data producer module and receiving device establishes communication channel, and creation and receiving end The corresponding transmission control unit of the consumer module of equipment.
Wherein, communication channel sending and receiving for realizing business datum, preferred data transmission module are reliable Transmission module, for example may include: any one or a few in the transmission mechanisms such as TCP/TIPC/SCTP/UNIX/LLC2.
It is worth noting that communication channel can also be rendered as socket, filec descriptor, handle etc..
102, send control unit when detecting that communication channel allows to send business datum, successively according in caching to The index for sending business datum obtains business datum to be sent, and generates new data to be sent, by communication channel, sends new Pending transmit data to receiving device.
Specifically, since the index of business datum to be sent is the data generating unit of data producer module according to pending Send business datum to generate, then business datum to be sent and the index are one-to-one, the index of business datum to be sent by Business datum to be sent generates unit and is sent to transmission control unit, sends control unit to according to the industry to be sent cached The index of business data can get business datum to be sent in the media such as memory, service database or application file, And then the business datum that will acquire is cached, it is raw according to the index of business datum to be sent and the business datum got The data to be sent of Cheng Xin, are sent.
The method that control data provided in an embodiment of the present invention are sent, when determining that testing mechanism can send business datum When, the index of business datum to be sent is determined from caching, is obtained and the index pair according to the index of the business datum to be sent The data to be sent answered generate new data to be sent, and send the new data to be sent by communication channel.With existing skill In art, sending ending equipment has to cache all data to be sent, and in the case where communication channel allows, is sending these Data are compared, technical solution provided in an embodiment of the present invention, it is only necessary to cache the index of data to be sent, the data volume of index is small In the data volume of business datum corresponding with the index, so that the problem of significantly alleviating the wasting of resources, reduces overhead.
Another embodiment of the present invention provides a kind of methods that control data are sent, as shown in Fig. 2, this method comprises:
201, the data generating unit of data producer module generates business datum to be sent according to business datum to be sent Index, and be sent to transmission control unit.
Optionally, this method is executed by the sending ending equipment of generation business datum, which can be the transmitting terminal The data or the transmitting terminal that the received extraneous network of the data generating module of equipment or other sending ending equipments are sent are set Changed data inside standby data generating module.
Preferably, according to the organizational form of business datum, index corresponding with the business datum is generated.
202, being indexed in preset cache structure for control unit preservation business datum is sent.
Wherein, preset cache structure includes at least: fifo queue and tree structure.Specifically, caching the business When the index of data, storage is combined according to following two mode:
The first storage mode: it is stored according to the sequence in a manner of fifo queue for getting business datum;
Storage mode in second: index is stored according to tree structure.
It further, can be according to other storage rules of user or default come the index of storage service data.
It is worth noting that business datum can be guaranteed according to the sequence got when using the first storage mode It is successively sent to the receiving end of business datum, to simplify the processing logic that business datum sends control with scheduling;Work as use When second of storage mode, when removing specific index data, the search efficiency of the index of the business datum can be improved.
203, when detecting that communication channel allows to send business datum, according to the index of the business datum to be sent of caching It obtains business datum to be sent, and generates new data to be sent, by communication channel, send and new pending transmit data to reception End equipment.
It is worth noting that being sent in data procedures to be sent, further includes: following three kinds of situations by communication channel:
The first situation: when the data generating unit of data producer module carries out twice identical business datum to be sent Or when multi-pass operation, due to for each time operate can all send the business datum to be sent to index transmission control single Member sends the index that control unit only retains the business datum to be sent that data generating unit last time is sent.
Specifically, the corresponding control unit that sends will receive simultaneously when carrying out multi-pass operation to same a business datum The index for caching the business datum to be sent of number corresponding with the number of operations of the business datum, will basis if be not processed Multiple index gets business datum identical with the multiple groups of equivalent amount of index number of above-mentioned business datum, so At this moment the index for the multiple identical business datums for needing to cache is deleted, and the index of the business datum is only retained, thus Only retain one group of business datum to be sent, and the business datum of the reservation is sent to data transmission module.
Second situation: when service data manipulating to be sent variation, the data generating unit root of data producer module It is different according to the operation of business datum to be sent, generate additional information;And the business to be sent generated according to business datum to be sent The index of additional information and business datum to be sent is sent to transmission control unit by the index of data together;Data producer The transmission control unit of module is generated and is sent by communication channel according to the additional information and the business datum to be sent of acquisition New data to be sent.Send index and additional information that control unit receives business datum to be sent from data generating unit Afterwards, when judging to preserve the index of identical business datum to be sent in preset cache structure, with currently received attached Add the corresponding additional information of index of the business datum to be sent saved in information update preset cache structure.
Wherein, additional information is used to record the operational order or operation change to current business datum to be sent.Work as data When generation unit modifies identical business datum to be sent twice, data generating unit is by additional information and according to be sent The index for the business datum to be sent that business datum generates together, is sent to transmission control unit;Data generating unit according to The index and tree-like buffer structure for sending business datum, quickly find in tree structure on present in preset cache structure The index of primary business datum to be sent, and deleted from fifo queue and tree structure.Control unit is sent only to retain The index for the business datum to be sent that data generating unit last time is sent.
When data generating unit is first added identical business datum to be sent, deletes afterwards, data generate single The index of the relevant additional information of delete operation and business datum to be sent together, is sent to transmission control unit by member;It sends Control unit quickly finds preset cache according to the index and tree-like buffer structure of business datum to be sent in tree structure The index of the business datum to be sent of last time present in structure, and deleted from fifo queue and tree structure.If It deletes successfully, sends the index that control unit does not retain business datum to be sent.
The change that current data occurs relative to the data of original storage, and then can be only to the changed a part Data are handled.For example, the variation that business datum occurs are as follows: be added to data on the basis of original business datum, then root Additional information is generated according to the data of the addition, wherein description has which number is added in the business datum in the additional information According to, and then data described in upper additional information can be directly added on the index of the business datum of original caching, it constitutes most Whole task data to be sent, buffered business datum before need not reacquiring again in this case have saved and are System resource.
It is worth noting that a kind of above-mentioned only citing changed to business datum, the embodiment of the present invention is to business The version of data is without limiting.
The third situation: when detecting communication channel exception, the index of specified services data is removed.
It is worth noting that in the first scenario, it is complete that storage is avoided in the sending ending equipment of business datum Business datum and multiple storage to same a business datum, to reduce the waste of system resource.In the latter case, It avoids in the same business datum of caching, when executing addition, delete operation to same a business datum, if adding or deleting The operation service data removed are identical, can thus make data receiver first add and delete the business datum again, in this way in business The receiving end of data executes useless action, wastes system resource.
Another embodiment of the present invention provides a kind of method that control data are sent, this method can be applied to transmission services The sending ending equipment of data, the sending ending equipment include at least one data producer module, wherein data producer module is The producer of data to be sent, preferably application program, data producer module are needing consumer's mould with receiving device When block is communicated, communication channel is established with receiving device first, is specifically established with the consumer module of receiving device Communication channel;The data producer module can create and initialize transmission control unit, and can be the communication channel of creation It is associated with control unit foundation is sent, communication channel therein and transmission control unit pass through software realization.
In the present embodiment, the data generating unit of data producer module, after getting business datum, Neng Gougen According to the organizational form of business datum, the index of business datum is generated, and can be when business datum changes, according to business number According to rule of conversion generate additional information, which is used to embody the variation of business datum generation, and by the business datum Index and additional information be sent to transmission control unit, and then send index that control unit caching is got and additional Information, and according to preset schedule rule, the index of business datum to be sent is chosen, and produce from above-mentioned data according to the index Business datum corresponding with the index is obtained at the data generating unit of person's module, it is further, to be sent getting this New data to be sent are generated after business datum, and new data to be sent are sent to by receiving device by communication channel Consumer module.In the present embodiment, sending ending equipment and receiving device can be same equipment, or distinct device.
Specifically, there is visioning procedure in embodiments of the present invention, i.e. it is single to send control for data producer module initialization The embodiment of member, creation communication channel and the process for sending control unit.
Firstly, data producer module initialization sends control unit.
It is worth noting that while initializing the transmission control unit, it is possible to specify send the scheduling of control unit Mode, i.e., specified preset schedule rule.Wherein, which includes: to send control unit automatically according to communication channel Situation dispatch or data producer module dispatch manually according to demand.
Secondly, data producer module calls communication channel interface, communication channel is created.
Wherein, communication channel interface can be the interface that any communication channel provides, for example, interprocess communication interface, report Literary transmission interface etc..
Further, data producer module creation sends control unit, and by communication channel and sends control unit pass Connection.
It is worth noting that can also specify whether the transmission control unit needs when creating the transmission control unit Queue to be sent is created, which is used to store to get from data producer module according to the index of business datum Business datum.Furthermore it is also possible that it is that data readjustment, abnormality processing readjustment etc. return that index translation is arranged in the transmission control unit Adjust interface.Wherein, index translation is data callback interface, can be corresponding with the index by index translation by calling the interface Be actually subjected to send data;The abnormality detection result of communication channel can be notified to data by abnormality processing callback interface Unit is generated, so that data producer module is made and being further processed.
Then after completing above-mentioned visioning procedure, following business datum transmission flows is executed, as shown in figure 3, the process Include:
301, the data generating unit of data producer module generates business datum.
Note that data generating unit here generates business datum, it is to refer to that data generating unit obtains business datum, this Kind obtains the business datum that can be data producer module itself generation, is also possible to the industry that data producer module receives Business data.
302, data generating unit generates the index of business datum according to the organizational form of business datum.
303, data generating unit calls the transmission for sending control unit to index interface, which is sent to transmission control Unit, and the index is cached by transmission control unit.
Optionally, the index received can be cached in sending index queue by sending control unit.
Optionally, it is worth noting that, the interface of transmission index can also send additional information.
Further, when data generating unit is there are also when other business datums, above-mentioned 301,302 are continued to execute.
304, send control unit detect communication channel allow send data when, according to preset schedule rule, from The index of a business datum is taken in the index of caching.
Wherein, the index of a business datum of acquisition is the index of business datum to be sent.
305, the index translation that transmission control unit calls data generating unit to register will take out as data callback interface Index translation be new data to be sent.
306, it sends control unit and the new business datum to be sent is sent by communication channel.
Specifically, when sending the business datum, including following two form:
The first form: being put into queue to be sent for business datum to be sent, allows transmission business number in communication channel According to when, take out the business datum in the queue to be sent, send the business datum via communication channel.
Second of form: the business datum is directly sent by communication channel.
It is worth noting that being sent out since data generating unit and transmission control unit may be asynchronous process Before sending control unit to send data, to same a business datum, it is understood that there may be multi-pass operation.When transmission control unit is according to rope Draw when obtaining business datum from data generating unit, will get two parts of identical business datums, and by these identical industry Business data are sent to the receiving end of data, in this way due to needing to store and sending how identical business datum, will lead to system The waste of resource, in order to avoid the appearance of this problem, when only retain twice or when multi-pass operation to data to be sent One group of business datum to be sent, and send receiving end of the business datum to be sent to business datum of reservation.
For example, the business datum of generation be illustrated for updating twice by data generating unit occur, as shown in figure 4, Under the above-mentioned scene updated twice, the execution process of elimination of duplicate data includes:
401, when updating the first time of business datum, update message 1 is sent to transmission control list by data generating unit Member sends control unit and deletes duplicate index in the index of the business datum of caching.
402, in second of update of business datum, continue for update message 2 to be sent to transmission control unit, send control Unit processed deletes duplicate index in the index of the business datum of caching.
The index queue of business datum to be sent only retains portion to same part data, produces sending control unit from data It is identical when judging to preserve in preset cache structure after raw unit receives index and the additional information of business datum to be sent When the index of business datum to be sent, the industry to be sent saved in preset cache structure is updated with currently received additional information The corresponding additional information of index for data of being engaged in, to achieve the purpose that delete duplicate index.
Data generating unit just has sent to transmission control unit in this way updates request twice, that is, is sending control list The index of business datum twice can be stored in member will obtain when sender obtains business datum according to the index of business datum To two groups of identical last updated business datums, this has resulted in the repetition of business datum, this just needs that is to delete Except duplicate one group of business datum.The embodiment of the present invention, it is every to be updated by primary, it will successively be deleted duplicate operation.
403, control unit is sent from data generating unit request business datum.
Further, when transmission control unit detects communication channel exception, exception can be reported to data generating unit, And then after data generating unit receives exception, and then it can enter and close or restart communication channel process.
Further, when restarting communication channel, transmission control unit is re-created, and again by communication channel and newly Send control unit association.
Wherein, communication channel include: extremely can not storage allocation, communication channel disconnect.
It is worth noting that communication channel Shredding Process, data producer module can also be performed in data producer module It calls to destroy and sends control unit, is i.e. communication channel and hair are removed in destruction and the associated transmission control unit of specified communication channel Send the relationship between example;Further, data producer module calling interface destroys communication channel.
Another embodiment of the present invention provides a kind of control data Transmission system composition schematic diagram, as shown in figure 5, system Including sending ending equipment 501 and receiving device 502, receiving device is that the control data in the embodiment of the present invention are sent Device, it is specific as shown in Figure 6.Sending ending equipment includes at least one data producer module, and receiving device includes at least one A data consumer module.It is worth noting that, those of ordinary skill in the art are clearly known sending ending equipment and Receiving device is an opposite concept, and sending ending equipment and receiving device are functioned simultaneously as the same equipment Role.That is the data producer module role that also similarly serves as data consumer.In embodiments of the present invention, sending ending equipment and Receiving device can be same equipment.
Another embodiment of the present invention provides a kind of devices that control data are sent, as shown in fig. 6, the device includes at least One data producer module 600, data producer module 600 are communicated for establishing with the consumer module of receiving device Channel, and create transmission control unit 601 corresponding with the consumer module of receiving device;Control unit 601 is sent, is used for When detect communication channel allow send business datum when, successively according to the index of the business datum to be sent in caching obtain to Business datum is sent, and generates new data to be sent and sends the new receiving end pending that transmits data to by communication channel and set It is standby.
Data producer module 600 further includes data generating unit 602, data generating unit 602, for according to be sent Business datum generates the index of business datum to be sent, and is sent to transmission control unit;It is also used to, according to business number to be sent According to operational order, generate additional information, by additional information and according to business datum to be sent generate business datum to be sent Index together, be sent to transmission control unit,
It sends control unit 601 to be also used to, saves being indexed in preset cache structure for business datum;Wherein, it presets slow It deposits structure to include at least: advanced to reveal queue and tree structure.Be also used to, receive data generating unit send additional information with And business datum to be sent index and save into preset cache structure, according to additional information and the business to be sent of acquisition Data generate the new data to be sent sent by communication channel.It sends control unit 601 to be also used to, be generated from data single It is identical pending when judging to preserve in preset cache structure after member receives index and the additional information of business datum to be sent When sending the index of business datum, the business number to be sent saved in preset cache structure is updated with currently received additional information According to the corresponding additional information of index.
The device that control data provided in an embodiment of the present invention are sent, when determining that testing mechanism can send business datum When, the index of business datum to be sent is determined from caching, is obtained and the index pair according to the index of the business datum to be sent The data to be sent answered generate new data to be sent, and send the new data to be sent by communication channel.With existing skill In art, sending ending equipment has to cache all data to be sent, and in the case where communication channel allows, is sending these Data are compared, technical solution provided in an embodiment of the present invention, it is only necessary to cache the index of data to be sent, the data volume of index is small In the data volume of business datum corresponding with the index, so that the problem of significantly alleviating the wasting of resources, reduces overhead.
Through the above description of the embodiments, it is apparent to those skilled in the art that the present invention can borrow Help software that the mode of required common hardware is added to realize, naturally it is also possible to which the former is more preferably by hardware, but in many cases Embodiment.Based on this understanding, the portion that technical solution of the present invention substantially in other words contributes to the prior art Dividing can be embodied in the form of software products, which stores in a readable storage medium, such as count The floppy disk of calculation machine, hard disk or CD etc., including some instructions are used so that computer equipment (it can be personal computer, Server or the network equipment etc.) execute method described in each embodiment of the present invention.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (7)

1. a kind of method that control data are sent, is applied to sending ending equipment characterized by comprising
The consumer module of data producer module and receiving device establishes communication channel, and creates and the receiving device The corresponding transmission control unit of consumer module;
The transmission control unit when detecting that the communication channel allows to send business datum, successively according in caching to The index for sending business datum obtains the business datum to be sent, and generates new data to be sent, logical by the communication Road sends and described new pending transmits data to the receiving device;
In the transmission control unit before detecting that the communication channel allows to send business datum, the method is also wrapped It includes:
Data generating unit generates additional information, by the additional information according to the operational order of the business datum to be sent Together with the index of the business datum to be sent generated according to the business datum to be sent, it is sent to transmissions and controls Unit;
The control unit that sends receives the additional information and the business to be sent that the data generating unit is sent The index of data is simultaneously saved into preset cache structure, according to the additional information and the business number to be sent of acquisition According to the new data to be sent that generation is sent by the communication channel;
It is described to send control unit and receive the index of the business datum to be sent and described additional from the data generating unit After information, the method also includes:
When judging to preserve the index of the identical business datum to be sent in the preset cache structure, with current institute The index that received additional information updates the business datum to be sent saved in the preset cache structure is corresponding additional Information.
2. the method that control data according to claim 1 are sent, which is characterized in that in the transmission control unit when inspection Measure the communication channel allow send business datum before, the method also includes:
The data generating unit of data producer module generates the rope of the business datum to be sent according to business datum to be sent Draw, and is sent to the transmission control unit;The transmission control unit receives the index of the business datum to be sent, and protects It deposits into preset cache structure;
Wherein, the preset cache structure includes at least: fifo queue and tree structure.
3. the method that -2 described in any item control data are sent according to claim 1, which is characterized in that the method is also wrapped It includes:
The transmission control unit removes all business datums to be sent in caching when detecting the communication channel exception Index.
4. a kind of device that control data are sent, described device includes at least one data producer module, it is characterised in that:
The data producer module establishes communication channel for the consumer module with receiving device, and create with it is described The corresponding transmission control unit of the consumer module of receiving device;
The transmission control unit, for when detect the communication channel allow send business datum when, successively according to caching In the index of business datum to be sent obtain the business datum to be sent, and new data to be sent are generated, by described Communication channel sends and described new pending transmits data to the receiving device;
Data generating unit generates additional information for the operational order according to the business datum to be sent, will be described additional The index of information and the business datum to be sent generated according to the business datum to be sent together, is sent to the transmission Control unit;
The transmission control unit is also used to receive the additional information that the data generating unit is sent and described pending It send the index of business datum and saves into preset cache structure, according to the additional information and the industry to be sent of acquisition Business data generate the new data to be sent sent by the communication channel;
The transmission control unit is also used to, and index and the institute of the business datum to be sent are received from the data generating unit After stating additional information, when the index for judging to preserve the identical business datum to be sent in the preset cache structure When, the index of the business datum to be sent saved in the preset cache structure is updated with currently received additional information Corresponding additional information.
5. the device that control data according to claim 4 are sent, which is characterized in that
The data generating unit is also used to generate the index of the business datum to be sent according to business datum to be sent, and It is sent to the transmission control unit;
The transmission control unit is also used to, and saves being indexed in preset cache structure for the business datum;
Wherein, the preset cache structure includes at least: advanced to reveal queue and tree structure.
6. the device that control data according to claim 4 are sent, which is characterized in that described device further include:
The transmission control unit removes all business datums to be sent in caching when detecting the communication channel exception Index.
7. a kind of system that control data are sent, which is characterized in that including according to the described in any item control numbers of claim 4-6 According to the device and receiving device of transmission.
CN201310587152.1A 2013-11-20 2013-11-20 A kind of method, apparatus and system that control data are sent Active CN103560976B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310587152.1A CN103560976B (en) 2013-11-20 2013-11-20 A kind of method, apparatus and system that control data are sent

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310587152.1A CN103560976B (en) 2013-11-20 2013-11-20 A kind of method, apparatus and system that control data are sent

Publications (2)

Publication Number Publication Date
CN103560976A CN103560976A (en) 2014-02-05
CN103560976B true CN103560976B (en) 2018-12-07

Family

ID=50015128

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310587152.1A Active CN103560976B (en) 2013-11-20 2013-11-20 A kind of method, apparatus and system that control data are sent

Country Status (1)

Country Link
CN (1) CN103560976B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111526207A (en) * 2020-05-06 2020-08-11 金蝶软件(中国)有限公司 Data transmission method and related equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6934796B1 (en) * 2002-02-01 2005-08-23 Netlogic Microsystems, Inc. Content addressable memory with hashing function
CN101122885A (en) * 2007-09-11 2008-02-13 腾讯科技(深圳)有限公司 Data cache processing method, system and data cache device
CN101169761A (en) * 2007-12-03 2008-04-30 腾讯数码(天津)有限公司 Large capacity cache implement method and storage system
CN101178693A (en) * 2007-12-14 2008-05-14 沈阳东软软件股份有限公司 Data cache method and system
CN101187901A (en) * 2007-12-20 2008-05-28 康佳集团股份有限公司 High speed cache system and method for implementing file access
CN103036904A (en) * 2012-12-27 2013-04-10 东方通信股份有限公司 Method of data reliable transmission with user datagram protocol (UDP) in communication network

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6934796B1 (en) * 2002-02-01 2005-08-23 Netlogic Microsystems, Inc. Content addressable memory with hashing function
CN101122885A (en) * 2007-09-11 2008-02-13 腾讯科技(深圳)有限公司 Data cache processing method, system and data cache device
CN101169761A (en) * 2007-12-03 2008-04-30 腾讯数码(天津)有限公司 Large capacity cache implement method and storage system
CN101178693A (en) * 2007-12-14 2008-05-14 沈阳东软软件股份有限公司 Data cache method and system
CN101187901A (en) * 2007-12-20 2008-05-28 康佳集团股份有限公司 High speed cache system and method for implementing file access
CN103036904A (en) * 2012-12-27 2013-04-10 东方通信股份有限公司 Method of data reliable transmission with user datagram protocol (UDP) in communication network

Also Published As

Publication number Publication date
CN103560976A (en) 2014-02-05

Similar Documents

Publication Publication Date Title
CN104639374B (en) A kind of application deployment management system
CN103841170B (en) A kind of cloud storage method and server
CN104219288B (en) Distributed Data Synchronization method and its system based on multithreading
CN104219316A (en) Method and device for processing call request in distributed system
CN105052076B (en) Network element management system and network element management method based on cloud computing
CN111491037B (en) Communication method with object storage server through SFTP data stream
CN108347463A (en) A kind of terminal document method for uploading
CN111797091A (en) Method and device for querying data in database, electronic equipment and storage medium
CN105471700B (en) A kind of methods, devices and systems of Message Processing
CN106648801A (en) Automatic node adding and deleting method for Hadoop cluster
CN110162512A (en) A kind of log searching method, apparatus and storage medium
CN103716356A (en) Storage process operation method, device and system based on Web
CN110096381B (en) Method, device, equipment and medium for realizing remote procedure call
CN106941522B (en) Lightweight distributed computing platform and data processing method thereof
CN105915377A (en) Flume and Spark streaming integration method and system
CN111190960A (en) Method, device, equipment and medium for transmitting distributed files
CN105450733B (en) A kind of business datum distribution processing method and system
CN103560976B (en) A kind of method, apparatus and system that control data are sent
CN108614820B (en) Method and device for realizing streaming source data analysis
CN104468708A (en) Data collaborating method and data collaborating device
CN106936615A (en) A kind of message processing method and device
CN106598758B (en) Centralized forwarding and calling method and system
CN113055493B (en) Data packet processing method, device, system, scheduling device and storage medium
CN104780171A (en) Message transferring method, device and system
CN107872479B (en) Cloud management platform and controller integration method and system and related modules

Legal Events

Date Code Title Description
C06 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: 610041 15-24 floor, 1 1 Tianfu street, Chengdu high tech Zone, Sichuan

Applicant after: MAIPU COMMUNICATION TECHNOLOGY Co.,Ltd.

Address before: 610041 16 Hing Hing Road, Chengdu high tech Development Zone, Sichuan, China 16

Applicant before: MAIPU COMMUNICATION TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 610041 nine Xing Xing Road 16, hi tech Zone, Sichuan, Chengdu

Patentee after: MAIPU COMMUNICATION TECHNOLOGY Co.,Ltd.

Address before: 610041 15-24 floor, 1 1 Tianfu street, Chengdu high tech Zone, Sichuan

Patentee before: MAIPU COMMUNICATION TECHNOLOGY Co.,Ltd.