CN105975586B - Recommended software installation method, device and equipment - Google Patents

Recommended software installation method, device and equipment Download PDF

Info

Publication number
CN105975586B
CN105975586B CN201610293664.0A CN201610293664A CN105975586B CN 105975586 B CN105975586 B CN 105975586B CN 201610293664 A CN201610293664 A CN 201610293664A CN 105975586 B CN105975586 B CN 105975586B
Authority
CN
China
Prior art keywords
software
recommended
target
mark
recommendation
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.)
Active
Application number
CN201610293664.0A
Other languages
Chinese (zh)
Other versions
CN105975586A (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.)
Zhuhai Baoqu Technology Co Ltd
Original Assignee
Zhuhai Baoqu Technology 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 Zhuhai Baoqu Technology Co Ltd filed Critical Zhuhai Baoqu Technology Co Ltd
Priority to CN201610293664.0A priority Critical patent/CN105975586B/en
Publication of CN105975586A publication Critical patent/CN105975586A/en
Application granted granted Critical
Publication of CN105975586B publication Critical patent/CN105975586B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention provides a method, a device and equipment for recommending software installation, wherein the method comprises the following steps: writing a recommendation mark of the target recommendation software in a configuration file of the target software; when the target software is installed, registering a recommended mark reading program in the system; and reading the recommended mark according to the recommended mark reading program, and installing the target recommended software according to the recommended mark. Therefore, in the installation process of the recommended software, even if preset events such as restart, shutdown and the like occur, the recommended mark can be read according to the recommended mark reading program, and the target recommended software is installed again according to the recommended mark, so that the installation success rate of the recommended software can be improved.

Description

