Movatterモバイル変換


[0]ホーム

URL:


CN106886399B - Background cleaning method and mobile terminal - Google Patents

Background cleaning method and mobile terminal
Download PDF

Info

Publication number
CN106886399B
CN106886399BCN201611217609.XACN201611217609ACN106886399BCN 106886399 BCN106886399 BCN 106886399BCN 201611217609 ACN201611217609 ACN 201611217609ACN 106886399 BCN106886399 BCN 106886399B
Authority
CN
China
Prior art keywords
schedule
type
application program
running
judging whether
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
CN201611217609.XA
Other languages
Chinese (zh)
Other versions
CN106886399A (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.)
Shaanxi Zhixin Project Management Co.,Ltd.
Original Assignee
TCL Mobile Communication Technology Ningbo 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 TCL Mobile Communication Technology Ningbo LtdfiledCriticalTCL Mobile Communication Technology Ningbo Ltd
Priority to CN201611217609.XApriorityCriticalpatent/CN106886399B/en
Publication of CN106886399ApublicationCriticalpatent/CN106886399A/en
Application grantedgrantedCritical
Publication of CN106886399BpublicationCriticalpatent/CN106886399B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

The invention discloses a background cleaning method and a mobile terminal, wherein the method comprises the following steps: judging whether a preset schedule exists at present, and if so, reading the content of the schedule and analyzing to obtain the type of the schedule; and judging whether an application program associated with the type of the schedule is running or not, and if so, ending the application program process. By the method, the application program of the background can be closed in time in a targeted manner, the power consumption of the mobile terminal is reduced, and the influence of the application program of the background on a user is avoided.

Description

