CN101917406A - Data transmission method and data transmission system - Google Patents

Data transmission method and data transmission system Download PDF

Info

Publication number
CN101917406A
CN101917406A CN2010102341252A CN201010234125A CN101917406A CN 101917406 A CN101917406 A CN 101917406A CN 2010102341252 A CN2010102341252 A CN 2010102341252A CN 201010234125 A CN201010234125 A CN 201010234125A CN 101917406 A CN101917406 A CN 101917406A
Authority
CN
China
Prior art keywords
client
server end
information
idle
data
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
CN2010102341252A
Other languages
Chinese (zh)
Other versions
CN101917406B (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.)
Nantong Zhuoxiao Automation Co ltd
Original Assignee
Vtron Technologies 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 Vtron Technologies Ltd filed Critical Vtron Technologies Ltd
Priority to CN 201010234125 priority Critical patent/CN101917406B/en
Publication of CN101917406A publication Critical patent/CN101917406A/en
Application granted granted Critical
Publication of CN101917406B publication Critical patent/CN101917406B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention provides a data transmission method and a data transmission system. When receiving data request information of a client, a server end transmits the address information of an idlest client connected therewith to the client when in busy state, so that the client requests data from the idle client, and the idle client provides data transfer service; the information data received by the idle client from the server is transferred to the client, and an output policy is automatically adjusted, therefore, the processing amount of the server end is reduced, the demand of acquiring information data in time is satisfied, and the data transmission efficiency is improved.

Description