Recommended software installation method, device and equipment
Technical Field
The invention relates to the technical field of internet, in particular to a method, a device and equipment for recommending software installation.
Background
With the rapid development of information technology, terminal devices (such as mobile phones, tablet computers and the like) are used more and more frequently. With the rapid development of terminal devices, the installation of other software in the terminal devices is becoming more and more popular. In general, when a piece of software is installed on a terminal device, the software may bind other pieces of recommended software, and if a user selects the pieces of recommended software, the pieces of recommended software may be further installed when the software is installed.
Disclosure of Invention
The embodiment of the invention provides a method, a device and equipment for installing recommended software, which can improve the installation success rate of the recommended software.
The first aspect of the embodiments of the present invention provides a method for recommending software installation, including:
writing a recommendation mark of the target recommendation software in a configuration file of the target software;
when the target software is installed, registering a recommended mark reading program in the system;
and reading the recommended mark according to the recommended mark reading program, and installing the target recommended software according to the recommended mark.
With reference to the implementation manner of the first aspect of the embodiment of the present invention, in a first possible implementation manner of the first aspect, before writing the recommendation flag of the target recommendation software in the configuration file of the target software, the method further includes:
displaying at least one piece of recommended software bound with the target software;
and acquiring the target recommendation software from the at least one recommendation software.
With reference to the first possible implementation manner of the first aspect of the embodiment of the present invention, in a second possible implementation manner of the first aspect, the presenting at least one piece of recommended software bound to the target software includes:
and displaying part of recommended software bound with the target software, and displaying other recommended software in the installation environment of at least one part of recommended software.
With reference to the first aspect of the embodiment of the present invention, in a third possible implementation manner of the first aspect, after the writing the recommended mark reading program into the system file of the target software, and before the reading the recommended mark according to the recommended mark reading program and installing the target recommended software according to the recommended mark, the method further includes:
and detecting whether a preset event occurs, if so, executing the steps of reading the recommendation mark according to the recommendation mark reading program, and installing the target recommendation software according to the recommendation mark.
With reference to the third possible implementation manner of the first aspect of the embodiment of the present invention, in a fourth possible implementation manner of the first aspect, the preset event includes at least one of a restart event, a shutdown event, and a network outage event.
With reference to the first aspect of the embodiment of the present invention, or any one of the first, second, third, or fourth possible implementation manners of the first aspect, in a fifth possible implementation manner of the first aspect, the reading the recommended mark according to the recommended mark reading program includes:
and operating the recommended mark reading program according to a preset time interval, and reading the recommended mark.
With reference to the first aspect of the embodiment of the present invention, or any one of the first, second, third, or fourth possible implementation manners of the first aspect, in a sixth possible implementation manner of the first aspect, the continuing to install the target recommendation software according to the recommendation flag includes:
downloading an installation package of the target recommended software from a network according to the recommendation mark, and installing the target recommended software according to the installation package;
alternatively, the first and second electrodes may be,
and acquiring the installation package of the target recommended software from the local according to the recommendation mark, and installing the target recommended software according to the installation package.
With reference to the first aspect of the embodiment of the present invention, or any one of the first, second, third, or fourth possible implementation manners of the first aspect, in a seventh possible implementation manner of the first aspect, after the target recommendation software continues to be installed according to the recommendation flag, the method further includes:
and when the target recommendation software is installed, clearing the recommendation mark.
A second aspect of the embodiments of the present invention provides a recommended software installation apparatus, including:
the writing unit is used for writing a recommendation mark of the target recommendation software in a configuration file of the target software;
a registration unit configured to register a recommended mark reading program in a system when the installation of the target software is completed;
and the installation unit is used for reading the recommended mark written by the writing unit according to the recommended mark reading program registered by the registration unit and installing the target recommended software according to the recommended mark.
With reference to the second aspect of the embodiment of the present invention, in a first possible implementation manner of the second aspect, before writing the recommendation flag of the target recommendation software in the configuration file of the target software, the method further includes:
the display unit is used for displaying at least one piece of recommended software bound with the target software before the writing unit writes the recommended mark of the target recommended software in the configuration file of the target software;
the acquisition unit is used for acquiring the target recommendation software from the at least one recommendation software displayed by the display unit.
With reference to the first possible implementation manner of the second aspect of the embodiment of the present invention, in a second possible implementation manner of the second aspect, the display unit is further specifically configured to:
and displaying part of recommended software bound with the target software, and displaying other recommended software in the installation environment of at least one part of recommended software.
With reference to the second aspect of the embodiments of the present invention, in a third possible implementation manner of the second aspect, the apparatus further includes:
the detection unit is used for detecting whether a preset event occurs or not after the registration unit writes the recommended mark reading program into the system file of the target software after the target software is installed, if so, the installation unit reads the recommended mark according to the recommended mark reading program, and installs the target recommended software according to the recommended mark.
With reference to the third possible implementation manner of the second aspect of the embodiment of the present invention, in a fourth possible implementation manner of the second aspect, the preset event includes at least one of a restart event, a shutdown event, and a network outage event.
With reference to the second aspect of the embodiment of the present invention, and any one of the first, second, third, or fourth possible implementations of the second aspect, in a fifth possible implementation of the second aspect, the mounting unit is specifically configured to:
and operating the recommended mark reading program according to a preset time interval, reading the recommended mark written by the writing unit according to the recommended mark reading program registered by the registering unit, and installing the target recommended software according to the recommended mark.
With reference to the second aspect of the embodiment of the present invention, and any one of the first, second, third, or fourth possible implementations of the second aspect, in a sixth possible implementation of the second aspect, the mounting unit is specifically configured to:
downloading an installation package of the target recommended software from a network according to the recommendation mark, and installing the target recommended software according to the installation package;
alternatively, the first and second electrodes may be,
and acquiring the installation package of the target recommended software from the local according to the recommendation mark, and installing the target recommended software according to the installation package.
With reference to the second aspect of the embodiment of the present invention, or any one of the first, second, third, or fourth possible implementations of the second aspect, in a seventh possible implementation of the second aspect, the apparatus further includes:
and the clearing unit is used for clearing the recommendation mark after the installation unit installs the target recommendation software according to the recommendation mark.
A third aspect of an embodiment of the present invention provides a recommended software installation apparatus, including: a processor, a memory, a communication interface, and a bus;
the processor, the memory and the communication interface are connected through the bus and complete mutual communication; the memory stores executable program code; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory for executing a recommended software installation method; wherein the method comprises the following steps:
writing a recommendation mark of the target recommendation software in a configuration file of the target software;
when the target software is installed, registering a recommended mark reading program in the system;
and reading the recommended mark according to the recommended mark reading program, and installing the target recommended software according to the recommended mark.
A fourth aspect of the embodiments of the present invention provides a storage medium, where the storage medium is used to store an application program, and the application program is used to execute the recommended software installation method of the embodiments of the present invention when the application program runs.
A fifth aspect of the embodiment of the present invention provides an application program, where the application program is configured to execute the recommended software installation method according to the embodiment of the present invention when the application program is executed.
The embodiment of the invention has the following beneficial effects:
it can be seen that, in the recommended software installation method provided by the invention, the recommended mark of the target recommended software is written in the configuration file of the target software, when the target software is installed, the recommended mark reading program is registered in the system, the recommended mark is read according to the recommended mark reading program, and the target recommended software is installed according to the recommended mark. Therefore, in the installation process of the recommended software, even if preset events such as restart, shutdown and the like occur, the recommended mark can be read according to the recommended mark reading program, and the installation of the recommended software is completed according to the recommended mark, so that the installation success rate of the recommended software can be improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flow chart illustrating a method for recommending software installation according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating another method for recommending software installation according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating another method for recommending software installation according to an embodiment of the present invention;
FIG. 4a is a schematic structural diagram of an embodiment of a recommended software installation apparatus provided in an embodiment of the present invention;
FIG. 4b is a schematic structural diagram of an embodiment of a recommended software installation apparatus provided in an embodiment of the present invention;
FIG. 4c is a schematic structural diagram of an embodiment of a recommended software installation apparatus according to an embodiment of the present invention;
FIG. 4d is a schematic structural diagram of an embodiment of a recommended software installation apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an embodiment of a recommended software installation apparatus according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a method, a device and equipment for installing recommended software, which can improve the installation success rate of the recommended software.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," and "fourth," etc. in the description and claims of the invention and in the accompanying drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The Devices described in the embodiments of the present invention may include a smart Phone (e.g., an Android Phone, an iOS Phone, a Windows Phone, etc.), a tablet computer, a palm computer, a notebook computer, a Mobile Internet device (MID, Mobile Internet Devices), or a wearable device, which are examples, but not exhaustive, and include but are not limited to the above Devices.
Fig. 1 is a schematic flow chart illustrating a recommended software installation method according to an embodiment of the present invention. The recommended software installation method described in this embodiment includes the following steps:
101. and writing a recommendation mark of the target recommendation software in the configuration file of the target software.
In particular implementations, the target software may include, but is not limited to: chat software, video software, financial software, photo software, group purchase software, pacing software, and the like. Recommendation marks of target recommendation software bound with the target software can be written in the configuration file of the target software. When one target recommending software exists, a recommending mark of the target recommending software is written in the configuration file of the target software. And when N target recommended software exists, writing recommendation marks of the N target recommended software in the configuration file of the target software, wherein N is an integer larger than 1.
102. And when the target software is installed, registering a recommended mark reading program in the system.
In particular implementations, the recommended indicia reading program may include a service program and/or a tray program. And the recommendation mark reading program is used for reading the recommendation mark of the target recommendation software.
103. And reading the recommended mark according to the recommended mark reading program, and installing the target recommended software according to the recommended mark.
In specific implementation, after the target software is installed, the recommended mark can be read according to a recommended mark reading program, and the target recommended software is installed according to the recommended mark; if preset events such as restarting and shutdown are encountered when the target recommended software is not installed, the recommended mark can be read according to the recommended mark reading program, and the target recommended software is installed according to the recommended mark. Wherein, the recommended mark reading program can be run according to a preset time interval to read the recommended mark; the predetermined time interval may be 5 minutes, 10 minutes, 1 hour, etc., and the predetermined time interval may be a random time interval, e.g., 5 minutes, 15 minutes, 23 minutes, 31.5 minutes, etc. Further, if the recommended mark reading is successful, the recommended mark reading program may be stopped. The preset event can be at least one of a restart event, a shutdown event, a network disconnection event and a target recommendation software interruption event. The target recommended software interrupt event may be that the task manager is adopted to end the installation process of the target recommended software, or in the installation process of the target recommended software, if verification information within a preset time needs to be input, and the user does not input the verification information yet, the installation process of the target recommended software is ended. For example, when the target recommended software is installed by 60%, if a restart event occurs suddenly, the recommended mark is read according to the recommended mark reading program after the boot is started. For another example, when the target recommended software is installed by 50%, if a shutdown event occurs suddenly, after the target recommended software is started, the recommended mark is read according to the recommended mark reading program. For another example, if the target recommended software is installed while being downloaded, and if a network disconnection event occurs suddenly 30% after the target recommended software is installed, the recommended mark is read according to the recommended mark reading program after the network is reconnected. For another example, if the target recommended software installation is completed by 30%, if the user suddenly ends the target recommended software installation process using the task manager, the recommended mark may be read according to the recommended mark reading program after the restart.
For example, in the using process of the user, there may be many unexpected situations, for example, the driver of the target recommendation software needs to be restarted after being installed, or the operating system needs to be restarted after being updated, or the user shuts down, and the like, and all of the above factors may cause that the target recommendation software is already restarted when the target recommendation software is not installed, so that the target recommendation software cannot be installed. Because the recommended mark reading program (namely, the service program and/or the tray program) is registered in the system, after the system is started next time, the recommended mark reading program (namely, the service program and/or the tray program) registered in the system automatically runs, so that the recommended mark of the target recommended software written in the configuration file of the target software can be read according to the recommended mark reading program, the recommended module of the target recommended software can be reloaded, and the installation process of the target recommended software can be continuously executed.
Alternatively, the installation package of the target recommended software may be downloaded from the network according to the recommendation mark, and the target recommended software may be installed according to the installation package. Specifically, the recommendation flag contains a Uniform Resource Locator (URL), and the recommendation flag can download the installation package of the target recommendation software from the network according to the URL, decompress the installation package, and install the target recommendation software according to the decompressed installation program. It should be noted that the network may include the Internet, a local area network, an Internet of things, and so on. For example, when the mobile phone has an installation package of the target recommended software, and the mobile phone is connected with the tablet computer, the tablet computer may download the installation package of the target recommended software from the mobile phone according to the recommendation mark, and install the target recommended software according to the installation package.
Optionally, the installation package of the target recommended software may be obtained locally according to the recommendation mark, and the target recommended software may be installed according to the installation package. Specifically, the recommendation mark may include a path index of the target recommendation software, so that the installation package of the target recommendation software is obtained from the local according to the path index, the installation package is decompressed, and the target recommendation software is installed according to the decompressed installation program.
Alternatively, if the partial installation of the target recommended software is completed according to the recommendation mark, the installation process of the target recommended software can be continuously completed by the last incomplete part.
As a possible implementation manner, a recommended mark of target recommended software is written in a configuration file of the target software, when the target software is installed, a recommended mark reading program can be written in a system file of the target software, then the target recommended software is directly installed according to the recommended mark by using another thread or process, if the preset event does not occur, the installation process of the target recommended software is completed according to the recommended mark by directly using another thread or process, and if the preset event occurs, the recommended mark can be read according to the recommended mark reading program and the target recommended software is installed according to the recommended mark.
Further, between step 102 and step 103, whether the preset event occurs may be detected, if yes, step 103 is executed, and if no, the installation process of the target recommended software may be directly completed according to the recommendation mark.
It can be seen that, in the recommended software installation method provided by the invention, the recommended mark of the target recommended software is written in the configuration file of the target software, when the target software is installed, the recommended mark reading program is registered in the system, the recommended mark is read according to the recommended mark reading program, and the target recommended software is installed according to the recommended mark. Therefore, in the process of installing the recommended software according to the recommended mark, even if preset events such as restart, shutdown and the like occur, the recommended mark can be read according to the recommended mark reading program of the recommended software, and the installation of the recommended software is completed according to the recommended mark again, so that the installation success rate of the recommended software can be improved.
Please refer to fig. 2, which is a flowchart illustrating another method for recommending software installation according to an embodiment of the present invention. The recommended software installation method described in this embodiment includes the following steps:
201. and displaying at least one piece of recommended software bound with the target software.
In particular implementations, the target software may include, but is not limited to: chat software, video software, financial software, photo software, group purchase software, pacing software, and the like. The at least one piece of recommended software bound with the target software can be exposed before the target software is installed, or the at least one piece of recommended software bound with the target software can be exposed after the target software is installed, or the at least one piece of recommended software bound with the target software can be exposed in the target software installation process. In the case of the current QQ chat software, when installing the QQ, it is usually recommended that the user install a QQ manager and a QQ game, and then the QQ manager and the QQ game are recommended software of the QQ chat software.
Alternatively, a portion of the recommended software may be presented before the current software installation, and then another portion of the recommended software may be presented after the target software installation is completed.
Alternatively, all recommended software bound to the target software may be exposed at once, for example, the target software has A, B, C recommended software, and then the 3 recommended software may be exposed at once.
Further optionally, a part of the recommended software bound with the target software may be exposed, and other recommended software may be exposed in the installation environment of at least one part of the recommended software, for example, A, B, C parts of the recommended software are provided for the target software, then the recommended software a may be exposed first, then B and C may be exposed in the installation environment of a, or the recommended software a may be exposed first, then B may be exposed in the installation environment of a, and finally C may be exposed in the installation environment of B.
202. And acquiring target recommended software from the at least one piece of recommended software, and writing a recommendation mark of the target recommended software in a configuration file of the target software.
In specific implementation, when at least one piece of recommended software bound with target software is displayed on a display interface, one or more pieces of target recommended software can be selected from the at least one piece of recommended software in a man-machine interaction mode, and after the selected target recommended software is determined, a recommendation mark of the target recommended software can be written in a configuration file of the target software. When one target recommending software exists, a recommending mark of the target recommending software is written in the configuration file of the target software. And when N target recommended software exists, writing recommendation marks of the N target recommended software in the configuration file of the target software, wherein N is an integer larger than 1.
203. And when the target software is installed, registering a recommended mark reading program in the system.
204. And reading the recommended mark according to the recommended mark reading program, and installing the target recommended software according to the recommended mark.
Please refer to steps 102 and 103 described in fig. 1 for steps 203 and 204.
As a possible implementation manner, in the process of executing step 204, if the target recommended software may show at least one other recommended software in the process of installing the target recommended software, the installation process of the other recommended software may be executed according to the implementation steps described in step 201 and step 204 above.
The recommended software installation method provided by the invention can be seen in that the recommended software is obtained from the at least one piece of recommended software by displaying the at least one piece of recommended software bound with the target software, the recommended mark of the target recommended software is written in the configuration file of the target software, when the target software is installed, the recommended mark reading program is registered in the system, the recommended mark is read according to the recommended mark reading program, and the target recommended software is installed according to the recommended mark. Therefore, in the process of installing the recommended software according to the recommended mark, if a preset event occurs, the recommended mark can be read according to the recommended mark reading program, and the recommended software is installed according to the recommended mark, so that the installation success rate of the recommended software can be improved.
Please refer to fig. 3, which is a flowchart illustrating another method for recommending software installation according to an embodiment of the present invention. The recommended software installation method described in this embodiment includes the following steps:
301. displaying at least one piece of recommended software bound with the target software;
302. acquiring target recommended software from the at least one piece of recommended software, and writing a recommendation mark of the target recommended software in a configuration file of the target software;
303. when the target software is installed, registering a recommended mark reading program in the system;
304. reading the recommended mark according to the recommended mark reading program, and judging whether the recommended mark is read successfully or not;
305. and if so, installing the target recommendation software according to the recommendation mark.
Optionally, if not, reading the recommended mark again according to the recommended mark reading program. Alternatively, the recommended mark may be read again, that is, if the recommended mark is not successfully read within a preset time or a preset number of times, the recommended mark is stopped from being read.
306. And when the target recommendation software is installed, clearing the recommendation mark.
In a specific implementation, when it is detected that the target recommended software is installed, the recommendation flag may be cleared from the configuration file of the target software. When a plurality of target recommendation software exists, the recommendation marks of all the target recommendation software can be cleared when all the target recommendation software is installed. Or, when there are a plurality of target recommendation software, the recommendation flag of each target recommendation software may be cleared when the target recommendation software is installed.
Optionally, when the target recommendation software is detected to be installed completely, the recommendation mark reading program registered in the system can be cleared.
The recommended software installation method provided by the invention can be seen in that the recommended software is obtained from the at least one piece of recommended software by displaying the at least one piece of recommended software bound with the target software, the recommended mark of the target recommended software is written in the configuration file of the target software, when the target software is installed, the recommended mark reading program is registered in the system, the recommended mark is read according to the recommended mark reading program, when the recommended mark is read successfully, the target recommended software is installed according to the recommended mark, and when the target recommended software is installed, the recommended mark is removed. Therefore, in the process of installing the recommended software according to the recommended mark, even if preset events such as restart, shutdown and the like occur, the recommended mark can be read according to the recommended mark reading program, and the recommended software is installed again according to the recommended mark, so that the installation success rate of the recommended software can be improved, and in addition, when the recommended software is installed, the recommended mark is removed, the system environment can be optimized, and the memory space of the system is saved.
Please refer to fig. 4a, which is a schematic structural diagram of an embodiment of a recommended software installation apparatus according to an embodiment of the present invention. The recommended software installation apparatus described in this embodiment includes: the writing unit 401, the registration unit 402, and the installation unit 403 are specifically as follows:
a writing unit 401, configured to write a recommendation flag of the target recommendation software in a configuration file of the target software.
In particular implementations, the target software may include, but is not limited to: chat software, video software, financial software, photo software, group purchase software, pacing software, and the like. Recommendation marks of target recommendation software bound with the target software can be written in the configuration file of the target software. When one target recommending software exists, a recommending mark of the target recommending software is written in the configuration file of the target software. And when N target recommended software exists, writing recommendation marks of the N target recommended software in the configuration file of the target software, wherein N is an integer larger than 1.
A registering unit 402, configured to register the recommended mark reading program in the system when the target software is installed.
In particular implementations, the recommended indicia reading program may include a service program and/or a tray program. And the recommendation mark reading program is used for reading the recommendation mark of the target recommendation software.
An installing unit 403, configured to read the recommended mark written by the writing unit 401 according to the recommended mark reading program registered by the registering unit 402, and install the target recommended software according to the recommended mark.
Optionally, the installing unit 403 is further configured to read the recommended mark written by the writing unit 401 according to the recommended mark reading program written by the registering unit 402, and determine whether the recommended mark is successfully read, if so, install the target recommended software according to the recommended mark.
Further optionally, if not, the recommended mark is read again according to the recommended mark reading program. Alternatively, the recommended mark may be read again, that is, if the recommended mark is not successfully read within a preset time or a preset number of times, the recommended mark is stopped from being read.
Optionally, the mounting unit 403 is specifically configured to:
the recommended mark reading program is operated according to a preset time interval, the recommended mark written by the writing unit 401 is read according to the recommended mark reading program registered by the registering unit 402, and the target recommended software is installed according to the recommended mark.
Optionally, the mounting unit 403 is specifically configured to:
downloading an installation package of the target recommended software from a network according to the recommendation mark, and installing the target recommended software according to the installation package;
alternatively, the first and second electrodes may be,
and acquiring the installation package of the target recommended software from the local according to the recommendation mark, and installing the target recommended software according to the installation package.
In a specific implementation, the installation package of the target recommended software can be downloaded from the network according to the recommendation mark, and the target recommended software can be installed according to the installation package. Specifically, the recommendation mark contains a uniform resource locator, and the installation package of the target recommendation software can be downloaded from the network according to the URL, the installation package is decompressed, and the target recommendation software is installed according to the decompressed installation program. It should be noted that the network may include the Internet, a local area network, an Internet of things, and so on. For example, when the mobile phone has an installation package of the target recommended software, and the mobile phone is connected with the tablet computer, the tablet computer may download the installation package of the target recommended software from the mobile phone according to the recommendation mark, and install the target recommended software according to the installation package.
Optionally, the installation package of the target recommended software may be obtained locally according to the recommendation mark, and the target recommended software may be installed according to the installation package. Specifically, the recommendation mark may include a path index of the target recommendation software, so that the installation package of the target recommendation software is obtained from the local according to the path index, the installation package is decompressed, and the target recommendation software is installed according to the decompressed installation program.
In a specific implementation, if a preset event such as restart, shutdown and the like is encountered when the target recommended software is not installed, the recommended mark can be read according to the recommended mark reading program, wherein the preset event can be at least one of a restart event, a shutdown event, a network disconnection event and a target recommended software interruption event. The target recommended software interrupt event may be that the task manager is adopted to end the installation process of the target recommended software, or in the installation process of the target recommended software, if verification information within a preset time needs to be input, and the user does not input the verification information yet, the installation process of the target recommended software is ended. For another example, when the target recommended software is installed by 60%, if a restart event occurs suddenly, the recommended mark is read according to the recommended mark reading program after the boot is started. For example, when the target recommended software is installed by 50%, if a shutdown event occurs suddenly, after the target recommended software is started, the recommended mark is read according to a recommended mark reading program. For another example, if the target recommended software is installed while being downloaded, and if a network disconnection event occurs suddenly 30% after the target recommended software is installed, the recommended mark is read according to the recommended mark reading program after the network is reconnected. For another example, if the target recommended software installation is completed by 30%, and if the user suddenly ends the target recommended software installation process using the task manager, the recommended mark may be read according to the recommended mark reading program after the restart.
For example, in the using process of the user, there may be many unexpected situations, for example, the driver of the target recommendation software needs to be restarted after being installed, or the operating system needs to be restarted after being updated, or the user shuts down, and the like, and the occurrence of the above factors all causes that the target recommendation software is already restarted when the target recommendation software is not installed, so that the target recommendation software cannot be installed. Because the recommended mark reading program (namely, the service program and/or the tray program) is registered in the system, after the system is started next time, the recommended mark reading program (namely, the service program and/or the tray program) registered in the system automatically runs, so that the recommended mark of the target recommended software written in the configuration file of the target software can be read according to the recommended mark reading program, the recommended module of the target recommended software can be reloaded, and the installation process of the target recommended software can be continuously executed, specifically, the target recommended software can be reinstalled according to the recommended mark, or the installation can be continuously carried out according to the recommended mark on the part of the target recommended software which is not installed last time.
Optionally, if the target recommended software is installed completely, the recommended mark does not need to be read according to the recommended mark reading program.
Alternatively, if the target recommended software is installed according to the recommendation mark last time, the target recommended software installation process may be continued to be completed by the part which is not completed last time.
As a possible implementation manner, as shown in fig. 4b, the recommended software installation apparatus depicted in fig. 4a may further include:
a presentation unit 404, configured to present at least one piece of recommended software bound with target software before the writing unit 401 writes the recommendation flag with the target recommended software in the configuration file of the target software;
an obtaining unit 405, configured to obtain the target recommendation software from the at least one recommendation software displayed by the displaying unit 404.
In particular implementations, the target software may include, but is not limited to: chat software, video software, financial software, photo software, group purchase software, pacing software, and the like. The at least one piece of recommended software bound with the target software can be exposed before the target software is installed, or the at least one piece of recommended software bound with the target software can be exposed after the target software is installed, or the at least one piece of recommended software bound with the target software can be exposed in the target software installation process. In the case of the current QQ chat software, when installing the QQ, it is usually recommended that the user install a QQ manager and a QQ game, and then the QQ manager and the QQ game are recommended software of the QQ chat software.
Alternatively, a portion of the recommended software may be presented before the current software installation, and then another portion of the recommended software may be presented after the target software installation is completed.
Alternatively, all recommended software bound to the target software may be exposed at once, for example, the target software has A, B, C recommended software, and then the 3 recommended software may be exposed at once.
Optionally, the display unit 404 is further configured to:
and displaying part of the recommended software, and displaying other recommended software in the installation environment of at least one part of the recommended software.
Specifically, a part of recommended software bound with target software may be exposed, and other recommended software may be exposed in the installation environment of at least one part of recommended software, for example, A, B, C pieces of recommended software are provided as the target software, then the recommended software a may be exposed first, then B and C may be exposed in the installation environment of a, or the recommended software a may be exposed first, then B may be exposed in the installation environment of a, and finally C may be exposed in the installation environment of B.
As a possible implementation manner, as shown in fig. 4c, the recommended software installation apparatus depicted in fig. 4a may further include:
a clearing unit 406, configured to clear the recommendation flag after the installation unit 403 installs the target recommendation software according to the recommendation flag.
As a possible implementation manner, as shown in fig. 4d, the recommended software installation apparatus depicted in fig. 4a may further include:
a detecting unit 407, configured to detect whether a preset event occurs after the registering unit 402 writes a recommended mark reading program into a system file of the target software when the target software is installed, and if so, the installing unit 403 reads the recommended mark according to the recommended mark reading program and installs the target recommended software according to the recommended mark.
In a specific implementation, when it is detected that the target recommended software is installed, the recommendation flag may be cleared from the configuration file of the target software. When a plurality of target recommendation software exists, the recommendation marks of all the target recommendation software can be cleared when all the target recommendation software is installed. Or, when there are a plurality of target recommendation software, the recommendation flag of each target recommendation software may be cleared when the target recommendation software is installed.
Alternatively, the clearing unit 406 may also clear the recommended mark reading program registered in the system when it is detected that the target recommended software completes installation.
The recommended software installation device provided by the invention can be seen in that the recommended software installation device acquires the target recommended software from the at least one piece of recommended software by displaying the at least one piece of recommended software bound with the target software, writes the recommended mark of the target recommended software in the configuration file of the target software, registers the recommended mark reading program in the system when the target software is installed, reads the recommended mark according to the recommended mark reading program, and installs the target recommended software according to the recommended mark. Therefore, in the process of installing the recommended software according to the recommended mark, even if preset events such as restart, shutdown and the like occur, the recommended mark can be read according to the recommended mark reading program, and the installation of the recommended software is completed according to the recommended mark, so that the installation success rate of the recommended software can be improved.
Fig. 5 is a schematic structural diagram of an embodiment of a recommended software installation apparatus according to an embodiment of the present invention. The apparatus described in this embodiment includes: at least one input device 1000; at least one output device 2000; at least one processor 3000, e.g., a CPU; and a memory 4000, the input device 1000, the output device 2000, the processor 3000, and the memory 4000 being connected by a bus 5000.
The input device 1000 may be a touch panel, a physical button, or a mouse.
The output device 2000 may be a display screen.
The memory 4000 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 4000 is used for storing a set of program codes, and the input device 1000, the output device 2000 and the processor 3000 are used for calling the program codes stored in the memory 4000 to execute the following operations:
the processor 3000 is configured to:
writing a recommendation mark of the target recommendation software in a configuration file of the target software;
when the target software is installed, registering a recommended mark reading program in the system;
and reading the recommended mark according to the recommended mark reading program, and installing the target recommended software according to the recommended mark.
Optionally, before writing the recommendation flag of the target recommendation software in the configuration file of the target software, the processor 3000 is further specifically configured to:
displaying at least one piece of recommended software bound with the target software;
and acquiring the target recommendation software from the at least one recommendation software.
Optionally, the processor 3000 displays at least one piece of recommended software bound to the target software, and includes:
and displaying part of recommended software bound with the target software, and displaying other recommended software in the installation environment of at least one part of recommended software.
Optionally, after the processor 3000 writes the recommended mark reading program into the system file of the target software, and before the processor reads the recommended mark according to the recommended mark reading program and installs the target recommended software according to the recommended mark, the processor is further specifically configured to:
and detecting whether a preset event occurs, if so, executing the steps of reading the recommendation mark according to the recommendation mark reading program, and installing the target recommendation software according to the recommendation mark.
Optionally, the preset event includes at least one of a restart event, a shutdown event, and a network outage event.
Optionally, the processor 3000 reads the recommended mark according to the recommended mark reading program, including:
and operating the recommended mark reading program according to a preset time interval, and reading the recommended mark.
Optionally, the processor 3000 continues to install the target recommendation software according to the recommendation flag, including:
downloading an installation package of the target recommended software from a network according to the recommendation mark, and installing the target recommended software according to the installation package;
alternatively, the first and second electrodes may be,
and acquiring the installation package of the target recommended software from the local according to the recommendation mark, and installing the target recommended software according to the installation package.
Optionally, after the processor 3000 continues to install the target recommendation software according to the recommendation flag, the processor is further specifically configured to:
and when the target recommendation software is installed, clearing the recommendation mark.
In a specific implementation, the input device 1000, the output device 2000, and the processor 3000 described in this embodiment of the present invention may execute the implementation manners described in the first embodiment, the second embodiment, and the third embodiment of the recommended software installation method provided in this embodiment of the present invention, and may also execute the implementation manners described in the embodiment of the recommended software installation apparatus provided in this embodiment of the present invention, which is not described herein again.
An embodiment of the present invention further provides a computer storage medium, where the computer storage medium may store a program, and when the program is executed, the program includes some or all of the steps of any one of the file encryption methods described in the above method embodiments.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (11)