Background cleaning method and mobile terminal
Technical Field
The invention relates to the technical field of electronic equipment, in particular to a background cleaning method and a mobile terminal.
Background
Applications on mobile terminals typically continue to run in the background after exiting in order to enable a user to quickly start when re-entering the application, however, in some scenarios, if the background continues to run, in addition to increasing the power consumption and memory consumption of the device, notification messages or other sounds emitted by the applications may cause interference and impact on the user.
Disclosure of Invention
The invention mainly solves the technical problem of providing a background cleaning method and a mobile terminal, which can clean the background in time in a specific scene and avoid the interference of a background application program to a user.
In order to solve the above problems, the present invention adopts a technical solution that: a method for cleaning a background is provided, which comprises the following steps:
judging whether a preset schedule exists at present, and if so, reading the content of the schedule and analyzing to obtain the type of the schedule;
and judging whether an application program associated with the type of the schedule is running or not, and if so, ending the application program process.
Wherein the application setting method associated with the type of schedule includes:
associating the type of schedule with the application that needs cleaning;
and saving the type of the schedule and the corresponding relation between the schedule and the application program.
Wherein the determining whether an application associated with the type of schedule is running comprises:
judging whether the type of the schedule is the type of the stored schedule or not;
when the type of the schedule is the type of the stored schedule, whether an application program corresponding to the type of the schedule is running is continuously judged, and when the corresponding application program is running, the application program associated with the type of the schedule is judged to be running.
The type of the schedule is any one of office, meeting, going out and resting, and the application program is any one of games, audio and video players, social contact and chatting.
Wherein the method further comprises:
and judging whether the current schedule is finished or not, and recovering the finished application program process when the schedule is finished.
In order to solve the above problems, the present invention adopts another technical solution: there is provided a mobile terminal including:
the schedule analysis module is used for judging whether a preset schedule exists at present, and if so, reading the content of the schedule and analyzing to obtain the type of the schedule;
and the process management module is used for judging whether an application program associated with the type of the schedule is running or not, and if so, ending the application program process.
Wherein the terminal further comprises an association management module for setting an application associated with the type of schedule, comprising:
the association unit is used for associating the type of the schedule with the application program needing to be cleaned;
and the storage unit is used for storing the type of the schedule and the corresponding relation between the schedule and the application program.
Wherein the process management module further comprises:
a first judgment unit configured to judge whether the type of the schedule is a type of a stored schedule;
and a second judging unit, configured to, when the type of the schedule is a type of a stored schedule, continuously judge whether an application corresponding to the type of the schedule is running, and when the corresponding application is running, judge that there is an application associated with the type of the schedule that is running.
The type of the schedule obtained by the schedule analysis module is any one of office, meeting, going out and resting, and the application program ended by the schedule management module is any one of game, audio and video player, social contact and chat.
Wherein, the process management module further comprises:
and the third judging unit is used for judging whether the current schedule is finished or not, and restoring the finished application program process when the schedule is finished.
The invention has the beneficial effects that: by identifying the type of the current schedule, the background application program associated with the type of the schedule is cleaned in time, so that the interference to a user is avoided, and the power consumption is reduced.
Drawings
FIG. 1 is a schematic flow chart diagram illustrating an embodiment of a background cleaning method according to the present invention;
FIG. 2 is a flow diagram illustrating a method for setting an application associated with the type of schedule in accordance with the present invention;
FIG. 3 is a schematic flow chart of the sub-steps included in step S200 of FIG. 1;
FIG. 4 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another embodiment of the mobile terminal of the present invention.
Detailed Description
The present invention will be described in detail with reference to the accompanying drawings and specific embodiments.
Referring to fig. 1, fig. 1 is a schematic flow chart of an embodiment of a method for cleaning a background according to the present invention, the method includes:
s100: judging whether a preset schedule exists at present, if so, reading the content of the schedule, and analyzing to obtain the type of the schedule.
The mobile terminal reads a file for storing the schedule and judges whether the current time has a preset schedule, specifically, a user can set and store some important schedule in advance, for example, a schedule at 10-11 points on the day is set to be a meeting; and if a schedule is arranged for driving, traveling and the like at 2-3 pm, judging that the preset schedule exists if the preset time is reached, and judging that the preset schedule does not exist when the schedule is not preset by the user at the current time.
And when the preset schedule is judged to exist at the current time, reading the content of the schedule, extracting keywords in the content, and analyzing according to the keywords to obtain the type of the schedule. For example, when the content of the schedule is "join a certain meeting at a certain place", the type of the schedule is "meeting" according to the keyword "join" or "meeting" through analysis; and when the schedule content is 'driving to the park', analyzing to obtain that the type of the schedule is 'travel' according to the keyword 'driving'.
Specifically, step S100 can analyze that the type of the schedule is any one of office, meeting, travel, and rest according to the content of the schedule.
S200: and judging whether an application program associated with the type of the schedule is running or not, and if so, ending the application program process.
After the type of the schedule is analyzed in step S100, it is continuously determined whether there is an application program associated with the type of the schedule running, and if so, the application program process is ended, where the application program associated with the type of the schedule is preset by the user in this embodiment.
Referring to fig. 2, fig. 2 is a flow chart illustrating a method for setting an application program associated with the type of schedule according to the present invention, the method comprising:
s110: the type of schedule is associated with the application that needs to be cleaned.
The user associates the type of schedule with the application that needs cleaning in advance, for example, associates travel with applications such as social and chat, which may include chat software such as QQ, WeChat, and the like; the conference or the office is associated with the application programs such as games, audio and video players and the like, and the association between the type of the schedule and the application program needing to be cleaned is set by a user according to actual needs, without limitation.
Specifically, the application program is any one of games, audio and video players, social contact and chatting.
S120: and saving the type of the schedule and the corresponding relation between the schedule and the application program.
The type of the schedule and the correspondence with the application program may be saved in the form of a table.
It will be appreciated that in other embodiments, the type of schedule and the correspondence with the applications may be set by the system, not necessarily in advance by the user.
Referring to fig. 3, the step S200 of determining whether an application associated with the type of the schedule is running includes:
s210: determining whether the type of schedule is a type of saved schedule.
When the type of the schedule is analyzed in step S100, the type is compared with the type stored in step S120, and it is determined whether the type is the type of the schedule stored in step S120.
S220: when the type of the schedule is the type of the stored schedule, whether an application program corresponding to the type of the schedule is running is continuously judged, and when the corresponding application program is running, the application program associated with the type of the schedule is judged to be running.
When the type is determined to be the type saved in step S120 in step S210, the application program that needs to be cleaned and corresponds to the type is read, and whether the application program is running is determined, and when the application program is running, it is determined that there is an application program associated with the type of the schedule that is running.
When there is an application associated with the type of schedule that is running, then the process of the application is ended, otherwise no action is taken.
In other embodiments, step S200 is followed by: and judging whether the current schedule is finished or not, and recovering the finished application program process when the schedule is finished. Specifically, the end time corresponding to the schedule is read, whether the current time reaches the end time is judged, and when the end time reaches the end time, the current schedule is judged to be ended, and the ended application program process is recovered, so that a user can conveniently start the application program.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention, where the mobile terminal includes:schedule analysis module 41,process management module 42.
And theschedule analysis module 41 is configured to determine whether a preset schedule exists currently, and if so, read the content of the schedule and analyze the content to obtain the type of the schedule.
Theschedule analysis module 41 reads a file storing a schedule, determines whether a preset schedule exists at the current time, reads the content of the schedule when the preset schedule exists, extracts the keywords of the content, and analyzes the type of the schedule according to the keywords, for example, when the content of the schedule is "join a certain meeting at a certain place", theschedule analysis module 41 analyzes the content of the schedule according to the keywords "join" and "meeting", and obtains the type of the schedule as "meeting".
Theschedule analysis module 41 can analyze the type of the schedule to be any one of office, meeting, travel and rest.
And theprocess management module 42 is used for judging whether an application program associated with the type of the schedule is running or not, and if so, ending the application program process.
Theprocess management module 42 determines whether an application associated with the type is running according to the schedule type analyzed by theschedule analysis module 41, and ends the program when the program is running.
The application program finished by theprocess management module 42 is any one of games, audio and video players, social contact and chatting.
The mobile terminal further comprises anassociation management module 43 for setting up an application associated with the type of schedule, including:
an associatingunit 431 for associating the type of schedule with the application that needs to be cleaned.
The associatingunit 431 associates the type of schedule with an application that needs to be cleaned in advance, for example, associates travel with an application of social interaction, chat, or the like, and associates a meeting or office with a game, audio-video player, or the like.
A savingunit 432, configured to save the type of the schedule and the corresponding relationship between the schedule and the application program.
Referring to fig. 4, theprocess management module 42 specifically includes:
afirst judging unit 421, configured to judge whether the type of the schedule is a type of a stored schedule.
When theschedule analysis module 41 obtains the type of the schedule by analysis, thefirst judgment unit 421 compares the type with the type stored in thestorage unit 432, and judges whether the type is the type of the schedule stored in thestorage unit 432.
A second determiningunit 422, configured to, when the type of the schedule is the type of the saved schedule, continue to determine whether an application corresponding to the type of the schedule is running, and when the corresponding application is running, determine that there is an application associated with the type of the schedule that is running.
When the first determiningunit 421 determines that the type of the schedule is the type stored in thestoring unit 432, the second determiningunit 422 reads the application program that needs to be cleaned and is corresponding to the type stored in thestoring unit 432, and determines whether the application program is running, and when the second determiningunit 422 determines that the application program associated with the type of the schedule is running, the application program is ended.
Meanwhile, in other embodiments, theprocess management module 42 further includes a third determiningunit 423 for determining whether the current schedule is finished, and when the schedule is finished, recovering the finished application process.
The third determiningunit 423 compares the current time with the ending time corresponding to the schedule, determines whether the schedule is ended, and when the schedule is ended, restores the ended application program, so that the user can start the application program conveniently.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a mobile terminal according to another embodiment of the present invention. The terminal may perform the steps performed by the terminal in the above method. For related content, please refer to the detailed description of the above method, which is not repeated herein.
The terminal includes: areceiver 51, aprocessor 52, amemory 53, and atransmitter 54.
Thereceiver 51 is used to receive network data.
Thememory 53 is used for storing an operating system, instructions executed by theprocessor 52, received messages, and the like.
Thetransmitter 54 is used to transmit data.
Theprocessor 52 is configured to preset a corresponding relationship between a type of a stored schedule and an application program that needs to be cleaned, determine whether a preset schedule exists at a current time, read contents of the schedule when the preset schedule exists, analyze the type of the schedule, continuously determine whether an application program associated with the type of the schedule is running according to the type of the schedule, and end the application program process when the application program exists.
In other embodiments, theprocessor 52 is further configured to determine whether the current schedule is finished, and when the schedule is finished, resume the finished application process.
Theprocessor 52 can analyze that the type of the schedule is any one of office, meeting, going out and resting, and the application program capable of ending is any one of game, audio and video player, social contact and chat.
Different from the prior art, the method and the device can timely clean the background application program associated with the type of the schedule by identifying the type of the current schedule, reduce power consumption and avoid interference on users.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications made by equivalent structures or equivalent processes, or directly or indirectly applied to other related technical fields, which are made by the present specification and drawings, are included in the scope of the present invention.

