CN102004643A - Software uninstalling method and device based on Apple operating system - Google Patents

Software uninstalling method and device based on Apple operating system Download PDF

Info

Publication number
CN102004643A
CN102004643A CN2010105658832A CN201010565883A CN102004643A CN 102004643 A CN102004643 A CN 102004643A CN 2010105658832 A CN2010105658832 A CN 2010105658832A CN 201010565883 A CN201010565883 A CN 201010565883A CN 102004643 A CN102004643 A CN 102004643A
Authority
CN
China
Prior art keywords
software
user interface
interface file
operating system
apple macintosh
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.)
Pending
Application number
CN2010105658832A
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2010105658832A priority Critical patent/CN102004643A/en
Publication of CN102004643A publication Critical patent/CN102004643A/en
Priority to PCT/CN2011/077246 priority patent/WO2012071897A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/62Uninstallation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a software uninstalling method based on an Apple operating system, comprising the following steps: monitoring whether a user interface file of the software is removed; when the user interface file is removed, invoking a uninstalling program uninstalling software of the software. The invention further provides a corresponding device. The software uninstalling method and device based on the apple operating system provided by the invention invoke the uninstalling program uninstalling software to completely uninstall the software when the non-standard operation of uninstalling the software of the user is detected.

Description

Software uninstalling method and device based on Apple Macintosh operating system
Technical field
The present invention relates to the communications field, specially refer to a kind of software uninstalling method and device based on Apple Macintosh operating system.
Background technology
Mobile terminal software generally includes user interface file, driver and relevant configuration file etc., respectively different files is installed under the different system paths by installation procedure, in order to realize complete discharge, the Uninstaller that just requires user's operating software to carry.Traditional software uninstalling method is that the user will comprise that by installation procedure the software of Uninstaller is installed on system, and when the user needed uninstall, the operation Uninstaller can reach the effect of complete discharge.
But the user of Apple Macintosh operating system usually gets used to the user interface file is directly pulled into the wastepaper basket of system desktop, thereby thinks that software is unloaded, but in fact the user does not unload all drivers and relevant configuration file.This operation lack of standardization does not have complete discharge software, and severest consequences are because the existence influence software next time of filtration drive is installed, and certainly will influence user experience.
Summary of the invention
Fundamental purpose of the present invention is for providing a kind of software uninstalling method and device based on Apple Macintosh operating system, the operation of user's uninstall lack of standardization detected, and call the Uninstaller uninstall, realizes complete discharge software.
The present invention proposes a kind of software uninstalling method based on Apple Macintosh operating system, comprising:
Whether the user interface file of monitoring of software is removed;
When the user interface file is removed, call the Uninstaller uninstall of described software.
Preferably, before whether the user interface file of carrying out described monitoring of software is removed, comprising:
When software is installed, obtain the title of the user interface file of this software.
Preferably, before carrying out the described Uninstaller uninstall that calls software, also comprise:
Display reminding information, whether the prompting user uninstall.
Preferably, whether the user interface file of described monitoring of software is removed and comprises:
Regularly whether the user interface file that detects under the software path exists, and whether there is described user interface file in the wastepaper basket, user interface file under software path does not exist, and when having described user interface file in the wastepaper basket, thinks that the user interface of this software is removed.
Preferably, whether the user interface file of described monitoring of software is removed and comprises:
The message of the user interface file movement under the receiving software path;
Whether the destination address of judging described user interface file movement is wastepaper basket, is to think that then the user interface of this software is removed.
The present invention also proposes a kind of software discharge mechanism based on Apple Macintosh operating system, comprising:
Monitoring modular, whether the user interface file that is used for monitoring of software is removed;
Calling module is used for when the user interface file is removed, and calls the Uninstaller uninstall of described software.
Preferably, the software discharge mechanism based on Apple Macintosh operating system also comprises:
Acquisition module is used for obtaining the title of the user interface file of this software when software is installed.
Preferably, the software discharge mechanism based on Apple Macintosh operating system also comprises:
Reminding module is used for display reminding information, and whether the prompting user uninstall.
Preferably, described detection module specifically is used for:
Regularly whether the user interface file that detects under the software path exists, and whether there is described user interface file in the wastepaper basket, user interface file under software path does not exist, and when having described user interface file in the wastepaper basket, thinks that the user interface of this software is removed.
Preferably, described detection module specifically is used for:
The message of the user interface file movement under the receiving software path, and judge whether the destination address of described user interface file movement is wastepaper basket, be to think that then the user interface of this software is removed.
A kind of software uninstalling method and device based on Apple Macintosh operating system that the present invention proposes when the operation of the uninstall lack of standardization that detects the user, call the Uninstaller uninstall, realize complete discharge software.
Description of drawings
Fig. 1 is the schematic flow sheet that the present invention is based on software uninstalling method one embodiment of Apple Macintosh operating system;
Fig. 2 is the schematic flow sheet that the present invention is based on the another embodiment of software uninstalling method of Apple Macintosh operating system;
Fig. 3 is the structural representation that the present invention is based on software discharge mechanism one embodiment of Apple Macintosh operating system;
Fig. 4 is the structural representation that the present invention is based on the another embodiment of software discharge mechanism of Apple Macintosh operating system.
The realization of the object of the invention, functional characteristics and advantage will be in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
A kind of software uninstalling method and device based on Apple Macintosh operating system that the present invention proposes when the nonstandard uninstall operation that detects that the user carries out, call the Uninstaller uninstall.
With reference to Fig. 1, propose the present invention is based on software uninstalling method one embodiment of Apple Macintosh operating system, comprising:
Step S101, whether the user interface file of monitoring of software is removed;
The one software discharge mechanism based on Apple Macintosh operating system at first is set in needing installed software, this device together is installed in the Apple Macintosh operating system when software is installed, software discharge mechanism based on Apple Macintosh operating system can have two kinds of Starting mode: one for before software installs, mode by script starts this device, before another kind is start-up system, mechanism by system starts this device, as under the path/Library/LaunchAgents/ of system, writing the file that comprises this device installation path, and after system start-up, start this device.Software discharge mechanism based on Apple Macintosh operating system can adopt following method to monitor:
(1) based on the software discharge mechanism of Apple Macintosh operating system regularly detect software path (whether/ user interface file under Application) exists, and wastepaper basket (/ whether have the user interface file under .Trash).User interface file under software path does not exist, and when having this user interface file in the wastepaper basket, thinks that the user interface file is removed.
(2) message mechanism that utilizes Cocoa to provide, object by registration NSFileManager type, moving of monitor user ' interface file, if the user interface file from Program path (/Application) be moved, then get access to message, further judge the destination address that moves whether be wastepaper basket (/ .Trash), be to think that then the user interface file is removed.
Step S102 when the user interface file is removed, calls the Uninstaller uninstall of software.
When monitoring the user interface file when being removed, call the Uninstaller of software based on the software discharge mechanism of Apple Macintosh operating system, with the software complete discharge.
A kind of software uninstalling method based on Apple Macintosh operating system that the present invention proposes when the nonstandard uninstall operation that detects that the user carries out, calls the Uninstaller uninstall, realizes complete discharge software.
In software uninstalling method one embodiment that the present invention is based on Apple Macintosh operating system, step S101 can comprise:
Regularly whether the user interface file that detects under the software path exists, and whether there is the user interface file in the wastepaper basket, user interface file under software path does not exist, and when having the user interface file in the wastepaper basket, thinks that the user interface of this software is removed.
In software uninstalling method one embodiment that the present invention is based on Apple Macintosh operating system, step S101 also can comprise:
The message of the user interface file movement under the receiving software path;
Whether the destination address of judging the user interface file movement is wastepaper basket, is to think that then the user interface of this software is removed.
With reference to Fig. 2, propose the present invention is based on the another embodiment of software uninstalling method of Apple Macintosh operating system, in the above-described embodiments, before execution in step S101, comprising:
Step S100 when software is installed, obtains the title of the user interface file of this software.
In the process that executive software is installed, obtain the user interface file name of this software, this title is write in the local profile, offer based on the software discharge mechanism monitoring of Apple Macintosh operating system and use based on the software discharge mechanism of Apple Macintosh operating system.
Before execution in step S102, comprising:
Step S1011, display reminding information, whether the prompting user uninstall.
When the software discharge mechanism based on Apple Macintosh operating system detects the user interface file and is removed, the nonstandard deletion software operation of user has taken place in expression, this moment display reminding information, whether the prompting user deletes software, if the user determines deletion software, then call the Uninstaller uninstall of software.
On based on the software uninstalling method of Apple Macintosh operating system among the embodiment, also can obtain the title of the user interface file of software based on the software discharge mechanism of Apple Macintosh operating system, therefore can be on the basis of a last embodiment, be fit to be built in various softwares, and before unloading, point out the user, with anti-misoperation.
With reference to Fig. 3, propose the present invention is based on software discharge mechanism one embodiment of Apple Macintosh operating system, comprising:
Monitoring modular 10, whether the user interface file that is used for monitoring of software is removed;
Calling module 20 is used for when the user interface file is removed, and calls the Uninstaller uninstall of software.
Software discharge mechanism based on Apple Macintosh operating system together is installed in the Apple Macintosh operating system when software is installed, software discharge mechanism based on Apple Macintosh operating system can have two kinds of Starting mode: one for before software installs, mode by script starts this device, before another kind is start-up system, mechanism by system starts this device, as under the path/Library/LaunchAgents/ of system, writing the file that comprises this device installation path, and after system start-up, start this device.When this device started, whether monitoring modular 10 beginning monitor user ' interface softwares were removed, and monitoring modular 10 can adopt following method to monitor:
(1) based on the software discharge mechanism of Apple Macintosh operating system regularly detect software path (whether/ user interface file under Application) exists, and wastepaper basket (/ whether have the user interface file under .Trash).User interface file under software path does not exist, and when having this user interface file in the wastepaper basket, thinks that the user interface file is removed.
(2) message mechanism that utilizes Cocoa to provide, object by registration NSFileManager type, moving of monitor user ' interface file, if the user interface file from Program path (/Application) be moved, then get access to message, further judge the destination address that moves whether be wastepaper basket (/ .Trash), be to think that then the user interface file is removed.
When monitoring the user interface file when being removed, calling module 20 calls the Uninstaller of software, with the software complete discharge.
A kind of software discharge mechanism based on Apple Macintosh operating system that the present invention proposes when the nonstandard uninstall operation that detects that the user carries out, calls the Uninstaller uninstall, realizes complete discharge software.
In software discharge mechanism one embodiment based on Apple Macintosh operating system, detection module 10 specifically can be used for:
Regularly whether the user interface file that detects under the software path exists, and whether there is the user interface file in the wastepaper basket, user interface file under software path does not exist, and when having the user interface file in the wastepaper basket, thinks that the user interface of this software is removed.
In software discharge mechanism one embodiment based on Apple Macintosh operating system, detection module 10 also can be used for:
The message of the user interface file movement under the receiving software path, and judge whether the destination address of user interface file movement is wastepaper basket, be to think that then the user interface of this software is removed.
With reference to Fig. 4, propose the present invention is based on the another embodiment of software discharge mechanism of Apple Macintosh operating system, in the software discharge mechanism of a last embodiment, also comprise based on Apple Macintosh operating system:
Acquisition module 30 is used for installing constantly when software, obtains the title of the user interface file of this software.
Reminding module 40 is used for display reminding information, and whether the prompting user uninstall.
In the process that executive software is installed, acquisition module 30 obtains the user interface program title of this software, and this title is write in the local profile, offers based on the software discharge mechanism monitoring of Apple Macintosh operating system to use.
When detection module 10 detects the user interface file and is removed, the nonstandard deletion software operation of user has taken place in expression, this moment reminding module 40 display reminding information, whether the prompting user deletes software, if the user determines deletion software, the Uninstaller uninstall of then notifying calling module to call software.
On based on the software discharge mechanism of Apple Macintosh operating system among the embodiment, also can obtain the title of the user interface file of software based on the software discharge mechanism of Apple Macintosh operating system, therefore can be on the basis of a last embodiment, be fit to be built in various softwares, and before unloading, point out the user, with anti-misoperation.
The above only is the preferred embodiments of the present invention; be not so limit claim of the present invention; every equivalent structure or equivalent flow process conversion that utilizes instructions of the present invention and accompanying drawing content to be done; or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.