1. A method for recommending software installation, comprising:
writing a recommendation mark of the target recommendation software in a configuration file of the target software;
when the target software is installed, registering a recommended mark reading program in the system;
detecting whether a preset event occurs or not, if so, operating the recommended mark reading program according to a preset time interval, reading the recommended mark, and installing the target recommended software according to the recommended mark; the preset event comprises at least one of a restart event, a shutdown event and a network disconnection event.
2. The method of claim 1, wherein before writing the recommendation flag of the target recommendation software in the configuration file of the target software, the method further comprises:
displaying at least one piece of recommended software bound with the target software;
and acquiring the target recommendation software from the at least one recommendation software.
3. The method of claim 2, wherein the exposing at least one recommended piece of software bound to the target piece of software comprises:
and displaying part of recommended software bound with the target software, and displaying other recommended software in the installation environment of at least one part of recommended software.
4. The method of any of claims 1 to 3, wherein said installing the target recommendation software according to the recommendation flag comprises:
downloading an installation package of the target recommended software from a network according to the recommendation mark, and installing the target recommended software according to the installation package;
alternatively, the first and second electrodes may be,
and acquiring the installation package of the target recommendation software from the local according to the recommendation mark, and installing the target recommendation software according to the installation package.
5. The method of any of claims 1 to 3, wherein after installing the target recommendation software according to the recommendation token, the method further comprises:
and when the target recommendation software is installed, clearing the recommendation mark.
6. A recommended software installation apparatus, comprising:
the writing unit is used for writing a recommendation mark of the target recommendation software in a configuration file of the target software;
a registration unit configured to register a recommended mark reading program in a system when the installation of the target software is completed;
the device further comprises: the detection unit is used for detecting whether a preset event occurs or not after the recommended mark reading program is written into the system file of the target software when the registration unit finishes the installation of the target software, if so, the installation unit reads the recommended mark written by the writing unit according to the recommended mark reading program registered by the registration unit, and installs the target recommended software according to the recommended mark; the installation unit is specifically configured to run the recommended mark reading program at preset time intervals, read the recommended mark written by the writing unit according to the recommended mark reading program registered by the registration unit, and install the target recommended software according to the recommended mark; the preset event comprises at least one of a restart event, a shutdown event and a network disconnection event.
7. The apparatus of claim 6, further comprising:
the display unit is used for displaying at least one piece of recommended software bound with the target software before the writing unit writes the recommended mark of the target recommended software in the configuration file of the target software;
the acquisition unit is used for acquiring the target recommendation software from the at least one recommendation software displayed by the display unit.
8. The apparatus of claim 7, wherein the presentation unit is further configured to:
and displaying part of recommended software bound with the target software, and displaying other recommended software in the installation environment of at least one part of recommended software.
9. The device according to any one of claims 6 to 8, characterized in that the mounting unit is particularly adapted to:
downloading an installation package of the target recommended software from a network according to the recommendation mark, and installing the target recommended software according to the installation package;
alternatively, the first and second electrodes may be,
and acquiring the installation package of the target recommendation software from the local according to the recommendation mark, and installing the target recommendation software according to the installation package.
10. The apparatus of any one of claims 6 to 8, further comprising:
and the clearing unit is used for clearing the recommendation mark after the installation unit installs the target recommendation software according to the recommendation mark.
11. A recommended software installation apparatus, comprising: a processor, a memory, a communication interface, and a bus; the processor, the memory and the communication interface are connected through the bus and complete mutual communication; the memory stores executable program code; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory for executing a recommended software installation method; wherein the method comprises the following steps:
writing a recommendation mark of the target recommendation software in a configuration file of the target software;
when the target software is installed, registering a recommended mark reading program in the system;
detecting whether a preset event occurs or not, if so, operating the recommended mark reading program according to a preset time interval, reading the recommended mark, and installing the target recommended software according to the recommended mark; the preset event comprises at least one of a restart event, a shutdown event and a network disconnection event.
CN201610293664.0A 2016-05-05 2016-05-05 Recommended software installation method, device and equipment Active CN105975586B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610293664.0A CN105975586B (en) 2016-05-05 2016-05-05 Recommended software installation method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610293664.0A CN105975586B (en) 2016-05-05 2016-05-05 Recommended software installation method, device and equipment