Data transmission method and data transmission system
Technical field
The present invention relates to the networking communication technical field, particularly a kind of data transmission method and data transmission system.
Background technology
In cybertimes now, people's life and the relation between the network are more and more closer, and people can find needed various information, for example literal, picture, video or the like satisfactorily by network.And the amount of digital information of a secondary picture is very big, with a pair clearly picture be example, every frame has 2Mbit, if will on network, transmit with the transmission speed of 25~30 frame/seconds, the network bandwidth that then needs 50~60M, for video transmission, its amount of information is bigger, if will transmit vision signal apace, the shared network bandwidth is more, and the network total bandwidth has certain limitation, can't fundamentally solve the problem of high content information transmission such as video by the mode that unrestrictedly enlarges the network bandwidth, if can issue in the situation that does not enlarge the network bandwidth and put on display data transmission method efficiently, can not only cost saving, and can greatly adapt to existing communication network.
With transmission network monitor video data instance, utilize the Internet resources transmission of video, can not be subjected to distance limit with transmission of video images to far place; The application of network has also brought the function of more novelties to video monitoring, can reach the requirement of the specialized monitoring of various users fully, in the application of existing network video monitoring, there are being a plurality of users need visit or obtain under the situation of certain part of video monitoring data, be that this part video monitoring data is sent to the client at these user places simultaneously, but under current network condition, this multi-channel video signal transmits in network, can often run into bandwidth and cross problem low or that bandwidth is unstable, cause normally to transmit continuous video image, make picture pause, the sense that lags behind is stronger, can't reach the requirement of watching in real time or monitoring.Another situation then may be, under the situation of remote monitoring, need directly visit the video monitoring data in certain strange land by network, because distance is long, transmission influenced real-time monitoring effect when the network bandwidth between the strange land can't satisfy the transmitting multi-path video data.In addition, for the first-class server end of shooting, need send multiple signals to a plurality of users request end simultaneously, under the more situation of user request end number, the treating capacity of server end can sharply increase, thereby has influence on the data transmission performance of whole monitoring system.Similarly, can predict, bring under the situation that obtains identical information, also can have the problem that the network bandwidth is not enough, the server-side processes amount is big, normal transfer of data is brought adverse effect at the same server of a plurality of client-access of other needs.
Summary of the invention
At above-mentioned problems of the prior art, the object of the present invention is to provide a kind of data transmission method and data transmission system, it can adjust transmission policy automatically, improves data transmission efficiency.
For achieving the above object, the present invention by the following technical solutions:
A kind of data transmission method comprises step:
Server end receives the first request of data information of requesting client, judge oneself state, when being in busy condition, from each client that is connected to this server end, select an idle client the most idle, and address information that should the free time client sends to the described request client;
The described request client receives the address information of this free time client, sends the second request of data information to this free time client;
Described idle client receives this second request of data information, will send to the described request client from the information data that described server end receives.
A kind of data transmission system comprises server end and plural client:
Described server end, be used to receive the first request of data information of client, judge oneself state, when being in busy condition, from each client that is connected to this server end, select an idle client the most idle, and address information that should the free time client sends to described client;
Described client, be used for sending the described first request of data information to described server end, receive the address information of described idle client, send the second request of data information, obtain the information data that this free time client receives from server end from described idle client to this free time client.
Scheme according to the invention described above, be that server end is when receiving the first request of data information of client, according to self current running status, be under the situation of busy condition, the address information of the most idle connected idle client is sent to client, allow client to these free time client-requested data, provide the data forwarding service by this free time client, idle client is transmitted to client from the information data that server end receives, automatically adjust output policy, reduce the treating capacity of server end, satisfied the demand of timely acquired information data, improved data transmission efficiency.
Description of drawings
Fig. 1 is the schematic flow sheet of data transmission method embodiment of the present invention;
Fig. 2 is a transmission means schematic diagram of vision signal being passed to two clients in existing mode;
Fig. 3 is a transmission means schematic diagram of among the present invention vision signal being passed to two clients;
Fig. 4 is the structural representation of data transmission system embodiment of the present invention.
Embodiment
Essential idea of the present invention, be when server end is in busy condition, can bring in by the client who is connected to this server end and realize the data forwarding function, automatically adjust output policy, reduce the treating capacity of server end, to satisfy the demand of timely acquired information data, improve data transmission efficiency.
Referring to shown in Figure 1, be the schematic flow sheet of data transmission method embodiment of the present invention, it comprises step:
Step S101: server end receives the first request of data information of client, enters step S102;
Step S102: server end judges oneself state judge whether oneself is in idle condition, if not, then enter step S103;
Step S103: from each client that is connected to this server end, select an idle client the most idle, and address information that should the free time client sends to requesting client, enter step S104;
Step S104: the requesting client termination is received the address information of this free time client, and sends the second request of data information to this free time client, enters step S105;
Step S105: idle client receives this second request of data information, will send to requesting client from the information data that server end receives.
According to the present invention program, server end can be adjusted transmission policy automatically according to self free time and busy condition, is unlikely to make the treating capacity of server end much, guarantees normally carrying out of transfer of data work.
At the method for the invention described above, below be elaborated at several concrete implementations wherein.
Embodiment one:
In the present embodiment, suppose to have two clients to be designated as first customer end A, second customer end B respectively to server end S solicited message data, the data transmission procedure between they and the server end S can be:
First customer end A sends request of data information to server end S, request acquired information data, and server end S gives first customer end A with corresponding information data transmission;
Second customer end B sends request of data information to server end S, and request acquired information data after server end receives this request of data information, are judged own current running status:
If be in idle condition, then server end S gives second customer end B with corresponding information data transmission, is example with the vision signal of transmitting camera collection, and its transmission state as shown in Figure 2;
If be in busy condition, then server end S sends to second customer end B with the address information of first customer end A;
After second customer end B receives the address information of first customer end A, send request of data information to this first customer end A, after first customer end A receives this request of data information, the information data that the server end S that receives is transmitted sends to second customer end B, under the application state of real-time acquired information data, first customer end A to the second customer end B information transmitted data can only be receiving the request of data information of second customer end B after, the information data that transmits by server end, vision signal with the transmission camera collection is an example, and its transmission state as shown in Figure 3.
Wherein, server end can be judged by following manner when judging the running status of oneself:
Utilize the running status value of following formula calculation server end:
V = w 1 * bandwidth + w 2 * delay + w 3 * CPU + w 4 * memory w 1 + w 2 + w 3 + w 4
In the formula, V represents the running status value, it is the quantized value of operation conditions, bandwidth represents the occupancy ratio of acceptable delay time (the current network delay time with) of the network bandwidth, and delay represents the network delay rate, and CPU represents CPU usage, memory represents memory usage, w1, w2, w3, w4 represent bandwidth, delay, CPU, the memory anharmonic ratio that accounts for to the influence of operation conditions respectively, and expression is to the effect value of operation conditions, and be worth big more explanation influences also big more;
When V was greater than or equal to the preset reference value of this server end, the determining server end was in busy condition, and during less than described preset reference value, the determining server end is in idle condition, and the V value is more little idle more at V.
Embodiment two:
In the present embodiment, there to be three clients initiatively to describe to server end S solicited message data and by client to the operation conditions of server end report oneself, these three clients are designated as first customer end A, second customer end B, the 3rd client C respectively, and the data transmission procedure between they and the server end S can be:
First customer end A sends request of data information to server end S, request acquired information data, server end S gives first customer end A with corresponding information data transmission, first customer end A sends to server end with the state information of oneself, reporting the operation conditions of oneself, and can regularly upgrade;
Second customer end B sends request of data information to server end S, and request acquired information data after server end receives this request of data information, are judged own current running status:
If be in idle condition, then server end S gives second customer end B with corresponding information data transmission;
If be in busy condition, then server end S sends to second customer end B with the address information of first customer end A, after second customer end B receives the address information of first customer end A, send request of data information to first customer end A, after first customer end A receives this request of data information, the information data that the server end S that receives is transmitted sends to second customer end B, under the application state of real-time acquired information data, first customer end A to the data of second customer end B transmission can only be receiving the request of data information of second customer end B after, the information data that transmits by server end, second customer end B sends to server end with the state information of oneself, reporting the operation conditions of oneself, and can regularly upgrade;
The 3rd client C sends request of data information to server end S, and request acquired information data after server end receives this request of data information, are judged own current running status:
If be in idle condition, then server end S gives the 3rd client C with corresponding information data transmission;
If be in busy condition, then server end S is according to first customer end A, the running status of second customer end B, therefrom select the most idle idle client, be assumed to be second customer end B, then server end S sends to the 3rd client C with the address information of this second customer end B, after the 3rd client C receives the address information of second customer end B, send request of data information to this second customer end B, after second customer end B receives this request of data information, the information data that is forwarded by the first client S that receives is sent to the 3rd client C, under the application state of real-time acquired information data, second customer end B to the 3rd client C information transmitted data can only be receiving the request of data information of the 3rd client C after, the information data that transmits by first customer end A.
Wherein, server end judge oneself running status mode can with the foregoing description one in identical.
In addition, when judging the running status of each client, identical mode in the time of can adopting with the running status of judging server end, promptly can judge by following manner:
Utilize the running status value of following formula computing client end:
V = w 1 * bandwidth + w 2 * delay + w 3 * CPU + w 4 * memory w 1 + w 2 + w 3 + w 4
In the formula, V represents the running status value, it is the quantized value of operation conditions, bandwidth represents the occupancy ratio of acceptable delay time (the current network delay time with) of the network bandwidth, and delay represents the network delay rate, and CPU represents CPU usage, memory represents memory usage, w1, w2, w3, w4 represent bandwidth, delay, CPU, the memory anharmonic ratio that accounts for to the influence of operation conditions respectively, and expression is to the effect value of operation conditions, and be worth big more explanation influences also big more;
When V is greater than or equal to the preset reference threshold value of this client, judge that client is in busy condition, during less than this preset reference threshold value, judge that this client is in idle condition, and the V value is more little idle more at V.
Wherein, the preset reference value of server end, the preset reference threshold value of client can be set at identical value, also can set respectively.
After calculating the running status value V of each client, the client that the V value is minimum is defined as idle client, provides the data forwarding service by it.
In addition, the state information that client (for example above-mentioned first customer end A, second customer end B) sends to server end S, it can be himself current operation conditions, include but not limited to the ratio of the shared bandwidth of network traffics, the delay time of packet, the occupation rate of CPU, the occupation rate of internal memory, at this moment, can be after receiving these information by server end S, calculate the running status value of each client more respectively and compare.In addition, it also can be the running status value that calculates oneself by each client respectively, then the running status value that calculates is sent to server end, at this moment, its state information that sends to server end S then is its self running status value of calculating, directly compares after server end S receives to get final product.Mode by server end S unified calculation can realize the synchronization operation, is convenient to unified management, for the needs of administrative convenience, can adopt the mode of server end S unified calculation to carry out usually.
Embodiment three:
Be with the difference of the foregoing description two, in the present embodiment there to be three clients to describe to the state information that server end returns oneself again to client transmit status Query Information, client to server end S solicited message data and server end, these three clients are designated as first customer end A, second customer end B, the 3rd client C respectively, and the data transmission procedure between they and the server end S can be:
First customer end A sends request of data information to server end S, request acquired information data, and server end S gives first customer end A with corresponding information data transmission;
Second customer end B sends request of data information to server end S, and request acquired information data after server end receives this request of data information, are judged own current running status:
If be in idle condition, then server end S gives second customer end B with corresponding information data transmission;
If be in busy condition, then server end S sends to second customer end B with the address information of first customer end A, after second customer end B receives the address information of first customer end A, send request of data information to this first customer end A, after first customer end A receives this request of data information, the information data that the server end S that receives is transmitted sends to second customer end B, under the application state of real-time acquired information data, first customer end A to the second customer end B information transmitted data can only be receiving the request of data information of second customer end B after, the information data that transmits by server end;
The 3rd client C sends request of data information to server end S, and request acquired information data after server end S receives this request of data information, are judged own current running status:
If be in idle condition, then server end S gives the 3rd client C with corresponding information data transmission;
If be in busy condition, then server end S is to first customer end A, the second customer end B transmit status Query Information, after first customer end A, second customer end B receive this status poll information, return the state information of oneself respectively to this server end S, server end S is according to the state information of first customer end A, second customer end B, therefrom select the most idle idle client, be assumed to be second customer end B, then server end S sends to the 3rd client C with the address information of this second customer end B;
After the 3rd client C receives the address information of second customer end B, send request of data information to this second customer end B, after second customer end B receives this request of data information, the information data that is forwarded by the first client S that receives is sent to the 3rd client C, under the application state of real-time acquired information data, second customer end B to the data of the 3rd client C transmission can only be receiving the request of data information of the 3rd client C after, the information data that transmits by first customer end A.
Identical in other technologies feature in the present embodiment and the foregoing description two do not repeat them here.
In the explanation of the various embodiments described above, all be directly to describe from the client that has connected, selecting an idle client the most idle to bring under the situation that is in busy condition at server end S to carry out data forwarding and to be under the idle condition by server end S transmission data at server end S.For consideration to the high efficiency of transmission of data, the running status that also can be comprehensive server end S and each client is determined to bring in the transmission data to initiate client by whom, promptly the running status value of server end S and each client is all carried out the comparison of size, if the running status value minimum of server end S, then directly give these initiate client transmissions data by server end S, if the running status value minimum of certain client, then this client is defined as idle client, and provides the data forwarding service for this initiate client by this free time client.
Embodiment four:
In the present embodiment, with have three clients need to server end S solicited message data, each client initiatively to the own running status of server end report and from server end and client that each has inserted the most idle individuality of selection transmit data and describe, these three clients are designated as first customer end A, second customer end B, the 3rd client C respectively, and the data transmission procedure between they and the server end S can be:
First customer end A sends request of data information to server end S, request acquired information data, server end S gives first customer end A with corresponding information data transmission, first customer end A sends to server end with the state information of oneself, reporting the operation conditions of oneself, and can regularly upgrade;
Second customer end B sends request of data information to server end S, and request acquired information data after server end receives this request of data information, are judged the idle condition of own and first customer end A:
If server end S is than the first customer end A free time, then server end S gives second customer end B with corresponding information data transmission;
If first customer end A is than the server end S free time, then server end S sends to second customer end B with the address information of first customer end A, after second customer end B receives the address information of first customer end A, send request of data information to this first customer end A, after first customer end A receives this request of data information, the information data that the server end S that receives is transmitted sends to second customer end B, under the application state of real-time acquired information data, first customer end A to the data of second customer end B transmission can only be receiving the request of data information of second customer end B after, the information data that transmits by server end S;
Second customer end B sends to server end S with the state information of oneself, reporting the operation conditions of oneself, and can regularly upgrade;
The 3rd client C sends request of data information to server end S, request acquired information data, after server end receives this request of data information, judge oneself, the running status of first customer end A and second customer end B:
If S is the most idle for server end, then server end S gives the 3rd client C with corresponding information data transmission;
If certain client wherein is the most idle, suppose that second customer end B is the most idle, then server end S sends to the 3rd client C with the address information of this second customer end B, after the 3rd client C receives the address information of second customer end B, send request of data information to this second customer end B, after second customer end B receives this request of data information, with the information data that transmits by server end S that receives, perhaps the information data that is forwarded by the first client S sends to the 3rd client C, under the application state of real-time acquired information data, second customer end B to the data of the 3rd client C transmission can only be receiving the request of data information of the 3rd client C after, the information data that transmits by the server end S or first customer end A.
Wherein, server end judge the mode of own running status and judgement client running status, judge whose the most idle other technologies feature such as mode can with the foregoing description three in identical, do not repeat them here.
Embodiment five:
The difference of present embodiment and the foregoing description four is, be to describe in the present embodiment there to be three clients to return the operation conditions of oneself and from server end and client that each has inserted, to select the most idle individuality to transmit data to server end again to client behind the client transmit status Query Information to server end S solicited message data, server end, these three clients are designated as first customer end A, second customer end B, the 3rd client C respectively, and the data transmission procedure between they and the server end S can be:
First customer end A sends request of data information to server end S, request acquired information data, and server end S gives first customer end A with corresponding information data transmission;
Second customer end B sends request of data information to server end S, request acquired information data, after server end receives this request of data information, to the first customer end A transmit status Query Information, after first customer end A receives this status poll information, return oneself state information to server end S, server end S judges the idle condition of own and first customer end A according to the operation conditions of self and the state information of first customer end A:
If server end S is than the first customer end A free time, then server end S gives second customer end B with corresponding information data transmission;
If first customer end A is than the server end S free time, then server end S sends to second customer end B with the address information of first customer end A, after second customer end B receives the address information of first customer end A, send request of data information to this first customer end A, after first customer end A receives this request of data information, the information data that the server end S that receives is transmitted sends to second customer end B, under the application state of real-time acquired information data, first customer end A to the second customer end B information transmitted data can only be receiving the request of data information of second customer end B after, the information data that transmits by server end S;
The 3rd client C sends request of data information to server end S, request acquired information data, after server end receives this request of data information, to first customer end A, the second customer end B transmit status Query Information, after first customer end A, second customer end B receive this status poll information, return the state information of oneself respectively to this server end S, server end S is according to the operation conditions of self and the state information of first customer end A, second customer end B, judge oneself, the running status of first customer end A and second customer end B:
If S is the most idle for server end, then server end S gives the 3rd client C with corresponding information data transmission;
If certain client wherein is the most idle, suppose that second customer end B is the most idle, then server end S sends to the 3rd client C with the address information of this second customer end B, after the 3rd client C receives the address information of second customer end B, send request of data information to this second customer end B, after second customer end B receives this request of data information, with the information data that transmits by server end that receives, perhaps the information data that is forwarded by the first client S sends to the 3rd client C, under the application state of real-time acquired information data, second customer end B to the data of the 3rd client C transmission can only be receiving the request of data information of the 3rd client C after, the information data that transmits by the server end or first customer end A.
Identical in other technologies feature in the present embodiment and the foregoing description four do not repeat them here.
In the explanation of the various embodiments described above to data transmission method of the present invention, only be to be illustrated with the situation that has two clients, three clients, exist under the situation of more number more, according to identical processing mode, server end S can be according to oneself state and the operation conditions that connected and received each client of data, initiate client is carried out resource allocation, so that each initiate client can both be smooth, receive information data efficiently, realize high efficiency transfer of data.
In addition, no matter adopt above-mentioned which kind of transmission policy, in the process of transfer of data, also can be according to the running status of each client and server end S, adjust the data transmission relations between server end S and each client in real time, concrete adjustment mode will not be added narration at this.
According to the data transmission method of the invention described above, the present invention also provides a kind of data transmission system, data transmission system of the present invention, and it comprises server end and plural client, wherein:
This server end, be used to receive the first request of data information of client, judge oneself state, when being in busy condition, from each client that is connected to this server end, select an idle client the most idle, and address information that should the free time client sends to described client;
Client, be used for sending the described first request of data information to server end, receive the address information of described idle client, send the second request of data information, obtain the information data that this free time client receives from server end from described idle client to this free time client.
According to the present invention program, server end can be adjusted transmission policy automatically according to self free time and busy condition, is unlikely to make the treating capacity of server end much, guarantees normally carrying out of transfer of data work.
Referring to shown in Figure 4, be the structural representation of data transmission system embodiment of the present invention, in this example, be to describe to have two clients, described server end specifically comprises:
The server receiving element is used to receive described first request of data that each client sends;
The state judging unit is used to judge oneself state, and when being in busy condition, selects an idle client the most idle from each client that is connected to this server end;
The server transmitting element is used for information data is sent to client, also is used for the address information of described idle client is sent to described client;
Described client specifically comprises:
The client transmitting element, be used for sending the described first request of data information to described server end, send the second request of data information to described idle client, also be used for this client's state information is sent to described server end, the information data that also is used for receiving element is received is transmitted to the client that is connected to this client;
The client receiving element is used to receive the information data that described server end sends, and also is used to receive the address information of the described idle client that described server end sends, and receives the information data that described idle client sends.
In addition, when server end was in idle condition, server end can directly send information data to described client.
Under another performance, can also be the idle condition that can also compare server end and be connected to each client of this server end by server end, when server end is the most idle, information data is sent to the described request client; When the idle client that is connected to this server end is the most idle, the address information of this free time client is sent to described client.
In addition, client can also regularly be reported the state information of self to described server end; Described server end is selected idle client according to each client's state information.Perhaps also can be at server end behind each the client transmit status Query Information that is connected to this server end, each client is returned the state information of oneself again to server end, server end is selected idle client according to each client's state information again.
Wherein, the adjustment mode of the data transmission policies of data transmission system of the present invention and judge that whether idle the specific implementation of the mode or the like of server end and definite idle server can be described with reference to the data transmission method of the invention described above does not repeat them here.
The data transmission system of the invention described above can be applicable to preferably that each client need visit the field of same data content, field of video monitoring for example, and at this moment, data transmission system of the present invention is a video monitoring system.
Above-described embodiment of the present invention only is the detailed description to the specific embodiment of the present invention, does not constitute the qualification to protection range of the present invention.Any modification of being done within the spirit and principles in the present invention, be equal to and replace and improvement etc., all should be included within the claim protection range of the present invention.