Claims (2)

CN201611217609.XA2016-12-262016-12-26Background cleaning method and mobile terminalActiveCN106886399B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201611217609.XACN106886399B (en)2016-12-262016-12-26Background cleaning method and mobile terminal

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201611217609.XACN106886399B (en)2016-12-262016-12-26Background cleaning method and mobile terminal

Publications (2)

Publication NumberPublication Date
CN106886399A CN106886399A (en)2017-06-23
CN106886399Btrue CN106886399B (en)2020-09-25

Family

ID=59176423

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201611217609.XAActiveCN106886399B (en)2016-12-262016-12-26Background cleaning method and mobile terminal

Country Status (1)

CountryLink
CN (1)CN106886399B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107734145B (en)*2017-09-192020-11-17维沃移动通信有限公司Method for processing background task, mobile terminal and computer readable storage medium
CN109660675A (en)*2019-02-272019-04-19吕元喜A kind of intelligent interactive application system based on mobile terminal or the end PC

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102508701A (en)*2011-10-182012-06-20北京百纳威尔科技有限公司User terminal and method for controlling automatically-operating application program
CN103227854A (en)*2013-03-202013-07-31东莞宇龙通信科技有限公司Schedule-based application operation method and communication terminal
CN105511922A (en)*2015-12-092016-04-20小米科技有限责任公司Application startup controlling method and device
CN106126331A (en)*2016-06-272016-11-16宇龙计算机通信科技(深圳)有限公司A kind of method and system freezing application

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102508701A (en)*2011-10-182012-06-20北京百纳威尔科技有限公司User terminal and method for controlling automatically-operating application program
CN103227854A (en)*2013-03-202013-07-31东莞宇龙通信科技有限公司Schedule-based application operation method and communication terminal
CN105511922A (en)*2015-12-092016-04-20小米科技有限责任公司Application startup controlling method and device
CN106126331A (en)*2016-06-272016-11-16宇龙计算机通信科技(深圳)有限公司A kind of method and system freezing application

