CN105630130B - Information processing method and information processing apparatus - Google Patents

Information processing method and information processing apparatus Download PDF

Info

Publication number
CN105630130B
CN105630130B CN201510958668.1A CN201510958668A CN105630130B CN 105630130 B CN105630130 B CN 105630130B CN 201510958668 A CN201510958668 A CN 201510958668A CN 105630130 B CN105630130 B CN 105630130B
Authority
CN
China
Prior art keywords
electronic device
application
traffic
parameter
condition
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
CN201510958668.1A
Other languages
Chinese (zh)
Other versions
CN105630130A (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 CN201510958668.1A priority Critical patent/CN105630130B/en
Publication of CN105630130A publication Critical patent/CN105630130A/en
Application granted granted Critical
Publication of CN105630130B publication Critical patent/CN105630130B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3209Monitoring remote activity, e.g. over telephone lines or network connections

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides an information processing method and an information processing device, wherein the information processing method comprises the following steps: detecting a traffic condition in a first electronic device when the first electronic device is connected with a second electronic device and the second electronic device is connected to a network through the first electronic device; judging whether the flow condition meets a preset condition or not; when the flow condition is judged to meet a preset condition, setting a second flow parameter for the second electronic equipment; and causing the second electronic device to use the network based on the second traffic parameter.

Description

Information processing method and information processing apparatus
Technical Field
The present invention relates to the field of information processing, and more particularly, to an information processing method and an information processing apparatus.
Background
Recently, with the development of information technology, electronic devices such as mobile phones, tablet computers and the like can access the internet through the electronic devices, for example, as a hotspot, in addition to being able to access the internet through communication protocols such as 3G, 4G and the like through communication units.
However, in this case, due to the communication between the other electronic device and the electronic device, the traffic and power consumption of the electronic device are greatly affected.
Disclosure of Invention
In view of the above, the present invention provides an information processing method and an information processing apparatus capable of effectively controlling a manner in which at least one of a first electronic device and a second electronic device uses a network according to a situation of the first electronic device in a case where the second electronic device is connected to the network through the first electronic device.
According to a first embodiment of the present invention, there is provided an information processing method including: detecting a traffic condition in a first electronic device when the first electronic device is connected with a second electronic device and the second electronic device is connected to a network through the first electronic device; judging whether the flow condition meets a preset condition or not; when the flow condition is judged to meet a preset condition, setting a second flow parameter for the second electronic equipment; and causing the second electronic device to use the network based on the second traffic parameter.
According to another embodiment of the present invention, there is provided an information processing method including: receiving a second traffic parameter from the first electronic device when the first electronic device is connected with a second electronic device and the second electronic device is connected to the network through the first electronic device, wherein the second traffic parameter is set by the first electronic device by detecting a traffic condition in the first electronic device, determining whether the traffic condition satisfies a predetermined condition, and when it is determined that the traffic condition satisfies the predetermined condition; and using the network based on the second traffic parameter.
According to still another embodiment of the present invention, there is provided an information processing apparatus including: a first detection unit that detects a traffic condition in a first electronic device when the first electronic device is connected to a second electronic device and the second electronic device is connected to a network through the first electronic device; a judging unit that judges whether the flow rate condition satisfies a predetermined condition; the first setting unit is used for setting a second flow parameter for the second electronic equipment when the flow condition is judged to meet a preset condition; and a first processing unit to cause the second electronic device to use the network based on the second traffic parameter.
According to still another embodiment of the present invention, there is provided an information processing apparatus including: a receiving unit that receives a second traffic parameter from a first electronic device when the first electronic device is connected with a second electronic device and the second electronic device is connected to a network through the first electronic device, wherein the second traffic parameter is set by the first electronic device by detecting a traffic condition in the first electronic device, determining whether the traffic condition satisfies a predetermined condition, and when it is determined that the traffic condition satisfies the predetermined condition; and a processing unit to use the network based on the second traffic parameter.
According to another embodiment of the present invention, there is provided an information processing apparatus including: a processor; a memory; and computer program instructions stored in the memory that, when executed by the processor, perform the steps of: detecting a traffic condition in a first electronic device when the first electronic device is connected with a second electronic device and the second electronic device is connected to a network through the first electronic device; judging whether the flow condition meets a preset condition or not; when the flow condition is judged to meet a preset condition, setting a second flow parameter for the second electronic equipment; and causing the second electronic device to use the network based on the second traffic parameter.
According to another embodiment of the present invention, there is provided an information processing apparatus including: a processor; a memory; and computer program instructions stored in the memory that, when executed by the processor, perform the steps of: receiving a second traffic parameter from the first electronic device when the first electronic device is connected with a second electronic device and the second electronic device is connected to the network through the first electronic device, wherein the second traffic parameter is set by the first electronic device by detecting a traffic condition in the first electronic device, determining whether the traffic condition satisfies a predetermined condition, and when it is determined that the traffic condition satisfies the predetermined condition; and using the network based on the second traffic parameter.
According to another embodiment of the invention, there is provided a computer program product comprising a computer readable storage medium having stored thereon computer program instructions which, when executed by a computer, perform the steps of: detecting a traffic condition in a first electronic device when the first electronic device is connected with a second electronic device and the second electronic device is connected to a network through the first electronic device; judging whether the flow condition meets a preset condition or not; when the flow condition is judged to meet a preset condition, setting a second flow parameter for the second electronic equipment; and causing the second electronic device to use the network based on the second traffic parameter.
According to another embodiment of the invention, there is provided a computer program product comprising a computer readable storage medium having stored thereon computer program instructions which, when executed by a computer, perform the steps of: receiving a second traffic parameter from the first electronic device when the first electronic device is connected with a second electronic device and the second electronic device is connected to the network through the first electronic device, wherein the second traffic parameter is set by the first electronic device by detecting a traffic condition in the first electronic device, determining whether the traffic condition satisfies a predetermined condition, and when it is determined that the traffic condition satisfies the predetermined condition; and using the network based on the second traffic parameter.
In the information processing method and the information processing apparatus according to the embodiments of the present invention, when a second electronic device is connected to a network through a first electronic device, when a traffic condition of the first electronic device satisfies a predetermined condition, the second electronic device is caused to use the network based on a set second traffic parameter, so that a manner in which at least one of the first electronic device and the second electronic device uses the network can be effectively controlled according to the condition of the first electronic device.
Drawings
Fig. 1 is a flowchart illustrating main steps of an information processing method according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating main steps of an information processing method according to another embodiment of the present invention;
fig. 3 is a block diagram illustrating a main configuration of an information processing apparatus according to an embodiment of the present invention;
fig. 4 is a block diagram illustrating a main configuration of an information processing apparatus according to another embodiment of the present invention; and
fig. 5 is a block diagram illustrating a main configuration of an information processing apparatus according to another embodiment of the present invention.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
First, an information processing method according to an embodiment of the present invention will be described.
The information processing method of the embodiment of the invention is applied to electronic equipment such as a mobile phone, a tablet computer, a notebook computer, a PC and the like. The electronic device can be connected to a network based on various communication protocols in a wired or wireless manner, for example, through its own communication unit. Also, the electronic device can be connected with other electronic devices such as a mobile phone, a tablet computer, a notebook, a PC, etc., in a wired or wireless manner. In the following description, for the sake of distinction, the electronic device is referred to as a first electronic device, and the other electronic devices are referred to as second electronic devices.
Hereinafter, the information processing method of the present invention will be described in detail with reference to fig. 1.
Fig. 1 is a flowchart illustrating main steps of an information processing method according to an embodiment of the present invention.
When the information processing method of the embodiment of the present invention is started, the first electronic device is connected to the second electronic device, and the second electronic device is connected to a network through the first electronic device. In this case, as shown in fig. 1, first, in step S110, a traffic situation in the first electronic device is detected. The flow condition may be detected using various flow detection means known to those skilled in the art and will not be described in detail herein.
Next, in step S120, it is determined whether the flow rate condition satisfies a predetermined condition.
Specifically, in an embodiment, a flow rate threshold per unit time of the first electronic device may be preset, and it may be determined whether the flow rate per unit time in the first electronic device is greater than or equal to the flow rate threshold. The unit time may be appropriately set by those skilled in the art as needed, for example, to 1 minute, 1 hour, etc., and is not particularly limited herein.
In another embodiment, a percentage allowed flow threshold may be set based on a maximum possible flow rate per unit time of the first electronic device, and it may be determined whether a ratio between a current flow rate of the first electronic device and the maximum possible flow rate is greater than or equal to the percentage flow threshold. The flow percentage threshold value may be appropriately set by those skilled in the art as needed, and is not particularly limited herein.
It should be noted that the above two determination methods are only examples. Those skilled in the art can devise other various predetermined conditions based on this, which are within the scope of the present invention.
Then, when it is determined in step S120 that the traffic condition does not satisfy the predetermined condition, the information processing method ends. For example, the information processing method may maintain a current network usage manner of the first electronic device and the second electronic device unchanged.
On the other hand, when it is determined in step S120 that the traffic condition satisfies the predetermined condition, the information processing method proceeds to step S130. In step S130, a second flow parameter is set for the second electronic device.
In a first example, device-level control may be performed on the second electronic device. The second traffic parameter is, for example, an upper traffic limit allowed to be used by the second electronic device, an upper data rate limit allowed to be used by the second electronic device, a time allowed to be used by the second electronic device, a length of time allowed to be used by the second electronic device, and the like. It should be noted that the above description is merely an example, and that a person skilled in the art may set various other second flow parameters, all of which are within the scope of the present invention.
In a second example, application-level control may be performed on the second electronic device. Specifically, second application information of each second application in a second application set that needs to use the network in the second electronic device may be acquired from the second electronic device. Next, each second application of the second set of applications may be ordered based on the second application information. Thereafter, a respective flow parameter may be set for each of the second applications based on the ranking. In an example, based on the ranking, a larger traffic parameter is set for a high priority second application, a smaller traffic parameter is set for a low priority second application, and the sum of the traffic parameters of each second application in the second set of applications is the second traffic parameter. Even further, in yet another example, depending on the traffic condition of the first electronic device, a non-zero traffic parameter may be set for a high priority second application and a zero traffic parameter may be set for a low priority second application based on the ranking, i.e. the low priority second application is not allowed to use the network.
For example, the second application information may be type information of the second application. Thus, the second application may be ordered based on the type of the second application. Illustratively, a high priority may be set for the instant messaging application, a low priority may be set for the browser application, and so on.
For another example, the second application information may be a current operating condition of the second application. Thus, the second application may be ranked based on its current operating conditions. Illustratively, a high priority may be set for a foreground running second application, a low priority may be set for a background running second application, and so on.
For another example, the second application information may be a process type of the second application. Thus, the second application may be ordered based on its process type. For example, a high priority may be set for certain predefined processes, such that a second application containing the predefined process is set to a high priority, a second application not containing the predefined process is set to a low priority, and so on. Of course, it is also possible to set a low priority for some predetermined processes, thereby setting a second application containing this predetermined process to a low priority, a second application not containing this predetermined process to a high priority, and so on. For example, it may be arranged to prohibit the second application from using the network for automatic updating.
It is to be noted that the second application information described above is merely an example. Those skilled in the art can design various other second application information based on the above information, and the second application information is within the scope of the present invention.
Further, it is noted that the above is described with a two-level priority of high priority and low priority. However, the present invention is not limited thereto, and each application in the second set of applications may be divided into a plurality of priorities.
Thereafter, in step S140, the second electronic device is caused to use the network based on the second traffic parameter.
Therefore, in the information processing method according to the embodiment of the present invention, when the second electronic device is connected to the network through the first electronic device, the manner in which the second electronic device uses the network can be effectively controlled according to the situation of the first electronic device.
Further, in an embodiment of the present invention, when it is determined that the traffic condition satisfies a predetermined condition, not only the manner in which the second electronic device uses the network but also the manner in which the first electronic device uses the network is controlled.
Specifically, in this embodiment, when it is determined that the traffic condition satisfies a predetermined condition, a first traffic parameter is set to the first electronic device. The first traffic parameter is, for example, an upper traffic limit allowed to be used by the first electronic device, an upper data rate limit allowed to be used by the first electronic device, a time allowed to be used by the first electronic device, a length of time allowed to be used by the first electronic device, and the like. It should be noted that the above description is merely an example, and those skilled in the art may set other various first flow parameters, which are within the scope of the present invention. The first flow parameter and the second flow parameter may be of the same type or different types.
Thereafter, the first electronic device is caused to use the network based on the first traffic parameter.
Thus, in the embodiment of the present invention, the manner in which both the first electronic device and the second electronic device use the network can be controlled according to the traffic status of the first electronic device.
In a further embodiment, not only the applications in the second electronic device may be ordered and controlled, but also the applications in both the first electronic device and the second electronic device may be ordered and controlled, i.e. a mixed ordering and control may be performed.
Specifically, the second application information of each second application in the second application set that needs to use the network in the second electronic device may be obtained from the second electronic device, and the first application information of each first application in the first application set that needs to use the network in the first electronic device may be obtained.
Next, the second application and the first application may be ranked based on the second application information and the first application information. The manner of sorting is similar to the manner of sorting the second application alone in the above embodiment, and is not repeated here.
Thereafter, a respective traffic parameter may be set for each of the second application and the first application based on the ranking. The sum of the traffic parameters of each second application in the second set of applications is the second traffic parameter. The sum of the flow parameters of each first application in the first application set is the first flow parameter. The procedure of setting the respective flow parameters for each of the second applications and each of the first applications is similar to the manner of setting the flow parameters for the second applications in the above embodiments, and is not repeated here.
In the above, a specific process of detecting a traffic condition in the first electronic device and controlling a manner in which at least one of the first electronic device and the second electronic device uses the network based on the traffic condition is described.
Alternatively, or in combination with the above embodiments, it is also possible to detect a power condition in the first electronic device, and control a manner in which at least one of the first electronic device and the second electronic device uses the network based on the power condition. The power status may be a remaining power of the first electronic device, a power consumption of the first electronic device per unit time, and the like.
Specifically, in an embodiment, a power condition in the first electronic device may be detected. Then, whether the electric quantity condition meets a preset condition is judged. And when the electric quantity condition is judged to meet the preset condition, setting a second flow parameter for the second electronic equipment, and enabling the second electronic equipment to use the network based on the second flow parameter.
In yet another embodiment, a power condition in the first electronic device may be detected. The second flow parameter may then be adjusted based on the charge condition. For example, when the remaining power of the first electronic device is large or the power consumption of the first electronic device per unit time is low, the second flow parameter may be appropriately increased. For example, the second flow parameter is multiplied by a coefficient greater than 1, a predetermined value is added to the second flow parameter, and so on. For example, the second flow rate parameter may be appropriately set to be small when the remaining power amount of the first electronic device is small or the power consumption amount per unit time of the first electronic device is large. For example, the second flow parameter is multiplied by a coefficient between 0 and 1, the second flow parameter is subtracted by a predetermined value, and so on. Thereafter, the second electronic device is caused to use the network based on the adjusted second traffic parameter.
Thereby, not only the network usage of at least one of the first electronic device and the second electronic device can be controlled based on the traffic condition of the first electronic device, but also the network usage of at least one of the first electronic device and the second electronic device can be controlled in conjunction with the power condition of the first electronic device, which is particularly advantageous in a case where the first electronic device is a portable device with a relatively small battery capacity, such as a mobile phone, a tablet computer, or the like.
In the above, the information processing method of the embodiment of the present invention is described from the perspective of the first electronic device with reference to fig. 1.
Next, an information processing method of an embodiment of the present invention will be described from the perspective of the second electronic device with reference to fig. 2.
The information processing method of the embodiment of the invention is applied to electronic equipment such as a mobile phone, a tablet computer, a notebook computer, a PC and the like. The electronic device can be connected with other electronic devices such as a mobile phone, a tablet computer, a notebook, a PC and the like in a wired or wireless mode. The other electronic devices are connected to the network based on various communication protocols, for example, in a wired or wireless manner. And, the electronic device can be connected to the network through the other electronic device.
Fig. 2 is a flowchart illustrating main steps of an information processing method according to another embodiment of the present invention.
When the information processing method of the embodiment of the invention is started, the first electronic device is connected with the second electronic device, and the second electronic device is connected to the network through the first electronic device.
As shown in fig. 2, first, in step S210, a second traffic parameter is received from the first electronic device. The second flow parameter is set by the first electronic device by detecting a flow condition in the first electronic device, determining whether the flow condition satisfies a predetermined condition, and when it is determined that the flow condition satisfies the predetermined condition.
Next, in step S220, the network is used based on the second traffic parameter. For example, when the second traffic parameter is an upper traffic limit that is allowed to be used by the second electronic device, the network is used without exceeding the upper traffic limit. And when the second flow parameter is the upper limit of the data rate of the second electronic equipment, using the network under the condition of not exceeding the upper limit and the lower limit of the data rate. Using the network at the specified time when the second traffic parameter is a time that the second electronic device is allowed to use. When the second flow parameter is the time length allowed to be used by the second electronic equipment, using the network under the condition that the time length is not exceeded; and so on. It should be noted that the above description is only an example, and those skilled in the art can use the network accordingly based on the type of the second traffic parameter.
The operations of the steps of the information processing method have been described in detail in the corresponding steps of the information processing method described with reference to fig. 1, and are not repeated here.
Therefore, in the information processing method according to the embodiment of the present invention, when the second electronic device is connected to the network through the first electronic device, the manner in which the second electronic device uses the network can be effectively controlled according to the situation of the first electronic device.
Next, an information processing apparatus of an embodiment of the present invention will be described with reference to fig. 3.
The information processing apparatus of the embodiment of the present invention is applied to electronic devices such as a mobile phone, a tablet computer, a notebook, a PC, and the like. The electronic device can be connected to a network based on various communication protocols in a wired or wireless manner, for example, through its own communication unit. Also, the electronic device can be connected with other electronic devices such as a mobile phone, a tablet computer, a notebook, a PC, etc., in a wired or wireless manner.
As shown in fig. 3, the information processing apparatus 300 of the embodiment of the present invention includes a first detection unit 310, a judgment unit 320, a first setting unit 330, and a first processing unit 340.
The first detection unit 310 detects a traffic condition in the first electronic device when the first electronic device is connected to the second electronic device and the second electronic device is connected to the network through the first electronic device.
The determination unit 320 determines whether the traffic condition satisfies a predetermined condition.
The first setting unit 330 sets a second flow parameter to the second electronic device when it is determined that the flow condition satisfies a predetermined condition.
The first processing unit 340 causes the second electronic device to use the network based on the second traffic parameter.
In one embodiment, the information processing apparatus 300 further includes: the second setting unit is used for setting a first flow parameter for the first electronic equipment when the flow condition is judged to meet a preset condition; and a second processing unit that causes the first electronic device to use the network based on the first traffic parameter.
In another embodiment, the first setting unit 330 includes: a first obtaining unit that obtains, from the second electronic device, second application information of each second application in a second application set that needs to use a network in the second electronic device; a first sorting unit that sorts each second application in the second application set based on the second application information; and a first parameter setting unit, configured to set a respective flow parameter for each second application based on the sorting, where a sum of the flow parameters of each second application in the second application set is the second flow parameter.
In another embodiment, the second application information is type information of the second application, and the first ordering unit is configured to: ranking the second application based on the type of the second application.
In another embodiment, the second application information is a current operating condition of the second application, and the first ordering unit is configured to: and sequencing the second application based on the current running condition of the second application.
In another embodiment, the second application information is a process type of the second application, and the first ordering unit is configured to: ranking the second application based on the process type of the second application.
In another embodiment, the second setting unit includes: a first acquisition unit that acquires, from the second electronic device, second application information of each second application in a second application set that needs to use a network in the second electronic device; the second acquisition unit is used for acquiring first application information of each first application in a first application set which needs to use the network in the first electronic equipment; a second sorting unit that sorts the second application and the first application based on the second application information and the first application information; and a second parameter setting unit, configured to set respective traffic parameters for each of the second applications and the first applications based on the sorting, where a sum of the traffic parameters of each of the second applications in the second application set is the second traffic parameter, and a sum of the traffic parameters of each of the first applications in the first application set is the first traffic parameter.
In another embodiment, the information processing apparatus 300 further includes: the second detection unit is used for detecting the electric quantity condition in the first electronic equipment; the condition unit is used for adjusting the second flow parameter based on the electric quantity condition; and, the first processing unit is configured to: causing the second electronic device to use the network based on the adjusted second traffic parameter.
The configuration and operation of the respective units of the information processing apparatus have been described in detail in the information processing method described with reference to fig. 1, and are not repeated here.
Next, an information processing apparatus of another embodiment of the present invention will be described with reference to fig. 4.
The information processing apparatus of the embodiment of the present invention is applied to electronic devices such as a mobile phone, a tablet computer, a notebook, a PC, and the like. The electronic device can be connected with other electronic devices such as a mobile phone, a tablet computer, a notebook, a PC and the like in a wired or wireless mode. The other electronic devices are connected to the network based on various communication protocols, for example, in a wired or wireless manner. And, the electronic device can be connected to the network through the other electronic device.
As shown in fig. 4, the information processing apparatus 400 according to the embodiment of the present invention includes a receiving unit 410 and a processing unit 420.
The receiving unit 410 receives a second traffic parameter from a first electronic device when the first electronic device is connected to a second electronic device and the second electronic device is connected to a network through the first electronic device, wherein the second traffic parameter is set by the first electronic device by detecting a traffic condition in the first electronic device, determining whether the traffic condition satisfies a predetermined condition, and when it is determined that the traffic condition satisfies the predetermined condition.
The processing unit 420 uses the network based on the second traffic parameter.
The configuration and operation of the respective units of the information processing apparatus have been described in detail in the information processing method described with reference to fig. 1, and are not repeated here.
Hereinafter, an information processing apparatus according to another embodiment of the present invention will be described with reference to fig. 5.
As shown in fig. 5, the information processing apparatus 500 according to the embodiment of the present invention mainly includes: one or more processors 510 and memory 520, which are interconnected via a bus system 530 and/or other form of connection mechanism (not shown). It should be noted that the components and configuration of the information processing apparatus 500 shown in fig. 5 are only exemplary and not limiting, and the information processing apparatus 500 may have other components and configurations as necessary.
Processor 510 may be a Central Processing Unit (CPU) or other form of processing unit having data processing capabilities and/or instruction execution capabilities, and may control other components in information processing apparatus 500 to perform desired functions.
Memory 520 may include one or more computer program products that may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. The volatile memory may include, for example, Random Access Memory (RAM), cache memory (cache), and/or the like. The non-volatile memory may include, for example, Read Only Memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium and executed by processor 520 to implement the functions of the information processing method of the embodiments of the present invention and/or other desired functions.
Thus, in the information processing apparatus according to the embodiment of the present invention, when the second electronic device is connected to the network via the first electronic device, the manner in which the second electronic device uses the network can be effectively controlled according to the situation of the first electronic device.
In the above, an information processing method and an information processing apparatus according to an embodiment of the present invention are described with reference to fig. 1 to 5.
It should be noted that, in the present specification, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Furthermore, it should be noted that in this specification, expressions like "first … unit" and "second. In fact, the unit may be integrally implemented as one unit or may be implemented as a plurality of units, as necessary.
Finally, it should be noted that the series of processes described above includes not only processes performed in time series in the order described herein, but also processes performed in parallel or individually, rather than in time series.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present invention may be implemented by software plus a necessary hardware platform, and may also be implemented by hardware entirely. With this understanding in mind, all or part of the technical solutions of the present invention that contribute to the background art may be embodied in the form of a software product, which can be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods according to the embodiments or some parts of the embodiments of the present invention.
In embodiments of the present invention, the units/modules may be implemented in software for execution by various types of processors. An identified module of executable code may, for instance, comprise one or more physical or logical blocks of computer instructions which may, for instance, be constructed as an object, procedure, or function. Nevertheless, the executables of an identified module need not be physically located together, but may comprise disparate instructions stored in different bits which, when joined logically together, comprise the unit/module and achieve the stated purpose for the unit/module.
When a unit/module can be implemented by software, considering the level of existing hardware technology, the unit/module can be implemented by software, and those skilled in the art can build corresponding hardware circuits to implement corresponding functions, without considering the cost, the hardware circuits include conventional Very Large Scale Integration (VLSI) circuits or gate arrays and existing semiconductors such as logic chips, transistors, or other discrete components. A module may also be implemented in programmable hardware devices such as field programmable gate arrays, programmable array logic, programmable logic devices or the like.
The present invention has been described in detail, and the principle and embodiments of the present invention are explained herein by using specific examples, which are only used to help understand the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (16)

1. An information processing method comprising:
detecting a traffic condition in a first electronic device when the first electronic device is connected with a second electronic device and the second electronic device is connected to a network through the first electronic device as a hotspot;
judging whether the flow condition meets a preset condition or not;
when the flow condition is judged to meet a preset condition, setting a first flow parameter for the first electronic device and setting a second flow parameter for the second electronic device; and
causing the first electronic device to use the network based on the first traffic parameter and causing the second electronic device to use the network based on the second traffic parameter, wherein,
setting a first traffic parameter for the first electronic device and a second traffic parameter for the second electronic device comprises: the applications in both the first electronic device and the second electronic device are ranked, and a respective flow parameter is set for each application in both the first electronic device and the second electronic device based on the ranking.
2. The information processing method according to claim 1, the step of setting the second traffic parameter to the second electronic device comprising:
acquiring second application information of each second application in a second application set needing to use the network in the second electronic equipment from the second electronic equipment;
ranking each second application in the set of second applications based on the second application information;
setting a respective flow parameter for each of the second applications based on the ranking, wherein a sum of the flow parameters of each of the second applications in the second set of applications is the second flow parameter.
3. The information processing method according to claim 2, wherein the second application information is type information of the second application, and the step of sorting each second application in the second application set includes:
ranking the second application based on the type of the second application.
4. The information processing method according to claim 2, wherein the second application information is a current operating condition of the second application, and the step of sorting each second application in the second application set includes:
ranking the second application based on a current operating condition of the second application.
5. The information processing method of claim 2, wherein the second application information is a process type of the second application, and the step of ordering each second application in the second set of applications comprises:
ranking the second application based on the process type of the second application.
6. The information processing method according to claim 1, the step of setting the second traffic parameter to the second electronic device comprising:
acquiring second application information of each second application in a second application set needing to use the network in the second electronic equipment from the second electronic equipment;
acquiring first application information of each first application in a first application set needing to use a network in first electronic equipment;
ranking the second application and the first application based on the second application information and the first application information;
setting respective flow parameters for each second application and the first application based on the sorting, wherein the sum of the flow parameters of each second application in the second application set is the second flow parameter, and the sum of the flow parameters of each first application in the first application set is the first flow parameter.
7. The information processing method of claim 1, further comprising:
detecting a power condition in the first electronic device;
adjusting the second flow parameter based on the charge condition;
and the step of causing the second electronic device to use the network based on the second traffic parameter comprises:
causing the second electronic device to use the network based on the adjusted second traffic parameter.
8. An information processing method used by a second electronic device, comprising:
receiving a second traffic parameter from a first electronic device when the first electronic device is connected with a second electronic device and the second electronic device is connected to a network through the first electronic device as a hotspot, wherein the second traffic parameter is set by the first electronic device by detecting a traffic condition in the first electronic device, determining whether the traffic condition satisfies a predetermined condition, and when it is determined that the traffic condition satisfies the predetermined condition; and
using the network based on the second traffic parameter, wherein,
the first electronic device uses the network based on a first traffic parameter set by the first electronic device by detecting a traffic condition in the first electronic device, determining whether the traffic condition satisfies a predetermined condition, and when it is determined that the traffic condition satisfies the predetermined condition,
setting the first flow parameter and the second flow parameter comprises: the applications in both the first electronic device and the second electronic device are ranked, and a respective flow parameter is set for each application in both the first electronic device and the second electronic device based on the ranking.
9. An information processing apparatus comprising:
a first detection unit that detects a traffic condition in a first electronic device when the first electronic device is connected to a second electronic device and the second electronic device is connected to a network through the first electronic device;
a judging unit that judges whether the flow rate condition satisfies a predetermined condition;
a first setting unit that sets a first flow parameter for the first electronic device and a second flow parameter for the second electronic device when it is determined that the flow condition satisfies a predetermined condition; and
a first processing unit that causes the first electronic device to use the network based on the first traffic parameter and causes the second electronic device to use the network based on the second traffic parameter, wherein,
setting a first traffic parameter for the first electronic device and a second traffic parameter for the second electronic device comprises: the applications in both the first electronic device and the second electronic device are ranked, and a respective flow parameter is set for each application in both the first electronic device and the second electronic device based on the ranking.
10. The information processing apparatus as claimed in claim 9, the first setting unit comprising:
a first obtaining unit that obtains, from the second electronic device, second application information of each second application in a second application set that needs to use a network in the second electronic device;
a first sorting unit that sorts each second application in the second application set based on the second application information;
and a first parameter setting unit, configured to set a respective flow parameter for each second application based on the sorting, where a sum of the flow parameters of each second application in the second application set is the second flow parameter.
11. The information processing apparatus according to claim 10, wherein the second application information is type information of the second application, and the first sorting unit is configured to:
ranking the second application based on the type of the second application.
12. The information processing apparatus according to claim 10, wherein the second application information is a current operating condition of the second application, and the first sorting unit is configured to:
ranking the second application based on a current operating condition of the second application.
13. The information processing apparatus according to claim 10, wherein the second application information is a process type of the second application, and the first ordering unit is configured to:
ranking the second application based on the process type of the second application.
14. The information processing apparatus as claimed in claim 9, the second setting unit comprising:
a first obtaining unit that obtains, from the second electronic device, second application information of each second application in a second application set that needs to use a network in the second electronic device;
the second acquisition unit is used for acquiring first application information of each first application in a first application set which needs to use the network in the first electronic equipment;
a second sorting unit that sorts the second application and the first application based on the second application information and the first application information; and
and a second parameter setting unit, configured to set respective traffic parameters for each of the second applications and the first applications based on the sorting, where a sum of the traffic parameters of each of the second applications in the second application set is the second traffic parameter, and a sum of the traffic parameters of each of the first applications in the first application set is the first traffic parameter.
15. The information processing apparatus as claimed in claim 9, further comprising:
the second detection unit is used for detecting the electric quantity condition in the first electronic equipment;
the condition unit is used for adjusting the second flow parameter based on the electric quantity condition;
and, the first processing unit is configured to:
causing the second electronic device to use the network based on the adjusted second traffic parameter.
16. An information processing apparatus included in a second electronic device, comprising:
a receiving unit that receives a second traffic parameter from a first electronic device when the first electronic device is connected with a second electronic device and the second electronic device is connected to a network through the first electronic device as a hotspot, wherein the second traffic parameter is set by the first electronic device by detecting a traffic condition in the first electronic device, determining whether the traffic condition satisfies a predetermined condition, and when it is determined that the traffic condition satisfies the predetermined condition; and
a processing unit to use the network based on the second traffic parameter, wherein,
the first electronic device using the network based on a first traffic parameter set by the first electronic device by detecting a traffic condition in the first electronic device, determining whether the traffic condition satisfies a predetermined condition, and when it is determined that the traffic condition satisfies the predetermined condition, wherein,
setting the first flow parameter and the second flow parameter comprises: the applications in both the first electronic device and the second electronic device are ranked, and a respective flow parameter is set for each application in both the first electronic device and the second electronic device based on the ranking.
CN201510958668.1A 2015-12-18 2015-12-18 Information processing method and information processing apparatus Active CN105630130B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510958668.1A CN105630130B (en) 2015-12-18 2015-12-18 Information processing method and information processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510958668.1A CN105630130B (en) 2015-12-18 2015-12-18 Information processing method and information processing apparatus

Publications (2)

Publication Number Publication Date
CN105630130A CN105630130A (en) 2016-06-01
CN105630130B true CN105630130B (en) 2022-05-31

Family

ID=56045171

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510958668.1A Active CN105630130B (en) 2015-12-18 2015-12-18 Information processing method and information processing apparatus

Country Status (1)

Country Link
CN (1) CN105630130B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103117906A (en) * 2013-02-27 2013-05-22 广东欧珀移动通信有限公司 Flow control method for process of sharing WiFi (wireless fidelity) hot spot for mobile terminals
CN104301890A (en) * 2013-07-19 2015-01-21 富泰华工业(深圳)有限公司 Method and system for controlling sharing of wireless network access flow
CN104580684A (en) * 2013-10-23 2015-04-29 中兴通讯股份有限公司 Flow control method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9369589B2 (en) * 2012-01-27 2016-06-14 Microsoft Technology Licensing, Llc Updating dynamic data usage plans and statistics
CN104735816A (en) * 2013-12-23 2015-06-24 中兴通讯股份有限公司 Method for controlling wireless equipment in wireless network direct-connection group to be disconencted and wireless equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103117906A (en) * 2013-02-27 2013-05-22 广东欧珀移动通信有限公司 Flow control method for process of sharing WiFi (wireless fidelity) hot spot for mobile terminals
CN104301890A (en) * 2013-07-19 2015-01-21 富泰华工业(深圳)有限公司 Method and system for controlling sharing of wireless network access flow
CN104580684A (en) * 2013-10-23 2015-04-29 中兴通讯股份有限公司 Flow control method and device

Also Published As

Publication number Publication date
CN105630130A (en) 2016-06-01

Similar Documents

Publication Publication Date Title
US10827550B2 (en) Data transmission method, data transmission apparatus, processor, and mobile terminal
US10073692B2 (en) System and method of managing application updates
EP2924963A1 (en) Method for automatic cleaning background application of electronic device, electronic device and storage medium
CN107547433B (en) Method, device and equipment for current limiting based on token leaky bucket
KR20140054373A (en) System and method for improving network access in machine to machine communication
CN103019842A (en) Background program finishing method and system
EP3544227B1 (en) Power control for a power over ethernet system
EP3528113B1 (en) Control method and control apparatus for starting of application
WO2016183918A1 (en) Method and device for processing storage space
CN110764605B (en) Multi-core processor control method and device, electronic equipment and storage medium
CN109257758B (en) Network capacity expansion method and device
WO2013169258A1 (en) Network routing based on resource availability
WO2017016371A1 (en) Heat dissipation control method and apparatus, and computer storage medium
CN104793982A (en) Method and device for establishing virtual machine
CN104750589A (en) Memory parameter adjusting method and mobile terminal
CN112463367A (en) Method and system for optimizing performance of storage system, electronic equipment and storage medium
CN114629960B (en) Resource scheduling method, device, system, equipment, medium and program product
EP3345096B1 (en) Method and apparatus for adaptive cache management
KR102270239B1 (en) Method and apparatus for executing software in a electronic device
CN105630130B (en) Information processing method and information processing apparatus
US20140036668A1 (en) Method and apparatus for congestion control during a combined registration
CN112817428A (en) Task running method and device, mobile terminal and storage medium
CN107391254B (en) Intelligent terminal, resource allocation method thereof and computer-readable storage medium
CN107977294B (en) Method and device for monitoring temperature of electronic element
CN113127289B (en) Resource management method, computer equipment and storage medium based on YARN cluster

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