Claims (10)

1. the software uninstalling method based on Apple Macintosh operating system is characterized in that, comprising:
Whether the user interface file of monitoring of software is removed;
When the user interface file is removed, call the Uninstaller uninstall of described software.
2. the software uninstalling method based on Apple Macintosh operating system as claimed in claim 1 is characterized in that, before whether the user interface file of carrying out described monitoring of software is removed, comprising:
When software is installed, obtain the title of the user interface file of this software.
3. the software uninstalling method based on Apple Macintosh operating system as claimed in claim 1 or 2 is characterized in that, before carrying out the described Uninstaller uninstall that calls software, also comprises:
Display reminding information, whether the prompting user uninstall.
4. the software uninstalling method based on Apple Macintosh operating system as claimed in claim 1 or 2 is characterized in that, whether the user interface file of described monitoring of software is removed and comprises:
Regularly whether the user interface file that detects under the software path exists, and whether there is described user interface file in the wastepaper basket, user interface file under software path does not exist, and when having described user interface file in the wastepaper basket, thinks that the user interface of this software is removed.
5. the software uninstalling method based on Apple Macintosh operating system as claimed in claim 1 or 2 is characterized in that, whether the user interface file of described monitoring of software is removed and comprises:
The message of the user interface file movement under the receiving software path;
Whether the destination address of judging described user interface file movement is wastepaper basket, is to think that then the user interface of this software is removed.
6. the software discharge mechanism based on Apple Macintosh operating system is characterized in that, comprising:
Monitoring modular, whether the user interface file that is used for monitoring of software is removed;
Calling module is used for when the user interface file is removed, and calls the Uninstaller uninstall of described software.
7. the software discharge mechanism based on Apple Macintosh operating system as claimed in claim 6 is characterized in that, also comprises:
Acquisition module is used for obtaining the title of the user interface file of this software when software is installed.
8. as claim 6 or 7 described software discharge mechanisms, it is characterized in that, also comprise based on Apple Macintosh operating system:
Reminding module is used for display reminding information, and whether the prompting user uninstall.
9. as claim 6 or 7 described software discharge mechanisms, it is characterized in that described detection module specifically is used for based on Apple Macintosh operating system:
Regularly whether the user interface file that detects under the software path exists, and whether there is described user interface file in the wastepaper basket, user interface file under software path does not exist, and when having described user interface file in the wastepaper basket, thinks that the user interface of this software is removed.
10. as claim 6 or 7 described software discharge mechanisms, it is characterized in that described detection module specifically is used for based on Apple Macintosh operating system:
The message of the user interface file movement under the receiving software path, and judge whether the destination address of described user interface file movement is wastepaper basket, be to think that then the user interface of this software is removed.
CN2010105658832A 2010-11-30 2010-11-30 Software uninstalling method and device based on Apple operating system Pending CN102004643A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2010105658832A CN102004643A (en) 2010-11-30 2010-11-30 Software uninstalling method and device based on Apple operating system
PCT/CN2011/077246 WO2012071897A1 (en) 2010-11-30 2011-07-18 Method and device for uninstalling software based on apple operating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105658832A CN102004643A (en) 2010-11-30 2010-11-30 Software uninstalling method and device based on Apple operating system