Also Published As

Publication numberPublication date
CN106886399A (en)2017-06-23

Similar Documents

PublicationPublication DateTitle
CN108182943B (en)Intelligent device control method and device and intelligent device
CN111049996B (en) Multi-scene speech recognition method and device, and intelligent customer service system using the same
CN111833880A (en) Voice dialogue method and system
CN112767936B (en)Voice dialogue method and device, storage medium and electronic equipment
CN106488270B (en)Live broadcast room switching method and device
CN109618202A (en) Method for controlling peripheral device, television and readable storage medium
CN104484378A (en)Method, device and terminal for pushing notification messages
CN115373577B (en) Image processing method, device and computer-readable storage medium
CN112233676B (en)Intelligent device awakening method and device, electronic device and storage medium
CN113412607B (en) Content push method, device, mobile terminal and storage medium
CN105744289A (en)Live broadcast event reminding method and device
CN112600902A (en)Notification message pushing method and device
CN106886399B (en)Background cleaning method and mobile terminal
CN110401872A (en) Event reminder method, device and storage medium based on smart home operating system
CN106973003B (en)Group message notification method, client, electronic device and server
WO2021042584A1 (en)Full duplex voice chatting method
CN111918019B (en)Video conference method and system, and computer readable storage medium
CN106125889B (en)Awakening source processing method and device
CN105791987A (en)Media data playing method and terminal
CN106921693B (en) A kind of acquisition method of multimedia data and vehicle-mounted multimedia equipment
JP2021009350A (en)Method for exiting audio skill, apparatus, device, and storage medium
CN107682733B (en)Control method and system for improving user experience of watching video
CN113383311B (en) Application processing method, device, storage medium and electronic device
CN105471593B (en)Group conversation method, device and system
CN109658924A (en)Conversation message processing method, device and smart machine

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
TA01Transfer of patent application right

Effective date of registration:20200831

Address after:315000 10 / F, No. 5, Lane 999, Yangfan Road, hi tech Zone, Ningbo City, Zhejiang Province

Applicant after:TCL mobile communication technology (Ningbo) Co.,Ltd.

Address before:518063 Guangdong city of Shenzhen province Nanshan District ten South Road West High Technology South Road North Tower B 16 floor TCL

Applicant before:JRD COMMUNICATION (SHENZHEN) Ltd.

TA01Transfer of patent application right
GR01Patent grant
GR01Patent grant
TR01Transfer of patent right

Effective date of registration:20230902

Address after:Room 1203, No. 2 Houkenanli, Haicang District, Xiamen City, Fujian Province, 361000

Patentee after:Xiamen Luan Chuang Technology Co.,Ltd.

Address before:315000, floor 10, No. 5, Lane 999, Yangfan Road, high tech Zone, Ningbo, Zhejiang

Patentee before:TCL mobile communication technology (Ningbo) Co.,Ltd.

TR01Transfer of patent right
TR01Transfer of patent right

Effective date of registration:20240815

Address after:Unit 2316, Building 1, Haijing Lanyu, Fengcheng Fourth Road, Economic and Technological Development Zone, Xi'an City, Shaanxi Province, 710018

Patentee after:Shaanxi Zhixin Project Management Co.,Ltd.

Country or region after:China

Address before:Room 1203, No. 2 Houkenanli, Haicang District, Xiamen City, Fujian Province, 361000

Patentee before:Xiamen Luan Chuang Technology Co.,Ltd.

Country or region before:China

TR01Transfer of patent right

[8]ページ先頭

©2009-2025 Movatter.jp