[go: up one dir, main page]

CN110633087A - Client installation method, device and storage medium - Google Patents

Client installation method, device and storage medium Download PDF

Info

Publication number
CN110633087A
CN110633087A CN201910743579.3A CN201910743579A CN110633087A CN 110633087 A CN110633087 A CN 110633087A CN 201910743579 A CN201910743579 A CN 201910743579A CN 110633087 A CN110633087 A CN 110633087A
Authority
CN
China
Prior art keywords
client
clients
installation
acquiring
type
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.)
Granted
Application number
CN201910743579.3A
Other languages
Chinese (zh)
Other versions
CN110633087B (en
Inventor
卫娇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai United Imaging Healthcare Co Ltd
Original Assignee
Shanghai United Imaging Healthcare Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai United Imaging Healthcare Co Ltd filed Critical Shanghai United Imaging Healthcare Co Ltd
Priority to CN201910743579.3A priority Critical patent/CN110633087B/en
Publication of CN110633087A publication Critical patent/CN110633087A/en
Application granted granted Critical
Publication of CN110633087B publication Critical patent/CN110633087B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

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)

Abstract

The application relates to a client installation method, a client installation device and a storage medium. The method comprises the following steps: acquiring at least two clients to be installed selected by a user; detecting whether the correlation exists between the clients to be installed; if so, installing each associated client to be installed according to a preset installation sequence; and if not, installing the clients to be installed in parallel. The method can save labor.

Description