Claims (10)

1. a data transmission method is characterized in that, comprises step:
Server end receives the first request of data information of requesting client, judge oneself state, when being in busy condition, from each client that is connected to this server end, select an idle client the most idle, and address information that should the free time client sends to the described request client;
The described request client receives the address information of this free time client, sends the second request of data information to this free time client;
Described idle client receives this second request of data information, will send to the described request client from the information data that described server end receives.
2. data transmission method according to claim 1 is characterized in that:
When described server end was in idle condition, described server end sent information data to the described request client;
Perhaps
When described server end is in idle condition, described server end comparison server end and the idle condition that is connected to each client of this server end:
When server end was the most idle, described server end sent information data to the described request client;
When the client that is connected to this server end is the most idle, this client is defined as idle client, and address information that should the free time client sends to the described request client; The described request client receives the address information of this free time client, sends the 3rd request of data information to this free time client; Described idle client receives the 3rd request of data information, will send to the described request client from the information data that described server end receives.
3. data transmission method according to claim 1 and 2 is characterized in that:
Each client that is connected to described server is regularly to the state information of described server end report self, and described server end is selected idle client according to each client's state information;
Perhaps
Judge at described server end and to draw when being in busy condition, to each the client transmit status Query Information that is connected to this server end, to this server end send state information, described server end is selected idle client according to each client's state information to each client respectively.
4. data transmission method according to claim 3 is characterized in that:
Described state information comprises occupancy, network delay rate, CPU usage, the memory usage of the network bandwidth, and described server end selects the mode of idle client to comprise:
Adopt following formula to calculate the running status of each client:
V = w 1 * bandwidth + w 2 * delay + w 3 * CPU + w 4 * memory w 1 + w 2 + w 3 + w 4
In the formula, V represents the running status value, bandwidth represents the occupancy of the network bandwidth, delay represents the network delay rate, CPU represents CPU usage, memory represents memory usage, and w1, w2, w3, w4 represent bandwidth, delay, CPU, the memory anharmonic ratio that accounts for to the influence of operation conditions respectively;
When V is greater than or equal to this client corresponding preset reference threshold, judge that this client is in busy condition, during less than described preset reference threshold value, judge that this client is in idle condition at V;
To be in the minimum client of idle condition and V value as idle client;
Perhaps
Described state information comprises the running status value of this client, and described server end is judged the running status of each client according to the running status value of each client, and the client that will be in idle condition and running status value minimum is defined as idle client;
The following formula of each described customer end adopted calculates the running status value:
V = w 1 * bandwidth + w 2 * delay + w 3 * CPU + w 4 * memory w 1 + w 2 + w 3 + w 4
In the formula, V represents the running status value, bandwidth represents the occupancy of the network bandwidth, delay represents the network delay rate, CPU represents CPU usage, memory represents memory usage, and w1, w2, w3, w4 represent bandwidth, delay, CPU, the memory anharmonic ratio that accounts for to the influence of operation conditions respectively;
When V is greater than or equal to this client corresponding preset reference threshold, judge that this client is in busy condition, during less than described preset reference threshold value, judge that this client is in idle condition at V.
5. data transmission method according to claim 1 and 2 is characterized in that, described server end judges that the mode of oneself state comprises:
Adopt following formula to calculate the running status value of self:
V = w 1 * bandwidth + w 2 * delay + w 3 * CPU + w 4 * memory w 1 + w 2 + w 3 + w 4
In the formula, V represents the running status value, bandwidth represents the occupancy of the network bandwidth, delay represents the network delay rate, CPU represents CPU usage, memory represents memory usage, and w1, w2, w3, w4 represent bandwidth, delay, CPU, the memory anharmonic ratio that accounts for to the influence of operation conditions respectively;
When V was greater than or equal to the preset reference value of this server end, the determining server end was in busy condition, and during less than described preset reference value, the determining server end is in idle condition at V.
6. a data transmission system comprises server end and plural client, it is characterized in that:
Described server end, be used to receive the first request of data information of client, judge oneself state, when being in busy condition, from each client that is connected to this server end, select an idle client the most idle, and address information that should the free time client sends to described client;
Described client, be used for sending the described first request of data information to described server end, receive the address information of described idle client, send the second request of data information, obtain the information data that this free time client receives from server end from described idle client to this free time client.
7. data transmission system according to claim 6 is characterized in that:
Described server end also is used for when being in idle condition, and information data is directly sent to described client.
8. data transmission system according to claim 6 is characterized in that:
Described server end also is used for when being in idle condition, and the idle condition that compares server end and be connected to each client of this server end when server end is the most idle, sends information data to the described request client; When the idle client that is connected to this server end is the most idle, the address information of this free time client is sent to described client.
9. according to claim 6 or 7 or 8 described data transmission systems, it is characterized in that:
Described client also is used for regular state information to described server end report self; Described server end is selected idle client according to each client's state information;
Perhaps
Described server end also is used for drawing when being in busy condition in judgement, to each the client transmit status Query Information that is connected to this server end;
Each described client also is used for when receiving described status poll information, to described server end send state information;
Described server end is selected idle client according to each client's state information.
10. according to claim 6 or 7 or 8 described data transmission systems, it is characterized in that described data transmission system is a video monitoring system.
CN 201010234125 2010-07-22 2010-07-22 Data transmission method and data transmission system Active CN101917406B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010234125 CN101917406B (en) 2010-07-22 2010-07-22 Data transmission method and data transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010234125 CN101917406B (en) 2010-07-22 2010-07-22 Data transmission method and data transmission system