Publications (1)

Publication Number Publication Date
CN102004643A true CN102004643A (en) 2011-04-06

Family

ID=43812025

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105658832A Pending CN102004643A (en) 2010-11-30 2010-11-30 Software uninstalling method and device based on Apple operating system

Country Status (2)

Country Link
CN (1) CN102004643A (en)
WO (1) WO2012071897A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012071897A1 (en) * 2010-11-30 2012-06-07 中兴通讯股份有限公司 Method and device for uninstalling software based on apple operating system
CN102722397A (en) * 2012-06-20 2012-10-10 青岛海信移动通信技术股份有限公司 Application uninstalling method, uninstaller and mobile terminal
CN106445672A (en) * 2016-10-10 2017-02-22 广东欧珀移动通信有限公司 Deleting method and device for reference relations of multiple applications and terminal
CN116541253A (en) * 2023-07-07 2023-08-04 深圳软牛科技有限公司 Application detection method, system, terminal equipment and readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003140893A (en) * 2001-11-02 2003-05-16 Nippon Telegr & Teleph Corp <Ntt> Device and method for automatically creating user interface program, program and storage medium
CN101097517A (en) * 2006-06-29 2008-01-02 知网生物识别科技股份有限公司 Operation method for obtaining password field selection values and login application program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1173269C (en) * 2001-02-01 2004-10-27 英业达股份有限公司 Monitor method for reverse mounting
CN102004643A (en) * 2010-11-30 2011-04-06 中兴通讯股份有限公司 Software uninstalling method and device based on Apple operating system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003140893A (en) * 2001-11-02 2003-05-16 Nippon Telegr & Teleph Corp <Ntt> Device and method for automatically creating user interface program, program and storage medium
CN101097517A (en) * 2006-06-29 2008-01-02 知网生物识别科技股份有限公司 Operation method for obtaining password field selection values and login application program

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
20100521 珠海市魅族科技有限公司 M8SE用户使用手册 1-10 , *
MACUKNOW: "《Mac问题追缉令》", 30 September 2009, 清华大学出版社 *
珠海市魅族科技有限公司: "M8SE用户使用手册", <HTTP://WWW.MEIZU.COM/FILES/DOWNLOAD/M8/M8_USER_GUIDE.PDF> *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012071897A1 (en) * 2010-11-30 2012-06-07 中兴通讯股份有限公司 Method and device for uninstalling software based on apple operating system
CN102722397A (en) * 2012-06-20 2012-10-10 青岛海信移动通信技术股份有限公司 Application uninstalling method, uninstaller and mobile terminal
CN102722397B (en) * 2012-06-20 2016-12-21 青岛海信移动通信技术股份有限公司 Application program discharging method, discharge mechanism and mobile terminal
CN106445672A (en) * 2016-10-10 2017-02-22 广东欧珀移动通信有限公司 Deleting method and device for reference relations of multiple applications and terminal
CN106445672B (en) * 2016-10-10 2019-06-28 Oppo广东移动通信有限公司 A kind of delet method, device and terminal opened using adduction relationship more
CN116541253A (en) * 2023-07-07 2023-08-04 深圳软牛科技有限公司 Application detection method, system, terminal equipment and readable storage medium
CN116541253B (en) * 2023-07-07 2024-03-26 深圳软牛科技有限公司 Application detection method, system, terminal equipment and readable storage medium