Client installation method, device and storage medium
Technical Field
The present application relates to the field of medical device technologies, and in particular, to a client installation method, device and storage medium.
Background
When the medical apparatus and the device are used for installing software, a plurality of clients are generally required to be installed at the same time, and each client has a part which is installed independently and a part which is required to arrange an installation sequence according to the configuration of a current product, so that how to install each client reasonably is very important.
In the related art, when each client is installed, the optical disk is generally adopted to manually install mutually independent parts of each client, and for the parts of each client with the installation sequence, the first client is manually installed firstly, then the second client, the third client and the like are sequentially installed, and finally the installation of each client is completed.
However, the above-described technique has a problem of consuming labor.
Disclosure of Invention
In view of the above, it is necessary to provide a client installation method, device and storage medium for solving the above technical problems.
A client method, the method comprising:
acquiring at least two clients to be installed selected by a user;
detecting whether the correlation exists between the clients to be installed;
if so, installing each associated client to be installed according to a preset installation sequence;
and if not, installing the clients to be installed in parallel.
In one embodiment, the installing the associated clients to be installed according to a preset installation order includes:
acquiring the priority of each associated client to be installed;
sequencing the priority of each associated client to be installed to obtain a priority sequencing result;
and installing the associated clients to be installed according to the priority ranking result.
In one embodiment, the detecting whether there is a correlation between the clients to be installed includes:
acquiring current equipment configuration information, wherein the equipment configuration information comprises association identification among clients to be installed;
and determining the relevance among the clients to be installed according to the relevance identifier.
In one embodiment, before the obtaining of the at least two clients to be installed selected by the user, the method further includes:
acquiring the current equipment type;
determining a client type corresponding to the current equipment type according to a corresponding relation between preset equipment types and client types;
acquiring each client under the client type;
the above obtaining at least two clients to be installed selected by the user includes:
and acquiring at least two to-be-installed clients selected by the user in the clients of the client types.
In one embodiment, after obtaining the at least two clients to be installed selected by the user, the method further includes:
acquiring the current software version of each client to be installed;
judging whether the current software versions of the clients to be installed are consistent;
and if so, executing a step of detecting whether the correlation exists between the clients to be installed.
In one embodiment, the method further includes:
when the associated to-be-installed client is installed, acquiring the installation progress of the associated to-be-installed client;
and displaying the installation progress of each associated client to be installed.
In one embodiment, the method further includes:
after the installation of each client to be installed is completed, acquiring the current configuration information of each client to be installed;
determining the restart type of each client to be installed according to the corresponding relationship between preset configuration information and the restart type and the current configuration information of each client to be installed;
and restarting the equipment where the clients to be installed are located by adopting the restart type of the clients to be installed.
In one embodiment, the method further includes:
acquiring process information of each client to be installed, wherein the process information comprises data, installation time, installed software version and information about whether installation is abnormal or not of each client to be installed in the installation process;
and after restarting the equipment, generating a report of the process information of each client to be installed, and storing the report.
A client installation apparatus, the apparatus comprising:
the system comprises an acquisition module, a storage module and a display module, wherein the acquisition module is used for acquiring at least two clients to be installed selected by a user;
the detection module is used for detecting whether the correlation exists between the clients to be installed;
the installation module is used for installing each associated client to be installed according to a preset installation sequence if the client to be installed exists; and if not, installing the clients to be installed in parallel.
An apparatus comprising a memory and a processor, the memory storing a computer program that when executed by the processor performs the steps of:
acquiring at least two clients to be installed selected by a user;
detecting whether the correlation exists between the clients to be installed;
if so, installing each associated client to be installed according to a preset installation sequence;
and if not, installing the clients to be installed in parallel.
A readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
acquiring at least two clients to be installed selected by a user;
detecting whether the correlation exists between the clients to be installed;
if so, installing each associated client to be installed according to a preset installation sequence;
and if not, installing the clients to be installed in parallel.
According to the client installation method, the client installation device, the client installation equipment and the storage medium, at least two clients to be installed selected by a user are obtained, whether the clients to be installed have relevance is detected, if yes, the associated clients to be installed are installed according to a preset installation sequence, and if not, the clients to be installed are installed in parallel. In the method, because whether the relevance exists between the clients to be installed can be detected, the clients to be installed can be detected and installed comprehensively, and therefore the method does not need to judge and install the clients manually, and labor can be saved; in addition, when the method has relevance among the clients to be installed, the associated clients can be installed according to a certain sequence, so that problems caused by manual installation misoperation can be avoided; meanwhile, the method has no relevance among the clients to be installed, namely the clients to be installed can be installed in parallel without one client to be installed when the clients to be installed are independent of each other, so that the time for installing the clients can be shortened, and the efficiency for installing the clients is improved.
Drawings
FIG. 1 is a diagram showing an internal structure of an apparatus according to an embodiment;
FIG. 2a is a schematic flow chart diagram illustrating a method for client installation in one embodiment;
FIG. 2b is a diagram illustrating a user selecting a client to be installed in a client installation method, according to an embodiment;
FIG. 3 is a flowchart illustrating a client installation method according to another embodiment;
FIG. 4 is a flowchart illustrating a client installation method according to another embodiment;
FIG. 5 is a flowchart illustrating a client installation method according to another embodiment;
FIG. 6 is a flowchart illustrating a client installation method according to another embodiment;
FIG. 7 is a flowchart illustrating a client installation method according to another embodiment;
FIG. 8 is a block diagram of a client installation device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The client installation method provided by the application can be applied to the computer equipment shown in fig. 1, and the computer equipment can be a terminal or a server. When the computer device is a terminal, the computer device includes a processor, a memory, a network interface, a display screen, and an input device connected through a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a client installation method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 1 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
It should be noted that the execution subject of the present embodiment may be a client installation apparatus, or may be a device, and the following embodiments will be described with the device as the execution subject.
In an embodiment, a client installation method is provided, and the embodiment relates to a specific process of how to detect whether there is a correlation between clients to be installed and execute corresponding operations according to a detection result. As shown in fig. 2a, the method may comprise the steps of:
s202, at least two to-be-installed clients selected by a user are obtained.
The client may be software or APP (Application, computer Application program), or a console, recon, GPC, or the like; in addition, the number of the clients to be installed selected by the user may be 2 or more.
It should be noted that, in this embodiment, when the device installs the client, the user may also select only one client for installation, but when the user selects only one client for installation, the device is directly installed, and the following steps S204 to S208 are generally not executed.
Specifically, when the user needs to install the client, the user may click an installation option on the device, so that each client to be installed is displayed on the device interface, and certainly, all the clients on the device may also be displayed, when each client to be installed is displayed on the interface, the user may select from the displayed clients to be installed, after the user selects, the device may know that the client to be installed is selected by the user, for example, the process of the user selection may be as shown in fig. 2b, and after the user selects, the next step may be executed by clicking next step.
And S204, detecting whether the correlation exists between the clients to be installed.
Before installing each client, the device may set whether there is a good correlation between the clients, where the correlation may be to set a correlation identifier for each client to be installed, or may place the installation packages of the clients to be installed together, where there is a correlation, or place the installation packages of the clients to be installed together, where there is no correlation.
Specifically, after obtaining at least two to-be-installed clients selected by a user, the device may detect association identifiers between several to-be-installed clients selected by the user, and may also detect whether installation packages of several to-be-installed clients selected by the user are together, thereby obtaining a detection result, and perform a corresponding operation according to the detection result.
And S206, if so, installing each associated client to be installed according to a preset installation sequence.
The preset installation order may be a priority order between the associated clients to be installed, or may also be an installation package size order between the associated clients to be installed, or may also be another installation order.
Specifically, when the detection result is that the association identifier between several clients to be installed selected by the user is associated, or when the detection result is that the installation packages of several clients to be installed selected by the user are placed together, the device may obtain that the association exists between the several clients to be installed, and the device may install the several associated clients to be installed according to a preset installation sequence when installing the several associated clients to be installed.
And S208, if the client does not exist, installing the clients to be installed in parallel.
The parallel installation refers to parallel processing, that is, a method for simultaneously installing two or more clients by a device, wherein the device can simultaneously work in different aspects of the same program, and each client to be installed is allocated to different processing processes (threads), so that the time for solving large and complex problems can be saved.
Specifically, when the detection result is that the association identifiers between the several to-be-installed clients selected by the user are not associated, or when the detection result is that the installation packages of the several to-be-installed clients selected by the user are not placed together, the device can obtain that the several to-be-installed clients do not have association, that is, the several to-be-installed clients are independent, and the device can install the several to-be-installed clients simultaneously and in parallel, so that the installation time can be saved, and the installation efficiency can be improved.
In the client installation method, at least two clients to be installed selected by a user are obtained, whether the clients to be installed have relevance is detected, if yes, the associated clients to be installed are installed according to a preset installation sequence, and if not, the clients to be installed are installed in parallel. In the method, because whether the relevance exists between the clients to be installed can be detected, the clients to be installed can be detected and installed comprehensively, and therefore the method does not need to judge and install the clients manually, and labor can be saved; in addition, when the method has relevance among the clients to be installed, the associated clients can be installed according to a certain sequence, so that problems caused by manual installation misoperation can be avoided; meanwhile, the method has no relevance among the clients to be installed, namely the clients to be installed can be installed in parallel without one client to be installed when the clients to be installed are independent of each other, so that the time for installing the clients can be shortened, and the efficiency for installing the clients is improved.
In another embodiment, another client installation method is provided, and this embodiment relates to one possible implementation of how to install each associated client to be installed according to a preset installation order. On the basis of the foregoing embodiment, as shown in fig. 3, the installing the associated clients to be installed according to the preset installation order in S206 may include:
s302, the priority of each associated client to be installed is obtained.
Specifically, before the device installs each client to be installed, the priority can be set for each client to be installed in advance, so that the device can obtain the priority of each client to be installed, and can also obtain the priority of each associated client to be installed. The priority may be the size of the installation package of each client to be installed, the importance degree of each client to be installed, the installation speed of each client to be installed, and the like.
S304, the priorities of the associated clients to be installed are sequenced to obtain a priority sequencing result.
Specifically, after obtaining the priority of each associated client to be installed, the device may rank the priority of each associated client to be installed, so as to obtain a priority ranking result. Optionally, the priority may be ranked from high to low, or may be ranked from low to high, which is not specifically limited in this embodiment of the application.
S306, installing the associated clients to be installed according to the priority ranking result.
Specifically, when a client is installed in a general device, the client is often installed according to a priority level from high to low. Therefore, in this step, after obtaining the priority ranking result of each associated to-be-installed client, the device may install each associated to-be-installed client in order from high priority to low priority according to the ranking result.
It should be noted that, in this embodiment, each associated to-be-installed client may be an installation program having a part of the same among several to-be-installed clients, or may be an installation program having all the same among several to-be-installed clients, and installation needs to depend on installation of other several to-be-installed clients.
Illustratively, assuming that a user selects 3 clients to be installed, A, B, C respectively, each client to be installed contains an installer a-a, B, C, B-d, B, C-e, f respectively, wherein a and B have a relationship therebetween, C and A, B have no relationship therebetween, and a has a priority higher than B, the apparatus may install C and A, B in parallel first when installing the client A, B, C, wherein a of a and d of B are also installed in parallel, after the installation of a and d of B of a is completed, B may be installed to a first while C is installed in parallel, B may be installed to B after a is installed to B, B may be installed to B after B is installed to B, C may be installed to a next after B is installed to a, after the C is installed in the A, the C is installed in the B again, and after the C is installed in the B and the e and the f are installed in the C, the whole installation process is finished; of course, after the installation of a and d of B of a is completed, the installation sequence of B and c may be that B of a is installed first, B and c of B are installed again according to the information of B of a, and c of a is installed again according to the information of c of B; similarly, after the a of a and the d of B are installed, B of a may be installed first, then B of B may be installed, and then the information of B may be communicated to B of a. When A, B, C is installed in the conventional technology, abc of a is generally installed first, dbc of B is installed later, ef of C is installed last, and it can be seen that the total installation time of the conventional technology is ta +2tb +2tc + td + te + tf, but by adopting the method of the present embodiment, the installation time of C does not exceed the installation time of a and B, that is, the total installation time is (the longest time in ta and td) +2tb +2tc, and it can be seen that the total installation time of the method of the present embodiment is less than the total installation time of the conventional technology, so the method of the present embodiment can shorten the installation time and improve the installation efficiency.
In the client installation method provided by this embodiment, the priorities of the associated clients to be installed are obtained, the priorities of the associated clients to be installed are sorted, and finally the associated clients to be installed are installed according to the sorting result. In this embodiment, each associated client to be installed can be installed according to the sorting result of each associated client to be installed, so that it can be ensured that each associated client to be installed is installed in order, and the problem of installation error caused by disorder does not occur.
In another embodiment, another client installation method is provided, and this embodiment relates to a possible implementation of how to detect whether there is an association between clients to be installed. On the basis of the above embodiment, as shown in fig. 4, the above S204 may include the following steps:
s402, obtaining the current device configuration information, wherein the device configuration information comprises the association identification between the clients to be installed.
Specifically, before the device installs the client, the device may set configuration information, that is, it may configure whether there is a relationship between the clients in advance, configure a relationship identifier for the associated client, and certainly configure other parameters of other devices, so that the device may obtain current device configuration information when detecting. The association identifier configured here can characterize not only which client and which client are associated, but also which programs and the like are specifically associated between several associated clients, and so on. For example, assuming that there are 3 clients A, B, C, bc program between a and B is associated, and neither C nor A, B is associated, the association flag set to a may be flag [ bc ] B ═ 1, the association flag set to B may be flag [ bc ] a ═ 1, and the association flag set to C may be flag ═ 0.
S404, determining the relevance among the clients to be installed according to the relevance identifier.
Specifically, after obtaining the association identifier of each to-be-installed client, the device may determine whether there is an association between the to-be-installed clients or whether there is no association according to the content and the identifier value included in the association identifier of each to-be-installed client, and what programs are associated when there is an association. Illustratively, continuing with the example in S402 above, if the device obtains that the association flag of a is flag [ bc ] B ═ 1, the association flag of B is flag [ bc ] a ═ 1, and the association flag of C is flag ═ 0, then it can be obtained that a and B are associated, and bc of a and bc of B are associated, and neither C nor A, B have an association.
In the client installation method provided in this embodiment, the current device configuration information is obtained, where the device configuration information includes the association identifier between the clients to be installed, and the association between the clients to be installed is determined according to the association identifier. In this embodiment, since the association between the clients to be installed can be determined according to the association identifier between the clients to be installed, and the association is detected by using the identifier, the detection method is relatively simple, and therefore, the association between the clients to be installed can be obtained relatively simply by using the method.
In another embodiment, another client installation method is provided, and this embodiment relates to a specific process of how to determine a client under a device type according to the device type before acquiring at least two clients to be installed selected by a user. On the basis of the above embodiment, as shown in fig. 5, the method may further include the following steps:
and S502, acquiring the current equipment type.
The device type may be a computer version, a mobile phone version, a tablet computer version, a machine device interaction end, or the like, and each device type may correspond to a device identifier.
Specifically, the device may find a device identifier in the setting content, and determine the current device type according to the device identifier.
S504, according to the corresponding relation between the preset device type and the client type, the client type corresponding to the current device type is determined.
Specifically, before the device installs each client, each device type and the client type that can be installed by the device may be bound in advance to establish a correspondence between the device type and the client type. For example, if the current device type is a computer version, then in the correspondence relationship, the client type corresponding to the computer version may also be a computer version.
S506, obtaining each client under the client type.
Here, the client type may correspond to one client or a plurality of clients.
Specifically, before the device installs each client, or after each device type is bound to the client type that can be installed, each client type is bound to the client that can be supported by the client type, so that after the device obtains the client type, each corresponding client under the client type can be obtained.
And S508, acquiring at least two to-be-installed clients selected by the user from the clients in the client type.
Specifically, after obtaining each client in the client type, the device may display the client on an interface for a user to select, and after selecting by the user, the device may obtain the client to be installed selected by the user in the client type.
In the client installation method provided in this embodiment, the current device type is obtained, the client type corresponding to the current device type is determined according to the preset correspondence between the device type and the client type, each client in the client type is obtained, and then at least two clients to be installed selected by the user from each client in the client type are obtained. In this embodiment, the client type and each client under the client type can be determined according to the device type, so that when the client is installed, the problem of installation error caused by mismatching of the client type and the device type corresponding to the client selected by the user can be avoided, that is, the accuracy of client installation can be improved.
In another embodiment, another client installation method is provided, and this embodiment relates to a specific process of how to perform corresponding steps according to the current software version of the client after acquiring at least two clients to be installed selected by the user. On the basis of the above embodiment, the method may further include the steps of:
acquiring the current software version of each client to be installed; judging whether the current software versions of the clients to be installed are consistent; and if so, executing a step of detecting whether the correlation exists between the clients to be installed.
Specifically, before this step, the device may first check whether each client to be installed has a requirement for software version consistency, and if so, the device may obtain the current software version of each client to be installed from the software package configuration information of each client to be installed, and then compare the current software versions of each client to be installed to see whether the current software versions are the same/consistent, and if so, the device may detect whether there is a correlation between the clients to be installed; if the client-side versions are different/inconsistent, the device can choose to prompt that the client-sides cannot be installed at the same time, or the device can preferentially upgrade the client-sides with low versions to be installed, upgrade the client-sides to be installed to be consistent with the versions of other client-sides to be installed, and then detect whether the client-sides to be installed have relevance. Optionally, in this step, all the clients to be installed selected by the user may have requirements on version consistency, or some of the clients to be installed selected by the user may have requirements on version consistency, which is not limited in this embodiment.
In the client installation method provided by this embodiment, the current software versions of the clients to be installed are obtained, and whether the current software versions of the clients to be installed are consistent or not is determined, and if yes, a step of detecting whether the association exists between the clients to be installed is performed. In this embodiment, it may be determined whether the current software versions of the clients to be installed are consistent, and if so, the step of detecting whether there is a correlation between the clients to be installed may be executed, so that a problem that some clients having a requirement for consistency of the versions are installed by mistake, which may cause the whole device to be unusable, may be avoided.
In another embodiment, another client installation method is provided, and the embodiment relates to a specific process of how to acquire and display the installation progress of each associated client to be installed. On the basis of the above embodiment, the method may further include the steps of:
when each associated client to be installed is installed, acquiring the installation progress of each associated client to be installed; and displaying the installation progress of each associated client to be installed.
Specifically, when the device installs each associated client to be installed, the installation progress can be obtained by dividing the size of the installation package installed by the client by the total size of the installation package, that is, the device can obtain the installation progress of each associated client to be installed in real time, and after the installation progress of each associated client to be installed is obtained, the device can display the installation progress of each associated client to be installed on an interface, so that the user can know what progress the currently installed client is installed, so as to inform other associated clients to be installed depending on the installation result of the currently installed client, thereby ensuring that the clients to be installed with the association/dependency relationship can be installed in order. In addition, because the installation progress changes in real time, the device can also display the installation progress of each associated client to be installed in real time.
In the client installation method provided by this embodiment, when installing each associated client to be installed, the installation progress of each associated client to be installed is obtained, and the installation progress of each associated client to be installed is displayed. In the method, the installation progress of each associated client to be installed can be displayed, so that a user can know the installation progress of the currently installed client so as to inform other associated clients to be installed depending on the installation result of the currently installed client, and the clients to be installed with the association relation/dependency relation can be ensured to be installed in order.
In another embodiment, another client installation method is provided, and the embodiment relates to a specific process of how to obtain a restart type of each client to be installed after the installation of each client to be installed is completed, and restarting each client to be installed. On the basis of the above embodiment, as shown in fig. 6, the method may further include the steps of:
s602, after the installation of each client to be installed is completed, the current configuration information of each client to be installed is obtained.
Specifically, before installing each client to be installed, the device may set configuration information for each client to be installed in advance, where the configuration information of the client may represent restart information of the client to be installed, and optionally, the configuration information may be a configuration identifier, and after the installation is completed, the device may obtain the configuration information of each client to be installed, and record the configuration information as current configuration information.
S604, determining the restart type of each client to be installed according to the corresponding relation between the preset configuration information and the restart type and the current configuration information of each client to be installed.
The restart type generally includes restarting a host, restarting a system, restarting a client, automatically powering on and powering off the system, and the like.
Specifically, before installing each client to be installed, the device may count all restart types and all configuration information, and bind the configuration information and the corresponding restart type to obtain a corresponding relationship between the configuration information and the restart type, so that after obtaining the current configuration information of each client to be installed, the device may find the restart type corresponding to the current configuration information of each client to be installed in the corresponding relationship, and use the determined restart type as the restart type of each client to be installed. Here, the reboot type of each client to be installed may be the same or different.
And S606, restarting the equipment where the clients to be installed are located by adopting the restart types of the clients to be installed.
Specifically, after determining the restart type of each client to be installed, the device may select to restart the device where each client to be installed is located according to the restart type of each client to be installed, or restart the system where all clients are located.
In the client installation method provided in this embodiment, after installation of each to-be-installed client is completed, current configuration information of each to-be-installed client is obtained, a restart type of each to-be-installed client is determined according to a preset correspondence between the configuration information and the restart type and the current configuration information of each to-be-installed client, and the device where each to-be-installed client is located is restarted by using the restart type of each to-be-installed client. In this embodiment, since the restart type corresponding to each client to be installed can be obtained according to the configuration information of the client, and the restart is automatically performed by using the restart type, the method can avoid the misoperation caused by manual restart, and can ensure the normal operation of each client, thereby saving time.
In another embodiment, another client installation method is provided, and the embodiment relates to a specific process of generating reports for each client to be installed after the device is restarted. On the basis of the above embodiment, as shown in fig. 7, the method may further include the steps of:
s702, acquiring process information of each client to be installed, wherein the process information comprises data, installation time, installed software version and information about whether installation is abnormal or not of each client to be installed in the installation process.
Specifically, in the process of installing each client, the device may save records, problems, data generated in the restart process, and the like generated in the installation process as process information, so that the device may obtain the process information of each client to be installed after the installation and restart of each client to be installed, and the process information may include data, installation time, installed software version, and information on whether the installation is abnormal or not generated in the installation process of each client to be installed.
And S704, after the equipment is restarted, generating and storing a report of the process information of each client to be installed.
The generated report may be in a word format, a pdf format, a picture format, and the like.
Specifically, after restarting the device corresponding to each client to be installed, the device may generate a report of the acquired process information, and store the report, so as to facilitate the later checking of the installation process.
In the client installation method provided by this embodiment, by obtaining the process information of each to-be-installed client, where the process information includes data, installation time, installed software version, and information about whether installation is abnormal or not generated in the installation process of each to-be-installed client, after restarting the device, a report may be generated and stored on the process information of each to-be-installed client. In the embodiment, the process information can be used for generating the report, so that the user can conveniently check the installation process when problems occur subsequently, find the problem as soon as possible and solve the problem.
It should be understood that although the various steps in the flow charts of fig. 2a, 3-7 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps 2a, 3-7 may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternatingly with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 8, there is provided a client installation apparatus including: an acquisition module 10, a detection module 11 and a mounting module 12, wherein:
the acquiring module 10 is used for acquiring at least two clients to be installed selected by a user;
the detection module 11 is configured to detect whether there is a correlation between clients to be installed;
the installation module 12 is configured to install, if the client exists, each associated client to be installed according to a preset installation sequence; and if not, installing the clients to be installed in parallel.
The client installation apparatus provided in this embodiment may execute the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
In another embodiment, another client installation apparatus is provided, and the installation module 12 may include: priority acquisition unit, sequencing unit, installation unit, wherein:
a priority acquiring unit, configured to acquire a priority of each associated client to be installed;
the sequencing unit is used for sequencing the priority of each associated client to be installed to obtain a priority sequencing result;
and the installation unit is used for installing the associated clients to be installed according to the priority ranking result.
In another embodiment, another client installation apparatus is provided, and the detection module 11 may include: the device information acquisition unit and the determination unit are provided, wherein:
the device information acquisition unit is used for acquiring current device configuration information, and the device configuration information comprises association identifiers among the clients to be installed;
and the determining unit is used for determining the relevance between the clients to be installed according to the relevance identifier.
In another embodiment, another client installation apparatus is provided, before the obtaining of the at least two clients to be installed selected by the user, the apparatus may further include: the device comprises a type acquisition module, a determination module and a client acquisition module, wherein:
the type obtaining module is used for obtaining the current equipment type;
the determining module is used for determining the client type corresponding to the current equipment type according to the corresponding relation between the preset equipment type and the client type;
the client acquisition module is used for acquiring each client under the client type;
the obtaining module may include: and the client acquisition unit is used for acquiring at least two to-be-installed clients selected by the user from the clients under the client type.
In another embodiment, another client installation apparatus is provided, and after the obtaining of the at least two clients to be installed selected by the user, the apparatus may further include: version acquisition module, judgement module, wherein:
the version acquisition module is used for acquiring the current software version of each client to be installed;
the judging module is used for judging whether the current software versions of the clients to be installed are consistent; and if so, executing a step of detecting whether the correlation exists between the clients to be installed.
In another embodiment, another client installation apparatus is provided, and on the basis of the above embodiment, the apparatus may further include: the acquisition display module is used for acquiring the installation progress of each associated client to be installed when each associated client to be installed is installed; and displaying the installation progress of each associated client to be installed.
In another embodiment, another client installation apparatus is provided, and on the basis of the above embodiment, the apparatus may further include: the device comprises a client information acquisition module, a type determination module and a restart module, wherein:
the client information acquisition module is used for acquiring the current configuration information of each client to be installed after the installation of each client to be installed is completed;
the type determining module is used for determining the restarting type of each client to be installed according to the corresponding relation between the preset configuration information and the restarting type and the current configuration information of each client to be installed;
and the restarting module is used for restarting the equipment where the clients to be installed are located by adopting the restarting types of the clients to be installed.
In another embodiment, another client installation apparatus is provided, and on the basis of the above embodiment, the apparatus may further include: process information acquisition module, generation module, wherein:
the process information acquisition module is used for acquiring process information of each client to be installed, wherein the process information comprises data, installation time, installed software version and information about whether installation is abnormal or not of each client to be installed in the installation process;
and the generating module is used for generating and storing the process information of each client to be installed into a report after the equipment is restarted.
The client installation apparatus provided in this embodiment may execute the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
For specific definition of the client installation apparatus, reference may be made to the definition of the client installation method above, and details are not described here. The modules in the client installation apparatus may be implemented in whole or in part by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the device, and can also be stored in a memory in the device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, there is provided an apparatus comprising a memory and a processor, the memory having a computer program stored therein, the processor when executing the computer program implementing the steps of:
acquiring at least two clients to be installed selected by a user;
detecting whether the correlation exists between the clients to be installed;
if so, installing each associated client to be installed according to a preset installation sequence;
and if not, installing the clients to be installed in parallel.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring the priority of each associated client to be installed;
sequencing the priority of each associated client to be installed to obtain a priority sequencing result;
and installing the associated clients to be installed according to the priority ranking result.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring current equipment configuration information, wherein the equipment configuration information comprises association identification among clients to be installed;
and determining the relevance among the clients to be installed according to the relevance identifier.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring the current equipment type;
determining a client type corresponding to the current equipment type according to a corresponding relation between preset equipment types and client types;
acquiring each client under the client type;
and acquiring at least two to-be-installed clients selected by the user in the clients of the client type.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring the current software version of each client to be installed;
judging whether the current software versions of the clients to be installed are consistent;
and if so, executing a step of detecting whether the correlation exists between the clients to be installed.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
when the associated to-be-installed client is installed, acquiring the installation progress of the associated to-be-installed client;
and displaying the installation progress of each associated client to be installed.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
after the installation of each client to be installed is completed, acquiring the current configuration information of each client to be installed;
determining the restart type of each client to be installed according to the corresponding relation between preset configuration information and the restart type and the current configuration information of each client to be installed;
and restarting the equipment where the clients to be installed are located by adopting the restart type of the clients to be installed.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring process information of each client to be installed, wherein the process information comprises data, installation time, installed software version and information about whether installation is abnormal or not of each client to be installed in the installation process;
and after restarting the equipment, generating a report of the process information of each client to be installed, and storing the report.
In one embodiment, a readable storage medium is provided, having stored thereon a computer program which, when executed by a processor, performs the steps of:
acquiring at least two clients to be installed selected by a user;
detecting whether the correlation exists between the clients to be installed;
if so, installing each associated client to be installed according to a preset installation sequence;
and if not, installing the clients to be installed in parallel.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring the priority of each associated client to be installed;
sequencing the priority of each associated client to be installed to obtain a priority sequencing result;
and installing the associated clients to be installed according to the priority ranking result.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring current equipment configuration information, wherein the equipment configuration information comprises association identification among clients to be installed;
and determining the relevance among the clients to be installed according to the relevance identifier.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring the current equipment type;
determining a client type corresponding to the current equipment type according to a corresponding relation between preset equipment types and client types;
acquiring each client under the client type;
and acquiring at least two to-be-installed clients selected by the user in the clients of the client type.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring the current software version of each client to be installed;
judging whether the current software versions of the clients to be installed are consistent;
and if so, executing a step of detecting whether the correlation exists between the clients to be installed.
In one embodiment, the computer program when executed by the processor further performs the steps of:
when the associated to-be-installed client is installed, acquiring the installation progress of the associated to-be-installed client;
and displaying the installation progress of each associated client to be installed.
In one embodiment, the computer program when executed by the processor further performs the steps of:
after the installation of each client to be installed is completed, acquiring the current configuration information of each client to be installed;
determining the restart type of each client to be installed according to the corresponding relation between preset configuration information and the restart type and the current configuration information of each client to be installed;
and restarting the equipment where the clients to be installed are located by adopting the restart type of the clients to be installed.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring process information of each client to be installed, wherein the process information comprises data, installation time, installed software version and information about whether installation is abnormal or not of each client to be installed in the installation process;
and after restarting the equipment, generating a report of the process information of each client to be installed, and storing the report.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A client installation method, the method comprising:
acquiring at least two clients to be installed selected by a user;
detecting whether the correlation exists between the clients to be installed;
if so, installing each associated client to be installed according to a preset installation sequence;
and if not, installing the clients to be installed in parallel.
2. The method according to claim 1, wherein the installing each associated client to be installed according to a preset installation order comprises:
acquiring the priority of each associated client to be installed;
sequencing the priority of each associated client to be installed to obtain a priority sequencing result;
and installing the associated clients to be installed according to the priority ranking result.
3. The method according to claim 1, wherein the detecting whether there is an association between the clients to be installed comprises:
acquiring current equipment configuration information, wherein the equipment configuration information comprises association identification among clients to be installed;
and determining the relevance among the clients to be installed according to the relevance identifier.
4. The method according to claim 1, wherein before the obtaining of the at least two clients to be installed selected by the user, the method further comprises:
acquiring the current equipment type;
determining a client type corresponding to the current equipment type according to a corresponding relation between preset equipment types and client types;
acquiring each client under the client type;
the obtaining of the at least two clients to be installed selected by the user includes:
and acquiring at least two to-be-installed clients selected by the user in the clients of the client type.
5. The method according to claim 1, wherein after the obtaining of the at least two clients to be installed selected by the user, the method further comprises:
acquiring the current software version of each client to be installed;
judging whether the current software versions of the clients to be installed are consistent;
and if so, executing a step of detecting whether the correlation exists between the clients to be installed.
6. The method according to claim 1 or 2, characterized in that the method further comprises:
when the associated to-be-installed client is installed, acquiring the installation progress of the associated to-be-installed client;
and displaying the installation progress of each associated client to be installed.
7. The method of claim 1, further comprising:
after the installation of each client to be installed is completed, acquiring the current configuration information of each client to be installed;
determining the restart type of each client to be installed according to the corresponding relation between preset configuration information and the restart type and the current configuration information of each client to be installed;
and restarting the equipment where the clients to be installed are located by adopting the restart type of the clients to be installed.
8. The method of claim 7, further comprising:
acquiring process information of each client to be installed, wherein the process information comprises data, installation time, installed software version and information about whether installation is abnormal or not of each client to be installed in the installation process;
and after restarting the equipment, generating a report of the process information of each client to be installed, and storing the report.
9. A client installation apparatus, the apparatus comprising:
the system comprises an acquisition module, a storage module and a display module, wherein the acquisition module is used for acquiring at least two clients to be installed selected by a user;
the detection module is used for detecting whether the correlation exists between the clients to be installed;
the installation module is used for installing each associated client to be installed according to a preset installation sequence if the client to be installed exists; and if not, installing the clients to be installed in parallel.
10. A 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 8.
CN201910743579.3A 2019-08-13 2019-08-13 Client installation method, device and storage medium Active CN110633087B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910743579.3A CN110633087B (en) 2019-08-13 2019-08-13 Client installation method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910743579.3A CN110633087B (en) 2019-08-13 2019-08-13 Client installation method, device and storage medium