Publications (2)

Publication Number Publication Date
CN101917406A true CN101917406A (en) 2010-12-15
CN101917406B CN101917406B (en) 2013-07-10

Family

ID=43324792

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010234125 Active CN101917406B (en) 2010-07-22 2010-07-22 Data transmission method and data transmission system

Country Status (1)

Country Link
CN (1) CN101917406B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104284237A (en) * 2014-10-13 2015-01-14 中安消技术有限公司 Video transmission method and system
CN104378391A (en) * 2013-08-12 2015-02-25 无锡知谷网络科技有限公司 Software updating method, system and device
CN105553774A (en) * 2015-12-23 2016-05-04 厦门市美亚柏科信息股份有限公司 Internet data collection method and system
CN109145020A (en) * 2018-07-23 2019-01-04 程之琴 Information query method, from server, client and computer readable storage medium
CN111866133A (en) * 2020-07-20 2020-10-30 成都民航空管科技发展有限公司 Multi-source large-batch client data synchronization method and system
WO2022001754A1 (en) * 2020-06-28 2022-01-06 中兴通讯股份有限公司 Media optimization method and apparatus, and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105162807A (en) * 2015-10-12 2015-12-16 中国银行股份有限公司 Large-scale message push method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002304270A (en) * 2001-04-06 2002-10-18 Canon Inc Printing system, print management device and method, computer program, and computer readable storage medium
CN101110811A (en) * 2006-07-18 2008-01-23 北京华纬讯电信技术有限公司 Method for controlling media data transmission of video system
CN101394539A (en) * 2007-09-17 2009-03-25 巨家科技有限公司 Playing method and system for video program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002304270A (en) * 2001-04-06 2002-10-18 Canon Inc Printing system, print management device and method, computer program, and computer readable storage medium
CN101110811A (en) * 2006-07-18 2008-01-23 北京华纬讯电信技术有限公司 Method for controlling media data transmission of video system
CN101394539A (en) * 2007-09-17 2009-03-25 巨家科技有限公司 Playing method and system for video program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104378391A (en) * 2013-08-12 2015-02-25 无锡知谷网络科技有限公司 Software updating method, system and device
CN104284237A (en) * 2014-10-13 2015-01-14 中安消技术有限公司 Video transmission method and system
CN105553774A (en) * 2015-12-23 2016-05-04 厦门市美亚柏科信息股份有限公司 Internet data collection method and system
CN109145020A (en) * 2018-07-23 2019-01-04 程之琴 Information query method, from server, client and computer readable storage medium
WO2022001754A1 (en) * 2020-06-28 2022-01-06 中兴通讯股份有限公司 Media optimization method and apparatus, and storage medium
CN111866133A (en) * 2020-07-20 2020-10-30 成都民航空管科技发展有限公司 Multi-source large-batch client data synchronization method and system