Also Published As

Publication number Publication date
WO2012071897A1 (en) 2012-06-07

Similar Documents

Publication Publication Date Title
CN102043655B (en) Method and system for carrying out advanced uninstall on software
CN108108290B (en) Apparatus and method for detecting offloading of audience measurement processing on a mobile device
CN104375856A (en) Application updating method and device
CN103473163A (en) Application program detection method and device
CN103795740A (en) Downloading method of plug-in installation packages and downloading terminal
CN101317381A (en) Ability management object maintenance, ability management method, system and terminal
CN102004643A (en) Software uninstalling method and device based on Apple operating system
CN102681874B (en) A kind ofly guarantee the method that software normally runs and device
CN102647515B (en) Terminal state displaying control method and device
CN103049287A (en) Mobile terminal and method for installing application programs of mobile terminal
CN111045714A (en) Firmware updating method and device, earphone and computer readable storage medium
EP2492821A1 (en) Method and device for updating data card
CN106066686A (en) A kind of information processing method and terminal device
CN103389898A (en) Method for managing mobile terminal software and mobile terminal
CN103077048A (en) Method for updating operating parameters of communication module and communication terminal
CN103731733A (en) Version upgrading method and electronic device
CN105468422A (en) Method and system for optimizing operation system
CN103164326A (en) Detecting method and detecting system for game operating environment
CN103870319B (en) Information processing method, device and electronic equipment
EP3129883B1 (en) Method and apparatus for repairing dynamic link library file
CN103235703B (en) Preset resource storage method and apparatus
CN102333153B (en) Wireless communication device and application program reminding method thereof
CN103235728B (en) The installation method of preset third-party application and device in Android terminal
CN103198003B (en) For the control method of radio communication device
CN103530159A (en) Upgrading method and system of wireless communication module

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110406