CN104426798B - A kind of data processing method and electronic equipment - Google Patents

A kind of data processing method and electronic equipment Download PDF

Info

Publication number
CN104426798B
CN104426798B CN201310392117.4A CN201310392117A CN104426798B CN 104426798 B CN104426798 B CN 104426798B CN 201310392117 A CN201310392117 A CN 201310392117A CN 104426798 B CN104426798 B CN 104426798B
Authority
CN
China
Prior art keywords
terminal
data communications
threshold value
communications requests
electronic equipment
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
CN201310392117.4A
Other languages
Chinese (zh)
Other versions
CN104426798A (en
Inventor
杨亚军
杨杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201310392117.4A priority Critical patent/CN104426798B/en
Publication of CN104426798A publication Critical patent/CN104426798A/en
Application granted granted Critical
Publication of CN104426798B publication Critical patent/CN104426798B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of data processing method, and applied in electronic equipment, the electronic equipment communicates with least one terminal data;Methods described includes:The threshold value of each terminal data communication is set;The threshold value is to distribute to the minimum communication bandwidth of each terminal;When electronic equipment receives the data communications requests that at least one terminal is sent, the data communications requests information and corresponding threshold value, the operation to the data communications requests is performed according to comparative result.The present invention also discloses a kind of electronic equipment.Using technical scheme, on the one hand the data bandwidth resource in electronic equipment is made to be fully used and will not waste, on the other hand the lowest-bandwidth demand of user is in turn ensured that, the data communication quality of user is guaranteed, greatly improves the experience of user.

Description

A kind of data processing method and electronic equipment
Technical field
The present invention relates to data processing technique, and in particular to a kind of data processing method and electronic equipment.
Background technology
When electronic equipment and multiple terminals are carried out in data communication process, generally only the corresponding each terminal of setting carries out data The maximum bandwidth of transmission, but in the data transmission procedure of reality, the data transfer of corresponding each terminal often all without up to To maximum bandwidth, so data bandwidth resource can be made to be not fully utilized, cause the serious waste of data bandwidth resource.
The content of the invention
In view of this, it is a primary object of the present invention to provide a kind of data processing method and electronic equipment, can meet Data bandwidth resource in electronic equipment makes full use of, and and can ensures the lowest-bandwidth demand of user, lifts the experience of user.
To reach above-mentioned purpose, the technical proposal of the invention is realized in this way:
A kind of data processing method, applied in electronic equipment, the electronic equipment communicates with least one terminal data; Characterized in that, methods described includes:The threshold value of each terminal data communication is set;The threshold value is to distribute to each terminal Minimum communication bandwidth;It is more described at least one when electronic equipment receives the data communications requests that at least one terminal is sent The threshold value corresponding to the data communications requests information and the terminal of terminal, being performed according to comparative result please to data communication The operation asked.
Data processing method provided in an embodiment of the present invention and electronic equipment, each terminal data is set in the electronic device The threshold value of communication;The threshold value is minimum communication bandwidth corresponding to each terminal;Electronic equipment receives at least one terminal hair During the data communications requests sent, the data communications requests information and corresponding threshold value, performed according to comparative result to institute State the operation of data communications requests.Using the technical scheme of the embodiment of the present invention, the data in electronic equipment are on the one hand met Making full use of for bandwidth resources and will not waste, on the other hand in turn ensure that the lowest-bandwidth demand of user, make the data of user Communication quality is guaranteed, and greatly improves the experience of user.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of the data processing method of the embodiment of the present invention one;
Fig. 2 is the schematic flow sheet of the data processing method of the embodiment of the present invention two;
Fig. 3 is the schematic flow sheet of the data processing method of the embodiment of the present invention three;
Fig. 4 is the schematic flow sheet of the data processing method of the embodiment of the present invention four;
Fig. 5 is the schematic flow sheet of the data processing method of the embodiment of the present invention five;
Fig. 6 is the schematic flow sheet of the data processing method of the embodiment of the present invention six;
Fig. 7 is the composition structural representation of the electronic equipment of the embodiment of the present invention one;
Fig. 8 is the composition structural representation of the electronic equipment of the embodiment of the present invention three;
Fig. 9 is the composition structural representation of the electronic equipment of the embodiment of the present invention five.
Embodiment
Below in conjunction with the accompanying drawings and specific embodiment the present invention is further detailed explanation.
A kind of data processing method provided in an embodiment of the present invention, applied in electronic equipment, the electronic equipment with extremely Few terminal data communication;Fig. 1 is the schematic flow sheet of the data processing method of the embodiment of the present invention one, as shown in figure 1, bag Include following steps:
Step 101:The threshold value of each terminal data communication is set;The threshold value is to distribute to the minimum communication of each terminal Bandwidth.
In present embodiment, the terminal can be virtual machine, and the virtual machine can be set including at least one dummy block Standby, the Virtual Block Device both can be the Virtual Block Device of block device form or the dummy block of image file form Equipment;For each virtual machine, all there are one group of data transmission parameters to be communicated with each virtual machine in the electronic equipment, including Current data transfer rate, read-write operation number per second, the bandwidth used etc., for represent the electronic equipment with it is corresponding Virtual machine data transmission quality;The threshold value is the minimum data communication bandwidth that electronic equipment distributes to each terminal, such as This, it is ensured that the minimum communication requirement of terminal.
For example, a width of 100M of band of the data communication of electronic equipment, the electronic equipment and three virtual machines carry out data Communication, the minimum data communication bandwidth of corresponding each virtual machine, such as the minimum of the first virtual machine are set in the electronic device It is 10M according to communication bandwidth, the minimum data communication bandwidth of the second virtual machine is 20M, the minimum data communication band of the 3rd virtual machine A width of 30M, so, it is ensured that the minimum data communication bandwidth of each virtual machine, when some virtual machine is due to accident number When being steeply risen according to transmission quantity, electronic equipment can ensure that the data communication bandwidth of other virtual machines is unaffected, it is ensured that electricity The data communication quality of sub- equipment.
Step 102:When electronic equipment receives the data communications requests that at least one terminal is sent, the data are led to Believe solicited message and corresponding threshold value, the operation to the data communications requests is performed according to comparative result.
In present embodiment, the data communications requests information enters row data communication for electronic equipment with the terminal have been made Data communication bandwidth;The threshold value is the minimum data communication bandwidth of each terminal distribution;Compare each terminal The data communication bandwidth and minimum data communication bandwidth used, comparative result is obtained, performed according to the comparative result and set in advance The operation strategy put.
Wherein, the operation strategy pre-set includes:Corresponding to being less than or equal to when the data communications requests information During threshold value, the data communications requests are immediately treated;When the data communications requests information is more than corresponding threshold value, acquisition removes The data communications requests information of the other-end of at least one terminal and the comparative result of corresponding threshold value, it is determined that in the presence of removing When the data communications requests information of terminal beyond at least one terminal is less than or equal to its corresponding threshold value, by the data Communication request adds buffering queue;It is determined that the data communications requests information of all terminals in addition at least one terminal is equal During more than its corresponding threshold value, the data communications requests of the terminal are immediately treated.
Data processing method provided in an embodiment of the present invention, the threshold of each terminal data communication is set in the electronic device Value;The threshold value is minimum communication bandwidth corresponding to each terminal;The data communication that terminal transmission is received when electronic equipment please When asking, the data communications requests information and corresponding threshold value of the terminal, performed according to comparative result and the data are led to The operation of request is believed, in this way, on the one hand meeting making full use of and will not wasting for the data bandwidth resource in electronic equipment, separately On the one hand the lowest-bandwidth demand of user is in turn ensured that, the data communication quality of user is guaranteed, greatly improves use The experience at family.
Fig. 2 is the schematic flow sheet of the data processing method of the embodiment of the present invention two, the data processing side in the present embodiment Method is applied in electronic equipment, and the electronic equipment communicates with least one terminal data;As shown in Fig. 2 comprise the following steps:
Step 201:The threshold value of each terminal data communication is set;The threshold value is to distribute to the minimum communication of each terminal Bandwidth;
In present embodiment, the terminal can be virtual machine, and the virtual machine can be set including at least one dummy block Standby, the Virtual Block Device both can be the Virtual Block Device of block device form or the dummy block of image file form Equipment;For each virtual machine, all there are one group of data transmission parameters to be communicated with each virtual machine in the electronic equipment, including Current data transfer rate, read-write operation number per second, the bandwidth used etc., for represent the electronic equipment with it is corresponding Virtual machine data transmission quality;The threshold value is the minimum data communication bandwidth that electronic equipment distributes to each terminal, such as This, it is ensured that the minimum data communication bandwidth of each virtual machine, when some virtual machine because incident data transmission quantity is anxious When play rises, electronic equipment can ensure that the data communication bandwidth of other virtual machines is unaffected, it is ensured that the number of electronic equipment According to communication quality.
Step 202:When electronic equipment receives the data communications requests that at least one terminal is sent, the data are led to Solicited message and corresponding threshold value are believed, when the comparative result is that the data communications requests information is less than or equal to its corresponding threshold During value, the data communications requests are immediately treated.
In present embodiment, the data communications requests information enters row data communication for electronic equipment with each terminal have been made Data communication bandwidth;The threshold value is the minimum data communication bandwidth of each terminal distribution.When the comparative result is When the data communications requests information of at least one terminal is less than or equal to its corresponding threshold value, according in step 102 The operation strategy pre-set, the data communications requests are immediately treated, to meet the data bandwidth resource in electronic equipment It is fully used.
Data processing method provided in an embodiment of the present invention, the threshold of each terminal data communication is set in the electronic device Value;The threshold value is minimum communication bandwidth corresponding to each terminal;The data communication that terminal transmission is received when electronic equipment please When asking, the data communications requests information and corresponding threshold value of the terminal, when the comparative result is data communications requests When information is less than or equal to its corresponding threshold value, the data communications requests are immediately treated, in this way, on the one hand meeting electronic equipment In data bandwidth resource make full use of and will not waste, on the other hand in turn ensure that the lowest-bandwidth demand of user, use The data communication quality at family is guaranteed, and greatly improves the experience of user.
Fig. 3 is the schematic flow sheet of the data processing method of the embodiment of the present invention three, the data processing side in the present embodiment Method is applied in electronic equipment, and the electronic equipment communicates with least one terminal data;As shown in figure 3, comprise the following steps:
Step 301:The threshold value of each terminal data communication is set;The threshold value is to distribute to the minimum communication of each terminal Bandwidth.
In present embodiment, the terminal can be virtual machine, and the virtual machine can be set including at least one dummy block Standby, the Virtual Block Device both can be the Virtual Block Device of block device form or the dummy block of image file form Equipment;For each virtual machine, all there are one group of data transmission parameters to be communicated with each virtual machine in the electronic equipment, including Current data transfer rate, read-write operation number per second, the bandwidth used etc., for represent the electronic equipment with it is corresponding Virtual machine data transmission quality;The threshold value is the minimum data communication bandwidth that electronic equipment distributes to each terminal, such as This, it is ensured that the minimum data communication bandwidth of each virtual machine, when some virtual machine because incident data transmission quantity is anxious When play rises, electronic equipment can ensure that the data communication bandwidth of other virtual machines is unaffected, it is ensured that the number of electronic equipment According to communication quality.
Step 302:When electronic equipment receives the data communications requests that at least one terminal is sent, the data are led to Solicited message and corresponding threshold value are believed, when the comparative result is that the data communications requests information is more than its corresponding threshold value When, obtain the data communications requests information of terminal and the comparative result of corresponding threshold value in addition to the terminal.
In present embodiment, the data communications requests information enters row data communication for electronic equipment with each terminal have been made Data communication bandwidth;The threshold value is the minimum data communication bandwidth of each terminal distribution.When the comparative result is When the data communications requests information is more than its corresponding threshold value, according to the described operation plan pre-set in step 102 Slightly, the data communications requests information of the terminal in addition to the terminal and the comparative result of corresponding threshold value are obtained, according to except described The comparative result of the data communications requests information of terminal beyond terminal and corresponding threshold value performs corresponding strategy.
Step 303:It is determined that be less than in the presence of the data communications requests information of the terminal in addition at least one terminal etc. When its corresponding threshold value, the data communications requests are added into buffering queue.
In present embodiment, when the comparative result of at least one terminal is more than it for the data communications requests information During corresponding threshold value, electronic equipment determine except at least one terminal other-end comparative result, it is determined that it is described other There is data communications requests information and be less than or equal to its corresponding threshold value in terminal, that is, the other-end be present and be not up to corresponding to it During minimum communication bandwidth, the data communications requests of at least one terminal are added to respective buffering queue.
Data processing method provided in an embodiment of the present invention, the threshold of each terminal data communication is set in the electronic device Value;The threshold value is minimum communication bandwidth corresponding to each terminal;The data communication that terminal transmission is received when electronic equipment please When asking, the data communications requests information and corresponding threshold value of the terminal, when the comparative result is data communications requests When information is less than or equal to its corresponding threshold value, obtains the data communications requests information of the terminal in addition to the terminal and correspond to threshold The comparative result of value, it is determined that being less than or equal to its corresponding threshold in the presence of the data communications requests information of the terminal in addition to the terminal During value, the data communications requests are added into buffering queue, in this way, on the one hand meeting the data bandwidth resource in electronic equipment Make full use of and will not waste, on the other hand in turn ensure that the lowest-bandwidth demand of user, make the data communication quality of user It is guaranteed, greatly improves the experience of user.
Fig. 4 is the schematic flow sheet of the data processing method of the embodiment of the present invention four, the data processing side in the present embodiment Method is applied in electronic equipment, and the electronic equipment communicates with least one terminal data;As shown in figure 4, comprise the following steps:
Step 401:The threshold value of each terminal data communication is set;The threshold value is to distribute to the minimum communication of each terminal Bandwidth;
In present embodiment, the terminal can be virtual machine, and the virtual machine can be set including at least one dummy block Standby, the Virtual Block Device both can be the Virtual Block Device of block device form or the dummy block of image file form Equipment;For each virtual machine, all there are one group of data transmission parameters to be communicated with each virtual machine in the electronic equipment, including Current data transfer rate, read-write operation number per second, the bandwidth used etc., for represent the electronic equipment with it is corresponding Virtual machine data transmission quality;The threshold value is the minimum data communication bandwidth that electronic equipment distributes to each terminal, such as This, it is ensured that the minimum data communication bandwidth of each virtual machine, when some virtual machine because incident data transmission quantity is anxious When play rises, electronic equipment can ensure that the data communication bandwidth of other virtual machines is unaffected, it is ensured that the number of electronic equipment According to communication quality.
Step 402:When electronic equipment receives the data communications requests that at least one terminal is sent, the data are led to Solicited message and corresponding threshold value are believed, when the comparative result is that the data communications requests information is more than its corresponding threshold value When, obtain the data communications requests information of terminal and the comparative result of corresponding threshold value in addition at least one terminal.
In present embodiment, the data communications requests information enters row data communication for electronic equipment with each terminal have been made Data communication bandwidth;The threshold value is the minimum data communication bandwidth of each terminal distribution.When the comparative result is When the data communications requests information of the terminal is more than its corresponding threshold value, set in advance according to according to described in step 102 The operation strategy put, the data communications requests information of terminal and the comparative result of corresponding threshold value in addition to the terminal are obtained, Corresponding strategy is performed according to the comparative result of the data communications requests information of the terminal in addition to the terminal and corresponding threshold value.
Step 403:It is determined that the data communications requests information of all terminals in addition at least one terminal is all higher than During its corresponding threshold value, the data communications requests of the terminal are immediately treated.
In present embodiment, when the comparative result of at least one terminal is more than it for the data communications requests information During corresponding threshold value, electronic equipment determine except at least one terminal other-end comparative result, it is determined that it is described other There is data communications requests information and be all higher than its corresponding threshold value in terminal, i.e., described other-end reaches most low pass corresponding to it When believing bandwidth, the electronic equipment immediately treats the data communications requests of the terminal.
Data processing method provided in an embodiment of the present invention, the threshold of each terminal data communication is set in the electronic device Value;The threshold value is minimum communication bandwidth corresponding to each terminal;The data communication that terminal transmission is received when electronic equipment please When asking, the data communications requests information and corresponding threshold value of the terminal, when the comparative result is data communications requests When information is less than or equal to its corresponding threshold value, obtains the data communications requests information of the terminal in addition to the terminal and correspond to threshold The comparative result of value, it is determined that the data communications requests information of all terminals in addition to the terminal is all higher than its corresponding threshold value When, the electronic equipment immediately treats the data communications requests of the terminal, in this way, on the one hand meeting the number in electronic equipment It will not be wasted according to making full use of for bandwidth resources, on the other hand in turn ensure that the lowest-bandwidth demand of user, make the number of user It is guaranteed according to communication quality, greatly improves the experience of user.
Fig. 5 is the schematic flow sheet of the data processing method of the embodiment of the present invention five, the data processing side in the present embodiment Method is applied in electronic equipment, and the electronic equipment communicates with least one terminal data;As shown in figure 5, comprise the following steps:
Step 501:The threshold value of each terminal data communication is set;The threshold value is to distribute to the minimum communication of each terminal Bandwidth.
In present embodiment, the terminal can be virtual machine, and the virtual machine can be set including at least one dummy block Standby, the Virtual Block Device both can be the Virtual Block Device of block device form or the dummy block of image file form Equipment;For each virtual machine, all there are one group of data transmission parameters to be communicated with each virtual machine in the electronic equipment, including Current data transfer rate, read-write operation number per second, the bandwidth used etc., for represent the electronic equipment with it is corresponding Virtual machine data transmission quality;The threshold value is the minimum data communication bandwidth that electronic equipment distributes to each terminal, such as This, it is ensured that the minimum data communication bandwidth of each virtual machine, when some virtual machine because incident data transmission quantity is anxious When play rises, electronic equipment can ensure that the data communication bandwidth of other virtual machines is unaffected, it is ensured that the number of electronic equipment According to communication quality.
Step 502:The data communications setting timer of each corresponding terminal.
Step 503:When electronic equipment receives the data communications requests that at least one terminal is sent, the data are led to Solicited message and corresponding threshold value are believed, when the comparative result is that the data communications requests information is more than its corresponding threshold value When, obtain the data communications requests information of terminal and the comparative result of corresponding threshold value in addition at least one terminal.
In present embodiment, the data communications requests information enters row data communication for electronic equipment with each terminal have been made Data communication bandwidth;The threshold value is the minimum data communication bandwidth of each terminal distribution.When the comparative result is When the data communications requests information of the terminal is more than its corresponding threshold value, set in advance according to according to described in step 102 The operation strategy put, the data communications requests information of terminal and the comparative result of corresponding threshold value in addition to the terminal are obtained, Corresponding strategy is performed according to the comparative result of the data communications requests information of the terminal in addition to the terminal and corresponding threshold value.
Step 504:It is determined that be less than in the presence of the data communications requests information of the terminal in addition at least one terminal etc. When its corresponding threshold value, the data communications requests are added into buffering queue, and open the timer of the corresponding terminal.
Step 505:After the timer expiry, the data communications requests information of the terminal and corresponding again Threshold value, the operation of the data communications requests is performed according to comparative result.
In the present embodiment, after the timer expiry, the electronic equipment at least one terminal again Data communications requests information and corresponding threshold value simultaneously obtain comparative result, are performed according to comparative result described in step 102 The operation strategy pre-set.
Data processing method provided in an embodiment of the present invention, the threshold of each terminal data communication is set in the electronic device Value;The threshold value is minimum communication bandwidth corresponding to each terminal;The data communications setting timer of each corresponding terminal;When When electronic equipment receives the data communications requests of terminal transmission, the data communications requests information of the terminal and corresponding Threshold value, when the comparative result be data communications requests information be less than or equal to its corresponding threshold value when, obtain remove the terminal with The comparative result of the data communications requests information of outer terminal and corresponding threshold value, it is determined that in the presence of the terminal in addition to the terminal When data communications requests information is less than or equal to its corresponding threshold value, the data communications requests are added buffering queue and opened and are determined When device, after timer expiry, the data communications requests information of the terminal and corresponding threshold value again, according to comparing knot Fruit performs the operation of the data communications requests, in this way, on the one hand meeting the abundant of the data bandwidth resource in electronic equipment Using and will not waste, on the other hand in turn ensure that the lowest-bandwidth demand of user, obtain the data communication quality of user Ensure, greatly improve the experience of user.
Fig. 6 is the schematic flow sheet of the data processing method of the embodiment of the present invention six, the data processing side in the present embodiment Method is applied in electronic equipment, and the electronic equipment communicates with least one terminal data;As shown in fig. 6, comprise the following steps:
Step 601:The threshold value of each terminal data communication is set;The threshold value is to distribute to the minimum communication of each terminal Bandwidth.
In present embodiment, the terminal can be virtual machine, and the virtual machine can be set including at least one dummy block Standby, the Virtual Block Device both can be the Virtual Block Device of block device form or the dummy block of image file form Equipment;For each virtual machine, all there are one group of data transmission parameters to be communicated with each virtual machine in the electronic equipment, including Current data transfer rate, read-write operation number per second, the bandwidth used etc., for represent the electronic equipment with it is corresponding Virtual machine data transmission quality;The threshold value is the minimum data communication bandwidth that electronic equipment distributes to each terminal, such as This, it is ensured that the minimum data communication bandwidth of each virtual machine, when some virtual machine because incident data transmission quantity is anxious When play rises, electronic equipment can ensure that the data communication bandwidth of other virtual machines is unaffected, it is ensured that the number of electronic equipment According to communication quality.
Step 602:Electronic equipment receives the data communications requests that at least one terminal is sent.
Step 603:Compare the data communications requests information of at least one terminal and corresponding threshold value, when the comparison When being as a result more than its corresponding threshold value for the data communications requests information of all terminals, by the remaining data communication resource by default rule Then distribute at least one terminal.
In present embodiment, the data communications requests information enters row data communication for electronic equipment with each terminal have been made Data communication bandwidth;The threshold value is the minimum data communication bandwidth of each terminal distribution.When the comparative result is The data communications requests information of all terminals is more than its corresponding threshold value, i.e., the used data communication bandwidth of all terminals reaches During to its corresponding minimum data communication bandwidth, the remaining data communication resource is distributed at least one end by preset rules End;The preset rules can be the priority rule by data service, by the remaining data communication resource distribution to preferential Several terminals before level ranking, or can lead to the remaining data according to the time order and function rule of the data communications requests received Believe resource allocation preceding several terminals first to the transmission data communications requests etc..
In the technical scheme that the embodiment of the present invention is provided, the threshold of each terminal data communication is set in the electronic device Value;The threshold value is minimum communication bandwidth corresponding to each terminal;Electronic equipment receives the data that at least one terminal is sent During communication request, the data communications requests information and corresponding threshold value of at least one terminal, when the comparative result When being more than its corresponding threshold value for the data communications requests information of all terminals, the remaining data communication resource of itself is obtained, will The remaining data communication resource distributes at least one terminal by preset rules, is set in this way, on the one hand meeting electronics Making full use of and will not wasting for data bandwidth resource in standby, on the other hand in turn ensures that the lowest-bandwidth demand of user, makes The data communication quality of user is guaranteed, and greatly improves the experience of user.
The embodiment of the present invention describes a kind of electronic equipment, and the electronic equipment communicates with least one terminal data;Fig. 7 For the composition structural representation of the electronic equipment of the embodiment of the present invention one, as shown in fig. 7, the electronic equipment includes:Set single Member 71, receiving unit 72 and first processing units 73;Wherein,
The setting unit 71, for setting the threshold value of each terminal data communication;The threshold value is to distribute to each end The minimum communication bandwidth at end;
The receiving unit 72, the data communications requests sent for receiving at least one terminal;
The first processing units 73, for the data communications requests information of at least one terminal and corresponding Threshold value obtains comparative result, and the operation to the data communications requests is performed according to the comparative result.
In the present embodiment, the setting unit 71 includes at least one setting subelement;
The setting unit is its corresponding setting subelement of at least one terminal distribution;
The threshold value for setting subelement to set and storing the terminal corresponding to it.
For example, electronic equipment and three terminals enter row data communication, then including at least three in the setting unit sets Subelement is put, for setting and storing the minimum data bandwidth of counterpart terminal respectively;The setting subelement and the terminal one One correspondence.
Wherein, the setting subelement obtains the data communications requests information of its corresponding terminal and stores the number in real time According to communication request information.
It will be appreciated by those skilled in the art that in the electronic equipment of the embodiment of the present invention each processing unit function, can join Understand, each processing unit in the electronic equipment of the embodiment of the present invention according to the associated description of aforementioned data processing method, can pass through Realize the analog circuit of the function described in the embodiment of the present invention and realize, can also be by performing the work(described in the embodiment of the present invention Can operation of the software on intelligent terminal and realize.
The a kind of electronic equipment that the embodiment of the present invention two is recorded, the electronic equipment communicate with least one terminal data, The composition structure of the electronic equipment of the embodiment of the present invention two is as shown in fig. 7, the electronic equipment includes:Setting unit 71, receive Unit 72 and first processing units 73;Wherein,
The setting unit 71, for setting the threshold value of each terminal data communication;The threshold value is to distribute to each end Minimum communication bandwidth corresponding to end;
The receiving unit 72, the data communications requests sent for receiving at least one terminal;
The first processing units 73, for the data communications requests information of at least one terminal and corresponding Threshold value obtains comparative result, when the comparative result is that the data communications requests information is less than or equal to its corresponding threshold value, Immediately treat the data communications requests.
In the present embodiment, the setting unit 71 includes at least one setting subelement;
The setting unit is its corresponding setting subelement of at least one terminal distribution;
The threshold value for setting subelement to set and storing the terminal corresponding to it.
For example, electronic equipment and three terminals enter row data communication, then including at least three in the setting unit sets Subelement is put, for setting and storing the minimum data bandwidth of counterpart terminal respectively;The setting subelement and the terminal one One correspondence.
Wherein, the setting subelement obtains the data communications requests information of its corresponding terminal and stores the number in real time According to communication request information.
It will be appreciated by those skilled in the art that in the electronic equipment of the embodiment of the present invention each processing unit function, can join Understand, each processing unit in the electronic equipment of the embodiment of the present invention according to the associated description of aforementioned data processing method, can pass through Realize the analog circuit of the function described in the embodiment of the present invention and realize, can also be by performing the work(described in the embodiment of the present invention Can operation of the software on intelligent terminal and realize.
The embodiment of the present invention also describes a kind of electronic equipment, and the electronic equipment communicates with least one terminal data; Fig. 8 is the composition structural representation of the electronic equipment of the embodiment of the present invention three, as shown in figure 8, the electronic equipment includes:Set Unit 71, receiving unit 72, first processing units 73 and judging unit 74;Wherein,
The setting unit 71, for setting the threshold value of each terminal data communication;The threshold value is to distribute to each end Minimum communication bandwidth corresponding to end;
The receiving unit 72, the data communications requests sent for receiving at least one terminal;
The first processing units 73, for the data communications requests information of at least one terminal and corresponding Threshold value obtains comparative result, when the comparative result is that the data communications requests information is more than its corresponding threshold value, and institute The judged result for stating judging unit 74 is small the data communications requests information of the terminal in addition at least one terminal to be present When equal to its corresponding threshold value, the data communications requests are added into buffering queue.
The judging unit 74, for obtaining the data communications requests information of the terminal in addition at least one terminal With the comparative result of corresponding threshold value, and the data communications requests of the terminal in addition at least one terminal are judged whether Information is less than or equal to its corresponding threshold value.
In the present embodiment, the setting unit 71 includes at least one setting subelement;
The setting unit is its corresponding setting subelement of at least one terminal distribution;
The threshold value for setting subelement to set and storing the terminal corresponding to it.
For example, electronic equipment and three terminals enter row data communication, then including at least three in the setting unit sets Subelement is put, for setting and storing the minimum data bandwidth of counterpart terminal respectively;The setting subelement and the terminal one One correspondence.
Wherein, the setting subelement obtains the data communications requests information of its corresponding terminal and stores the number in real time According to communication request information.
It will be appreciated by those skilled in the art that in the electronic equipment of the embodiment of the present invention each processing unit function, can join Understand, each processing unit in the electronic equipment of the embodiment of the present invention according to the associated description of aforementioned data processing method, can pass through Realize the analog circuit of the function described in the embodiment of the present invention and realize, can also be by performing the work(described in the embodiment of the present invention Can operation of the software on intelligent terminal and realize.
The embodiment of the present invention four describes a kind of electronic equipment, and the electronic equipment communicates with least one terminal data, The composition structure of the electronic equipment of the embodiment of the present invention four is as shown in figure 8, the electronic equipment includes:Setting unit 71, receive Unit 72, first processing units 73 and judging unit 74;Wherein,
The setting unit 71, for setting the threshold value of each terminal data communication;The threshold value is to distribute to each end Minimum communication bandwidth corresponding to end;
The receiving unit 72, the data communications requests sent for receiving at least one terminal;
The first processing units 73, for the data communications requests information of at least one terminal and corresponding Threshold value obtains comparative result, when the comparative result is that the data communications requests information is more than its corresponding threshold value, and institute The judged result for stating judging unit 74 is equal for the data communications requests information of all terminals in addition at least one terminal During more than its corresponding threshold value, the data communications requests are immediately treated.
The judging unit 74, for obtaining the data communications requests information of the terminal in addition at least one terminal With the comparative result of corresponding threshold value, and the data communications requests of the terminal in addition at least one terminal are judged whether Information is less than or equal to its corresponding threshold value.
In the present embodiment, the setting unit 71 includes at least one setting subelement;
The setting unit is its corresponding setting subelement of at least one terminal distribution;
The threshold value for setting subelement to set and storing the terminal corresponding to it.
For example, electronic equipment and three terminals enter row data communication, then including at least three in the setting unit sets Subelement is put, for setting and storing the minimum data bandwidth of counterpart terminal respectively;The setting subelement and the terminal one One correspondence.
Wherein, the setting subelement obtains the data communications requests information of its corresponding terminal and stores the number in real time According to communication request information.
It will be appreciated by those skilled in the art that in the electronic equipment of the embodiment of the present invention each processing unit function, can join Understand, each processing unit in the electronic equipment of the embodiment of the present invention according to the associated description of aforementioned data processing method, can pass through Realize the analog circuit of the function described in the embodiment of the present invention and realize, can also be by performing the work(described in the embodiment of the present invention Can operation of the software on intelligent terminal and realize.
The embodiment of the present invention also describes a kind of electronic equipment, and the electronic equipment communicates with least one terminal data; Fig. 9 is the composition structural representation of the electronic equipment of the embodiment of the present invention five, as shown in figure 9, the electronic equipment includes:Set Unit 71, receiving unit 72, first processing units 73, judging unit 74 and timer 75;Wherein,
The setting unit 71, for setting the threshold value of each terminal data communication;The threshold value is to distribute to each end Minimum communication bandwidth corresponding to end;
The timer 75, for setting time;
The receiving unit 72, the data communications requests sent for receiving at least one terminal;
The first processing units 73, for the data communications requests information of at least one terminal and corresponding Threshold value obtains comparative result, when the comparative result is that the data communications requests information is more than its corresponding threshold value, and institute The judged result for stating judging unit 74 is small the data communications requests information of the terminal in addition at least one terminal to be present When equal to its corresponding threshold value, the data communications requests are added into buffering queue and trigger opening timing device;It is additionally operable to work as After the timer expiry, the data communications requests information of comparison terminal and corresponding threshold value, are performed according to comparative result again Operation to the data communications requests.
The judging unit 74, for obtaining the data communications requests information of the terminal in addition at least one terminal With the comparative result of corresponding threshold value, and the data communications requests of the terminal in addition at least one terminal are judged whether Information is less than or equal to its corresponding threshold value.
In the present embodiment, the setting unit 71 includes at least one setting subelement;
The setting unit is its corresponding setting subelement of at least one terminal distribution;
The threshold value for setting subelement to set and storing the terminal corresponding to it.
For example, electronic equipment and three terminals enter row data communication, then including at least three in the setting unit sets Subelement is put, for setting and storing the minimum data bandwidth of counterpart terminal respectively;The setting subelement and the terminal one One correspondence.
Wherein, the setting subelement obtains the data communications requests information of its corresponding terminal and stores the number in real time According to communication request information.
It will be appreciated by those skilled in the art that in the electronic equipment of the embodiment of the present invention each processing unit function, can join Understand, each processing unit in the electronic equipment of the embodiment of the present invention according to the associated description of aforementioned data processing method, can pass through Realize the analog circuit of the function described in the embodiment of the present invention and realize, can also be by performing the work(described in the embodiment of the present invention Can operation of the software on intelligent terminal and realize.
The embodiment of the present invention also describes a kind of electronic equipment, and the electronic equipment communicates with least one terminal data, The composition structure of the electronic equipment of the embodiment of the present invention six is as shown in fig. 7, the electronic equipment includes:Setting unit 71, receive Unit 72 and first processing units 73;Wherein,
The setting unit 71, for setting the threshold value of each terminal data communication;The threshold value is to distribute to each end Minimum communication bandwidth corresponding to end;
The receiving unit 72, the data communications requests sent for receiving at least one terminal;
The first processing units 73, for the data communications requests information of at least one terminal and corresponding Threshold value obtains comparative result, and when the comparative result, for the data communications requests information of at least one terminal, to be all higher than its right During the threshold value answered, the remaining communication resource is distributed at least one terminal by preset rules.
In the present embodiment, the setting unit 71 includes at least one setting subelement;
The setting unit is its corresponding setting subelement of at least one terminal distribution;
The threshold value for setting subelement to set and storing the terminal corresponding to it.
For example, electronic equipment and three terminals enter row data communication, then including at least three in the setting unit sets Subelement is put, for setting and storing the minimum data bandwidth of counterpart terminal respectively;The setting subelement and the terminal one One correspondence.
Wherein, the setting subelement obtains the data communications requests information of its corresponding terminal and stores the number in real time According to communication request information.
It will be appreciated by those skilled in the art that in the electronic equipment of the embodiment of the present invention each processing unit function, can join Understand, each processing unit in the electronic equipment of the embodiment of the present invention according to the associated description of aforementioned data processing method, can pass through Realize the analog circuit of the function described in the embodiment of the present invention and realize, can also be by performing the work(described in the embodiment of the present invention Can operation of the software on intelligent terminal and realize.
Wherein, the setting unit 71, the first processing units 73, the judging unit 74 in actual applications, Can be by the central processing unit in electronic equipment(CPU, Central Processing Unit), digital signal processor(DSP, Digital Singnal Processor)Or programmable logic array(FPGA, Field-Programmable Gate Array)Realize;The receiving unit 72 in actual applications, can be realized by receiver or reception antenna.
In the technical scheme that the embodiment of the present invention is provided, the threshold of each terminal data communication is set in the electronic device Value;The threshold value is minimum communication bandwidth corresponding to each terminal;Electronic equipment receives the data communication that the terminal is sent During request, the data communications requests information and corresponding threshold value of comparison terminal, performed according to comparative result and the data are communicated The operation of request, in this way, making full use of and will not wasting for the data bandwidth resource in electronic equipment is on the one hand met, it is another Aspect in turn ensures that the lowest-bandwidth demand of user, the data communication quality of user is guaranteed, greatly improves user Experience.
In the technical scheme that the embodiment of the present invention is provided, the threshold of each terminal data communication is set in the electronic device Value;The threshold value is minimum communication bandwidth corresponding to each terminal;Electronic equipment receives the data communication that the terminal is sent During request, the data communications requests information and corresponding threshold value of comparison terminal, performed according to comparative result and the data are communicated The operation of request, in this way, making full use of and will not wasting for the data bandwidth resource in electronic equipment is on the one hand met, it is another Aspect in turn ensures that the lowest-bandwidth demand of user, the data communication quality of user is guaranteed, greatly improves user Experience.
In several embodiments provided by the present invention, it should be understood that disclosed method and electronic equipment, Ke Yitong Other modes are crossed to realize.Apparatus embodiments described above are only schematical, for example, the division of the unit, only Only a kind of division of logic function, can have other dividing mode, such as when actually realizing:Multiple units or component can be tied Close, or be desirably integrated into another system, or some features can be ignored, or do not perform.In addition, shown or discussed each group Into the mutual coupling in part or direct-coupling or communication connection can be by some interfaces, equipment or unit it is indirect Coupling or communication connection, can be electrical, mechanical or other forms.
The above-mentioned unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can positioned at a place, can also be distributed to multiple network lists In member;Partly or entirely unit therein can be selected to realize the purpose of this embodiment scheme according to the actual needs.
In addition, each functional unit in various embodiments of the present invention can be fully integrated into a processing unit, also may be used To be each unit individually as a unit, can also two or more units it is integrated in a unit;It is above-mentioned Integrated unit can both be realized in the form of hardware, can also be realized in the form of hardware adds SFU software functional unit.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through Programmed instruction related hardware is completed, and foregoing program can be stored in a computer read/write memory medium, the program Upon execution, the step of execution includes above method embodiment;And foregoing storage medium includes:It is movable storage device, read-only Memory(ROM, Read-Only Memory), random access memory(RAM, Random Access Memory), magnetic disc or Person's CD etc. is various can be with the medium of store program codes.
Or if the above-mentioned integrated unit of the embodiment of the present invention is realized in the form of software function module and as independently Production marketing or in use, can also be stored in a computer read/write memory medium.Based on such understanding, this hair The part that the technical scheme of bright embodiment substantially contributes to prior art in other words can in the form of software product body Reveal and, the computer software product is stored in a storage medium, including some instructions are causing a computer to set It is standby(Can be personal computer, server or network equipment etc.)Perform the whole of each embodiment methods described of the present invention Or part.And foregoing storage medium includes:Movable storage device, read-only storage(ROM, Read-Only Memory), with Machine accesses memory(RAM, Random Access Memory), magnetic disc or CD etc. are various can be with Jie of store program codes Matter.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover 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 (12)

1. a kind of data processing method, applied in electronic equipment, the electronic equipment communicates with least one terminal data;Its It is characterised by, methods described includes:
The threshold value of each terminal data communication is set;The threshold value is to distribute to the minimum communication bandwidth of each terminal;
When electronic equipment receives the data communications requests that at least one terminal is sent, the data of at least one terminal The threshold value corresponding to communication request information and the terminal, the operation to the data communications requests is performed according to comparative result;
Wherein, the operation performed according to comparative result to the data communications requests, including:When the comparative result is institute The data communications requests information of at least one terminal is stated more than during described threshold value, acquisition removes at least one terminal corresponding to it The comparative result of the data communications requests information of terminal in addition and the corresponding threshold value, when in addition at least one terminal The data communications requests information of all terminals when being all higher than described threshold value corresponding to it, the data for immediately treating the terminal are led to Letter request.
2. according to the method for claim 1, it is characterised in that described performed according to comparative result please to data communication The operation asked, including:
When the comparative result is less than or equal to the threshold corresponding to it for the data communications requests information of at least one terminal During value, the data communications requests are immediately treated.
3. according to the method for claim 1, it is characterised in that methods described also includes:
It is determined that it is less than or equal to its corresponding threshold in the presence of the data communications requests information of the terminal in addition at least one terminal During value, the data communications requests are added into buffering queue.
4. according to the method for claim 3, it is characterised in that the electronic equipment corresponds to the data communication of each terminal Timer is set;It is described that data communications requests are added into buffering queue, including:
Opening timing device, after the timer expiry, the data communications requests information of at least one terminal again With the corresponding threshold value, the operation of the data communications requests of at least one terminal is performed according to comparative result.
5. according to the method for claim 1, it is characterised in that methods described also includes:When at least one terminal When data communications requests information is all higher than the threshold value corresponding to it, the remaining communication resource is pressed preset rules by the electronic equipment Distribute at least one terminal;Priority ranking or reception of the preset rules including at least one terminal The time order and function order of the data communications requests of at least one terminal.
6. a kind of electronic equipment, it is characterised in that the electronic equipment includes:Setting unit, receiving unit and the first processing are single Member;Wherein,
The setting unit, for setting the threshold value of each terminal data communication;The threshold value is to distribute to each terminal most Low communication bandwidth;
The receiving unit, the data communications requests sent for receiving at least one terminal;
The first processing units, obtained for the data communications requests information of at least one terminal and corresponding threshold value Comparative result is obtained, the operation to the data communications requests is performed according to the comparative result;
The electronic equipment also includes judging unit;
The judging unit, for obtaining the data communications requests information and correspondingly of terminal in addition at least one terminal The comparative result of the threshold value, and judge whether the data communications requests letter of the terminal in addition at least one terminal Breath is less than or equal to the threshold value corresponding to it;
The first processing units, it is additionally operable to when the comparative result is more than its corresponding institute for the data communications requests information When stating threshold value, and the judged result of the judging unit is the data communication of all terminals in addition at least one terminal When solicited message is all higher than the threshold value corresponding to it, the data communications requests are immediately treated.
7. electronic equipment according to claim 6, it is characterised in that the first processing units, for when the comparison When being as a result less than or equal to the threshold value corresponding to it for the data communications requests information, immediately treating the data communication please Ask.
8. electronic equipment according to claim 6, it is characterised in that
The first processing units, it is additionally operable to when the comparative result is that data communications requests information is more than the threshold corresponding to it During value, and the judged result of the judging unit is the data communications requests for existing the terminal in addition at least one terminal When information is less than or equal to the threshold value corresponding to it, the data communications requests are added into buffering queue.
9. electronic equipment according to claim 8, it is characterised in that the electronic equipment also includes timer, for setting Fix time;
The first processing units, for by the data communications requests add buffering queue when trigger opening timing device;Also use After when the timer expiry, the data communications requests information of comparison terminal and corresponding threshold value again, according to comparative result Perform the operation to the data communications requests.
10. electronic equipment according to claim 6, it is characterised in that the first processing units, for when the comparison As a result when the data communications requests information at least one terminal is all higher than the threshold value corresponding to it, residue communication is provided At least one terminal is distributed to by preset rules in source;The priority that the preset rules include at least one terminal is arranged The time order and function order of the data communications requests of sequence or at least one terminal received.
11. according to the electronic equipment described in any one of claim 6 to 10, it is characterised in that the setting unit is included at least One setting subelement;
The setting unit is its corresponding setting subelement of at least one terminal distribution;
The threshold value for setting subelement to set and storing the terminal corresponding to it.
12. electronic equipment according to claim 11, it is characterised in that
The setting subelement obtains the data communications requests information of its corresponding terminal and stores the data communication and asks in real time Seek information.
CN201310392117.4A 2013-09-02 2013-09-02 A kind of data processing method and electronic equipment Active CN104426798B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310392117.4A CN104426798B (en) 2013-09-02 2013-09-02 A kind of data processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310392117.4A CN104426798B (en) 2013-09-02 2013-09-02 A kind of data processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN104426798A CN104426798A (en) 2015-03-18
CN104426798B true CN104426798B (en) 2018-02-27

Family

ID=52974772

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310392117.4A Active CN104426798B (en) 2013-09-02 2013-09-02 A kind of data processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN104426798B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107918613B (en) * 2016-10-08 2022-01-21 上海宝存信息科技有限公司 Solid state disk access method according to service quality and device using same
CN106507436A (en) * 2016-12-30 2017-03-15 努比亚技术有限公司 A kind of band width control method and terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1272295A (en) * 1997-09-29 2000-11-01 诺基亚网络有限公司 Allocation of data transmission sources between different networks
CN101064640A (en) * 2006-04-30 2007-10-31 华为技术有限公司 Method, system and node for transmitting data in distributed non-collaboration grid network
CN101159699A (en) * 2007-11-27 2008-04-09 杭州华三通信技术有限公司 Distributed equipment switch network bandwidth dynamic assignment method and apparatus
CN102946432A (en) * 2012-11-16 2013-02-27 深信服网络科技(深圳)有限公司 Bandwidth occupancy rate control method and bandwidth occupancy rate control device
CN103139099A (en) * 2012-12-31 2013-06-05 北京北大众志微系统科技有限责任公司 Self-adapting method and device for bandwidth regulation

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5476852B2 (en) * 2009-08-19 2014-04-23 富士通株式会社 COMMUNICATION DEVICE, COMMUNICATION SYSTEM, AND COMMUNICATION METHOD

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1272295A (en) * 1997-09-29 2000-11-01 诺基亚网络有限公司 Allocation of data transmission sources between different networks
CN101064640A (en) * 2006-04-30 2007-10-31 华为技术有限公司 Method, system and node for transmitting data in distributed non-collaboration grid network
CN101159699A (en) * 2007-11-27 2008-04-09 杭州华三通信技术有限公司 Distributed equipment switch network bandwidth dynamic assignment method and apparatus
CN102946432A (en) * 2012-11-16 2013-02-27 深信服网络科技(深圳)有限公司 Bandwidth occupancy rate control method and bandwidth occupancy rate control device
CN103139099A (en) * 2012-12-31 2013-06-05 北京北大众志微系统科技有限责任公司 Self-adapting method and device for bandwidth regulation

Also Published As

Publication number Publication date
CN104426798A (en) 2015-03-18

Similar Documents

Publication Publication Date Title
CN105357404B (en) A kind of method for switching network, device and communication terminal
CN104468401B (en) A kind of message processing method and device
RU2007121789A (en) METHOD AND DEVICE FOR TRANSMISSION OF PLANNING INFORMATION BETWEEN A USER DEVICE AND A RADIO ACCESS NETWORK USING AN INTERMEDIATE OTHERWISE OTHERWISE FILLING OUT WITH NON-INFORMING INFORMATION
CN102377588A (en) Network transmission control method and system
CN104866185B (en) Control interface display methods and device
CN108040352A (en) Method for processing business, device and mobile terminal under a kind of hybrid network standard
CN107734601A (en) Accidental access method and device in wireless communication system
CN104537005B (en) Data processing method and device for web page crawl
CN104426798B (en) A kind of data processing method and electronic equipment
CN109451537A (en) Network shunt method and relevant device
CN105744034B (en) A kind of screen intensity output method and device
CN106792139A (en) A kind of data dispatching method and data dispatch equipment
CN107968848B (en) A kind of method, terminal device and storage medium obtaining IP address
CN109697090A (en) A kind of method, terminal device and the storage medium of controlling terminal equipment
CN104660780B (en) Electronic equipment and its control method
CN109373521B (en) Communication method and device of air conditioner, outdoor unit, indoor unit and air conditioner
CN103647729B (en) A kind of delay request processing method based on token bucket and device
CN107483310A (en) The method and system of networking between a kind of terminal and forward node
CN108111563A (en) Terminal device and internet of things system in internet of things
CN105392083B (en) A kind of MPP speakers switching method and access controller
CN103828294B (en) Fiduciary power management
CN105072534B (en) A kind of control method and terminal of wireless sound box system
CN103716907A (en) Electronic equipment control method and electronic equipment
CN206317552U (en) Regeneration chip
CN112512131B (en) Power saving method and system for data transmission

Legal Events

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