WO2018032329A1 - 基于手机的多线程调度方法及*** - Google Patents
基于手机的多线程调度方法及*** Download PDFInfo
- Publication number
- WO2018032329A1 WO2018032329A1 PCT/CN2016/095473 CN2016095473W WO2018032329A1 WO 2018032329 A1 WO2018032329 A1 WO 2018032329A1 CN 2016095473 W CN2016095473 W CN 2016095473W WO 2018032329 A1 WO2018032329 A1 WO 2018032329A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- mobile phone
- power
- set value
- thread
- present
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Definitions
- the present invention relates to the field of mobile phones, and in particular, to a multi-thread scheduling method and system based on a mobile phone.
- Mobile phones are commonly used devices in people's daily life, especially after the emergence of smart phones, the connection between mobile phones and people is getting closer and closer, but the existing mobile phones cannot manage the number of threads in the mobile phone, and the user experience is low.
- a multi-threaded scheduling method based on a mobile phone is provided, which solves the shortcoming that the prior art cannot be low in user experience.
- a mobile phone-based multi-thread scheduling method comprising the following steps:
- the method further includes:
- the method further includes:
- a mobile phone-based multi-thread scheduling system comprising:
- the obtaining unit is configured to obtain the power of the mobile phone
- a determining unit configured to detect whether the power is lower than a set value
- the control unit is configured to reduce the running amount of the thread when the mobile phone power is lower than the set value.
- system further includes:
- a record unit that records the number of threads running.
- system further includes:
- a display unit that displays the name of the closed thread.
- the technical solution provided by the specific embodiment of the present invention acquires the power of the mobile phone, detects whether the power is lower than the set value, and reduces the running quantity of the thread when the power of the mobile phone is lower than the set value, so the user has the function of managing the user thread.
- FIG. 1 is a flowchart of a multi-thread scheduling method based on a mobile phone according to the present invention
- FIG. 2 is a structural diagram of a multi-thread scheduling system based on a mobile phone provided by the present invention.
- FIG. 1 is a flowchart of a multi-thread scheduling method based on a mobile phone according to a first preferred embodiment of the present invention.
- the method is implemented by a mobile phone.
- the method is as shown in FIG. 1 , and includes the following steps:
- Step S101 Obtain a power quantity of the mobile phone
- Step S102 detecting whether the power is lower than a set value
- Step S103 When the mobile phone power is lower than the set value, the number of threads running is reduced.
- the technical solution provided by the specific embodiment of the present invention acquires the power of the mobile phone, detects whether the power is lower than the set value, and reduces the running quantity of the thread when the power of the mobile phone is lower than the set value, so that the network music course realizes the lesson. advantage.
- the foregoing method may further include:
- the foregoing method may further include:
- FIG. 2 is a mobile phone-based multi-thread scheduling system according to a second preferred embodiment of the present invention.
- the system includes:
- the obtaining unit 201 is configured to acquire a power quantity of the mobile phone
- the determining unit 202 is configured to detect whether the power is lower than a set value
- the control unit 203 is configured to reduce the running quantity of the thread when the mobile phone power is lower than the set value.
- the technical solution provided by the specific embodiment of the present invention acquires the power of the mobile phone, detects whether the power is lower than the set value, and reduces the running quantity of the thread when the power of the mobile phone is lower than the set value, so that the network music course realizes the lesson. advantage.
- the above system may further include:
- the recording unit 204 is configured to record the number of threads running.
- the above system may further include:
- the display unit 205 is configured to display the name of the closed thread.
- Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another.
- a storage medium may be any available media that can be accessed by a computer.
- the computer readable medium may include random access memory (Random) Access Memory, RAM), Read-Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), Compact Disc Read-Only Memory, CD-ROM, or other optical disc storage, magnetic storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. Also. Any connection may suitably be a computer readable medium.
- a disk and a disc include a compact disc (CD), a laser disc, a compact disc, a digital versatile disc (DVD), a floppy disk, and a Blu-ray disc, wherein the disc is usually magnetically copied, and the disc is The laser is used to optically replicate the data. Combinations of the above should also be included within the scope of the computer readable media.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
本发明提供了一种基于手机的多线程调度方法及***,所述方法包括如下步骤:获取手机的电量;检测该电量是否低于设定值;当手机电量低于设定值时,减少线程的运行数量。本发明提供的技术方案具有用户体验度高的优点。
Description
本发明涉及手机领域,尤其涉及一种基于手机的多线程调度方法及***。
手机为人们日常生活中常用的设备,尤其是智能手机出现以后,手机与人们的联系越来与紧密,但是现有的手机无法对手机内的线程的数量进行管理,用户体验度低。
提供一种基于手机的多线程调度方法,其解决了现有技术无法用户体验度低的缺点。
一方面,提供一种基于手机的多线程调度方法,所述方法包括如下步骤:
获取手机的电量;
检测该电量是否低于设定值;
当手机电量低于设定值时,减少线程的运行数量。
可选的,所述方法还包括:
记录运行的线程的数量。
可选的,所述方法还包括:
将关闭的线程的名称显示。
第二方面,提供一种基于手机的多线程调度***,所述***包括:
获取单元,用于获取手机的电量;
判断单元,用于检测该电量是否低于设定值;
控制单元,用于当手机电量低于设定值时,减少线程的运行数量。
可选的,所述***还包括:
记录单元,用于记录运行的线程的数量。
可选的,所述***还包括:
显示单元,用于将关闭的线程的名称显示。
本发明具体实施方式提供的技术方案获取手机的电量,检测该电量是否低于设定值,当手机电量低于设定值时,减少线程的运行数量,所以其具有对用户线程进行管理,用户体验度高的优点。
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本发明提供的一种基于手机的多线程调度方法的流程图;
图2为本发明提供的一种基于手机的多线程调度***的结构图。
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
参阅图1,图1为本发明第一较佳实施方式提供的一种基于手机的多线程调度方法的流程图,该方法由手机来完成,该方法如图1所示,包括如下步骤:
步骤S101、获取手机的电量;
步骤S102、检测该电量是否低于设定值;
步骤S103、当手机电量低于设定值时,减少线程的运行数量。
本发明具体实施方式提供的技术方案获取手机的电量,检测该电量是否低于设定值,当手机电量低于设定值时,减少线程的运行数量,所以其具有网络音乐课程实现约课的优点。
可选的,上述方法在步骤S103之后还可以包括:
记录运行的线程的数量。
可选的,上述方法在步骤S103之后还可以包括:
将关闭的线程的名称显示。
参阅图2,图2为本发明第二较佳实施方式提供的一种基于手机的多线程调度***,该***包括:
获取单元201,用于获取手机的电量;
判断单元202,用于检测该电量是否低于设定值;
控制单元203,用于当手机电量低于设定值时,减少线程的运行数量。
本发明具体实施方式提供的技术方案获取手机的电量,检测该电量是否低于设定值,当手机电量低于设定值时,减少线程的运行数量,所以其具有网络音乐课程实现约课的优点。
可选的,上述***还可以包括:
记录单元204,用于记录运行的线程的数量。
可选的,上述***还可以包括:
显示单元205,用于将关闭的线程的名称显示。
需要说明的是,对于前述的各方法实施方式或实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为根据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述实施方式或实施例均属于优选实施例,所涉及的动作和单元并不一定是本发明所必须的。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
本发明实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。
本发明实施例装置中的单元可以根据实际需要进行合并、划分和删减。本领域的技术人员可以将本说明书中描述的不同实施例以及不同实施例的特征进行结合或组合。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本发明可以用硬件实现,或固件实现,或它们的组合方式来实现。当使用软件实现时,可以将上述功能存储在计算机可读介质中或作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是计算机能够存取的任何可用介质。以此为例但不限于:计算机可读介质可以包括随机存取存储器(Random
Access Memory,RAM)、只读存储器(Read-Only Memory,ROM)、电可擦可编程只读存储器(Electrically
Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only
Memory,CD-ROM)或其他光盘存储、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质。此外。任何连接可以适当的成为计算机可读介质。例如,如果软件是使用同轴电缆、光纤光缆、双绞线、数字用户线(Digital
Subscriber
Line,DSL)或者诸如红外线、无线电和微波之类的无线技术从网站、服务器或者其他远程源传输的,那么同轴电缆、光纤光缆、双绞线、DSL或者诸如红外线、无线和微波之类的无线技术包括在所属介质的定影中。如本发明所使用的,盘(Disk)和碟(disc)包括压缩光碟(CD)、激光碟、光碟、数字通用光碟(DVD)、软盘和蓝光光碟,其中盘通常磁性的复制数据,而碟则用激光来光学的复制数据。上面的组合也应当包括在计算机可读介质的保护范围之内。
总之,以上所述仅为本发明技术方案的较佳实施例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
Claims (6)
- 一种基于手机的多线程调度方法,其特征在于,所述方法包括如下步骤:获取手机的电量;检测该电量是否低于设定值;当手机电量低于设定值时,减少线程的运行数量。
- 根据权利要求1所述的方法,其特征在于,所述方法还包括:记录运行的线程的数量。
- 根据权利要求1所述的方法,其特征在于,所述方法还包括:将关闭的线程的名称显示。
- 一种基于手机的多线程调度***,其特征在于,所述***包括:获取单元,用于获取手机的电量;判断单元,用于检测该电量是否低于设定值;控制单元,用于当手机电量低于设定值时,减少线程的运行数量。
- 根据权利要求4所述的***,其特征在于,所述***还包括:记录单元,用于记录运行的线程的数量。
- 根据权利要求4所述的***,其特征在于,所述***还包括:显示单元,用于将关闭的线程的名称显示。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2016/095473 WO2018032329A1 (zh) | 2016-08-16 | 2016-08-16 | 基于手机的多线程调度方法及*** |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2016/095473 WO2018032329A1 (zh) | 2016-08-16 | 2016-08-16 | 基于手机的多线程调度方法及*** |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018032329A1 true WO2018032329A1 (zh) | 2018-02-22 |
Family
ID=61196081
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/095473 WO2018032329A1 (zh) | 2016-08-16 | 2016-08-16 | 基于手机的多线程调度方法及*** |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2018032329A1 (zh) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101976112A (zh) * | 2010-10-26 | 2011-02-16 | 浙江大学 | 一种用于MeeGo操作***手机的能耗保护方法 |
CN101977272A (zh) * | 2010-10-26 | 2011-02-16 | 浙江大学 | 一种用于Android操作***手机的电量保护方法 |
GB2506169A (en) * | 2012-09-24 | 2014-03-26 | Imagination Tech Ltd | Limiting task context restore if a flag indicates task processing is disabled |
CN104199696A (zh) * | 2014-08-28 | 2014-12-10 | 刘勇 | 一种电量消耗控制的方法、***及智能终端 |
CN105554316A (zh) * | 2015-11-26 | 2016-05-04 | Tcl移动通信科技(宁波)有限公司 | 一种预留智能终端电池电量的实现方法及*** |
CN106304291A (zh) * | 2016-08-16 | 2017-01-04 | 陈银芳 | 基于手机的多线程调度方法及*** |
-
2016
- 2016-08-16 WO PCT/CN2016/095473 patent/WO2018032329A1/zh active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101976112A (zh) * | 2010-10-26 | 2011-02-16 | 浙江大学 | 一种用于MeeGo操作***手机的能耗保护方法 |
CN101977272A (zh) * | 2010-10-26 | 2011-02-16 | 浙江大学 | 一种用于Android操作***手机的电量保护方法 |
GB2506169A (en) * | 2012-09-24 | 2014-03-26 | Imagination Tech Ltd | Limiting task context restore if a flag indicates task processing is disabled |
CN104199696A (zh) * | 2014-08-28 | 2014-12-10 | 刘勇 | 一种电量消耗控制的方法、***及智能终端 |
CN105554316A (zh) * | 2015-11-26 | 2016-05-04 | Tcl移动通信科技(宁波)有限公司 | 一种预留智能终端电池电量的实现方法及*** |
CN106304291A (zh) * | 2016-08-16 | 2017-01-04 | 陈银芳 | 基于手机的多线程调度方法及*** |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018218807A1 (zh) | 微信的信息读取方法及*** | |
WO2018032335A1 (zh) | 手机应用程序的关闭方法及*** | |
WO2018035663A1 (zh) | 物联网被套婴儿检测方法及*** | |
WO2018032329A1 (zh) | 基于手机的多线程调度方法及*** | |
WO2018032346A1 (zh) | 在特定使用场景下app的隐藏方法及*** | |
WO2018032328A1 (zh) | 手机内部控制方法及*** | |
WO2018027557A1 (zh) | 安防中wifi的考勤记录方法及*** | |
WO2018027560A1 (zh) | 安防中gprs的考勤记录方法及*** | |
WO2018223552A1 (zh) | 终端app的快捷退出方法及*** | |
WO2018032332A1 (zh) | 手机上网的动态控制方法及*** | |
WO2018032331A1 (zh) | 上网时间的控制方法及*** | |
WO2018032333A1 (zh) | 基于功率的屏幕显示分配方法及*** | |
WO2018032424A1 (zh) | 手机的省电提醒方法及*** | |
WO2018032334A1 (zh) | 手机多核多线程调度方法及*** | |
WO2018027726A1 (zh) | 网络约音乐课程进度获取方法及*** | |
WO2018032343A1 (zh) | 不同地点实现app隐藏的方法及*** | |
WO2018032344A1 (zh) | 依据时间动态调整隐藏app的方法及*** | |
WO2018032336A1 (zh) | 手机使用场景中app的排序方法及*** | |
WO2018032337A1 (zh) | 基于使用次数的排序方法及*** | |
WO2018032340A1 (zh) | 依据地点实现app排序方法及*** | |
WO2018032345A1 (zh) | 不同使用次数确定app隐藏的方法及*** | |
WO2018040027A1 (zh) | 图片调度在即时通信中的应用方法及*** | |
WO2018032423A1 (zh) | 手机的更换方法及*** | |
WO2018032339A1 (zh) | 动态实现app排序调整的方法及*** | |
WO2018032342A1 (zh) | 手机内隐藏app的方法及*** |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16913090 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16913090 Country of ref document: EP Kind code of ref document: A1 |