Also Published As

Publication number Publication date
CN101917406B (en) 2013-07-10

Similar Documents

Publication Publication Date Title
CN101917406B (en) Data transmission method and data transmission system
CN110708256B (en) CDN scheduling method, CDN scheduling device, network equipment and storage medium
CN104243609B (en) A kind of information service method for pushing and device
CN113438129B (en) Data acquisition method and device
US20060069777A1 (en) Request message control method for using service and service providing system
CN106790532A (en) A kind of online live method for uploading and system based on edge network polymerization
CN103312593B (en) A kind of message distributing system and method
CN103813181A (en) System and method for optimizing video
CN113364682A (en) Data transmission method and device, storage medium and electronic device
CN112491719A (en) Network node selection method, equipment and storage medium
CN112231606B (en) Webpage processing method and device
CN113840330B (en) Connection establishment method, gateway equipment, network system and dispatching center
EP3739815B1 (en) Method, system and device for determining transmission quality of node, and server
CN109614228B (en) Comprehensive monitoring front-end system based on dynamic load balancing mode and working method
CN106686635B (en) Data transmission method and device based on control and configuration protocol of wireless access point
CN100512162C (en) Method and system and device for collecting flow data
CN112866390B (en) Data transmission method, device, terminal equipment and storage medium
Go et al. An SDN-based framework for improving the performance of underprovisioned IP Video Surveillance networks
CN111654526B (en) Load balancing method and system for streaming media server
JP2016127359A (en) Communication controller
US8629907B2 (en) Data acquisition system and transmission control device
CN114615337B (en) Equipment scheduling method, system, server and storage medium
JP2004080566A (en) Contents distribution method and contents distribution system using the same
CN116382892A (en) Load balancing method and device based on multi-cloud fusion and cloud service
CN115665173A (en) Websocket communication method, system and storage medium based on MQ

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 510670 Guangdong city of Guangzhou province Kezhu Guangzhou high tech Industrial Development Zone, Road No. 233