Publications (2)

Publication Number Publication Date
CN105975586A CN105975586A (en) 2016-09-28
CN105975586B true CN105975586B (en) 2022-02-25

Family

ID=56991190

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610293664.0A Active CN105975586B (en) 2016-05-05 2016-05-05 Recommended software installation method, device and equipment

Country Status (1)

Country Link
CN (1) CN105975586B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106990962B (en) * 2017-03-29 2021-02-12 北京金山安全软件有限公司 Dynamic screen locking wallpaper switching method and device and terminal

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103186394A (en) * 2011-12-30 2013-07-03 腾讯科技(深圳)有限公司 Method and device for installing software
CN104731626A (en) * 2015-03-31 2015-06-24 百度在线网络技术(北京)有限公司 Application installation method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104636367B (en) * 2013-11-11 2019-02-05 腾讯科技(深圳)有限公司 A kind of recommended method and device of bookmark
CN104915226B (en) * 2015-05-21 2018-12-14 北京星网锐捷网络技术有限公司 A kind of network device software starting method, apparatus and the network equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103186394A (en) * 2011-12-30 2013-07-03 腾讯科技(深圳)有限公司 Method and device for installing software
CN104731626A (en) * 2015-03-31 2015-06-24 百度在线网络技术(北京)有限公司 Application installation method and device