Publications (2)

Publication Number Publication Date
CN110633087A true CN110633087A (en) 2019-12-31
CN110633087B CN110633087B (en) 2023-07-25

Family

ID=68970293

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910743579.3A Active CN110633087B (en) 2019-08-13 2019-08-13 Client installation method, device and storage medium

Country Status (1)

Country Link
CN (1) CN110633087B (en)

Citations (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030066065A1 (en) * 2001-10-02 2003-04-03 International Business Machines Corporation System and method for remotely updating software applications
US20040003390A1 (en) * 2002-06-27 2004-01-01 Microsoft Corporation System and method for installing a software application in a non-impactfull manner
US6698018B1 (en) * 2000-05-10 2004-02-24 Microsoft Corporation System and method of multiple-stage installation of a suite of applications
CN1567280A (en) * 2003-06-19 2005-01-19 瀚邦科技股份有限公司 Method and device for using universal serial bus transmission line
US20070088799A1 (en) * 2005-10-14 2007-04-19 Luft David A System and method for installing software
US20080134165A1 (en) * 2006-12-01 2008-06-05 Lori Anderson Methods and apparatus for software provisioning of a network device
CN102207859A (en) * 2010-03-31 2011-10-05 国际商业机器公司 Method, device and system for deploying solution plan
WO2012025011A1 (en) * 2010-08-27 2012-03-01 腾讯科技(深圳)有限公司 Software update system, method and computer storage medium
CN102404381A (en) * 2011-09-02 2012-04-04 西安交通大学 Software deployment system and deployment method based on workflow in cloud computing environment
CN102933068A (en) * 2011-07-27 2013-02-13 富士机械制造株式会社 An electronic installating system
US20130054950A1 (en) * 2011-08-31 2013-02-28 Michael S. Tsirkin User-controllable boot order through a hypervisor
CN102981879A (en) * 2012-12-03 2013-03-20 中国联合网络通信集团有限公司 Supply method, acquisition method, equipment and processing system of application software installation package
CN103019757A (en) * 2011-09-27 2013-04-03 腾讯科技(深圳)有限公司 Method, device and system for synchronizing software among multiple clients
US20140101061A1 (en) * 2012-10-09 2014-04-10 International Business Machines Corporation Correlating software licenses to software installations
CN104836843A (en) * 2015-03-31 2015-08-12 北京奇虎科技有限公司 Client application program updating method and device
US20160092186A1 (en) * 2014-09-29 2016-03-31 Facebook, Inc. Identification of an application associated with a third party system and transmission of application installation information to a user by an online system
CN106155743A (en) * 2016-06-30 2016-11-23 维沃移动通信有限公司 The control method of a kind of application program installation and mobile terminal
CN107391092A (en) * 2016-05-16 2017-11-24 北京京东尚科信息技术有限公司 The method and system of automatic deployment associated software
CN107509187A (en) * 2017-08-31 2017-12-22 维沃移动通信有限公司 A kind of installation method of application program, mobile terminal and server
CN107608678A (en) * 2017-08-22 2018-01-19 深圳传音控股有限公司 The determination methods and mobile terminal of relevance between process
CN107665121A (en) * 2016-07-28 2018-02-06 通用汽车环球科技运作有限责任公司 Remote vehicle renewal installation scheduling
CN108037987A (en) * 2017-12-07 2018-05-15 北京小米移动软件有限公司 application control method, device, storage medium
CN108681662A (en) * 2018-05-17 2018-10-19 阿里巴巴集团控股有限公司 A kind of method and device of installation procedure
CN109343867A (en) * 2018-10-16 2019-02-15 平安科技(深圳)有限公司 The self-service installation method of software, device, computer equipment and storage medium

Patent Citations (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6698018B1 (en) * 2000-05-10 2004-02-24 Microsoft Corporation System and method of multiple-stage installation of a suite of applications
US20030066065A1 (en) * 2001-10-02 2003-04-03 International Business Machines Corporation System and method for remotely updating software applications
US20040003390A1 (en) * 2002-06-27 2004-01-01 Microsoft Corporation System and method for installing a software application in a non-impactfull manner
CN1567280A (en) * 2003-06-19 2005-01-19 瀚邦科技股份有限公司 Method and device for using universal serial bus transmission line
US20070088799A1 (en) * 2005-10-14 2007-04-19 Luft David A System and method for installing software
US20080134165A1 (en) * 2006-12-01 2008-06-05 Lori Anderson Methods and apparatus for software provisioning of a network device
CN102207859A (en) * 2010-03-31 2011-10-05 国际商业机器公司 Method, device and system for deploying solution plan
WO2012025011A1 (en) * 2010-08-27 2012-03-01 腾讯科技(深圳)有限公司 Software update system, method and computer storage medium
CN102933068A (en) * 2011-07-27 2013-02-13 富士机械制造株式会社 An electronic installating system
US20130054950A1 (en) * 2011-08-31 2013-02-28 Michael S. Tsirkin User-controllable boot order through a hypervisor
CN102404381A (en) * 2011-09-02 2012-04-04 西安交通大学 Software deployment system and deployment method based on workflow in cloud computing environment
CN103019757A (en) * 2011-09-27 2013-04-03 腾讯科技(深圳)有限公司 Method, device and system for synchronizing software among multiple clients
US20140101061A1 (en) * 2012-10-09 2014-04-10 International Business Machines Corporation Correlating software licenses to software installations
CN102981879A (en) * 2012-12-03 2013-03-20 中国联合网络通信集团有限公司 Supply method, acquisition method, equipment and processing system of application software installation package
US20160092186A1 (en) * 2014-09-29 2016-03-31 Facebook, Inc. Identification of an application associated with a third party system and transmission of application installation information to a user by an online system
CN104836843A (en) * 2015-03-31 2015-08-12 北京奇虎科技有限公司 Client application program updating method and device
CN107391092A (en) * 2016-05-16 2017-11-24 北京京东尚科信息技术有限公司 The method and system of automatic deployment associated software
CN106155743A (en) * 2016-06-30 2016-11-23 维沃移动通信有限公司 The control method of a kind of application program installation and mobile terminal
CN107665121A (en) * 2016-07-28 2018-02-06 通用汽车环球科技运作有限责任公司 Remote vehicle renewal installation scheduling
CN107608678A (en) * 2017-08-22 2018-01-19 深圳传音控股有限公司 The determination methods and mobile terminal of relevance between process
CN107509187A (en) * 2017-08-31 2017-12-22 维沃移动通信有限公司 A kind of installation method of application program, mobile terminal and server
CN108037987A (en) * 2017-12-07 2018-05-15 北京小米移动软件有限公司 application control method, device, storage medium
CN108681662A (en) * 2018-05-17 2018-10-19 阿里巴巴集团控股有限公司 A kind of method and device of installation procedure
CN109343867A (en) * 2018-10-16 2019-02-15 平安科技(深圳)有限公司 The self-service installation method of software, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN110633087B (en) 2023-07-25

Similar Documents

Publication Publication Date Title
CN108073519B (en) Test case generation method and device
CN108829485B (en) Application interface layout updating method and device, storage medium and computer equipment
CN107733708B (en) Equipment parameter configuration method and device, computer equipment and storage medium
US10268515B2 (en) Releasing resources from processes in a particular order to provide required resources to start an application
CN109814854B (en) Project framework generation method, device, computer equipment and storage medium
CN108848142B (en) Message pushing method and device, computer equipment and storage medium
CN108848000B (en) Network request testing method and device, computer equipment and storage medium
CN110162453B (en) Test method, test device, computer readable storage medium and computer equipment
CN110413922B (en) Page information display method, device, computer equipment and storage medium
US20090132857A1 (en) System and method for testing an embedded system
CN110321467A (en) Airport engineering project information methods of exhibiting, device, system, equipment and medium
CN110798376A (en) Interface testing method and device, computer equipment and storage medium
CN110750443A (en) Webpage testing method and device, computer equipment and storage medium
CN112052374A (en) Page display method and device, computer equipment and storage medium
CN106843947B (en) Method and device for processing code defects
US20150095098A1 (en) Work management method and management system
CN104156305A (en) Application program testing method and device
CN115221156A (en) Database cluster capacity expansion method and device, computer equipment and storage medium
CN109901998B (en) Resource recovery method, device, system, computer equipment and storage medium
CN115617780A (en) Data import method, device, equipment and storage medium
CN108762787B (en) Software repairing method, device, computer equipment and storage medium
CN112711519B (en) Method and device for detecting fluency of picture, storage medium and computer equipment
CN110633087B (en) Client installation method, device and storage medium
CN109471840B (en) File viewing method and device, computer equipment and storage medium
CN111124932A (en) Scheme verification method, system, device, computer equipment and storage medium

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 201807 Shanghai City, north of the city of Jiading District Road No. 2258

Applicant after: Shanghai Lianying Medical Technology Co.,Ltd.

Address before: 201807 Shanghai City, north of the city of Jiading District Road No. 2258

Applicant before: SHANGHAI UNITED IMAGING HEALTHCARE Co.,Ltd.

GR01 Patent grant
GR01 Patent grant