Patentee after: VTRON GROUP Co.,Ltd.

Address before: 510663 Guangzhou province high tech Industrial Development Zone, Guangdong, Cai road, No. 6, No.

Patentee before: VTRON TECHNOLOGIES Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201125

Address after: Unit 2414-2416, main building, no.371, Wushan Road, Tianhe District, Guangzhou City, Guangdong Province

Patentee after: GUANGDONG GAOHANG INTELLECTUAL PROPERTY OPERATION Co.,Ltd.

Address before: 510670 Guangdong city of Guangzhou province Kezhu Guangzhou high tech Industrial Development Zone, Road No. 233

Patentee before: VTRON GROUP Co.,Ltd.

Effective date of registration: 20201125

Address after: 226500 Nantong City, Nantong, Jiangsu Province, the city of Rugao City Street Red Star Village (Jiang Jiushan owned house)

Patentee after: RUGAO CHIJIU STAINLESS STEEL PIPE FACTORY

Address before: Unit 2414-2416, main building, no.371, Wushan Road, Tianhe District, Guangzhou City, Guangdong Province

Patentee before: GUANGDONG GAOHANG INTELLECTUAL PROPERTY OPERATION Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220613

Address after: 226500 room 105, block B, No. 528, Huilong South Road, Rucheng street, Rugao City, Nantong City, Jiangsu Province

Patentee after: Nantong zhuoxiao Automation Co.,Ltd.

Address before: 226500 group 4, Hongxing Village, Rucheng street, Rugao City, Nantong City, Jiangsu Province (in the house of Jiang Jiushan)

Patentee before: RUGAO CHIJIU STAINLESS STEEL PIPE FACTORY