WO2016029660A1 - 基于移动终端的自动关闭应用程序的方法及*** - Google Patents
基于移动终端的自动关闭应用程序的方法及*** Download PDFInfo
- Publication number
- WO2016029660A1 WO2016029660A1 PCT/CN2015/072293 CN2015072293W WO2016029660A1 WO 2016029660 A1 WO2016029660 A1 WO 2016029660A1 CN 2015072293 W CN2015072293 W CN 2015072293W WO 2016029660 A1 WO2016029660 A1 WO 2016029660A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- location
- application
- mobile terminal
- coordinate data
- current
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/725—Cordless telephones
Definitions
- the present invention relates to the field of mobile terminal technologies, and in particular, to a method and system for automatically closing an application based on a mobile terminal.
- the technical problem to be solved by the present invention is to provide a method and system for automatically closing an application based on a mobile terminal in view of the above-mentioned drawbacks of the prior art.
- the user can specify the occasion for the mobile terminal to self-detect and close the pre-designated application, thereby reducing the interference caused by the user forgetting to close the background application, and improving the intelligence of the mobile terminal.
- a method for automatically closing an application based on a mobile terminal comprising:
- the mobile terminal provides a setting interface, and receives, by the setting interface, a location of the user's operation instruction to automatically close the application program;
- the mobile terminal provides a list listing all installed applications, and obtains an application that is set by the user and needs to be automatically closed in the form of a check box;
- the mobile terminal acquires current location coordinate data of the location at a predetermined time; and determines whether the current location coordinate data is consistent with the location coordinate data of a certain location set in advance, wherein the location where the mobile terminal is located adopts global positioning Positioning by one or more positioning methods in system positioning, cell identification code or wireless fidelity positioning;
- the method for automatically closing an application according to a mobile terminal wherein the acquiring, by the mobile terminal, the current location coordinate data of the location at a predetermined time comprises:
- the mobile terminal acquires current position coordinate data of the location at a predetermined time by its own positioning function
- determining whether the current location coordinate data is consistent with the location coordinate data of a certain location set in advance includes:
- the method for automatically closing an application based on a mobile terminal, wherein determining whether the acquired current location coordinate data is consistent with the position coordinate data of a preset location of the application to be closed includes:
- the comparison judges whether the current position coordinate data is within the latitude and longitude coordinate range of the preset automatic closing application, and if so, the current mobile terminal is considered to be in the same position as the previously set location that needs to automatically close the application.
- the application specifically includes:
- the mobile terminal acquires application information that is automatically closed according to the location;
- the mobile terminal compares the obtained application identifier of the background running with the application identifier corresponding to the location preset in the configuration file, and if the identifiers of the two are the same, controlling the background running corresponding to the identifier The application is closed.
- a method for automatically closing an application based on a mobile terminal comprising:
- the mobile terminal acquires current location coordinate data of the location at a predetermined time; and determines whether the current location coordinate data is consistent with the location coordinate data of a certain location set in advance;
- the method for automatically closing an application based on a mobile terminal wherein the location where the application is automatically closed and the application that needs to be closed for each location specifically includes:
- the mobile terminal provides a setting interface, and receives, by the setting interface, a location of the user's operation instruction to automatically close the application program;
- the mobile terminal provides a list listing all installed applications, and obtains an application that is set by the user and needs to be automatically closed in the form of a check box;
- the location coordinate data of the set location of the application to be automatically closed is associated with the unique identifier of the application and stored in the configuration file.
- the method for automatically closing an application based on a mobile terminal wherein the acquiring, by the mobile terminal, the current location coordinate data of the location at a predetermined time includes:
- the mobile terminal acquires current position coordinate data of the location at a predetermined time by its own positioning function
- determining whether the current location coordinate data is consistent with the location coordinate data of a certain location set in advance includes:
- the method for automatically closing an application based on a mobile terminal, wherein determining whether the acquired current location coordinate data is consistent with the position coordinate data of a preset location of the application to be closed includes:
- the location where the mobile terminal is located is located by using one or more positioning modes of global positioning system positioning, cell identification code or wireless fidelity positioning.
- Location-associated applications specifically include:
- the mobile terminal acquires application information that is automatically closed according to the location;
- the mobile terminal compares the obtained application identifier of the background running with the application identifier corresponding to the location preset in the configuration file, and if the identifiers of the two are the same, controlling the background running corresponding to the identifier The application is closed.
- a system for automatically closing an application based on a mobile terminal comprising:
- a setting and association module for presetting the location of the application to be automatically closed and the application to be closed for each location
- a positioning and determining module configured to acquire, by the mobile terminal, current position coordinate data of the location at a predetermined time; and determine whether the current location coordinate data is consistent with the position coordinate data of a certain location preset;
- the acquisition and control module is configured to control to close the application associated with the current location when it is determined that the current mobile terminal is located at the same location as the previously set location that needs to automatically close the application.
- the system for automatically closing an application based on a mobile terminal wherein the setting and association module further includes:
- a setting unit configured to receive a setting interface, and receive, by the setting interface, an operation instruction of the user, a location where the application is automatically closed, and an application that needs to be closed for each location;
- a first obtaining unit configured to provide a list of all installed applications, and obtain, by means of a check box, an application that is set by the user and needs to be automatically closed;
- the storage unit is configured to associate the location coordinate data of the set location of the application to be automatically closed with the unique identifier of the application, and store the file in the configuration file.
- the system for automatically closing an application based on a mobile terminal wherein the positioning and determining module comprises:
- a positioning unit configured to acquire, by the positioning function of the mobile terminal, current position coordinate data of the location at a predetermined time
- a first comparison and determination unit configured to compare and determine the acquired current position coordinate data with position coordinate data of a place where the application needs to be closed, and determine whether the consistency is consistent
- Comparing and judging unit for comparing whether the current position coordinate data is within the latitude and longitude coordinate range of the preset automatic closing application, and if so, determining that the current mobile terminal is located and the previously set one needs to be automatically closed.
- the location of the application is the same.
- the system for automatically closing an application based on a mobile terminal wherein the positioning unit performs positioning by using one or more positioning methods of global positioning system positioning, cell identification code or wireless fidelity positioning.
- the system for automatically closing an application based on a mobile terminal wherein the obtaining and determining module comprises:
- a second acquiring unit when determining that the current mobile terminal is located at the same location as the previously set location that needs to automatically close the application, the mobile terminal acquires the application information that needs to be automatically closed associated with the location ;
- a detecting unit configured to detect whether a corresponding application is running in the background in the obtained application information, and when the detection is yes, obtaining an application identifier of the current background running through an interface provided by the terminal platform;
- a second comparison and determination unit configured to compare, by the mobile terminal, the acquired application identifier of the background running with the application identifier corresponding to the location preset in the configuration file, and if the identifiers of the two are the same, control The background running application corresponding to this identifier is closed.
- the method and system for automatically closing an application based on a mobile terminal provided by the present invention, the mobile terminal acquires and stores a plurality of locations designated by the user, and performs location coordinates of the location and an application that the mobile terminal needs to automatically close when the location arrives at the location Correlation; the mobile terminal runs the positioning function to obtain the positioning data, and compares with the previously set position coordinates of the auto-close application to determine whether the mobile terminal reaches the location specified by the user to automatically close the background program; when judging that the current mobile terminal is located The location corresponds to any location previously set to automatically close the application, detecting if the application in the list is running in the background, and if so, the mobile terminal shuts it down.
- the invention enables the user to specify the location for the mobile terminal to self-detect and close the pre-designated application program, thereby helping the user to avoid unnecessary interference and providing convenience for the user.
- FIG. 1 is a flow chart of a first preferred embodiment of a method for automatically closing an application based on a mobile terminal of the present invention.
- FIG. 2 is a flow chart of a second preferred embodiment of a method for automatically closing an application based on a mobile terminal of the present invention.
- FIG. 3 is a functional block diagram of a first preferred embodiment of a system for automatically shutting down an application based on a mobile terminal of the present invention.
- a method for automatically closing an application based on a mobile terminal according to the first embodiment of the present invention, as shown in FIG. 1, includes:
- Step S110 preset a place where the application is automatically closed and an application that needs to be closed for each location.
- the mobile terminal acquires and stores a plurality of locations specified by the user, and associates the location coordinates of the location with an application that the mobile terminal needs to automatically close to the location;
- the application of the present invention includes an application running in the foreground and a background application. .
- step S110 includes:
- the mobile terminal provides a setting interface, and receives the operation instruction of the user through the setting interface to set a location for automatically closing the application; preferably, the user can select an location or an area by providing an electronic map, and map the location through an electronic map. It is the latitude and longitude coordinates, and the coordinate information is recorded.
- the mobile terminal provides a list of all installed applications, and obtains an application that needs to be automatically closed in the form set by the user in the form of a check box; for example, setting the location in the office, automatically closing the music player and the video program.
- the location coordinate data of the set location of the application to be automatically closed is associated with the unique identifier ID of the application and stored in the configuration file.
- the corresponding methods are as shown in the following table:
- the user can input the name of the automatically closed application location through the setting interface of the automatic shutdown application location provided by the mobile terminal, and the mobile terminal stores the location coordinate corresponding to the name of the automatically closed application location input by the user into the configuration file.
- the mobile terminal invokes the electronic map display, obtains a location where the user automatically closes the application from the electronic map displayed by the automatically closed application location setting interface, and then stores the location coordinates corresponding to the closed application location selected by the user in the corresponding In the configuration file.
- Step S120 The mobile terminal acquires current location coordinate data of the location at a predetermined time; and determines whether the current location coordinate data is consistent with the location coordinate data of a certain location set in advance.
- the mobile terminal runs the positioning function, acquires the positioning data every predetermined time, and compares with the previously set position coordinates of the automatically closed application, and determines whether the mobile terminal reaches the location of the automatically closed background program designated by the user;
- step S120 further includes:
- the mobile terminal acquires current position coordinate data of the location at a predetermined time (for example, 5 seconds) through its own positioning function;
- the positioning function is generally GPS (Global Positioning System, Global Positioning) System) One or more positioning methods in positioning, Cell ID, or Wi-Fi (Wireless Fidelity) positioning.
- GPS Global Positioning System, Global Positioning
- One or more positioning methods in positioning Cell ID, or Wi-Fi (Wireless Fidelity) positioning.
- Wi-Fi Wireless Fidelity
- GPS positioning using the built-in GPS of the mobile communication terminal a positioning module, which acquires a current position coordinate of the mobile communication terminal by interacting with the positioning satellite and the positioning server;
- Cell ID The mobile communication terminal sends the Cell ID of the cell in which it is currently located to the location server.
- the location server queries its database to find the location coordinates of the cell corresponding to the Cell ID transmitted by the mobile communication terminal, and will find the location. The position coordinates are fed back to the mobile communication terminal;
- Wi-Fi positioning The mobile communication terminal receives wireless Wi-Fi at its current location
- the wireless router signal of the network transmits the wireless router signal to the location server, the location server queries its database, finds the location coordinates of the wireless router, and then transmits the found location coordinates to the mobile communication terminal.
- the positioning of the mobile communication terminal may also adopt other positioning methods, such as Bluetooth positioning, etc., according to the configuration of the mobile communication terminal.
- Step S130 When it is determined that the current mobile terminal is located at the same location as the previously set location that needs to automatically close the application, then the application associated with the current location is controlled to be closed.
- the mobile terminal When it is determined that the current mobile terminal is located corresponding to any previously set location that needs to automatically close the application, the mobile terminal acquires the automatically closed application information associated with the location location, and detects the application in the list. Whether it is running in the background, if any, the mobile terminal closes it by itself.
- the application of the present invention includes an application running in the foreground and a background application.
- the application running in the foreground can also be closed by the present invention.
- step S130 further includes:
- the mobile terminal acquires the automatically closed application information associated with the location location;
- the mobile terminal compares the acquired application ID of the background running with the application ID corresponding to the location preset in the configuration file. If the IDs of the two are the same, the application running in the background corresponding to the ID is controlled to be closed.
- FIG. 2 is a flowchart of a second preferred embodiment of a method for automatically closing an application based on a mobile terminal according to the present invention.
- the method for automatically closing an application based on a mobile terminal shown in FIG. 2 includes:
- Step S10 the mobile terminal acquires the location and application of the automatic shutdown application set by the user, and then performs step S20;
- Step S20 the mobile terminal periodically acquires the current location coordinate data of the location, and then performs step S30;
- Step S30 the mobile terminal determines whether the current location coincides with a certain location preset by the user in the configuration file, if yes, step S50 is performed, if not, step S40 is performed;
- Step S40 the mobile terminal does not perform any processing, and then performs step S20;
- Step S50 The mobile terminal closes the application with the current location.
- the present invention further provides a system for automatically closing an application based on a mobile terminal, as shown in FIG. 3, including:
- the setting and association module 510 is configured to preset a location for automatically closing the application and an application to be closed corresponding to each location; as described above.
- the positioning and determining module 520 is configured to acquire, by the mobile terminal, current position coordinate data of the location at a predetermined time; and determine whether the current location coordinate data is consistent with the location coordinate data of a certain location set in advance; Said.
- the obtaining and controlling module 530 is configured to control to close the application associated with the current location when determining that the current mobile terminal is located at the same location as the previously set location that needs to automatically close the application; .
- the system for automatically closing an application based on the mobile terminal wherein the setting and association module 510 further includes:
- the setting unit is configured to provide a setting interface, and receive, by the setting interface, an operation instruction of the user, a location for automatically closing the application, and an application that needs to be closed for each location; as described above.
- the first obtaining unit is configured to provide a list of all installed applications, and obtain an application that needs to be automatically closed by the location set by the user in the form of a check box; as described above.
- a storage unit configured to associate the set location coordinate data of the set location of the application to be automatically closed with the unique identifier ID of the application, and store the same in the configuration file; as described above.
- the system for automatically closing an application based on a mobile terminal wherein the positioning and determining module comprises:
- a positioning unit configured to acquire, by the positioning function of the mobile terminal, current position coordinate data of the location at a predetermined time; as described above.
- the first comparison and determination unit is configured to compare and determine the acquired current position coordinate data with the position coordinate data of the preset location of the application to be closed, and determine whether they are consistent; as described above.
- Comparing and judging unit for comparing whether the current position coordinate data is within the latitude and longitude coordinate range of the preset automatic closing application, and if so, determining that the current mobile terminal is located and the previously set one needs to be automatically closed.
- the location of the application is consistent; as described above.
- the system for automatically closing an application based on a mobile terminal wherein the positioning unit adopts GPS positioning, Cell One or more positioning methods in ID or Wi-Fi positioning.
- the system for automatically closing an application based on a mobile terminal wherein the obtaining and determining module comprises:
- a second obtaining unit when determining that the current mobile terminal is located at the same location as the previously set location that needs to automatically close the application, the mobile terminal acquires application information that is automatically closed according to the location of the location; Specifically as described above.
- the detecting unit is configured to detect whether the corresponding application is running in the background in the obtained application information, and when the detection is yes, obtain the application ID currently running in the background through the interface provided by the terminal platform; as described above.
- the second comparison and determining unit is configured to compare, by the mobile terminal, the acquired application ID of the background running with the application ID corresponding to the location preset in the configuration file, and if the two IDs are the same, control the ID The corresponding background running application is closed; as described above.
- the mobile terminal acquires and stores a plurality of locations designated by the user, and the location coordinates of the location and the mobile terminal need to be automatically arrived at the location.
- the closed application is associated; the mobile terminal runs the positioning function to obtain the positioning data, and compares with the previously set position coordinates of the automatically closed application, and determines whether the mobile terminal reaches the location specified by the user to automatically close the background program; when determining the current
- the location where the mobile terminal is located corresponds to any previously set location that requires the application to be automatically closed, and detects whether the application in the list is running in the background, and if so, the mobile terminal closes it by itself.
- the invention enables the user to specify the location for the mobile terminal to self-detect and close the pre-designated application program, thereby helping the user to avoid unnecessary interference and providing convenience for the user.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
- Stored Programmes (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
一种基于移动终端的自动关闭应用程序的方法及***,方法包括:预先设置自动关闭应用程序的地点及对应需关闭的应用程序(S110);预定时间内获取当前位置坐标数据(S120);当判断出当前与预设地点的位置坐标数据一致,则控制关闭与当前位置关联的应用程序(S130),可使用户指定地点让移动终端进行自检测并关闭指定的应用程序。
Description
本发明涉及移动终端技术领域,尤其涉及一种基于移动终端的自动关闭应用程序的方法及***。
随着移动通信的发展和人们生活水平的不断提高,各种移动终端如手机的使用越来越普及,手机已经成为人们生活中不可缺少的通讯交流工具。
现在移动通信终端的功能越来越丰富,终端的处理能力越来越强,除了在前台运行的应用程序之外,很多应用程序还会在后台持续运行,并且有时用户不知道应用程序是否完全关闭,不容易发现哪些应用程序正在后台运行,因此在某些场合后台运行的某些应用程序可能会对用户造成影响或干扰,比如,音乐播放器没有完全关闭并在后台运行,用户在会议室或者图书馆比较安静的场合时可能会因为误触到按键或其他原因触发后台运行的播放器播放声音。虽然一些第三方应用程序提供了诸如“一键清理后台应用”等功能关闭后头应用程序,但是仍然需要用户进行手动操作,且无法对后台运行的应用进行按需的关闭。
因此,现有技术还有待于改进和发展。
本发明要解决的技术问题在于,针对现有技术的上述缺陷,提供一种基于移动终端的自动关闭应用程序的方法及***。通过本发明用户可以自行指定场合让移动终端自检测并关闭预先指定的应用程序,减少了用户忘记关闭后台应用程所带来的干扰,提高了移动终端的智能化程度。
一种基于移动终端的自动关闭应用程序的方法,其中包括:
移动终端提供一个列出所有安装的应用程序的列表,通过复选框的形式获取用户设置的所述地点需要自动关闭的应用程序;
移动终端每隔一预定时间获取所处地点的当前位置坐标数据;并判断所述当前位置坐标数据是否与预先设置的某一地点的位置坐标数据一致,其中,移动终端所处的地点采用全球定位***定位、小区识别码或者无线保真定位中的一种或者多种定位方式进行定位;
当判断出当前移动终端所处的地点和之前设定的某一需要自动关闭应用程序的地点一致时,则控制关闭与当前地点关联的应用程序。
基于移动终端的自动关闭应用程序的方法,其中,所述移动终端每隔一预定时间获取所处地点的当前位置坐标数据包括:
则所述判断所述当前位置坐标数据是否与预先设置的某一地点的位置坐标数据一致包括:
判断获取的当前位置坐标数据与预先设置的需关闭应用程序的地点的位置坐标数据是否一致。
基于移动终端的自动关闭应用程序的方法,其中,所述判断获取的当前位置坐标数据与预先设置的需关闭应用程序的地点的位置坐标数据是否一致包括:
比较判断当前位置坐标数据是否在预先设置的自动关闭应用程序的经纬度坐标范围内,如果是则认为当前移动终端所处的地点和之前设定的某一需要自动关闭应用程序的地点一致。
基于移动终端的自动关闭应用程序的方法,其中,所述当判断出当前移动终端所处的地点和之前设定的某一需要自动关闭应用程序的地点一致时,则控制关闭与当前地点关联的应用程序,具体包括:
当判断出当前移动终端所处的地点和之前设定的某一需要自动关闭应用程序的地点一致时,移动终端获取与所述地点相关联的需自动关闭的应用程序信息;
检测获取到的应用程序信息中是否有对应的应用程序在后台运行,当检测到为是时则通过终端平台提供的接口获取当前后台运行的应用程序标识符;
一种基于移动终端的自动关闭应用程序的方法,其中,包括:
预先设置自动关闭应用程序的地点及对应每个地点需关闭的应用程序;
移动终端每隔一预定时间获取所处地点的当前位置坐标数据;并判断所述当前位置坐标数据是否与预先设置的某一地点的位置坐标数据一致;
所述的基于移动终端的自动关闭应用程序的方法,其中,所述预先设置自动关闭应用程序的地点及对应每个地点需关闭的应用程序具体包括:
移动终端提供设置界面,通过所述设置界面接收用户的操作指令设置需自动关闭应用程序的地点;
移动终端提供一个列出所有安装的应用程序的列表,通过复选框的形式获取用户设置的所述地点需要自动关闭的应用程序;
移动终端通过自身的定位功能每隔一预定时间获取所处地点的当前位置坐标数据;
判断获取的当前位置坐标数据与预先设置的需关闭应用程序的地点的位置坐标数据是否一致。
所述的基于移动终端的自动关闭应用程序的方法,其中,所述判断获取的当前位置坐标数据与预先设置的需关闭应用程序的地点的位置坐标数据是否一致包括:
其中,移动终端所处的地点是采用全球定位***定位、小区识别码或者无线保真定位中的一种或者多种定位方式进行定位。
检测获取到的应用程序信息中是否有对应的应用程序在后台运行,当检测到为是时则通过终端平台提供的接口获取当前后台运行的应用程序标识符;
移动终端将获取到的后台运行的应用程序标识符与配置文件中预先设定的所述地点对应的应用程序标识符比较,若二者标识符相同,则控制将此标识符对应的后台运行的应用程序关闭。
设置与关联模块,用于预先设置自动关闭应用程序的地点及对应每个地点需关闭的应用程序;
所述基于移动终端的自动关闭应用程序的***,其中,所述设置与关联模块还包括:
设置单元,用于提供设置界面,通过所述设置界面接收用户的操作指令设置自动关闭应用程序的地点及对应每个地点需关闭的应用程序;
所述基于移动终端的自动关闭应用程序的***,其中,所述定位与判断模块包括:
定位单元,用于移动终端通过自身的定位功能每隔一预定时间获取所处地点的当前位置坐标数据;
再次比较与判断单元,用于比较判断当前位置坐标数据是否在预先设置的自动关闭应用程序的经纬度坐标范围内,如果是则认为当前移动终端所处的地点和之前设定的某一需要自动关闭应用程序的地点一致。
所述基于移动终端的自动关闭应用程序的***,其中,所述定位单元是采用全球定位***定位、小区识别码或者无线保真定位中的一种或者多种定位方式进行定位。
所述基于移动终端的自动关闭应用程序的***,其中,所述获取与判断模块包括:
第二获取单元,当判断出当前移动终端所处的地点和之前设定的某一需要自动关闭应用程序的地点一致时,移动终端获取与所述地点位相关联的需自动关闭的应用程序信息;
本发明所提供的基于移动终端的自动关闭应用程序的方法及***,移动终端获取用户指定的若干地点并进行存储,并将该地点的位置坐标与移动终端到达该地点需要自动关闭的应用程序进行关联;移动终端运行定位功能获取定位数据,并与之前设定的自动关闭应用程序的位置坐标比较,判断移动终端是否到达用户指定的自动关闭后台程序的地点;当判断出当前移动终端所处的地点和之前设定的任一需要自动关闭应用程序的地点对应,检测该列表中的应用程序是否在后台运行,如有,移动终端自行将其关闭。本发明可使用户指定地点让移动终端进行自检测并关闭预先指定的应用程序,帮助用户避免了不必要的干扰,为用户提供了方便。
图1是本发明的基于移动终端的自动关闭应用程序的方法的第一较佳实施例的流程图。
图2是本发明基于移动终端的自动关闭应用程序的方法的第二较佳实施例的流程图。
图3是本发明基于移动终端的自动关闭应用程序的***第一较佳实施例的功能原理框图。
为使本发明的目的、技术方案及优点更加清楚、明确,以下参照附图并举实施例对本发明进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
本发明第一实施例所述的一种基于移动终端的自动关闭应用程序的方法,如图1所示,包括:
步骤S110、预先设置自动关闭应用程序的地点及对应每个地点需关闭的应用程序。
例如移动终端获取用户指定的若干地点并进行存储,并将该地点的位置坐标与移动终端到达该地点需要自动关闭的应用程序进行关联;本发明的应用程序包括前台运行的应用程序和后台应用程序。
本发明实施例在具体实施时步骤S110包括:
移动终端提供设置界面,通过所述设置界面接收用户的操作指令设置自动关闭应用程序的地点;较优的,可以通过提供电子地图让用户选取某一地点位置或区域,通过电子地图将该位置映射为经纬度坐标,并记录该坐标信息。
移动终端提供一个列出所有安装的应用程序的列表,通过复选框的形式获取用户设置的所述地点需要自动关闭的应用程序;例如设置在办公室的地点,自动关闭音乐播放程序及视频程序。
将设置的需自动关闭应用程序的地点的位置坐标数据与应用程序的唯一的标识符ID相关联,存储在配置文件中。对应方式例如下表所示:
具体实施时,用户可以通过移动终端提供的自动关闭应用程序地点的设置界面输入自动关闭应用程序地点的名称,移动终端将用户输入的自动关闭应用程序地点的名称对应的位置坐标存储到配置文件中;或者,移动终端调用电子地图显示,获取用户从自动关闭应用程序地点设置界面显示的电子地图中选择自动关闭应用程序的地点,然后将用户选择的关闭应用程序地点对应的位置坐标存储在对应的配置文件中。
步骤S120、移动终端每隔一预定时间获取所处地点的当前位置坐标数据;并判断所述当前位置坐标数据是否与预先设置的某一地点的位置坐标数据一致。
具体实施时,步骤S120还包括:
将获取的当前位置坐标数据与预先设置的需关闭应用程序的地点的位置坐标数据进行比较判断,判断是否一致;
或者比较判断当前位置坐标数据是否在预先设置的自动关闭应用程序的经纬度坐标范围内,如果是则认为当前移动终端所处的地点和之前设定的某一需要自动关闭应用程序的地点一致,从而判断移动终端是否到达用户设定的自动关闭后台程序的地点。
具体实施时,所述定位功能一般是采用GPS(全球定位***,Global Positioning
System)定位、Cell ID或者Wi-Fi(无线保真)定位中的一种或者多种定位方式。其中三种定位方式的具体定位方法如下:
GPS 定位:利用移动通信终端内置的GPS
定位模块,通过与定位卫星和定位服务器的交互获取移动通信终端当前位置坐标;
Cell ID( 小区识别码) 定位:移动通信终端将其当前所处小区的Cell ID
发送到定位服务器,定位服务器查询其数据库,查找移动通信终端传输的Cell ID对应小区的位置坐标,将查找到的位置坐标反馈到移动通信终端;
Wi-Fi 定位:移动通信终端接收其当前所处位置的无线Wi-Fi
网络的无线路由器信号,将该无线路由器信号传输到定位服务器,定位服务器查询其数据库,查找该无线路由器的位置坐标,然后将查找到的位置坐标传输到移动通信终端。
具体实施时,移动通信终端的定位除可采用上述定位方式外,还可采用其他的定位方式,如蓝牙定位等等,具体根据移动通信终端的配置而实施。
步骤S130、当判断出当前移动终端所处的地点和之前设定的某一需要自动关闭应用程序的地点一致,则控制关闭与当前位置关联的应用程序。
当判断出当前移动终端所处的地点和之前设定的任一需要自动关闭应用程序的地点对应,移动终端获取与该地点位置相关联的自动关闭的应用程序信息,检测该列表中的应用程序是否在后台运行,如有,移动终端自行将其关闭。本发明的应用程序包括前台运行的应用程序和后台应用程序。
具体实施时,步骤S130还包括:
当判断出当前移动终端所处的地点和之前设定的某一需要自动关闭应用程序的地点一致,移动终端获取与该地点位置相关联的自动关闭的应用程序信息;
检测获取到的应用程序信息中是否有对应的应用程序在后台运行,当检测到为是时则通过终端平台提供的接口获取当前后台运行的应用程序ID;
请参见图2,图2是本发明基于移动终端的自动关闭应用程序的方法的第二较佳实施例的流程图。图2所示的基于移动终端的自动关闭应用程序的方法,包括:
步骤S10、移动终端获取用户设置的自动关闭应用程序的地点及应用程序,之后执行步骤S20;
步骤S20、移动终端周期性的获取所处地点的当前位置坐标数据,之后执行步骤S30;
步骤S30、移动终端判断当前位置是否与配置文件中用户预先设定的某一地点吻合,如果吻合则执行步骤S50,如果不吻合执行步骤S40;
步骤S40、移动终端不作任何处理,之后执行步骤S20;
基于上述实施例,本发明还提供一种基于移动终端的自动关闭应用程序的***,如图3所示,包括:
设置与关联模块510,用于预先设置自动关闭应用程序的地点及对应每个地点需关闭的应用程序;具体如上所述。
定位与判断模块520,用于移动终端每隔一预定时间获取所处地点的当前位置坐标数据;并判断所述当前位置坐标数据是否与预先设置的某一地点的位置坐标数据一致;具体如上所述。
所述基于移动终端的自动关闭应用程序的***,其中,所述设置与关联模块510还包括:
设置单元,用于提供设置界面,通过所述设置界面接收用户的操作指令设置自动关闭应用程序的地点及对应每个地点需关闭的应用程序;具体如上所述。
存储单元,用于将设置的需自动关闭应用程序的地点的位置坐标数据与应用程序的唯一的标识符ID相关联,存储在配置文件里;具体如上所述。
所述基于移动终端的自动关闭应用程序的***,其中,所述定位与判断模块包括:
定位单元,用于移动终端通过自身的定位功能每隔一预定时间获取所处地点的当前位置坐标数据;具体如上所述。
再次比较与判断单元,用于比较判断当前位置坐标数据是否在预先设置的自动关闭应用程序的经纬度坐标范围内,如果是则认为当前移动终端所处的地点和之前设定的某一需要自动关闭应用程序的地点一致;具体如上所述。
所述基于移动终端的自动关闭应用程序的***,其中,所述定位单元是采用GPS定位、Cell
ID或者Wi-Fi定位中的一种或者多种定位方式。
检测单元,用于检测获取到的应用程序信息中是否有对应的应用程序在后台运行,当检测到为是时则通过终端平台提供的接口获取当前后台运行的应用程序ID;具体如上所述。
综上所述,本发明所提供的基于移动终端的自动关闭应用程序的方法及***,移动终端获取用户指定的若干地点并进行存储,并将该地点的位置坐标与移动终端到达该地点需要自动关闭的应用程序进行关联;移动终端运行定位功能获取定位数据,并与之前设定的自动关闭应用程序的位置坐标比较,判断移动终端是否到达用户指定的自动关闭后台程序的地点;当判断出当前移动终端所处的地点和之前设定的任一需要自动关闭应用程序的地点对应,检测该列表中的应用程序是否在后台运行,如有,移动终端自行将其关闭。本发明可使用户指定地点让移动终端进行自检测并关闭预先指定的应用程序,帮助用户避免了不必要的干扰,为用户提供了方便。
Claims (15)
- 移动终端提供设置界面,通过所述设置界面接收用户的操作指令设置需自动关闭应用程序的地点;移动终端提供一个列出所有安装的应用程序的列表,通过复选框的形式获取用户设置的所述地点需要自动关闭的应用程序;移动终端每隔一预定时间获取所处地点的当前位置坐标数据;并判断所述当前位置坐标数据是否与预先设置的某一地点的位置坐标数据一致,其中,移动终端所处的地点采用全球定位***定位、小区识别码或者无线保真定位中的一种或者多种定位方式进行定位;当判断出当前移动终端所处的地点和之前设定的某一需要自动关闭应用程序的地点一致时,则控制关闭与当前地点关联的应用程序。
- 根据权利要求1所述的基于移动终端的自动关闭应用程序的方法,其中,所述当判断出当前移动终端所处的地点和之前设定的某一需要自动关闭应用程序的地点一致时,则控制关闭与当前地点关联的应用程序,具体包括:检测获取到的应用程序信息中是否有对应的应用程序在后台运行,当检测到为是时则通过终端平台提供的接口获取当前后台运行的应用程序标识符;
- 根据权利要求7所述的基于移动终端的自动关闭应用程序的方法,其中所述判断获取的当前位置坐标数据与预先设置的需关闭应用程序的地点的位置坐标数据是否一致包括:比较判断当前位置坐标数据是否在预先设置的自动关闭应用程序的经纬度坐标范围内,如果是则认为当前移动终端所处的地点和之前设定的某一需要自动关闭应用程序的地点一致;其中,移动终端所处的地点是采用全球定位***定位、小区识别码或者无线保真定位中的一种或者多种定位方式进行定位。
- 当判断出当前移动终端所处的地点和之前设定的某一需要自动关闭应用程序的地点一致时,移动终端获取与所述地点相关联的需自动关闭的应用程序信息;检测获取到的应用程序信息中是否有对应的应用程序在后台运行,当检测到为是时则通过终端平台提供的接口获取当前后台运行的应用程序标识符;
- 根据权利要求6所述的基于移动终端的自动关闭应用程序的方法,其中所述当判断出当前移动终端所处的地点和之前设定的某一需要自动关闭应用程序的地点一致时,则控制关闭与当前地点关联的应用程序,具体包括:当判断出当前移动终端所处的地点和之前设定的某一需要自动关闭应用程序的地点一致时,移动终端获取与所述地点相关联的需自动关闭的应用程序信息;移动终端将获取到的后台运行的应用程序标识符与配置文件中预先设定的所述地点对应的应用程序标识符比较,若二者标识符相同,则控制将此标识符对应的后台运行的应用程序关闭。
- 根据权利要求11所述基于移动终端的自动关闭应用程序的***,其中所述设置与关联模块还包括:设置单元,用于提供设置界面,通过所述设置界面接收用户的操作指令设置自动关闭应用程序的地点及对应每个地点需关闭的应用程序;第一获取单元,用于提供一个列出所有安装的应用程序的列表,通过复选框的形式获取用户设置的所述地点需要自动关闭的应用程序;存储单元,用于将设置的需自动关闭的应用程序的地点的位置坐标数据与应用程序的唯一的标识符相关联,存储在配置文件里。
- 根据权利要求13所述基于移动终端的自动关闭应用程序的***,其中所述定位单元是采用全球定位***定位、小区识别码或者无线保真定位中的一种或者多种定位方式进行定位。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410434238.5A CN104168390A (zh) | 2014-08-29 | 2014-08-29 | 基于移动终端的自动关闭应用程序的方法及*** |
CN201410434238.5 | 2014-08-30 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016029660A1 true WO2016029660A1 (zh) | 2016-03-03 |
Family
ID=51912005
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2015/072293 WO2016029660A1 (zh) | 2014-08-29 | 2015-02-05 | 基于移动终端的自动关闭应用程序的方法及*** |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104168390A (zh) |
WO (1) | WO2016029660A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105681578A (zh) * | 2016-03-11 | 2016-06-15 | 深圳还是威健康科技有限公司 | 一种移动终端远程控制方法以及装置 |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104168390A (zh) * | 2014-08-29 | 2014-11-26 | 惠州Tcl移动通信有限公司 | 基于移动终端的自动关闭应用程序的方法及*** |
WO2017012101A1 (zh) * | 2015-07-22 | 2017-01-26 | 程强 | 点餐***的路径导航方法及*** |
CN105354486A (zh) * | 2015-10-20 | 2016-02-24 | 奇酷互联网络科技(深圳)有限公司 | 运行控制方法、运行控制***和终端 |
CN105873196A (zh) * | 2016-03-23 | 2016-08-17 | 努比亚技术有限公司 | 一种移动终端及降低移动终端功耗的方法 |
CN105933521A (zh) * | 2016-04-22 | 2016-09-07 | 广东小天才科技有限公司 | 一种移动终端选择定位模式的方法和装置 |
CN106293391B (zh) * | 2016-07-29 | 2020-04-07 | 宇龙计算机通信科技(深圳)有限公司 | 应用的冻结或解冻方法、装置及移动终端 |
CN106603825A (zh) * | 2016-11-29 | 2017-04-26 | 北京小米移动软件有限公司 | 移动终端控制方法及装置 |
CN107273157A (zh) * | 2017-06-05 | 2017-10-20 | 广东欧珀移动通信有限公司 | 应用控制方法及相关产品 |
CN108288069B (zh) * | 2018-01-11 | 2021-11-02 | 上海展扬通信技术有限公司 | 一种定位功能管理方法、移动终端及可读存储介质 |
CN108733430B (zh) * | 2018-05-22 | 2022-08-12 | 北京小米移动软件有限公司 | 应用程序的管理方法、装置及存储介质 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101374287A (zh) * | 2007-08-21 | 2009-02-25 | 英华达(南京)科技有限公司 | 用以切换移动通讯装置的通讯模式的方法 |
CN102196097A (zh) * | 2011-05-19 | 2011-09-21 | 中兴通讯股份有限公司 | 移动通信终端后台空闲程序自动关闭的方法及装置 |
KR20130047082A (ko) * | 2011-10-31 | 2013-05-08 | 한국전자통신연구원 | 무선랜 시스템에서의 휴대 단말 기능 제한 방법 |
CN103607253A (zh) * | 2013-09-27 | 2014-02-26 | 西安酷派软件科技有限公司 | 一种控制移动终端的方法及*** |
CN103645802A (zh) * | 2013-12-05 | 2014-03-19 | Tcl通讯(宁波)有限公司 | 一种移动终端应用自动关闭的方法及移动终端 |
CN104168390A (zh) * | 2014-08-29 | 2014-11-26 | 惠州Tcl移动通信有限公司 | 基于移动终端的自动关闭应用程序的方法及*** |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050277428A1 (en) * | 2004-05-13 | 2005-12-15 | International Business Machines Corporation | Location-based control of wireless communications device features |
JP2008515309A (ja) * | 2004-09-29 | 2008-05-08 | レイフ コミュニケーションズ エルエルシー | ポータブルデジタル装置の制御 |
CN1968500A (zh) * | 2006-04-13 | 2007-05-23 | 华为技术有限公司 | 控制移动通讯设备功能的方法及设备 |
US7912451B2 (en) * | 2007-02-26 | 2011-03-22 | Sony Ericsson Mobile Communications Ab | Limiting use of electronic equipment features based on location |
CN101657038A (zh) * | 2008-08-22 | 2010-02-24 | 深圳富泰宏精密工业有限公司 | 电子装置功能限制***及方法 |
CN101860988A (zh) * | 2010-05-17 | 2010-10-13 | 中兴通讯股份有限公司 | 一种基于位置区域的无线通信终端业务控制方法和装置 |
CN103220398A (zh) * | 2012-01-19 | 2013-07-24 | 宇龙计算机通信科技(深圳)有限公司 | 终端和终端设置方法 |
CN103984889A (zh) * | 2013-02-08 | 2014-08-13 | 国际商业机器公司 | 禁用移动设备中的至少一应用的方法和***以及移动设备 |
-
2014
- 2014-08-29 CN CN201410434238.5A patent/CN104168390A/zh active Pending
-
2015
- 2015-02-05 WO PCT/CN2015/072293 patent/WO2016029660A1/zh active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101374287A (zh) * | 2007-08-21 | 2009-02-25 | 英华达(南京)科技有限公司 | 用以切换移动通讯装置的通讯模式的方法 |
CN102196097A (zh) * | 2011-05-19 | 2011-09-21 | 中兴通讯股份有限公司 | 移动通信终端后台空闲程序自动关闭的方法及装置 |
KR20130047082A (ko) * | 2011-10-31 | 2013-05-08 | 한국전자통신연구원 | 무선랜 시스템에서의 휴대 단말 기능 제한 방법 |
CN103607253A (zh) * | 2013-09-27 | 2014-02-26 | 西安酷派软件科技有限公司 | 一种控制移动终端的方法及*** |
CN103645802A (zh) * | 2013-12-05 | 2014-03-19 | Tcl通讯(宁波)有限公司 | 一种移动终端应用自动关闭的方法及移动终端 |
CN104168390A (zh) * | 2014-08-29 | 2014-11-26 | 惠州Tcl移动通信有限公司 | 基于移动终端的自动关闭应用程序的方法及*** |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105681578A (zh) * | 2016-03-11 | 2016-06-15 | 深圳还是威健康科技有限公司 | 一种移动终端远程控制方法以及装置 |
Also Published As
Publication number | Publication date |
---|---|
CN104168390A (zh) | 2014-11-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2016029660A1 (zh) | 基于移动终端的自动关闭应用程序的方法及*** | |
WO2014157886A1 (en) | Method and device for executing application | |
WO2019088802A1 (ko) | 전자 장치 및 전자 장치 간 음성으로 기능을 실행하는 방법 | |
WO2015065125A1 (ko) | 전자 기기 및 전자 기기의 제어 방법 | |
WO2016029449A1 (zh) | 防误触触摸屏的方法和装置 | |
WO2012020864A1 (ko) | 이동단말기, 디스플레이 장치 및 그 제어 방법 | |
WO2013043004A2 (en) | Apparatus and method for controlling screen rotation in a portable terminal | |
EP3685588A1 (en) | Display device and terminal for controlling the same | |
WO2013042804A1 (en) | Mobile terminal, method for controlling of the mobile terminal and system | |
EP2880770A1 (en) | Method and apparatus for alarm service using context awareness in portable terminal | |
WO2013109052A1 (en) | Apparatus and method for multimedia content interface in image display device | |
WO2021047070A1 (zh) | 终端拍摄方法、装置、移动终端及可读存储介质 | |
WO2018166199A1 (zh) | 定位精度等级调整方法、装置、存储介质及电子设备 | |
WO2020032443A1 (en) | Electronic device supporting personalized device connection and method thereof | |
WO2018076840A1 (zh) | 数据分享方法、装置、存储介质及服务器 | |
WO2017206870A1 (zh) | 一种传感器关闭方法、装置、存储介质及电子设备 | |
WO2020218805A1 (en) | Electronic device and method of controlling thereof | |
WO2020032465A1 (en) | Method for contents playback with continuity and electronic device therefor | |
WO2017071326A1 (zh) | 一种终端的控制方法、装置和*** | |
WO2017206867A1 (zh) | 一种传感器的关闭方法、装置、存储介质及电子设备 | |
WO2017206892A1 (zh) | 一种移动终端的传感器处理方法、装置、存储介质及电子设备 | |
WO2020153766A1 (en) | Method for displaying visual information associated with voice input and electronic device supporting the same | |
WO2020082503A1 (zh) | 情景模式的推荐方法、服务器、家电设备以及存储介质 | |
WO2019039707A1 (en) | METHOD FOR CONFIGURING ACTION OF AN EXTERNAL DEVICE AND ELECTRONIC DEVICE SUPPORTING THE SAME | |
WO2017067232A1 (zh) | 一种基于移动终端的自动呼叫转移方法、***及移动终端 |
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: 15835640 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: 15835640 Country of ref document: EP Kind code of ref document: A1 |