RU2365976C2 - Method of uninstalling software in multiuser environment - Google Patents
Method of uninstalling software in multiuser environment Download PDFInfo
- Publication number
- RU2365976C2 RU2365976C2 RU2007140948/09A RU2007140948A RU2365976C2 RU 2365976 C2 RU2365976 C2 RU 2365976C2 RU 2007140948/09 A RU2007140948/09 A RU 2007140948/09A RU 2007140948 A RU2007140948 A RU 2007140948A RU 2365976 C2 RU2365976 C2 RU 2365976C2
- Authority
- RU
- Russia
- Prior art keywords
- user
- computer program
- memory
- data
- counter
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 27
- 238000004590 computer program Methods 0.000 claims description 37
- 238000004140 cleaning Methods 0.000 claims description 16
- 239000012459 cleaning agent Substances 0.000 claims description 10
- 230000003247 decreasing effect Effects 0.000 claims description 2
- 230000000694 effects Effects 0.000 abstract 1
- 239000000126 substance Substances 0.000 abstract 1
- 230000006870 function Effects 0.000 description 3
- 238000007792 addition Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000001771 impaired effect Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Landscapes
- Stored Programmes (AREA)
Abstract
Description
Изобретение относится к области вычислительной техники, а именно к способам деинсталляции компьютерной программы в многопользовательской среде, и может быть применено в инсталляторах компьютерных программ, которые работают под операционными системами Windows, MacOS и ОС семейства UNIX.The invention relates to the field of computer technology, and in particular to methods of uninstalling a computer program in a multi-user environment, and can be used in installers of computer programs that run under Windows, MacOS and UNIX family operating systems.
В настоящее время широкое распространение получили многопользовательские компьютерные среды, каждая из которых содержит компьютер с установленной на нем операционной системой, выполненной с возможностью работы на ней нескольких пользователей, то есть в данной среде один компьютер может использоваться несколькими пользователями. Каждый пользователь имеет возможность инсталлировать и деинсталлировать компьютерную программу для настройки функций компьютера. В течение срока службы компьютерная программа, установленная одним из пользователей, также доступна другим пользователям операционной системы и среды. Данные, генерируемые этой компьютерной программой, индивидуальны для каждого пользователя и сохраняются в частные области данных пользователей в памяти компьютера для обеспечения целостности функционирования многопользовательской среды. Для удаления программы из среды применяют различные способы деинсталляции.Currently, multi-user computer environments are widespread, each of which contains a computer with an operating system installed on it, configured to run several users on it, that is, in this environment one computer can be used by several users. Each user has the ability to install and uninstall a computer program to configure the functions of the computer. During the service life, a computer program installed by one of the users is also available to other users of the operating system and environment. The data generated by this computer program is individual for each user and is stored in private areas of user data in the computer memory to ensure the integrity of the multi-user environment. To uninstall a program from the environment, various uninstall methods are used.
Известен способ деинсталляции компьютерной программы (см. патент США №7107366 [1]), в котором изменения в клиентском компьютере во время деинсталляции отображаются и архивируются, позволяя пользователю впоследствии самостоятельно удалить обновления.A known method of uninstalling a computer program (see US patent No. 7107366 [1]), in which changes in the client computer during uninstallation are displayed and archived, allowing the user to subsequently uninstall updates.
Наиболее близким к заявленному изобретению является способ деинсталляции компьютерной программы из компьютерной системы, описанный в патенте США №6631521 [2], в котором посылают запрос в первую программу деинсталляции для деинсталляции инсталлированной программы. Первая программа деинсталляции находится в первой директории. Затем посылают запрос в загрузчик классов для загрузки второй программы деинсталляции. Вторую программу деинсталляции устанавливают во второй директории. Первая программа деинсталляции обрабатывает наборы файлов для определения инсталлированных компонентов, которые нужно удалить, и удаляет инсталлированные компоненты. Для выполнения операций деинсталляции посылают запрос из первой программы деинсталляции во вторую программу деинсталляции. Данный способ является наиболее близким к заявляемому изобретению и выбран в качестве прототипа.Closest to the claimed invention is a method of uninstalling a computer program from a computer system described in US patent No. 6631521 [2], in which they send a request to the first uninstall program to uninstall the installed program. The first uninstall program is in the first directory. A request is then sent to the class loader to load the second uninstall program. The second uninstall program is installed in the second directory. The first uninstallation program processes the sets of files to determine the installed components that need to be removed, and removes the installed components. To perform uninstall operations, a request is sent from the first uninstall program to the second uninstall program. This method is the closest to the claimed invention and is selected as a prototype.
Недостатком описанных выше существующих способа-аналога и способа-прототипа заявленного изобретения является то, что в них не учитывают, что компьютерная программа может быть инсталлирована одним пользователем, но используется несколькими пользователями системы, поэтому в существующих способах деинсталляции выполняют удаление данных, относящихся только к тому пользователю, который выполняет деинсталляцию, так как он не имеет доступа к частным областям данных других пользователей. При этом данные, ассоциированные с деинсталлируемой компьютерной программой и расположенные в частных областях данных других пользователей, в существующих способах деинсталляции не удаляются и остаются в памяти компьютера, что приводит к переполнению памяти и необходимости для пользователя вручную находить такие не удаленные данные и удалять их. Таким образом, ухудшается функциональность и удобство пользования при деинсталляции.The disadvantage of the existing analogue method and prototype method of the claimed invention described above is that they do not take into account that a computer program can be installed by one user, but is used by several users of the system, therefore, existing methods of uninstallation delete data related only to that a user who uninstalls because he does not have access to private data areas of other users. At the same time, the data associated with the uninstalled computer program and located in the private data areas of other users is not deleted in the existing uninstall methods and remains in the computer memory, which leads to memory overflow and the need for the user to manually find such non-deleted data and delete it. Thus, the functionality and usability of uninstallation is impaired.
Задачей заявленного изобретения является создание способа деинсталляции компьютерной программы в многопользовательской среде с повышенной функциональностью и удобством пользования за счет автоматического удаления из частной области данных пользователей в памяти специфических данных компьютерной программы, предназначенных для данных пользователей, после перезапуска системы и компьютера в процессе деинсталляции.The objective of the claimed invention is to provide a method for uninstalling a computer program in a multi-user environment with enhanced functionality and ease of use by automatically deleting from the private area user data in the memory of specific computer program data intended for user data after restarting the system and computer during uninstallation.
Поставленная задача решена путем создания способа деинсталляции компьютерной программы в многопользовательской среде, в котором удаляют из памяти многопользовательской среды функциональные файлы компьютерной программы и данные компьютерной программы пользователя, выполняющего деинсталляцию, при этом основное отличие заключается в том, что формируют средство очистки в общей области памяти многопользовательской среды, при этом заносят в него информацию о структуре и расположении специфических данных пользователей компьютерной программы в памяти; формируют счетчик пользователей для средства очистки в общей области памяти многопользовательской среды, при этом заносят в него список с числом пользователей компьютерной программы; перезапускают операционную систему многопользовательской среды; активируют средство очистки; для каждого пользователя компьютерной программы с помощью средства очистки удаляют из частной области данных пользователя в памяти специфические данные компьютерной программы, предназначенные для данного пользователя, и при этом уменьшают число пользователей в счетчике на единицу; удаляют средство очистки из общей области памяти.The problem is solved by creating a method for uninstalling a computer program in a multi-user environment, in which the functional files of the computer program and the data of the computer program of the user performing the uninstall are deleted from the memory of the multi-user environment, the main difference being that they form a cleaning tool in the common area of the multi-user memory environment, while entering into it information about the structure and location of specific data of computer users grams in memory; forming a user counter for the cleaning tool in the common memory area of the multi-user environment, while listing it with the number of users of the computer program; restart the operating system of the multi-user environment; activate a cleaning agent; for each user of the computer program, using the cleaning tool, the specific data of the computer program intended for the user is deleted from the private area of the user data in the memory, while the number of users in the counter is reduced by one; remove the cleaning agent from the shared memory area.
Для функционирования способа важно, чтобы заносили в счетчик список идентификаторов пользователей, при этом установка начального значения счетчика соответствовала заполнению списка, уменьшение значения счетчика соответствовало удалению элемента списка, а проверка на нулевое значение соответствовала проверке пустоты списка с предшествующим удалением более недействительных идентификаторов.For the method to function, it is important that the list of user identifiers is entered into the counter, while setting the initial value of the counter corresponds to filling the list, decreasing the counter value corresponds to deleting the list item, and checking for zero corresponds to checking the empty list with the previous removal of more invalid identifiers.
Для функционирования способа важно, чтобы активировали средство очистки с помощью сокращенной клавиатурной команды или ссылки, которая до этого запускала компьютерную программу на экране монитора.For the method to function, it is important that the cleaning agent is activated using an abbreviated keyboard command or link, which previously launched a computer program on the monitor screen.
Для функционирования способа важно, чтобы удаляли средство очистки из запоминающего устройства с помощью самого средства очистки.For the operation of the method, it is important that the cleaning agent is removed from the storage device using the cleaning agent itself.
Для функционирования способа важно, чтобы обеспечивали перезапуск пользователем операционной системы многопользовательской среды.For the operation of the method, it is important that the user restarts the operating system of the multi-user environment.
Техническим результатом заявленного изобретения является повышение функциональности и удобства пользования способа деинсталляции компьютерной программы в многопользовательской среде.The technical result of the claimed invention is to increase the functionality and usability of the method of uninstalling a computer program in a multi-user environment.
Для лучшего понимания заявленного изобретения далее приводится его подробное описание с соответствующими чертежами.For a better understanding of the claimed invention the following is a detailed description with the corresponding drawings.
Фиг.1. Блок-схема способа деинсталляции компьютерной программы в многопользовательской среде, выполненная согласно изобретению.Figure 1. A flowchart of a method for uninstalling a computer program in a multi-user environment, made according to the invention.
Фиг.2. Блок-схема многопользовательской среды, пригодной для осуществления заявленного способа деинсталляции.Figure 2. A block diagram of a multi-user environment suitable for implementing the inventive uninstall method.
Рассмотрим пошаговое выполнение заявленного способа деинсталляции в многопользовательской среде (Фиг.1). Сначала выполняют обычные операции деинсталляции, а именно удаляют из памяти многопользовательской среды функциональные файлы компьютерной программы и данные компьютерной программы пользователя, выполняющего деинсталляцию (шаг 1). Затем формируют средство очистки в общей области памяти многопользовательской среды, при этом заносят в него информацию о структуре и расположении специфических данных пользователей компьютерной программы в памяти (шаг 2). Формируют счетчик пользователей для средства очистки в общей области памяти многопользовательской среды, при этом заносят в него список с числом пользователей компьютерной программы (шаг 3). Осуществляют перезапуск пользователем операционной системы многопользовательской среды (шаг 4). Активируют средство очистки (шаг 5). Для каждого пользователя компьютерной программы с помощью средства очистки удаляют из частной области данных пользователя в памяти специфические данные компьютерной программы, предназначенные для данного пользователя, и при этом уменьшают число пользователей в счетчике на единицу (шаг 6). Удаляют средство очистки из общей области памяти (шаг 7).Consider the step-by-step implementation of the claimed method of uninstalling in a multi-user environment (Figure 1). First, the usual uninstall operations are performed, namely, the functional files of the computer program and the data of the computer program of the user performing the uninstall are deleted from the memory of the multi-user environment (step 1). Then, a cleaning tool is formed in the common memory area of the multi-user environment, while information about the structure and location of the specific data of the users of the computer program is stored in it (step 2). A user counter is formed for the cleaning tool in the common memory area of the multi-user environment, while a list with the number of users of the computer program is entered into it (step 3). The user restarts the operating system of the multi-user environment (step 4). Activate the cleaning agent (step 5). For each user of a computer program, using the cleaning tool, specific computer program data intended for that user is deleted from the private area of the user data in memory, and the number of users in the counter is reduced by one (step 6). Remove the cleaner from the shared memory area (step 7).
Заявленное изобретение может быть применено в пакетах деинсталляции компьютерных программ, которые производят деинсталляцию компьютерных программ на компьютеры, которые поддерживают многопользовательский интерфейс, например в среде, показанной на Фиг.2.The claimed invention can be applied in packages for uninstalling computer programs that uninstall computer programs on computers that support a multi-user interface, for example, in the environment shown in FIG. 2.
В данной среде один компьютер используется более чем одним пользователем: например Пользователем 1 и Пользователем 2. На компьютере установлена программа, выполненная с возможностью сохранения установки и данных в энергонезависимой памяти 201 как в области 202, общей для всех пользователей, так и в областях 203, 204 Пользователя 1 и Пользователя 2. Причем области пользователей не могут быть доступны никому, кроме владельца.In this environment, one computer is used by more than one user: for example, User 1 and User 2. A program is installed on the computer that is able to save the installation and data in
В случае если Пользователь 1 деинсталлирует программу, сначала удаляют программу и ее данные и установки из общей области 202 памяти 201, а затем данные программы и установки из области 203 памяти 201 Пользователя 1. При этом данные и установки из области 204 памяти 201 Пользователя 2 остаются неудаленными.If User 1 uninstalls the program, first delete the program and its data and settings from the
В заявленном изобретении для удаления данных и установок из области 204 памяти 201 Пользователя 2 выполняют дополнительные операции. Формируют в общей области 202 памяти 201 средство очистки пользовательских данных и установок. Формируют в общей области 202 памяти 201 счетчик пользователей для средства очистки, который подсчитывает количество пользователей компьютера, помимо Пользователя 1, и записывает список с количеством пользователей в общую область 202 памяти 201. Когда Пользователь 2 перезапустит систему, средство очистки начнет работать и удалит специфические данные программы из частной области 204 памяти 201 Пользователя 2, а также удалит ярлык средства очистки из настроек пользователя и уменьшит значение счетчика. Если больше не осталось пользователей, данные которых нуждаются в удалении, средство очистки удаляет само себя.In the claimed invention, additional operations are performed to delete data and settings from the
В заявленном способе деинсталляции учитывают тот факт, что несколько пользователей могут работать с компьютером и назначать операции очистки данных, хранящихся в частных областях данных каждого пользователя, зарегистрированного в компьютере на момент деинсталляции. Таким образом, некоторые данные, специфические для данной определенной компьютерной программы, становятся неиспользуемыми после деинсталляции, но по-прежнему сохраняются в памяти компьютера до перезапуска системы и компьютера.The claimed method of uninstalling takes into account the fact that several users can work with the computer and assign data cleaning operations stored in the private data areas of each user registered on the computer at the time of uninstallation. Thus, some data specific to this particular computer program becomes unused after uninstallation, but is still stored in the computer memory until the system and computer are restarted.
Заявленное изобретение может быть применено в инсталляторах, которые работают под Windows, MacOS и ОС семейства UNIX.The claimed invention can be applied to installers that run under Windows, MacOS and UNIX family OS.
Хотя указанный выше вариант выполнения изобретения был изложен с целью иллюстрации настоящего изобретения, специалистам ясно, что возможны разные модификации, добавления и замены, не выходящие из объема и смысла настоящего изобретения, раскрытого в прилагаемой формуле изобретения.Although the above embodiment of the invention has been set forth to illustrate the present invention, it is clear to those skilled in the art that various modifications, additions and substitutions are possible without departing from the scope and meaning of the present invention disclosed in the attached claims.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
RU2007140948/09A RU2365976C2 (en) | 2007-11-07 | 2007-11-07 | Method of uninstalling software in multiuser environment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
RU2007140948/09A RU2365976C2 (en) | 2007-11-07 | 2007-11-07 | Method of uninstalling software in multiuser environment |
Publications (2)
Publication Number | Publication Date |
---|---|
RU2007140948A RU2007140948A (en) | 2009-05-20 |
RU2365976C2 true RU2365976C2 (en) | 2009-08-27 |
Family
ID=41021160
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
RU2007140948/09A RU2365976C2 (en) | 2007-11-07 | 2007-11-07 | Method of uninstalling software in multiuser environment |
Country Status (1)
Country | Link |
---|---|
RU (1) | RU2365976C2 (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6631521B1 (en) * | 1999-03-29 | 2003-10-07 | International Business Machines Corporation | System, method, and program for performing program specific operations during the uninstallation of a computer program from a computer system |
US20040250265A1 (en) * | 2003-03-25 | 2004-12-09 | Brother Kogyo Kabushiki Kaisha | Uninstall system |
US20060048139A1 (en) * | 2004-08-30 | 2006-03-02 | Fujitsu Limited | Uninstallation processing program and uninstallation management program |
US7107366B2 (en) * | 1996-06-07 | 2006-09-12 | Mcafee, Inc. | System, method, and computer program product for uninstalling computer software |
RU2302089C2 (en) * | 2001-08-13 | 2007-06-27 | Квэлкомм Инкорпорейтед | System for updating software in wireless devices |
-
2007
- 2007-11-07 RU RU2007140948/09A patent/RU2365976C2/en not_active IP Right Cessation
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7107366B2 (en) * | 1996-06-07 | 2006-09-12 | Mcafee, Inc. | System, method, and computer program product for uninstalling computer software |
US6631521B1 (en) * | 1999-03-29 | 2003-10-07 | International Business Machines Corporation | System, method, and program for performing program specific operations during the uninstallation of a computer program from a computer system |
RU2302089C2 (en) * | 2001-08-13 | 2007-06-27 | Квэлкомм Инкорпорейтед | System for updating software in wireless devices |
US20040250265A1 (en) * | 2003-03-25 | 2004-12-09 | Brother Kogyo Kabushiki Kaisha | Uninstall system |
US20060048139A1 (en) * | 2004-08-30 | 2006-03-02 | Fujitsu Limited | Uninstallation processing program and uninstallation management program |
Also Published As
Publication number | Publication date |
---|---|
RU2007140948A (en) | 2009-05-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103617057B (en) | Application program installation method and device | |
US6496979B1 (en) | System and method for managing application installation for a mobile device | |
US20160378527A1 (en) | Cloning a virtual machine from a physical device based on a local snapshot | |
KR101398935B1 (en) | System restore method and apparatus using virtualization | |
WO2019119850A1 (en) | Application software deployment method and device, and virtual machine | |
US20040243997A1 (en) | Method, system, and program for installing program components on a computer | |
US20040045016A1 (en) | Registry emulation | |
JP2012088901A (en) | Software management device, software management method, and software management program | |
US7337359B2 (en) | System and method for recovering a device state | |
US20120311279A1 (en) | Data recovery and backup system and process | |
US20130290949A1 (en) | System reset | |
CN108241550B (en) | Backup and restoration method for operating system | |
WO2002073448A2 (en) | Coordinating user profile migration with disk imaging in a computer system | |
US20060106896A1 (en) | System and method for creating list of backup files based upon program properties | |
JP2010205267A (en) | Method and system for unifying virtualized sublayers | |
EP1879109A1 (en) | Information processing device, program, and storage medium | |
CN103345411A (en) | Method and device for uninstalling application program | |
JP5168112B2 (en) | Patch application device, patch application method, and patch application program | |
CN102754082A (en) | Update method, update device, and update program | |
CN106909480A (en) | A kind of embedded system cross debugging method and apparatus | |
KR100923161B1 (en) | Portable storage apparatus for providing working environment migration service, and method for providing working environment migration service in that | |
US20170364347A1 (en) | Selectively migrating applications during an operating system upgrade | |
WO2005050345A2 (en) | Method of traceless portable application execution | |
WO2019237822A1 (en) | Android system boot speed control method, smart device, and storage medium | |
CN105511904B (en) | A kind of method and device automatically updating quick window |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MM4A | The patent is invalid due to non-payment of fees |
Effective date: 20181108 |