Also Published As

Publication number Publication date
CN105975586A (en) 2016-09-28

Similar Documents

Publication Publication Date Title
US11120485B2 (en) Application purchasing
JP6214547B2 (en) Measuring the rendering time of a web page
US20160188432A1 (en) Method and Apparatus for Intercepting Implanted Information in Application
JP2014099147A (en) Method for installing shortcut on desktop through mobile application and system thereof
US20110138376A1 (en) Interworking system between user terminal and smart card for executing widget, and method thereof
CN106201602B (en) Label providing method, label obtaining method, server and electronic equipment
US20160125474A1 (en) Preinstall partner revenue sharing
CN106789973B (en) Page security detection method and terminal equipment
CN110191119B (en) Method and device for determining APP (application) generating abnormal traffic
CN111240730A (en) Application program updating method and device
CN107092519B (en) Function display method and device and terminal device
CN108509582B (en) Information reply method, terminal equipment and computer readable storage medium
CN108520063B (en) Event log processing method and device and terminal equipment
CN105975586B (en) Recommended software installation method, device and equipment
CN103488508A (en) Browser working method, browser and terminal equipment
CN110807652A (en) Marketing information management method and system based on gift
US20170277528A1 (en) Application installation system and method for handheld devices
US9477448B2 (en) Screen-oriented computing program refactoring
US20130325619A1 (en) Saving electronic coupons for future use
CN110262856B (en) Application program data acquisition method, device, terminal and storage medium
CN107729180B (en) Abnormal information processing method and device, computer device and readable storage medium
CN110221756B (en) Method, device, terminal and storage medium for processing application data
KR20130065837A (en) Apparatus and method of placing advertisement on service area of smartphone app
CN108460159B (en) Information reply method, terminal equipment and computer readable storage medium
US9069562B2 (en) Mobile computing program slicing and behavior

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20181129

Address after: Room 105-53811, No. 6 Baohua Road, Hengqin New District, Zhuhai City, Guangdong Province

Applicant after: Zhuhai Leopard Technology Co.,Ltd.

Address before: 100085 East District, Second Floor, 33 Xiaoying West Road, Haidian District, Beijing

Applicant before: BEIJING KINGSOFT INTERNET SECURITY SOFTWARE Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant