CN104426798A - Data processing method and electronic device - Google Patents

Data processing method and electronic device Download PDF

Info

Publication number
CN104426798A
CN104426798A CN201310392117.4A CN201310392117A CN104426798A CN 104426798 A CN104426798 A CN 104426798A CN 201310392117 A CN201310392117 A CN 201310392117A CN 104426798 A CN104426798 A CN 104426798A
Authority
CN
China
Prior art keywords
terminal
data communications
threshold value
communications requests
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
CN201310392117.4A
Other languages
Chinese (zh)
Other versions
CN104426798B (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

Abstract

The invention discloses a data processing method, which is applied to an electronic device which is in data communication with at least one terminal. The method comprises the steps of setting a data communication threshold of each terminal, wherein the threshold is the minimum communication bandwidth allocated to each terminal; when the electronic device receives a data communication request transmitted by the at least one terminal, comparing the information of the data communication request with the corresponding threshold, and executing the operation of the data communication request according to the comparison result. The invention further discloses an electronic device. By adopting the technical scheme provided by the invention, on one hand, data bandwidth resources in the electronic device are fully utilized and are not wasted, and on the other hand, the minimum bandwidth demands of users are guaranteed, the data communication quality of the users is guaranteed and the user experience is greatly improved.

Description

A kind of data processing method and electronic equipment
Technical field
The present invention relates to data processing technique, be specifically related to a kind of data processing method and electronic equipment.
Background technology
When electronic equipment and multiple terminal are carried out in data communication process, usually the maximum bandwidth that corresponding each terminal carries out transfer of data is only set, but in the data transmission procedure of reality, the transfer of data of corresponding each terminal often can not reach maximum bandwidth, data bandwidth resource can be made like this to be not fully utilized, to cause the serious waste of data bandwidth resource.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of data processing method and electronic equipment, can meet making full use of of the data bandwidth resource in electronic equipment, can guarantee again the lowest-bandwidth demand of user, promotes the experience of user.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of data processing method, be applied in electronic equipment, described electronic equipment communicates with at least one terminal data; It is characterized in that, described method comprises: the threshold value arranging the communication of each terminal data; Described threshold value is distribute to the minimum communication bandwidth of each terminal; When electronic equipment receives the data communications requests of at least one terminal transmission, the described threshold value that relatively, the data communications requests information of at least one terminal is corresponding with this terminal, performs the operation to described data communications requests according to comparative result.
The data processing method that the embodiment of the present invention provides and electronic equipment, arrange the threshold value of each terminal data communication in the electronic device; Described threshold value is minimum communication bandwidth corresponding to each terminal; When electronic equipment receives the data communications requests of at least one terminal transmission, more described data communications requests information and corresponding threshold value, perform the operation to described data communications requests according to comparative result.Adopt the technical scheme of the embodiment of the present invention, meet making full use of and unlikely waste of the data bandwidth resource in electronic equipment on the one hand, in turn ensure that the lowest-bandwidth demand of user on the other hand, the data communication quality of user is guaranteed, greatly improves the experience of user.
Accompanying drawing explanation
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 drawings and the specific embodiments, the present invention is further detailed explanation.
A kind of data processing method that the embodiment of the present invention provides, be applied in electronic equipment, described electronic equipment communicates with at least one terminal data; 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, comprises the following steps:
Step 101: the threshold value that the communication of each terminal data is set; Described threshold value is distribute to the minimum communication bandwidth of each terminal.
In present embodiment, described terminal can be virtual machine, and described virtual machine can comprise at least one Virtual Block Device, and described Virtual Block Device both can be the Virtual Block Device of block device form, also can be the Virtual Block Device of image file form; For each virtual machine, all there is one group of data transmission parameters communicated with each virtual machine in described electronic equipment, comprise current data transfer rate, read-write operation number of times per second, bandwidth used etc., for representing the data transmission quality of described electronic equipment and corresponding virtual machine; Described threshold value is the minimum data communication bandwidth that each terminal distributed to by electronic equipment, so, can ensure the minimum communication requirement of terminal.
Such as, the bandwidth of the data communication of electronic equipment is 100M, described electronic equipment and three virtual machines carry out data communication, the minimum data communication bandwidth of corresponding each virtual machine is set in the electronic device, the minimum data communication bandwidth of such as the first virtual machine is 10M, the minimum data communication bandwidth of the second virtual machine is 20M, the minimum data communication bandwidth of the 3rd virtual machine is 30M, so, the minimum data communication bandwidth of each virtual machine can be ensured, when certain virtual machine sharply rises due to incident data transmission quantity, electronic equipment can ensure that the data communication bandwidth of other virtual machines is unaffected, ensure that the data communication quality of electronic equipment.
Step 102: when electronic equipment receives the data communications requests of at least one terminal transmission, more described data communications requests information and corresponding threshold value, perform the operation to described data communications requests according to comparative result.
In present embodiment, described data communications requests information is the data communication bandwidth that electronic equipment and described terminal are carried out data communication and used; The minimum data communication bandwidth that described threshold value is each terminal distribution; The data communication bandwidth used of more each terminal and minimum data communication bandwidth, obtain comparative result, perform the operation strategy pre-set according to described comparative result.
Wherein, described in the operation strategy that pre-sets comprise: when described data communications requests information is less than or equal to corresponding threshold value, processing said data communication request immediately; When described data communications requests information is greater than corresponding threshold value, obtain the comparative result except the data communications requests information of the other-end of at least one terminal described and the threshold value of correspondence, when determining that the data communications requests information of the terminal existed except at least one terminal described is less than or equal to the threshold value of its correspondence, described data communications requests is added buffer queue; When determining that the data communications requests information of all terminals except at least one terminal described is all greater than the threshold value of its correspondence, process the data communications requests of described terminal immediately.
The data processing method that the embodiment of the present invention provides, arranges the threshold value of each terminal data communication in the electronic device; Described threshold value is minimum communication bandwidth corresponding to each terminal; When electronic equipment receives the data communications requests of terminal transmission, the data communications requests information of more described terminal and corresponding threshold value, the operation to described data communications requests is performed according to comparative result, so, meet making full use of and unlikely waste of the data bandwidth resource in electronic equipment on the one hand, in turn ensure that the lowest-bandwidth demand of user on the other hand, the data communication quality of user is guaranteed, greatly improves the experience of user.
Fig. 2 is the schematic flow sheet of the data processing method of the embodiment of the present invention two, and the data processing method in the present embodiment is applied in electronic equipment, and described electronic equipment communicates with at least one terminal data; As shown in Figure 2, comprise the following steps:
Step 201: the threshold value that the communication of each terminal data is set; Described threshold value is distribute to the minimum communication bandwidth of each terminal;
In present embodiment, described terminal can be virtual machine, and described virtual machine can comprise at least one Virtual Block Device, and described Virtual Block Device both can be the Virtual Block Device of block device form, also can be the Virtual Block Device of image file form; For each virtual machine, all there is one group of data transmission parameters communicated with each virtual machine in described electronic equipment, comprise current data transfer rate, read-write operation number of times per second, bandwidth used etc., for representing the data transmission quality of described electronic equipment and corresponding virtual machine; Described threshold value is the minimum data communication bandwidth that each terminal distributed to by electronic equipment, so, the minimum data communication bandwidth of each virtual machine can be ensured, when certain virtual machine sharply rises due to incident data transmission quantity, electronic equipment can ensure that the data communication bandwidth of other virtual machines is unaffected, ensure that the data communication quality of electronic equipment.
Step 202: when electronic equipment receives the data communications requests of at least one terminal transmission, more described data communications requests information and corresponding threshold value, when described comparative result be described data communications requests information be less than or equal to the threshold value of its correspondence time, processing said data communication request immediately.
In present embodiment, described data communications requests information is the data communication bandwidth that electronic equipment and each terminal are carried out data communication and used; The minimum data communication bandwidth that described threshold value is each terminal distribution.When the data communications requests information that described comparative result is at least one terminal described is less than or equal to the threshold value of its correspondence, according to the operation strategy pre-set described in step 102, processing said data communication request immediately, is fully used with the data bandwidth resource met in electronic equipment.
The data processing method that the embodiment of the present invention provides, arranges the threshold value of each terminal data communication in the electronic device; Described threshold value is minimum communication bandwidth corresponding to each terminal; When electronic equipment receives the data communications requests of terminal transmission, the data communications requests information of more described terminal and corresponding threshold value, when described comparative result be data communications requests information be less than or equal to the threshold value of its correspondence time, processing said data communication request immediately, so, meet making full use of and unlikely waste of the data bandwidth resource in electronic equipment on the one hand, in turn ensure that the lowest-bandwidth demand of user on the other hand, the data communication quality of user is guaranteed, 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, and the data processing method in the present embodiment is applied in electronic equipment, and described electronic equipment communicates with at least one terminal data; As shown in Figure 3, comprise the following steps:
Step 301: the threshold value that the communication of each terminal data is set; Described threshold value is distribute to the minimum communication bandwidth of each terminal.
In present embodiment, described terminal can be virtual machine, and described virtual machine can comprise at least one Virtual Block Device, and described Virtual Block Device both can be the Virtual Block Device of block device form, also can be the Virtual Block Device of image file form; For each virtual machine, all there is one group of data transmission parameters communicated with each virtual machine in described electronic equipment, comprise current data transfer rate, read-write operation number of times per second, bandwidth used etc., for representing the data transmission quality of described electronic equipment and corresponding virtual machine; Described threshold value is the minimum data communication bandwidth that each terminal distributed to by electronic equipment, so, the minimum data communication bandwidth of each virtual machine can be ensured, when certain virtual machine sharply rises due to incident data transmission quantity, electronic equipment can ensure that the data communication bandwidth of other virtual machines is unaffected, ensure that the data communication quality of electronic equipment.
Step 302: when electronic equipment receives the data communications requests of at least one terminal transmission, more described data communications requests information and corresponding threshold value, when described comparative result be described data communications requests information be greater than the threshold value of its correspondence time, obtain the data communications requests information of terminal except described terminal and the comparative result of corresponding threshold value.
In present embodiment, described data communications requests information is the data communication bandwidth that electronic equipment and each terminal are carried out data communication and used; The minimum data communication bandwidth that described threshold value is each terminal distribution.When described comparative result be described data communications requests information be greater than the threshold value of its correspondence time, according to the operation strategy pre-set described in step 102, obtain the data communications requests information of terminal except described terminal and the comparative result of corresponding threshold value, perform corresponding strategy according to the data communications requests information of the terminal except described terminal and the comparative result of corresponding threshold value.
Step 303: when determining that the data communications requests information of the terminal existed except at least one terminal described is less than or equal to the threshold value of its correspondence, described data communications requests is added buffer queue.
In present embodiment, when the comparative result of at least one terminal described be described data communications requests information be greater than the threshold value of its correspondence time, the comparative result of the other-end except at least one terminal described determined by electronic equipment, determine the threshold value that described other-end exists data communications requests information and is less than or equal to its correspondence, namely there is described other-end when not reaching the minimum communication bandwidth of its correspondence, the data communications requests of at least one terminal described is joined respective buffer queue.
The data processing method that the embodiment of the present invention provides, arranges the threshold value of each terminal data communication in the electronic device, described threshold value is minimum communication bandwidth corresponding to each terminal, when electronic equipment receives the data communications requests of terminal transmission, the data communications requests information of more described terminal and corresponding threshold value, when described comparative result be data communications requests information be less than or equal to the threshold value of its correspondence time, obtain the data communications requests information of terminal except described terminal and the comparative result of corresponding threshold value, when determining that the data communications requests information of the terminal existed except described terminal is less than or equal to the threshold value of its correspondence, described data communications requests is added buffer queue, so, meet making full use of and unlikely waste of the data bandwidth resource in electronic equipment on the one hand, in turn ensure that the lowest-bandwidth demand of user on the other hand, the data communication quality of user is guaranteed, greatly improve the experience of user.
Fig. 4 is the schematic flow sheet of the data processing method of the embodiment of the present invention four, and the data processing method in the present embodiment is applied in electronic equipment, and described electronic equipment communicates with at least one terminal data; As shown in Figure 4, comprise the following steps:
Step 401: the threshold value that the communication of each terminal data is set; Described threshold value is distribute to the minimum communication bandwidth of each terminal;
In present embodiment, described terminal can be virtual machine, and described virtual machine can comprise at least one Virtual Block Device, and described Virtual Block Device both can be the Virtual Block Device of block device form, also can be the Virtual Block Device of image file form; For each virtual machine, all there is one group of data transmission parameters communicated with each virtual machine in described electronic equipment, comprise current data transfer rate, read-write operation number of times per second, bandwidth used etc., for representing the data transmission quality of described electronic equipment and corresponding virtual machine; Described threshold value is the minimum data communication bandwidth that each terminal distributed to by electronic equipment, so, the minimum data communication bandwidth of each virtual machine can be ensured, when certain virtual machine sharply rises due to incident data transmission quantity, electronic equipment can ensure that the data communication bandwidth of other virtual machines is unaffected, ensure that the data communication quality of electronic equipment.
Step 402: when electronic equipment receives the data communications requests of at least one terminal transmission, more described data communications requests information and corresponding threshold value, when described comparative result be described data communications requests information be greater than the threshold value of its correspondence time, obtain the data communications requests information of terminal except at least one terminal described and the comparative result of corresponding threshold value.
In present embodiment, described data communications requests information is the data communication bandwidth that electronic equipment and each terminal are carried out data communication and used; The minimum data communication bandwidth that described threshold value is each terminal distribution.When the data communications requests information that described comparative result is described terminal is greater than the threshold value of its correspondence, according to according to the operation strategy pre-set described in step 102, obtain the data communications requests information of terminal except described terminal and the comparative result of corresponding threshold value, perform corresponding strategy according to the data communications requests information of the terminal except described terminal and the comparative result of corresponding threshold value.
Step 403: when determining that the data communications requests information of all terminals except at least one terminal described is all greater than the threshold value of its correspondence, process the data communications requests of described terminal immediately.
In present embodiment, when the comparative result of at least one terminal described be described data communications requests information be greater than the threshold value of its correspondence time, the comparative result of the other-end except at least one terminal described determined by electronic equipment, determine the threshold value that described other-end exists data communications requests information and is all greater than its correspondence, namely, when described other-end all reaches the minimum communication bandwidth of its correspondence, described electronic equipment processes the data communications requests of described terminal immediately.
The data processing method that the embodiment of the present invention provides, arranges the threshold value of each terminal data communication in the electronic device, described threshold value is minimum communication bandwidth corresponding to each terminal, when electronic equipment receives the data communications requests of terminal transmission, the data communications requests information of more described terminal and corresponding threshold value, when described comparative result be data communications requests information be less than or equal to the threshold value of its correspondence time, obtain the data communications requests information of terminal except described terminal and the comparative result of corresponding threshold value, when determining that the data communications requests information of all terminals except described terminal is all greater than the threshold value of its correspondence, described electronic equipment processes the data communications requests of described terminal immediately, so, meet making full use of and unlikely waste of the data bandwidth resource in electronic equipment on the one hand, in turn ensure that the lowest-bandwidth demand of user on the other hand, the data communication quality of user is guaranteed, greatly improve the experience of user.
Fig. 5 is the schematic flow sheet of the data processing method of the embodiment of the present invention five, and the data processing method in the present embodiment is applied in electronic equipment, and described electronic equipment communicates with at least one terminal data; As shown in Figure 5, comprise the following steps:
Step 501: the threshold value that the communication of each terminal data is set; Described threshold value is distribute to the minimum communication bandwidth of each terminal.
In present embodiment, described terminal can be virtual machine, and described virtual machine can comprise at least one Virtual Block Device, and described Virtual Block Device both can be the Virtual Block Device of block device form, also can be the Virtual Block Device of image file form; For each virtual machine, all there is one group of data transmission parameters communicated with each virtual machine in described electronic equipment, comprise current data transfer rate, read-write operation number of times per second, bandwidth used etc., for representing the data transmission quality of described electronic equipment and corresponding virtual machine; Described threshold value is the minimum data communication bandwidth that each terminal distributed to by electronic equipment, so, the minimum data communication bandwidth of each virtual machine can be ensured, when certain virtual machine sharply rises due to incident data transmission quantity, electronic equipment can ensure that the data communication bandwidth of other virtual machines is unaffected, ensure that the data communication quality of electronic equipment.
Step 502: the data communication of each terminal corresponding arranges timer.
Step 503: when electronic equipment receives the data communications requests of at least one terminal transmission, more described data communications requests information and corresponding threshold value, when described comparative result be described data communications requests information be greater than the threshold value of its correspondence time, obtain the data communications requests information of terminal except at least one terminal described and the comparative result of corresponding threshold value.
In present embodiment, described data communications requests information is the data communication bandwidth that electronic equipment and each terminal are carried out data communication and used; The minimum data communication bandwidth that described threshold value is each terminal distribution.When the data communications requests information that described comparative result is described terminal is greater than the threshold value of its correspondence, according to according to the operation strategy pre-set described in step 102, obtain the data communications requests information of terminal except described terminal and the comparative result of corresponding threshold value, perform corresponding strategy according to the data communications requests information of the terminal except described terminal and the comparative result of corresponding threshold value.
Step 504: when determining that the data communications requests information of the terminal existed except at least one terminal described is less than or equal to the threshold value of its correspondence, described data communications requests is added buffer queue, and opens the timer of corresponding described terminal.
Step 505: after described timer expiry, the data communications requests information of more described terminal and the threshold value of correspondence, perform the operation of described data communications requests according to comparative result again.
In the present embodiment, after described timer expiry, the described electronic equipment data communications requests information of at least one terminal relatively described and corresponding threshold value obtain comparative result again, performs the operation strategy pre-set described in step 102 according to comparative result.
The data processing method that the embodiment of the present invention provides, arranges the threshold value of each terminal data communication in the electronic device, described threshold value is minimum communication bandwidth corresponding to each terminal, the data communication of each terminal corresponding arranges timer, when electronic equipment receives the data communications requests of terminal transmission, the data communications requests information of more described terminal and corresponding threshold value, when described comparative result be data communications requests information be less than or equal to the threshold value of its correspondence time, obtain the data communications requests information of terminal except described terminal and the comparative result of corresponding threshold value, when determining that the data communications requests information of the terminal existed except described terminal is less than or equal to the threshold value of its correspondence, described data communications requests is added buffer queue and opening timing device, after timer expiry, again the data communications requests information of more described terminal and the threshold value of correspondence, the operation of described data communications requests is performed according to comparative result, so, meet making full use of and unlikely waste of the data bandwidth resource in electronic equipment on the one hand, in turn ensure that the lowest-bandwidth demand of user on the other hand, the data communication quality of user is guaranteed, 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, and the data processing method in the present embodiment is applied in electronic equipment, and described electronic equipment communicates with at least one terminal data; As shown in Figure 6, comprise the following steps:
Step 601: the threshold value that the communication of each terminal data is set; Described threshold value is distribute to the minimum communication bandwidth of each terminal.
In present embodiment, described terminal can be virtual machine, and described virtual machine can comprise at least one Virtual Block Device, and described Virtual Block Device both can be the Virtual Block Device of block device form, also can be the Virtual Block Device of image file form; For each virtual machine, all there is one group of data transmission parameters communicated with each virtual machine in described electronic equipment, comprise current data transfer rate, read-write operation number of times per second, bandwidth used etc., for representing the data transmission quality of described electronic equipment and corresponding virtual machine; Described threshold value is the minimum data communication bandwidth that each terminal distributed to by electronic equipment, so, the minimum data communication bandwidth of each virtual machine can be ensured, when certain virtual machine sharply rises due to incident data transmission quantity, electronic equipment can ensure that the data communication bandwidth of other virtual machines is unaffected, ensure that the data communication quality of electronic equipment.
Step 602: electronic equipment receives the data communications requests that at least one terminal sends.
Step 603: the data communications requests information of at least one terminal relatively more described and corresponding threshold value, when the data communications requests information that described comparative result is all terminals is greater than the threshold value of its correspondence, the remaining data communication resource is distributed at least one terminal described by preset rules.
In present embodiment, described data communications requests information is the data communication bandwidth that electronic equipment and each terminal are carried out data communication and used; The minimum data communication bandwidth that described threshold value is each terminal distribution.When the described comparative result data communications requests information that is all terminals is greater than the threshold value of its correspondence, namely, when the used data communication bandwidth of all terminals all reaches the minimum data communication bandwidth of its correspondence, the remaining data communication resource is distributed at least one terminal described by preset rules; Described preset rules can be the priority rule by data service, by described remaining data communication resource distribution to terminal several before priority rank, or according to the time order and function rule of the data communications requests received described remaining data communication resource distribution can be given and send described data communications requests several terminal etc. formerly.
In the technical scheme that the embodiment of the present invention provides, the threshold value of each terminal data communication is set in the electronic device, described threshold value is minimum communication bandwidth corresponding to each terminal, when electronic equipment receives the data communications requests of at least one terminal transmission, the data communications requests information of at least one terminal relatively more described and corresponding threshold value, when the data communications requests information that described comparative result is all terminals is greater than the threshold value of its correspondence, obtain the remaining data communication resource of self, the described remaining data communication resource is distributed at least one terminal described by preset rules, so, meet making full use of and unlikely waste of the data bandwidth resource in electronic equipment on the one hand, in turn ensure that the lowest-bandwidth demand of user on the other hand, the data communication quality of user is guaranteed, greatly improve the experience of user.
The embodiment of the present invention describes a kind of electronic equipment, and described electronic equipment communicates with at least one terminal data; Fig. 7 is the composition structural representation of the electronic equipment of the embodiment of the present invention one, and as shown in Figure 7, described electronic equipment comprises: setting unit 71, receiving element 72 and the first processing unit 73; Wherein,
Described setting unit 71, for arranging the threshold value of each terminal data communication; Described threshold value is distribute to the minimum communication bandwidth of each terminal;
Described receiving element 72, for receiving the data communications requests that at least one terminal sends;
Described first processing unit 73, for data communications requests information and the corresponding threshold value acquisition comparative result of at least one terminal relatively more described, performs the operation to described data communications requests according to described comparative result.
In the present embodiment, described setting unit 71 comprises at least one and arranges subelement;
Described setting unit be at least one its correspondence of terminal distribution described subelement is set;
The described subelement that arranges is arranged and the threshold value storing the described terminal of its correspondence.
Such as, electronic equipment and three terminals carry out data communication, then comprise at least three at described setting unit and arrange subelement, for arranging respectively and storing the minimum data bandwidth of counterpart terminal; Described subelement and described terminal one_to_one corresponding are set.
Wherein, describedly the data communications requests information of the terminal of its correspondence of subelement Real-time Obtaining is set and stores described data communications requests information.
Those skilled in the art are to be understood that, the function of each processing unit in the electronic equipment of the embodiment of the present invention, can refer to the associated description of aforementioned data processing method and understand, each processing unit in the electronic equipment of the embodiment of the present invention, realizing by realizing the analog circuit of the function described in the embodiment of the present invention, also can be realized by the operation of the software of the function of execution described in the embodiment of the present invention on intelligent terminal.
A kind of electronic equipment that the embodiment of the present invention two is recorded, described electronic equipment communicates with at least one terminal data, as shown in Figure 7, described electronic equipment comprises the composition structure of the electronic equipment of the embodiment of the present invention two: setting unit 71, receiving element 72 and the first processing unit 73; Wherein,
Described setting unit 71, for arranging the threshold value of each terminal data communication; Described threshold value is distribute to minimum communication bandwidth corresponding to each terminal;
Described receiving element 72, for receiving the data communications requests that at least one terminal sends;
Described first processing unit 73, for data communications requests information and the corresponding threshold value acquisition comparative result of at least one terminal relatively more described, when described comparative result be described data communications requests information be less than or equal to the threshold value of its correspondence time, processing said data communication request immediately.
In the present embodiment, described setting unit 71 comprises at least one and arranges subelement;
Described setting unit be at least one its correspondence of terminal distribution described subelement is set;
The described subelement that arranges is arranged and the threshold value storing the described terminal of its correspondence.
Such as, electronic equipment and three terminals carry out data communication, then comprise at least three at described setting unit and arrange subelement, for arranging respectively and storing the minimum data bandwidth of counterpart terminal; Described subelement and described terminal one_to_one corresponding are set.
Wherein, describedly the data communications requests information of the terminal of its correspondence of subelement Real-time Obtaining is set and stores described data communications requests information.
Those skilled in the art are to be understood that, the function of each processing unit in the electronic equipment of the embodiment of the present invention, can refer to the associated description of aforementioned data processing method and understand, each processing unit in the electronic equipment of the embodiment of the present invention, realizing by realizing the analog circuit of the function described in the embodiment of the present invention, also can be realized by the operation of the software of the function of execution described in the embodiment of the present invention on intelligent terminal.
The embodiment of the present invention also describes a kind of electronic equipment, and described electronic equipment communicates with at least one terminal data; Fig. 8 is the composition structural representation of the electronic equipment of the embodiment of the present invention three, and as shown in Figure 8, described electronic equipment comprises: setting unit 71, receiving element 72, first processing unit 73 and judging unit 74; Wherein,
Described setting unit 71, for arranging the threshold value of each terminal data communication; Described threshold value is distribute to minimum communication bandwidth corresponding to each terminal;
Described receiving element 72, for receiving the data communications requests that at least one terminal sends;
Described first processing unit 73, for data communications requests information and the corresponding threshold value acquisition comparative result of at least one terminal relatively more described, when described comparative result be described data communications requests information be greater than the threshold value of its correspondence time, and the judged result of described judging unit 74 is the data communications requests information that there is terminal except at least one terminal described when being less than or equal to the threshold value of its correspondence, described data communications requests is added buffer queue.
Described judging unit 74, for the comparative result of the data communications requests information and corresponding threshold value that obtain the terminal except at least one terminal described, and judge whether that the data communications requests information of the terminal existed except at least one terminal described is less than or equal to the threshold value of its correspondence.
In the present embodiment, described setting unit 71 comprises at least one and arranges subelement;
Described setting unit be at least one its correspondence of terminal distribution described subelement is set;
The described subelement that arranges is arranged and the threshold value storing the described terminal of its correspondence.
Such as, electronic equipment and three terminals carry out data communication, then comprise at least three at described setting unit and arrange subelement, for arranging respectively and storing the minimum data bandwidth of counterpart terminal; Described subelement and described terminal one_to_one corresponding are set.
Wherein, describedly the data communications requests information of the terminal of its correspondence of subelement Real-time Obtaining is set and stores described data communications requests information.
Those skilled in the art are to be understood that, the function of each processing unit in the electronic equipment of the embodiment of the present invention, can refer to the associated description of aforementioned data processing method and understand, each processing unit in the electronic equipment of the embodiment of the present invention, realizing by realizing the analog circuit of the function described in the embodiment of the present invention, also can be realized by the operation of the software of the function of execution described in the embodiment of the present invention on intelligent terminal.
The embodiment of the present invention four describes a kind of electronic equipment, described electronic equipment communicates with at least one terminal data, as shown in Figure 8, described electronic equipment comprises the composition structure of the electronic equipment of the embodiment of the present invention four: setting unit 71, receiving element 72, first processing unit 73 and judging unit 74; Wherein,
Described setting unit 71, for arranging the threshold value of each terminal data communication; Described threshold value is distribute to minimum communication bandwidth corresponding to each terminal;
Described receiving element 72, for receiving the data communications requests that at least one terminal sends;
Described first processing unit 73, for data communications requests information and the corresponding threshold value acquisition comparative result of at least one terminal relatively more described, when described comparative result be described data communications requests information be greater than the threshold value of its correspondence time, and the data communications requests information that the judged result of described judging unit 74 is all terminals except at least one terminal described is when being all greater than the threshold value of its correspondence, processing said data communication request immediately.
Described judging unit 74, for the comparative result of the data communications requests information and corresponding threshold value that obtain the terminal except at least one terminal described, and judge whether that the data communications requests information of the terminal existed except at least one terminal described is less than or equal to the threshold value of its correspondence.
In the present embodiment, described setting unit 71 comprises at least one and arranges subelement;
Described setting unit be at least one its correspondence of terminal distribution described subelement is set;
The described subelement that arranges is arranged and the threshold value storing the described terminal of its correspondence.
Such as, electronic equipment and three terminals carry out data communication, then comprise at least three at described setting unit and arrange subelement, for arranging respectively and storing the minimum data bandwidth of counterpart terminal; Described subelement and described terminal one_to_one corresponding are set.
Wherein, describedly the data communications requests information of the terminal of its correspondence of subelement Real-time Obtaining is set and stores described data communications requests information.
Those skilled in the art are to be understood that, the function of each processing unit in the electronic equipment of the embodiment of the present invention, can refer to the associated description of aforementioned data processing method and understand, each processing unit in the electronic equipment of the embodiment of the present invention, realizing by realizing the analog circuit of the function described in the embodiment of the present invention, also can be realized by the operation of the software of the function of execution described in the embodiment of the present invention on intelligent terminal.
The embodiment of the present invention also describes a kind of electronic equipment, and described electronic equipment communicates with at least one terminal data; Fig. 9 is the composition structural representation of the electronic equipment of the embodiment of the present invention five, and as shown in Figure 9, described electronic equipment comprises: setting unit 71, receiving element 72, first processing unit 73, judging unit 74 and timer 75; Wherein,
Described setting unit 71, for arranging the threshold value of each terminal data communication; Described threshold value is distribute to minimum communication bandwidth corresponding to each terminal;
Described timer 75, for setting-up time;
Described receiving element 72, for receiving the data communications requests that at least one terminal sends;
Described first processing unit 73, for data communications requests information and the corresponding threshold value acquisition comparative result of at least one terminal relatively more described, when described comparative result be described data communications requests information be greater than the threshold value of its correspondence time, and the judged result of described judging unit 74 is the data communications requests information that there is terminal except at least one terminal described when being less than or equal to the threshold value of its correspondence, described data communications requests is added buffer queue and triggers opening timing device; Also for when after described timer expiry, the data communications requests information of comparison terminal and corresponding threshold value, perform the operation to described data communications requests according to comparative result again.
Described judging unit 74, for the comparative result of the data communications requests information and corresponding threshold value that obtain the terminal except at least one terminal described, and judge whether that the data communications requests information of the terminal existed except at least one terminal described is less than or equal to the threshold value of its correspondence.
In the present embodiment, described setting unit 71 comprises at least one and arranges subelement;
Described setting unit be at least one its correspondence of terminal distribution described subelement is set;
The described subelement that arranges is arranged and the threshold value storing the described terminal of its correspondence.
Such as, electronic equipment and three terminals carry out data communication, then comprise at least three at described setting unit and arrange subelement, for arranging respectively and storing the minimum data bandwidth of counterpart terminal; Described subelement and described terminal one_to_one corresponding are set.
Wherein, describedly the data communications requests information of the terminal of its correspondence of subelement Real-time Obtaining is set and stores described data communications requests information.
Those skilled in the art are to be understood that, the function of each processing unit in the electronic equipment of the embodiment of the present invention, can refer to the associated description of aforementioned data processing method and understand, each processing unit in the electronic equipment of the embodiment of the present invention, realizing by realizing the analog circuit of the function described in the embodiment of the present invention, also can be realized by the operation of the software of the function of execution described in the embodiment of the present invention on intelligent terminal.
The embodiment of the present invention also describes a kind of electronic equipment, described electronic equipment communicates with at least one terminal data, as shown in Figure 7, described electronic equipment comprises the composition structure of the electronic equipment of the embodiment of the present invention six: setting unit 71, receiving element 72 and the first processing unit 73; Wherein,
Described setting unit 71, for arranging the threshold value of each terminal data communication; Described threshold value is distribute to minimum communication bandwidth corresponding to each terminal;
Described receiving element 72, for receiving the data communications requests that at least one terminal sends;
Described first processing unit 73, for data communications requests information and the corresponding threshold value acquisition comparative result of at least one terminal relatively more described, when the data communications requests information that described comparative result is at least one terminal described is all greater than the threshold value of its correspondence, the residue communication resource is distributed at least one terminal described by preset rules.
In the present embodiment, described setting unit 71 comprises at least one and arranges subelement;
Described setting unit be at least one its correspondence of terminal distribution described subelement is set;
The described subelement that arranges is arranged and the threshold value storing the described terminal of its correspondence.
Such as, electronic equipment and three terminals carry out data communication, then comprise at least three at described setting unit and arrange subelement, for arranging respectively and storing the minimum data bandwidth of counterpart terminal; Described subelement and described terminal one_to_one corresponding are set.
Wherein, describedly the data communications requests information of the terminal of its correspondence of subelement Real-time Obtaining is set and stores described data communications requests information.
Those skilled in the art are to be understood that, the function of each processing unit in the electronic equipment of the embodiment of the present invention, can refer to the associated description of aforementioned data processing method and understand, each processing unit in the electronic equipment of the embodiment of the present invention, realizing by realizing the analog circuit of the function described in the embodiment of the present invention, also can be realized by the operation of the software of the function of execution described in the embodiment of the present invention on intelligent terminal.
Wherein, described setting unit 71, described first processing unit 73, described judging unit 74 are in actual applications, all can by the central processing unit (CPU in electronic equipment, Central Processing Unit), digital signal processor (DSP, Digital Singnal Processor) or programmable logic array (FPGA, Field-Programmable Gate Array) realization; Described receiving element 72 in actual applications, can be realized by receiver or reception antenna.
In the technical scheme that the embodiment of the present invention provides, the threshold value of each terminal data communication is set in the electronic device; Described threshold value is minimum communication bandwidth corresponding to each terminal; When electronic equipment receives the data communications requests of described terminal transmission, the data communications requests information of comparison terminal and corresponding threshold value, the operation to described data communications requests is performed according to comparative result, so, meet making full use of and unlikely waste of the data bandwidth resource in electronic equipment on the one hand, in turn ensure that the lowest-bandwidth demand of user on the other hand, the data communication quality of user is guaranteed, greatly improves the experience of user.
In the technical scheme that the embodiment of the present invention provides, the threshold value of each terminal data communication is set in the electronic device; Described threshold value is minimum communication bandwidth corresponding to each terminal; When electronic equipment receives the data communications requests of described terminal transmission, the data communications requests information of comparison terminal and corresponding threshold value, the operation to described data communications requests is performed according to comparative result, so, meet making full use of and unlikely waste of the data bandwidth resource in electronic equipment on the one hand, in turn ensure that the lowest-bandwidth demand of user on the other hand, the data communication quality of user is guaranteed, greatly improves the experience of user.
In several embodiment provided by the present invention, should be understood that, disclosed method and electronic equipment, can realize by another way.Apparatus embodiments described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, and as: multiple unit or assembly can be in conjunction with, maybe can be integrated into another system, or some features can be ignored, or do not perform.In addition, the coupling each other of shown or discussed each part or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of equipment or unit or communication connection can be electrical, machinery or other form.
The above-mentioned unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, also can be distributed in multiple network element; Part or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in various embodiments of the present invention can all be integrated in a processing unit, also can be each unit individually as a unit, also can two or more unit in a unit integrated; Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form that hardware also can be adopted to add SFU software functional unit realizes.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can have been come by the hardware that program command is relevant, aforesaid program can be stored in a computer read/write memory medium, this program, when performing, performs the step comprising said method embodiment; And aforesaid storage medium comprises: movable storage device, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.
Or, if the above-mentioned integrated unit of the embodiment of the present invention using the form of software function module realize and as independently production marketing or use time, also can be stored in a computer read/write memory medium.Based on such understanding, the technical scheme of the embodiment of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium, comprises some instructions and performs all or part of of method described in each embodiment of the present invention in order to make a computer equipment (can be personal computer, server or the network equipment etc.).And aforesaid storage medium comprises: movable storage device, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of described claim.

Claims (14)

1. a data processing method, is applied in electronic equipment, and described electronic equipment communicates with at least one terminal data; It is characterized in that, described method comprises:
The threshold value of each terminal data communication is set; Described threshold value is distribute to the minimum communication bandwidth of each terminal;
When electronic equipment receives the data communications requests of at least one terminal transmission, the described threshold value that relatively, the data communications requests information of at least one terminal is corresponding with this terminal, performs the operation to described data communications requests according to comparative result.
2. method according to claim 1, is characterized in that, described according to the operation of comparative result execution to described data communications requests, comprising:
When the data communications requests information that described comparative result is at least one terminal described is less than or equal to the described threshold value of its correspondence, processing said data communication request immediately.
3. method according to claim 1, is characterized in that, described according to the operation of comparative result execution to described data communications requests, comprising:
When the data communications requests information that described comparative result is at least one terminal described is greater than the described threshold value of its correspondence, obtain the data communications requests information of terminal except at least one terminal described and the comparative result of the described threshold value of correspondence, when determining that the data communications requests information of the terminal existed except at least one terminal described is less than or equal to the threshold value of its correspondence, described data communications requests is added buffer queue.
4. method according to claim 3, is characterized in that, described method also comprises:
When the data communications requests information of all terminals except at least one terminal described is all greater than the described threshold value of its correspondence, process the data communications requests of described terminal immediately.
5. method according to claim 3, is characterized in that, the data communication of described electronic equipment each terminal corresponding arranges timer; Described data communications requests is added buffer queue, comprising:
Opening timing device, after described timer expiry, the relatively more described data communications requests information of at least one terminal and the described threshold value of correspondence, perform the operation of the data communications requests of at least one terminal described according to comparative result again.
6. method according to claim 1, it is characterized in that, described method also comprises: when the data communications requests information of at least one terminal described is all greater than the described threshold value of its correspondence, and the residue communication resource is distributed at least one terminal described by preset rules by described electronic equipment.
7. an electronic equipment, is characterized in that, described electronic equipment comprises: setting unit, receiving element and the first processing unit; Wherein,
Described setting unit, for arranging the threshold value of each terminal data communication; Described threshold value is distribute to the minimum communication bandwidth of each terminal;
Described receiving element, for receiving the data communications requests that at least one terminal sends;
Described first processing unit, for data communications requests information and the corresponding threshold value acquisition comparative result of at least one terminal relatively more described, performs the operation to described data communications requests according to described comparative result.
8. electronic equipment according to claim 7, is characterized in that, described first processing unit, for when described comparative result be described data communications requests information be less than or equal to the described threshold value of its correspondence time, processing said data communication request immediately.
9. electronic equipment according to claim 7, is characterized in that, described electronic equipment also comprises judging unit;
Described judging unit, for the comparative result of the data communications requests information and the described threshold value of correspondence that obtain the terminal except at least one terminal described, and judge whether that the data communications requests information of the terminal existed except at least one terminal described is less than or equal to the described threshold value of its correspondence;
Described first processing unit, for when described comparative result be data communications requests information be greater than the described threshold value of its correspondence time, and the judged result of described judging unit is the data communications requests information that there is terminal except at least one terminal described when being less than or equal to the described threshold value of its correspondence, described data communications requests is added buffer queue.
10. electronic equipment according to claim 9, it is characterized in that, described first processing unit, also for when described comparative result be described data communications requests information be greater than the described threshold value of its correspondence time, and the data communications requests information that the judged result of described judging unit is all terminals except at least one terminal described is when being all greater than the described threshold value of its correspondence, processing said data communication request immediately.
11. electronic equipments according to claim 9, is characterized in that, described electronic equipment also comprises timer, for setting-up time;
Described first processing unit, triggers opening timing device during for described data communications requests being added buffer queue; Also for when after described timer expiry, the data communications requests information of comparison terminal and corresponding threshold value, perform the operation to described data communications requests according to comparative result again.
12. electronic equipments according to claim 7, it is characterized in that, described first processing unit, for when described comparative result be the data communications requests information of at least one terminal described be all greater than the described threshold value of its correspondence time, at least one terminal described in the residue communication resource is distributed to by preset rules.
13. electronic equipments according to any one of claim 7 to 12, it is characterized in that, described setting unit comprises at least one and arranges subelement;
Described setting unit be at least one its correspondence of terminal distribution described subelement is set;
The described subelement that arranges is arranged and the described threshold value storing the described terminal of its correspondence.
14. electronic equipments according to claim 13, is characterized in that,
Describedly the data communications requests information of the terminal of its correspondence of subelement Real-time Obtaining is set and stores described data communications requests 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 true CN104426798A (en) 2015-03-18
CN104426798B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106507436A (en) * 2016-12-30 2017-03-15 努比亚技术有限公司 A kind of band width control method and terminal
CN107918613A (en) * 2016-10-08 2018-04-17 上海宝存信息科技有限公司 Solid state hard disc access method in response to service quality and the device using this method

Citations (6)

* 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
US20110044332A1 (en) * 2009-08-19 2011-02-24 Fujitsu Limited Communication apparatus, communication system, and communication method
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

Patent Citations (6)

* 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
US20110044332A1 (en) * 2009-08-19 2011-02-24 Fujitsu Limited Communication apparatus, communication system, and communication method
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

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107918613A (en) * 2016-10-08 2018-04-17 上海宝存信息科技有限公司 Solid state hard disc access method in response to service quality and the device using this method
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

Also Published As

Publication number Publication date
CN104426798B (en) 2018-02-27

Similar Documents

Publication Publication Date Title
CN110505319A (en) A kind of RS485 is from device address auto-allocation method and system
CN105553868A (en) Data transmission method and device and terminal
CN105515962A (en) Information processing method and smart home equipment
CN104317764A (en) Real-time control method for asynchronous messages of 1553B bus
CN104320855A (en) Resource scheduling method and device
CN108920339A (en) A kind of system exception report method and device
CN104426798A (en) Data processing method and electronic device
CN104123188A (en) Resource allocating method and related devices
CN105050123A (en) Load control method for wireless network and terminal
CN105392083B (en) A kind of MPP speakers switching method and access controller
CN103299298A (en) Service processing method and system
CN109614354B (en) Interface distribution method, board card, equipment and storage medium
CN104780120A (en) Method and device for transmitting files in local area network
CN109120731B (en) Universal communication method, system and device
CN105634931A (en) Messaging service processing method and instant messaging server
CN106385688B (en) A kind of base-band resource distribution method and system and controller
CN104754041A (en) Internet of things communication method and related devices
CN104572193A (en) Control method among multiple apparatuses and electronic apparatus thereof
KR102087874B1 (en) Pilot setup method and device
CN110808909B (en) Message processing method and device across virtual systems
CN108737001A (en) A kind of data processing method and relevant device
CN104123261B (en) A kind of electronic equipment and information transferring method
CN106162258A (en) The control method of a kind of audio video transmission overload and device
CN102891888B (en) A kind of data access method and relevant device, system
CN105306386A (en) Resource allocation method and device in local area network

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