CN111522560A - Software installation method and device, storage medium and electronic equipment - Google Patents
Software installation method and device, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN111522560A CN111522560A CN202010318952.3A CN202010318952A CN111522560A CN 111522560 A CN111522560 A CN 111522560A CN 202010318952 A CN202010318952 A CN 202010318952A CN 111522560 A CN111522560 A CN 111522560A
- Authority
- CN
- China
- Prior art keywords
- software
- user
- installation package
- software installation
- directory
- 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.)
- Withdrawn
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/604—Tools and structures for managing or administering access control systems
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Automation & Control Theory (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Stored Programmes (AREA)
Abstract
The present disclosure relates to a software installation method, an apparatus, a storage medium, and an electronic device, where the method is applied to a computer device for multi-user login, and the method includes: when a first user logs in computer equipment, checking whether software corresponding to a target software installation package is installed or not through a command script in a software placement device, wherein the first user is any one of the multiple users, and the software placement device comprises the target software installation package; and under the condition that the software corresponding to the target software installation package is not installed in the user directory of the first user, installing the software into the user directory of the first user according to the target software installation package by using the identity information of the first user.
Description
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a software installation method, an apparatus, a storage medium, and an electronic device.
Background
Currently, various demands of users can be satisfied by installing various kinds of software in computer equipment. For enterprises, customized software installation can be performed on computers of the enterprises according to the requirements of the enterprises so as to adapt to the office scenes of the enterprises. For example, the system mirror image can be manufactured in a centralized manner, so that enterprise office software is pre-installed in a computer, and the office requirements of enterprise employees are met.
In a related scenario, the same computer device may be used by multiple users, in which case, the pre-installation method is difficult to meet the use requirements of multiple users, and the management and maintenance process is complicated.
Disclosure of Invention
The present disclosure is directed to a software installation method, device, storage medium and electronic device, so as to solve the above related technical problems.
In order to achieve the above object, in a first aspect of the embodiments of the present disclosure, there is provided a software installation method applied to a computer device for multi-user login, the method including:
when a first user logs in computer equipment, checking whether software corresponding to a target software installation package is installed or not through a command script in a software placement device, wherein the first user is any one of the multiple users, and the software placement device comprises the target software installation package;
and under the condition that the software corresponding to the target software installation package is not installed in the user directory of the first user, installing the software into the user directory of the first user according to the target software installation package by using the identity information of the first user.
In the technical scheme, when each user in the computer equipment for multi-user login logs in, the user directory of the user can be detected through the command script in the software setter. That is to say, by adopting the technical scheme, each user in multiple users uses an independent user directory, so that mutual isolation among user data can be ensured, and the safety is improved. Moreover, the modification of the software in the user directory by the user does not affect other users in the computer equipment, so that the software requirements of different users can be met. In addition, according to the technical scheme, when the software corresponding to the target software installation package is not installed in the user directory, the software can be installed in the user directory of the user according to the target software installation package by using the identity information of the user. Therefore, the software is installed through the user identity information, the subsequent updating and adjusting requirements of the software can be met, namely, the user can change the software without acquiring the authority of an administrator, and the flexibility of the software installation and use process is improved.
Optionally, the checking, by using a command script in the software installer, whether the software corresponding to the target software installation package is installed in the user directory of the first user includes:
and triggering and executing a command script in the software setter through a login hook in a global registry of the computer equipment so as to check whether the software corresponding to the target software installation package is installed in the user directory of the first user.
In this way, by setting the login hook, when a user logs in, the computer device can automatically detect the software installation condition of the user, and automatically install the user when the user is determined not to install corresponding software, so that the software use requirement of the user logging in the computer device can be met.
Optionally, the method further comprises:
and when a software updating instruction issued by the first user is detected, updating the software indicated by the software updating instruction in the user directory of the first user according to the authority of the first user.
According to the technical scheme, when the software corresponding to the target software installation package is not installed in the user directory, the software is installed in the user directory of the user according to the target software installation package by using the identity information of the user. Therefore, the software is installed through the user identity information, and the user can change the software without acquiring the authority of an administrator during software updating, so that the flexibility of the software installation and use process can be improved.
Optionally, the software setter is made by:
acquiring a software installation package corresponding to the multiple users;
determining the command script according to the software installation package;
and generating the prefabricated installer according to the command script and the software installation package.
Optionally, installing the software installer to the computer device by:
decompressing a software installation package in the software placer to a system catalog;
registering a command script in the software setter to the login hook.
By the method, when the corresponding user login event is generated, the login hook can be triggered to further execute the instruction script, and finally the detection of the user directory of the current user is completed.
In a second aspect of the embodiments of the present disclosure, there is provided a software installation apparatus, which is applied to a computer device for multi-user login, and includes:
the system comprises a checking module, a software setter and a control module, wherein the checking module is used for checking whether software corresponding to a target software installation package is installed in a user directory of a first user through a command script in a software setter when the first user logs in computer equipment, the first user is any one of multiple users, and the software setter comprises the target software installation package;
and the installation module is used for installing the software into the user directory of the first user according to the target software installation package by using the identity information of the first user under the condition that the software corresponding to the target software installation package is not installed in the user directory of the first user.
In the technical scheme, when each user in the computer equipment for multi-user login logs in, the user directory of the user can be detected through the command script in the software setter. That is to say, by adopting the technical scheme, each user in multiple users uses an independent user directory, so that mutual isolation among user data can be ensured, and the safety is improved. Moreover, the modification of the software in the user directory by the user does not affect other users in the computer equipment, so that the software requirements of different users can be met. In addition, according to the technical scheme, when the software corresponding to the target software installation package is not installed in the user directory, the software can be installed in the user directory of the user according to the target software installation package by using the identity information of the user. Therefore, the software is installed through the user identity information, the subsequent updating and adjusting requirements of the software can be met, namely, the user can change the software without acquiring the authority of an administrator, and the flexibility of the software installation and use process is improved.
Optionally, the inspection module includes:
and the execution submodule is used for triggering and executing the command script in the software setter through the login hook in the global registry of the computer equipment so as to check whether the software corresponding to the target software installation package is installed in the user directory of the first user.
Optionally, the method further comprises:
and the updating module is used for updating the software indicated by the software updating instruction in the user directory of the first user according to the authority of the first user when the software updating instruction issued by the first user is detected.
Optionally, the method further comprises:
a production module for producing the software setter, the production module comprising:
the acquisition submodule is used for acquiring a software installation package corresponding to the multiple users;
the determining submodule is used for determining the command script according to the software installation package;
and the manufacturing submodule is used for generating the prefabricated installer according to the command script and the software installation package.
Optionally, the apparatus further comprises an installation module for installing the software installer to the computer device, the installation module comprising:
the decompression submodule is used for decompressing the software installation package in the software setter to a system directory;
and the registration submodule is used for registering the command script in the software setter to the login hook.
In a third aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, which when executed by a processor implements the steps of the method of any one of the above first aspects.
In a fourth aspect of the embodiments of the present disclosure, an electronic device is provided, including:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to implement the steps of the method of any of the first aspects above.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure without limiting the disclosure. In the drawings:
fig. 1 is a schematic diagram illustrating a software installation and usage flow according to an exemplary embodiment of the present disclosure.
FIG. 2 is a flowchart illustrating a method of software installation according to an exemplary embodiment of the present disclosure.
FIG. 3 is a flow chart illustrating the generation of a system image according to an exemplary embodiment of the present disclosure.
Fig. 4 is a schematic diagram illustrating a software installation and usage flow according to an exemplary embodiment of the disclosure.
Fig. 5 is a block diagram of a software installation apparatus according to an exemplary embodiment of the present disclosure.
FIG. 6 is a block diagram of an electronic device shown in an exemplary embodiment of the present disclosure.
Detailed Description
The following detailed description of specific embodiments of the present disclosure is provided in connection with the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present disclosure, are given by way of illustration and explanation only, not limitation.
Before introducing the software installation method, the software installation device, the storage medium and the electronic device provided by the present disclosure, an application scenario of each embodiment of the present disclosure is first introduced. The embodiments provided by the present disclosure can be applied to various computer devices for multi-user login, such as computer devices used by customer service, after-sales personnel, and the like.
In a related scene, in order to meet the office demands of the employees, the enterprise can uniformly pre-install the computer equipment used by the employees. For example, reference is made to the schematic illustration of a software installation and use flow shown in fig. 1. In particular, the system image can be made according to software used by employees. Thus, an administrator can obtain an installation task list of software to be installed according to the system image, install the software to the global of the computer device (for example, C: programefiles of the computer device), write information such as system hardware setting, software configuration and the like into a global registry, and finally complete the pre-installation of the computer device.
The computer device may be used by multiple users, and for example, in FIG. 1, the computer device may be used by both users A and B. In this case, the user data of each software may include both the data of the user a and the data of the user B. The applicant has found that when data of a plurality of users are mixed with each other, the security of the user data may also be reduced, while also facilitating the maintenance and management of the computer device. For example, when the user a encounters a fault in the process of running the software 1, it is difficult for a maintenance worker to obtain the software usage log of the user a, so that the difficulty in repairing the fault is increased.
Still referring to fig. 1, in some scenarios, the user may also update software in the computer device. It should be noted that, because the software installation mode is to install the software in the global, the modification of the software by the user a may be effected in the global, that is, the modification of the software by the user a may also affect the user B. In addition, in some scenarios, after pre-installation of the computer device is completed, the administrator may also reclaim the associated permissions on the computer device. Therefore, when the user A needs to update the software, the user A also needs to make a request of related authority to an administrator, so that the complexity of the software updating and upgrading process is increased, and the software use efficiency of the user is also reduced. Of course, in some implementation scenarios, the administrator may also perform a unified maintenance update on each of the computer devices of the enterprise, but such a manner is difficult to satisfy the software usage requirements of different users.
To this end, the present disclosure provides a software installation method, which is applied to a multi-user logged-in computer device, with reference to a flowchart of a software installation method shown in fig. 2, and includes:
in step S21, when the first user logs in the computer device, it is checked whether the software corresponding to the target software installation package is installed in the user directory of the first user through the command script in the software installer.
The first user may be any one of the multiple users, and each user included in the multiple users may be of the same type or of different types. For example, the computer device may be a 2 user logged-in computer device. In one embodiment, the 2 users may be of the same type (e.g., customer service personnel, after-sales personnel, etc.); in another embodiment, the 2 users may be classified into different categories, such as user 1 being a customer service person, user 2 being an after-sales person, and so on. Of course, the computer device can be used by more users, the types of the multi-user can be various, and the number and the types of the multi-user are not limited by the disclosure.
The software placer may also include the target software installation package, which may correspond to the type of the user. For example, in one embodiment, the multiple users are all of the same type of user. It should be understood that the type of software required by the same type of user may be the same, and thus, the target software installation package corresponds to a plurality of users, i.e., the software installer includes software that is the target software installation package. In some embodiments, the plurality of users may also correspond to a plurality of types. It should be appreciated that different types of users may have different needs for pre-installed software, for example, there may be a difference between pre-installed software needed by developers and customer service personnel. In this case, the software installer may include software that is a union of target software installation packages corresponding to the types of the users.
For example, the computer device is commonly used by users C and D, wherein the type of the user C is a customer service person, the corresponding target software installation package is a first target software installation package, and the first target software installation package includes software 1 to 10. The user D is a salesman, the corresponding target software installation package is a second target software installation package, and the second software installation package comprises software 1-5 and software 11. Thus, the software placer may comprise the union of the first target software installation package and the second target software installation package, i.e. the software 1-11. Of course, in some embodiments, the target software installation package may also be an intersection of software installation packages required by multiple users using the computer device, such as the case described above where the computer device is used by users C and D in common, in which case the software placer may include the software 1-5.
The command script in the software placer can check the user directory of the first user with the authority of the first user to determine the software corresponding to the target software installation package which is not installed in the user directory of the first user.
For example, in some embodiments, a user's account number may correspond to the user's type. Therefore, when a user logs in, the computer device can determine the work type of the user through the account of the user, and determine the target software installation package corresponding to the user according to the work type. In this way, the user directory of the user can be detected through the command script in the software setter, so that the software corresponding to the target software installation package which is not installed in the user directory of the user is determined.
In step S22, if the software corresponding to the target software installation package is not installed in the user directory of the first user, the software is installed in the user directory of the first user according to the target software installation package by using the identity information of the first user.
That is, when it is detected that the user does not install the software corresponding to the user through the command script, the software may be installed to the user directory of the user with the identity information of the user. For example, when a new user C logs in, corresponding software may be installed for the user C in the user directory of the user C; when a new user D logs in, corresponding software can be installed for the user D in the user directory of the user D, so that the software use requirements of the user logging in the computer equipment are met, and meanwhile, data among the users can be isolated.
In the technical scheme, when each user in the computer equipment for multi-user login logs in, the user directory of the user can be detected through the command script in the software setter. That is to say, by adopting the technical scheme, each user in multiple users uses an independent user directory, so that mutual isolation among user data can be ensured, and the safety is improved. Moreover, the modification of the software in the user directory by the user does not affect other users in the computer equipment, so that the software requirements of different users can be met. In addition, according to the technical scheme, when the software corresponding to the target software installation package is not installed in the user directory, the software can be installed in the user directory of the user according to the target software installation package by using the identity information of the user. Therefore, the software is installed through the user identity information, the subsequent updating and adjusting requirements of the software can be met, namely, the user can change the software without acquiring the authority of an administrator, and the flexibility of the software installation and use process is improved.
Optionally, the checking, by using a command script in the software installer, whether the software corresponding to the target software installation package is installed in the user directory of the first user includes:
and triggering and executing a command script in the software setter through a login hook in a global registry of the computer equipment so as to check whether the software corresponding to the target software installation package is installed in the user directory of the first user.
In a specific implementation, the login hook may be a system-provided mount point of the computer device, which is capable of executing a defined target operation when the user logs in. The command script may be used to detect a user directory of a user to determine a software installation condition under the user directory. For example, the script may determine the software installation condition in the user directory according to the folder in the user directory by traversing the folder in the user directory. Further, the command script may further determine a target software installation list of the user according to a corresponding relationship between the user and a target software installation package of the user, and determine the software that is not installed by the user by comparing the target software installation list with a software installation list in the user directory.
In this way, by setting the login hook, when a user logs in, the computer device can automatically detect the software installation condition of the user, and automatically install the user when the user is determined not to install corresponding software, so that the software use requirement of the user logging in the computer device can be met.
Optionally, the software setter is made by:
acquiring a software installation package corresponding to the multiple users;
determining the command script according to the software installation package;
and generating the prefabricated installer according to the command script and the software installation package.
For the software installation package, referring to the above description about the software installation package included in the software setter, in different embodiments, the software installation package may be a union of the software installation packages respectively required by the multiple users, or an intersection of the software installation packages respectively required by the multiple users, which is not described herein again.
After the software installation package corresponding to the multiple users is obtained, the command script can be determined according to the software installation package, and the command script and the software installation package are packaged to generate the prefabricated installer. The command script is used for detecting the installation software in the user directory of the user. In some embodiments, the command script may obtain type information of a user and determine a software list of the user according to the type of the user. In this way, the software that the user does not install can be determined by comparing the installed software in the user directory of the user with the software list.
Referring to a flow diagram for generating a system image shown in fig. 3, in some embodiments, the software placer may also be included in the system image. In this way, the software installer can also be installed to a computer device when the computer device is pre-installed by mirroring through the system.
For example, the software installer may be installed to the computer device by:
decompressing a software installation package in the software placer to a system catalog;
registering a command script in the software setter to the login hook.
It should be appreciated that by decompressing the software installation package to the system catalog, the multi-user can access the software installation package in the system catalog, thereby providing a basis for installing the software corresponding to the software installation package. In addition, the instruction script in the software setter can be registered to the login hook. For example, in implementation, the instruction script may be registered in a Run key of a global registry. The Run key value represents a user login starting item, and the key value under the starting item can be automatically started and Run along with the user login. By the method, when the corresponding user login event is generated, the login hook can be triggered to further execute the instruction script, and finally the detection of the user directory of the current user is completed.
The above embodiment takes the example of registering the instruction script in the Run key of the global registry as an example, and the implementation of the login hook is described, but those skilled in the art should know that the implementation of the login hook in the present disclosure is not limited to the above manner. For example, in a Windows system, the instruction script can be executed regularly through a Windows planning task, so as to implement the login hook; or, the instruction script can be executed by starting a corresponding Windows service, so as to realize the login hook. Certainly, in specific implementation, the login hook may be implemented by registering the instruction script to a relevant registration key in the Windows registry, and the implementation manner of the login hook is not limited in the present disclosure.
Optionally, the method further comprises:
and when a software updating instruction issued by the first user is detected, updating the software indicated by the software updating instruction in the user directory of the first user according to the authority of the first user.
It should be noted that, in the above technical solution, when the software corresponding to the target software installation package is not installed in the user directory, the software is installed in the user directory of the user according to the target software installation package by using the identity information of the user. Therefore, the software is installed through the user identity information, and the user can change the software without acquiring the authority of an administrator during software updating, so that the flexibility of the software installation and use process can be improved.
Fig. 4 is a schematic diagram illustrating a software installation and use process according to an exemplary embodiment of the present disclosure, where, as shown in fig. 4, the software installer may be installed by an administrator identity when the computer device is pre-installed. For example, the target software installation package in the software placer may be decompressed to a system directory and logic may be added to a login hook of a global registry of the computer device: and executing the instruction script in the software setter, and detecting the software installation condition under the user directory of the user when the user logs in each time.
The user A logs in as an example for explanation, the login hook can be triggered when the user A logs in, and then the instruction script in the software setter is operated to detect the software installation condition under the user directory of the user A. If the user A installs the software corresponding to the target software package, the instruction script can be exited; if the user A does not install the software corresponding to the target software package or the user A does not completely install the software corresponding to the target software package, the software can be installed in the user directory of the user A in a silent manner by using the identity of the user A. In addition, the installation configuration of the software may also be written to the registry of user a. Therefore, the software is installed by adopting the identity of the user A, when the software needs to be updated, the user A can update the software without requesting the authority to an administrator, and therefore the flexibility of the software updating and maintaining process can be improved. Similarly, user B may also implement the installation and upgrade of software in the manner described above. In addition, because the software of the users A and B is respectively installed in the user directories of the users A and B, the data isolation between the users A and B can be realized, and the data security is improved. In addition, in such a way, when the user A modifies (for example, upgrades) the software, the software of the user B is not affected, so that the software use requirements of different users can be met.
The present disclosure also provides a software installation apparatus, referring to a block diagram of a software installation apparatus 500 shown in fig. 5, the apparatus being applied to a computer device for multi-user login, the apparatus 500 comprising:
a checking module 501, configured to check, when a first user logs in a computer device, whether software corresponding to a target software installation package is installed in a user directory of the first user through a command script in a software setter, where the first user is any one of the multiple users, and the software setter includes the target software installation package;
an installing module 502, configured to, when the software corresponding to the target software installation package is not installed in the user directory of the first user, install the software into the user directory of the first user according to the target software installation package by using the identity information of the first user.
In the technical scheme, when each user in the computer equipment for multi-user login logs in, the user directory of the user can be detected through the command script in the software setter. That is to say, by adopting the technical scheme, each user in multiple users uses an independent user directory, so that mutual isolation among user data can be ensured, and the safety is improved. Moreover, the modification of the software in the user directory by the user does not affect other users in the computer equipment, so that the software requirements of different users can be met. In addition, according to the technical scheme, when the software corresponding to the target software installation package is not installed in the user directory, the software can be installed in the user directory of the user according to the target software installation package by using the identity information of the user. Therefore, the software is installed through the user identity information, the subsequent updating and adjusting requirements of the software can be met, namely, the user can change the software without acquiring the authority of an administrator, and the flexibility of the software installation and use process is improved.
Optionally, the checking module 501 includes:
and the execution submodule is used for triggering and executing the command script in the software setter through the login hook in the global registry of the computer equipment so as to check whether the software corresponding to the target software installation package is installed in the user directory of the first user.
In this way, by setting the login hook, when a user logs in, the computer device can automatically detect the software installation condition of the user, and automatically install the user when the user is determined not to install corresponding software, so that the software use requirement of the user logging in the computer device can be met.
Optionally, the method further comprises:
and the updating module is used for updating the software indicated by the software updating instruction in the user directory of the first user according to the authority of the first user when the software updating instruction issued by the first user is detected.
According to the technical scheme, when the software corresponding to the target software installation package is not installed in the user directory, the software is installed in the user directory of the user according to the target software installation package by using the identity information of the user. Therefore, the software is installed through the user identity information, and the user can change the software without acquiring the authority of an administrator during software updating, so that the flexibility of the software installation and use process can be improved.
Optionally, the method further comprises:
a production module for producing the software setter, the production module comprising:
the acquisition submodule is used for acquiring a software installation package corresponding to the multiple users;
the determining submodule is used for determining the command script according to the software installation package;
and the manufacturing submodule is used for generating the prefabricated installer according to the command script and the software installation package.
Optionally, the apparatus further comprises an installation module for installing the software installer to the computer device, the installation module comprising:
the decompression submodule is used for decompressing the software installation package in the software setter to a system directory;
and the registration submodule is used for registering the command script in the software setter to the login hook.
By the method, when the corresponding user login event is generated, the login hook can be triggered to further execute the instruction script, and finally the detection of the user directory of the current user is completed.
The present disclosure also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of any of the above embodiments.
The present disclosure also provides an electronic device, comprising:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to implement the steps of the method of any of the above embodiments.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 6 is a block diagram illustrating an electronic device 600 according to an example embodiment. As shown in fig. 6, the electronic device 600 may include: a processor 601 and a memory 602. The electronic device 600 may also include one or more of a multimedia component 603, an input/output (I/O) interface 604, and a communications component 605.
The processor 601 is configured to control the overall operation of the electronic device 600, so as to complete all or part of the steps in the software installation method. The memory 602 is used to store various types of data to support operation at the electronic device 600, such as instructions for any application or method operating on the electronic device 600, as well as application-related data, such as software installation packages, configuration files, and the like. The Memory 602 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically erasable Programmable Read-Only Memory (EEPROM), erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk or optical disk. The multimedia components 603 may include a screen and audio components. Wherein the audio component is used for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may further be stored in the memory 602 or transmitted through the communication component 605. The audio assembly may further comprise a speaker for outputting audio signals. The I/O interface 604 provides an interface between the processor 601 and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 605 is used for wired or wireless communication between the electronic device 600 and other devices. Wireless Communication, such as Wi-Fi, bluetooth, Near Field Communication (NFC), 2G, 3G, 4G, NB-IOT, eMTC, or other 5G, etc., or a combination of one or more of them, which is not limited herein. The corresponding communication component 605 may therefore include: Wi-Fi modules, Bluetooth modules, and the like.
In an exemplary embodiment, the electronic Device 600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the software installation method described above.
In another exemplary embodiment, there is also provided a computer readable storage medium comprising program instructions which, when executed by a processor, implement the steps of the software installation method described above. For example, the computer readable storage medium may be the memory 602 described above that includes program instructions that are executable by the processor 601 of the electronic device 600 to perform the software installation method described above.
In another exemplary embodiment, a computer program product is also provided, which comprises a computer program executable by a programmable apparatus, the computer program having code portions for performing the software installation method described above when executed by the programmable apparatus.
The preferred embodiments of the present disclosure are described in detail with reference to the accompanying drawings, however, the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solution of the present disclosure within the technical idea of the present disclosure, and these simple modifications all belong to the protection scope of the present disclosure.
It should be noted that, in the foregoing embodiments, various features described in the above embodiments may be combined in any suitable manner, and in order to avoid unnecessary repetition, various combinations that are possible in the present disclosure are not described again.
In addition, any combination of various embodiments of the present disclosure may be made, and the same should be considered as the disclosure of the present disclosure, as long as it does not depart from the spirit of the present disclosure.
Claims (10)
1. A software installation method applied to a multi-user logged-in computer device, the method comprising:
when a first user logs in computer equipment, checking whether software corresponding to a target software installation package is installed or not through a command script in a software placement device, wherein the first user is any one of the multiple users, and the software placement device comprises the target software installation package;
and under the condition that the software corresponding to the target software installation package is not installed in the user directory of the first user, installing the software into the user directory of the first user according to the target software installation package by using the identity information of the first user.
2. The method of claim 1, wherein the checking whether the software corresponding to the target software installation package is installed under the user directory of the first user through a command script in a software installer comprises:
and triggering and executing a command script in the software setter through a login hook in a global registry of the computer equipment so as to check whether the software corresponding to the target software installation package is installed in the user directory of the first user.
3. The method of claim 1 or 2, further comprising:
and when a software updating instruction issued by the first user is detected, updating the software indicated by the software updating instruction in the user directory of the first user according to the authority of the first user.
4. The method of claim 2, wherein the software setter is made by:
acquiring a software installation package corresponding to the multiple users;
determining the command script according to the software installation package;
and generating the prefabricated installer according to the command script and the software installation package.
5. The method of claim 2, wherein the software placement machine is installed to the computer device by:
decompressing a software installation package in the software placer to a system catalog;
registering a command script in the software setter to the login hook.
6. A software installation apparatus, which is applied to a computer device for multi-user login, the apparatus comprising:
the system comprises a checking module, a software setter and a control module, wherein the checking module is used for checking whether software corresponding to a target software installation package is installed in a user directory of a first user through a command script in a software setter when the first user logs in computer equipment, the first user is any one of multiple users, and the software setter comprises the target software installation package;
and the installation module is used for installing the software into the user directory of the first user according to the target software installation package by using the identity information of the first user under the condition that the software corresponding to the target software installation package is not installed in the user directory of the first user.
7. The apparatus of claim 6, wherein the inspection module comprises:
and the execution submodule is used for triggering and executing the command script in the software setter through the login hook in the global registry of the computer equipment so as to check whether the software corresponding to the target software installation package is installed in the user directory of the first user.
8. The apparatus of claim 6 or 7, further comprising:
and the updating module is used for updating the software indicated by the software updating instruction in the user directory of the first user according to the authority of the first user when the software updating instruction issued by the first user is detected.
9. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
10. An electronic device, comprising:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to carry out the steps of the method of any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010318952.3A CN111522560A (en) | 2020-04-21 | 2020-04-21 | Software installation method and device, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010318952.3A CN111522560A (en) | 2020-04-21 | 2020-04-21 | Software installation method and device, storage medium and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111522560A true CN111522560A (en) | 2020-08-11 |
Family
ID=71910623
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010318952.3A Withdrawn CN111522560A (en) | 2020-04-21 | 2020-04-21 | Software installation method and device, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111522560A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117555563A (en) * | 2023-11-28 | 2024-02-13 | 广州鼎甲计算机科技有限公司 | Method and device for constructing platform mirror image, computer equipment and storage medium |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020162053A1 (en) * | 1999-03-10 | 2002-10-31 | Os Ron Van | User transparent software malfunction detection and reporting |
CN102694846A (en) * | 2012-05-03 | 2012-09-26 | 华为技术有限公司 | Method, device and system for recommending application program |
CN103019757A (en) * | 2011-09-27 | 2013-04-03 | 腾讯科技(深圳)有限公司 | Method, device and system for synchronizing software among multiple clients |
CN103605538A (en) * | 2013-11-08 | 2014-02-26 | 北京奇虎科技有限公司 | Method and device for installing software |
CN104424423A (en) * | 2013-08-28 | 2015-03-18 | 华为终端有限公司 | Method and device for determining authorities of application program |
CN106874038A (en) * | 2017-01-13 | 2017-06-20 | 北京奇虎科技有限公司 | Method, device and mobile terminal that a kind of application is installed |
CN107038388A (en) * | 2017-02-23 | 2017-08-11 | 深圳市先河系统技术有限公司 | A kind of multi-user operating system operation method, device and computer equipment |
CN108984184A (en) * | 2018-06-22 | 2018-12-11 | 珠海市君天电子科技有限公司 | A kind of software installation method, device and electronic equipment, storage medium |
CN109684822A (en) * | 2018-12-30 | 2019-04-26 | 深圳开立生物医疗科技股份有限公司 | Multi-user access environment configurations method, apparatus, equipment and multi-line system |
CN110647739A (en) * | 2019-07-26 | 2020-01-03 | 平安科技(深圳)有限公司 | Software installation detection method, device, terminal and storage medium |
CN110990020A (en) * | 2019-11-24 | 2020-04-10 | 苏州浪潮智能科技有限公司 | Software compiling method and device, electronic equipment and storage medium |
-
2020
- 2020-04-21 CN CN202010318952.3A patent/CN111522560A/en not_active Withdrawn
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020162053A1 (en) * | 1999-03-10 | 2002-10-31 | Os Ron Van | User transparent software malfunction detection and reporting |
CN103019757A (en) * | 2011-09-27 | 2013-04-03 | 腾讯科技(深圳)有限公司 | Method, device and system for synchronizing software among multiple clients |
CN102694846A (en) * | 2012-05-03 | 2012-09-26 | 华为技术有限公司 | Method, device and system for recommending application program |
CN104424423A (en) * | 2013-08-28 | 2015-03-18 | 华为终端有限公司 | Method and device for determining authorities of application program |
CN103605538A (en) * | 2013-11-08 | 2014-02-26 | 北京奇虎科技有限公司 | Method and device for installing software |
CN106874038A (en) * | 2017-01-13 | 2017-06-20 | 北京奇虎科技有限公司 | Method, device and mobile terminal that a kind of application is installed |
CN107038388A (en) * | 2017-02-23 | 2017-08-11 | 深圳市先河系统技术有限公司 | A kind of multi-user operating system operation method, device and computer equipment |
CN108984184A (en) * | 2018-06-22 | 2018-12-11 | 珠海市君天电子科技有限公司 | A kind of software installation method, device and electronic equipment, storage medium |
CN109684822A (en) * | 2018-12-30 | 2019-04-26 | 深圳开立生物医疗科技股份有限公司 | Multi-user access environment configurations method, apparatus, equipment and multi-line system |
CN110647739A (en) * | 2019-07-26 | 2020-01-03 | 平安科技(深圳)有限公司 | Software installation detection method, device, terminal and storage medium |
CN110990020A (en) * | 2019-11-24 | 2020-04-10 | 苏州浪潮智能科技有限公司 | Software compiling method and device, electronic equipment and storage medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117555563A (en) * | 2023-11-28 | 2024-02-13 | 广州鼎甲计算机科技有限公司 | Method and device for constructing platform mirror image, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107943502B (en) | Upgrading method based on fine-grained system state detection in Linux system | |
CN106469068B (en) | Application program deployment method and system | |
CN110096424B (en) | Test processing method and device, electronic equipment and storage medium | |
US20170351507A1 (en) | Silent upgrade of software with dependencies | |
CN113434158B (en) | Custom management method, device, equipment and medium for big data component | |
US20220253297A1 (en) | Automated deployment of changes to applications on a cloud computing platform | |
CN110688305B (en) | Test environment synchronization method, device, medium and electronic equipment | |
CN113986270B (en) | Distributed application deployment method and device, storage medium and electronic equipment | |
CN110413292B (en) | Light application installation method of application program, mobile terminal and storage medium | |
CN110597662A (en) | Backup data automatic verification method and device, user equipment and storage medium | |
US20190317845A1 (en) | Device based automated tool integration for lifecycle management platform | |
CN111522560A (en) | Software installation method and device, storage medium and electronic equipment | |
CN111984623A (en) | Database cluster automatic deployment method, device, medium and electronic equipment | |
CN110764840B (en) | Method, device and system for wirelessly debugging android device | |
CN114003250A (en) | Software deployment method and device | |
CN113515299A (en) | Software development kit SDK hot upgrading method, device, equipment and storage medium | |
CN113886008A (en) | Virtual machine management method, system, device and medium | |
WO2022253421A1 (en) | Maintenance of a conveyor system | |
CN113010189A (en) | Database installation method, device, equipment and storage medium | |
CN113032004A (en) | Method, apparatus and program product for managing development jobs in a development environment | |
CN112883370A (en) | Application program state detection method and device, storage medium and electronic equipment | |
CN113127259B (en) | Data deployment method, device, equipment and storage medium | |
CN112650509B (en) | Application installation package generation method and device, computer equipment and storage medium | |
KR102436384B1 (en) | System for terminal access based beacon using protocol for Internet of Things, Method thereof, and Compueter readable storage medium having the same | |
CN115048313B (en) | Automatic test method and device, computer readable storage medium and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20200811 |