CN107577472B - Software installation method and device and computer readable storage medium - Google Patents

Software installation method and device and computer readable storage medium Download PDF

Info

Publication number
CN107577472B
CN107577472B CN201710637569.2A CN201710637569A CN107577472B CN 107577472 B CN107577472 B CN 107577472B CN 201710637569 A CN201710637569 A CN 201710637569A CN 107577472 B CN107577472 B CN 107577472B
Authority
CN
China
Prior art keywords
software
version information
software version
terminal
installation
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
CN201710637569.2A
Other languages
Chinese (zh)
Other versions
CN107577472A (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.)
Shenzhen Hylink Information Technology Co ltd
Original Assignee
Shenzhen Hylink Information 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 Shenzhen Hylink Information Technology Co ltd filed Critical Shenzhen Hylink Information Technology Co ltd
Priority to CN201710637569.2A priority Critical patent/CN107577472B/en
Publication of CN107577472A publication Critical patent/CN107577472A/en
Application granted granted Critical
Publication of CN107577472B publication Critical patent/CN107577472B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a software installation method, which is applied to a multi-system terminal, wherein the multi-system terminal at least comprises a first system, a second system and a basic output and input system respectively connected with the first system and the second system, and the method comprises the following steps: when the second system is started, reading first software version information of the first system prestored at a first position in the basic input and output system; comparing the first software version information with second software version information of a second system to judge whether the software installation condition is met; and when the software installation condition is met, switching to the first system so that a user can copy the corresponding software package file in the first system through the external storage equipment and install the software package file to the restarted second system. The invention also discloses a software installation device and a computer readable storage medium. The invention can install or update the software of the operating system which can only access the intranet in time under the condition of ensuring the data security.

Description

Software installation method and device and computer readable storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a software installation method and apparatus, and a computer-readable storage medium.
Background
Besides the mainstream windows system, there are many systems such as Android system and Linux system on the market, and each system has its specific advantages and disadvantages due to different points of interest, so various ways of realizing integration between multiple systems, such as the former analog machine mode, or the switching system of the mainstream system on the market through the restart mode, etc., appear. Only persons related to special industries such as security and national defense need a system with higher trust degree in case of security, and a popular system with more perfect functions in case of non-security, but communication between two systems still exists in the traditional mode, for example, two systems are installed in different partitions of the same hard disk. The requirement for physical isolation of the secret-related data cannot be fully fulfilled.
With the development of technology, for data security, it is necessary to adopt physically isolated multiple systems based on multiple hard disks, for example, dual-hard-disk dual system. The double hard disk and the double systems are physically isolated, when the system A on the hard disk A works, the hard disk B does not provide power supply, and the system B is in a non-working state. Meanwhile, the private network system A can only access the internal network and cannot access the external network, and the public network system B can access the external network. The multi-system software installation or update method in the prior art mainly aims at a software installation method between two systems, namely aims at a software installation method between two systems without physical isolation in the prior art, and does not specially aim at a software timely installation method of a system which only can access an intranet in a double system with physical isolation.
Disclosure of Invention
The invention mainly aims to provide a software installation method, a device and a computer readable storage medium, aiming at solving the problem of the software installation method aiming at a system which can only access an intranet in a physically isolated dual system under the condition of not effectively ensuring data security.
In order to achieve the above object, the present invention provides a subject software installation method, where the software installation method is applied to a multi-system terminal, the multi-system terminal at least includes a first system, a second system, and a basic input output system connected to the first system and the second system, respectively, and the software installation method includes:
when the second system is started, reading first software version information of a first system prestored at a first position in the basic input and output system;
comparing the first software version information with second software version information of the second system to judge whether software installation conditions are met;
and when the software installation condition is met, switching to the first system so that a user can copy the corresponding software package file in the first system through an external storage device and install the software package file to the restarted second system.
Preferably, the step of switching to the first system when the software installation condition is satisfied comprises:
when the software installation condition is met, displaying prompt information for whether installation is carried out;
when receiving the request information that the user accepts the installation, executing the following steps: switching to the first system.
Preferably, the step of switching to the first system comprises:
receiving a switching signal for switching a system to the first system;
confirming the physical disk number of the first system;
and starting the corresponding storage device controller according to the physical disk number, so as to start the corresponding storage device driver, and loading and starting the second operating system.
Preferably, the comparing the first software version information with the second software version information of the second system to determine whether the software installation condition is satisfied includes:
judging whether the software version information which does not appear in the second software version information exists in the first software version information or judging whether the software version corresponding to the first software version information is higher than the software version corresponding to the second software version information when the software version information which is the same as the second software version information exists in the first software version information;
and when the software version information which does not appear in the second software version information exists in the first software version information, or when the software version information which is the same as the second software version information exists in the first software version information and the software version corresponding to the first software version information is higher than the software version corresponding to the second software version information, judging that the installation condition is met.
Preferably, the software installation method further includes:
and when the second system is installed, writing second software version information of the second system into a second position of the basic input and output system.
Preferably, the multi-system terminal further includes: the server connected with the first system, the software installation method comprises the following steps:
when the first system is started, reading second software version information prestored in the second position, and acquiring third software version information of software in the server;
when the software version information which does not appear in the second software version information exists in the third software version information, or when the software version information which is the same as the second software version information exists in the third software version information and the software version corresponding to the third software version information is higher than the software version corresponding to the second software version information, judging whether the current state of the terminal meets the software package downloading condition or not;
and when the current state of the terminal meets the software downloading condition, downloading the corresponding software package from the server, and writing the software version information corresponding to the downloaded software package into the first position.
Preferably, the determining whether the current state of the terminal meets the software package downloading condition includes:
judging whether the terminal is in a charging state at present;
and when the terminal is currently in the charging state, judging that the current state of the terminal meets the software package downloading condition.
Preferably, the determining whether the current state of the terminal meets the software package downloading condition includes:
acquiring a current electric quantity value of the terminal;
judging whether the current electric quantity value of the terminal is greater than a preset value or not;
and when the current electric quantity value of the terminal is greater than a preset value, judging that the current state of the terminal meets the software package downloading condition.
In order to achieve the above object, the present invention also provides a software installation apparatus, including: a memory, a processor and a software installation program stored on the memory and executable on the processor, the software installation program, when executed by the processor, implementing the steps of the software installation method as described above.
Further, to achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon a software installation program, which when executed by a processor, implements the steps of the software installation method as described above.
The invention provides a software installation method, a terminal and a computer readable storage medium. In the method, the software installation method is applied to a multi-system terminal, the multi-system terminal at least comprises a first system, a second system and a basic input and output system respectively connected with the first system and the second system, and the software installation method comprises the following steps: when the second system is started, reading first software version information of a first system prestored at a first position in the basic input and output system; comparing the first software version information with second software version information of the second system to judge whether software installation conditions are met; and when the software installation condition is met, switching to the first system so that a user can copy the corresponding software package file in the first system through an external storage device and install the software package file to the restarted second system. Through the method, when the second system is started, the first software version information of the first system pre-stored in the first position of the basic input and output system is read, then the first software version information and the second software version information of the second system are compared to judge whether the software installation condition is met, when the software installation condition is met, prompt information whether installation is carried out is displayed, and when request information that a user accepts installation is received, the first system is switched to, so that the user can copy the corresponding software packaged files in the first system through external storage equipment and install the software packaged files in the restarted second system. The method comprises the steps that whether software with a version higher than that of a second system exists in the first system is confirmed through comparison of software version information of the second system needing to install the software and the first system which is physically isolated from the second system, if so, installation reminding or updating information is sent when the second system is started and installed in the second system in a copying mode, and the second system is not connected with the Internet and is physically isolated from the first system which can be connected with the Internet, so that data safety of the second system is guaranteed; the condition of the high-version software can be acquired in time by automatically detecting and comparing software version information to switch system installation when the high-version software is found.
Drawings
FIG. 1 is a schematic diagram of an apparatus in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a first embodiment of a software installation method according to the present invention;
FIG. 3 is a flowchart illustrating a second embodiment of a software installation method according to the present invention;
FIG. 4 is a flowchart illustrating a third embodiment of a software installation method according to the present invention;
FIG. 5 is a flowchart illustrating a fourth embodiment of a software installation method according to the present invention;
FIG. 6 is a flowchart illustrating a fifth embodiment of the software installation method of the present invention;
FIG. 7 is a flowchart illustrating a sixth embodiment of a software installation method according to the present invention;
FIG. 8 is a flowchart illustrating a seventh exemplary software installation method according to the present invention;
FIG. 9 is a flowchart illustrating an eighth embodiment of a software installation method according to the present invention;
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Because the multi-system software installation or update method in the prior art is mainly an installation or update method aiming at the communication condition between two systems, a software timely installation or update method aiming at a system which only can access an intranet in a physically isolated dual system is not available under the condition of effectively ensuring data security.
In order to solve the technical problem, the present invention provides a software installation method, wherein the software installation method is applied to a multi-system terminal, the multi-system terminal at least comprises a first system, a second system and a basic output and input system respectively connected with the first system and the second system, when the second system is started, first software version information of the first system pre-stored at a first position in the basic input and output system is read, then the first software version information is compared with second software version information of the second system to judge whether software installation conditions are met, when the software installation conditions are met, prompt information for whether installation is carried out is displayed, when request information for user installation is received, the first system is switched to, so that the user can copy corresponding software packaged files in the first system through an external storage device, and installing the software to the restarted second system, so that the system which only can access the intranet in the physically isolated dual systems can install or update the software in time under the condition of ensuring data security
As shown in fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention.
The terminal of the embodiment of the invention can be a PC, and can also be a mobile terminal device with a display function, such as a smart phone, a tablet computer, an electronic book reader, an MP3(Moving Picture Experts Group Audio Layer III, dynamic video Experts compress standard Audio Layer 3) player, an MP4(Moving Picture Experts Group Audio Layer IV, dynamic video Experts compress standard Audio Layer 4) player, a portable computer, and the like.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the terminal may further include a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a WiFi module, and the like. Such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display screen according to the brightness of ambient light, and a proximity sensor that may turn off the display screen and/or the backlight when the mobile terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the mobile terminal is stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer and tapping) and the like for recognizing the attitude of the mobile terminal; of course, the mobile terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which are not described herein again.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a software installer.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to invoke a software installer stored in the memory 1005 and perform the following operations:
when the second system is started, reading first software version information of a first system prestored at a first position in the basic input and output system;
comparing the first software version information with second software version information of the second system to judge whether software installation conditions are met;
and when the software installation condition is met, switching to the first system so that a user can copy the corresponding software package file in the first system through an external storage device and install the software package file to the restarted second system.
Further, the processor 1001 may call the software installer stored in the memory 1005, and also perform the following operations:
when the software installation condition is met, displaying prompt information for whether installation is carried out;
when receiving the request information that the user accepts the installation, executing the following steps: switching to the first system.
Further, the processor 1001 may call the software installer stored in the memory 1005, and also perform the following operations:
receiving a switching signal for switching a system to the first system;
confirming the physical disk number of the first system;
and starting the corresponding storage device controller according to the physical disk number, so as to start the corresponding storage device driver, and loading and starting the second operating system.
Further, the processor 1001 may call the software installer stored in the memory 1005, and also perform the following operations:
judging whether the software version information which does not appear in the second software version information exists in the first software version information or judging whether the software version corresponding to the first software version information is higher than the software version corresponding to the second software version information when the software version information which is the same as the second software version information exists in the first software version information;
and when the software version information which does not appear in the second software version information exists in the first software version information, or when the software version information which is the same as the second software version information exists in the first software version information and the software version corresponding to the first software version information is higher than the software version corresponding to the second software version information, judging that the installation condition is met.
Further, the processor 1001 may call the software installer stored in the memory 1005, and also perform the following operations:
and when the second system is installed, writing second software version information of the second system into a second position of the basic input and output system.
Further, the processor 1001 may call the software installer stored in the memory 1005, and also perform the following operations:
when the first system is started, reading second software version information prestored in the second position, and acquiring third software version information of software in the server;
when the software version information which does not appear in the second software version information exists in the third software version information, or when the software version information which is the same as the second software version information exists in the third software version information and the software version corresponding to the third software version information is higher than the software version corresponding to the second software version information, judging whether the current state of the terminal meets the software package downloading condition or not;
and when the current state of the terminal meets the software downloading condition, downloading the corresponding software package from the server, and writing the software version information corresponding to the downloaded software package into the first position.
Further, the processor 1001 may call the software installer stored in the memory 1005, and also perform the following operations:
judging whether the terminal is in a charging state at present;
and when the terminal is currently in the charging state, judging that the current state of the terminal meets the software package downloading condition.
Further, the processor 1001 may call the software installer stored in the memory 1005, and also perform the following operations:
acquiring a current electric quantity value of the terminal;
judging whether the current electric quantity value of the terminal is greater than a preset value or not;
and when the current electric quantity value of the terminal is greater than a preset value, judging that the current state of the terminal meets the software package downloading condition.
Based on the above hardware structure, an embodiment of the interaction method of the present invention is provided.
Referring to fig. 2, fig. 2 is a flowchart illustrating a first embodiment of a software installation method according to the present invention, where the software installation method includes:
step S10, when the second system is started, reading the first software version information of the first system pre-stored in the first position of the basic input and output system;
in the embodiment of the invention, the software installation method is applied to a physically isolated multi-system terminal, the physically isolated multi-hard-disk multi-system comprises a plurality of hard disks and operating systems respectively arranged on the hard disks, and the hard disks are physically isolated from each other and cannot be accessed mutually. The technology is generally applied to the fields of public security, government or other design data security, and the multi-system technology can be applied to terminals such as a tablet computer or a fixed computer. In this embodiment, software installation of the physically isolated dual hard disk and dual system tablet computers in the public security office is taken as an example. In this embodiment, the first system is a leisure system, and the second system is a public security office system. The first system is a leisure system and can be stored on a corresponding hard disk A, the leisure system focuses on considering two factors of function improvement and user experience, for example, Windows10 is adopted, and the Internet can be browsed through wifi. The second system is a public security office system which can be stored on the corresponding hard disk B, and the public security office system focuses on considering data security factors. In order to ensure the security of data access, on the premise that the state does not open Windows8/Windows10, the public security office system can adopt a Windows7 system with high stability, network data access to a public security intranet is carried out through a 4G private network, and the access to the internet through the public security office system is forbidden by changing the network access setting related to a 4G network data card. Meanwhile, the first system is prohibited from accessing the public security intranet through wifi by modifying the network protocol related to the public security intranet. Thereby guaranteeing the data security of the office system of the public security intranet.
In order to ensure the data security of the public security office system and simultaneously install and update the software in the public security office system in time, in this embodiment, a remote server is provided, and the remote server first processes the software from the internet according to the requirements of the user, where the processing includes testing, screening, packaging, editing preset software version information, and the like. Management of software is required for data security. The office intranet corresponds to a plurality of user terminals, software management through the terminals is not efficient, and a large number of resources are consumed. And the remote server is used for carrying out background unified management on the software, so that the management efficiency and the management quality of the software are improved. The remote server may communicate with the leisure system of the terminal. The software version information may include software name information and software version information, for example, the software version information of the wechat software with version number 2.4.5.1 may be represented as "wechat 2.4.5.1" or set a specific number or letter to refer to specific software, for example, the wechat software is set to refer to number 1, and the software version information of the wechat software with version number 2.4.5.1 may be edited as "1.2.4.5.1". The software specially developed after the leisure system is started is connected to the remote server, after the leisure system downloads the installation package of the server to the hard disk B according to the downloading condition, the software version information of the corresponding software package is written into the basic input and output system, and the first software version information refers to the set of the software version information written into the basic input and output system by the software package downloaded to the hard disk B.
When the public security office system is started, the software reads the software version information which is pre-stored in a specific position of the basic input and output system. The basic input and output system is used as the basis of the system and plays an intermediate role, and records the software version information on the hard disk A and the hard disk B.
Step S20, comparing the first software version information with the second software version information of the second system, and judging whether the software installation condition is satisfied;
under the starting state of the current public security office system, the first software version information of the leisure system is read from the basic input and output system and then compared with the second software version information obtained by the current office system in the same way to judge whether the software corresponding to the first version information written into the basic input and output system in the leisure system meets the condition of being installed in the current public security office system. And when the software version corresponding to the first version information prestored in the basic input and output system is higher than the second software version information of the public security office system, the software installation condition is met. In addition, when the name information corresponding to the first software version information prestored in the basic input and output system does not exist in the second version information, the software installation condition is met.
And S30, when the software installation condition is met, switching to the first system so that a user can copy the corresponding software package file in the first system through an external storage device and install the software package file to the restarted second system.
And when the software installation condition is met, calling a system switching program, and switching the system to the leisure system by calling the system switching program. The calling of the system switching program can be triggered by meeting a preset condition, and can also be triggered by a user through specific operation of external equipment, such as a preset system switching icon on a mouse or a touch screen desktop. After the system is switched to the leisure system, the user can copy the software installation corresponding to the leisure system to the public security intranet system installation through external storage equipment, such as a mobile hard disk, a U disk and the like.
In this embodiment, the software installation method is applied to a multi-system terminal, where the multi-system terminal at least includes a first system, a second system, and a basic input/output system connected to the first system and the second system, respectively, and the software installation method includes: when the second system is started, reading first software version information of a first system prestored at a first position in the basic input and output system; comparing the first software version information with second software version information of the second system to judge whether software installation conditions are met; and when the software installation condition is met, switching to the first system so that a user can copy the corresponding software package file in the first system through an external storage device and install the software package file to the restarted second system. Through the method, when the second system is started, the first software version information of the first system pre-stored in the first position of the basic input and output system is read, then the first software version information and the second software version information of the second system are compared to judge whether the software installation condition is met, and when the software installation condition is met, the first system is switched to, so that a user can copy the corresponding software package file in the first system through an external storage device and install the software package file in the restarted second system. The method comprises the steps that whether software with a version higher than that of a second system exists in the first system or not is confirmed through comparison of software version information of the second system needing to install the software and the first system which is physically isolated from the second system, if the software exists, the software is installed in the second system in a copying mode, and the second system is not connected with the Internet and is physically isolated from the first system which can be connected with the Internet, so that data safety of the second system is guaranteed; the condition of the high-version software can be acquired in time by automatically detecting and comparing software version information to switch system installation when the high-version software is found.
Further, referring to fig. 3, fig. 3 is a flowchart illustrating a second embodiment of the software installation method according to the present invention, and the second embodiment of the present invention is proposed based on the software installation method suggested by the present invention.
In this embodiment, the step of switching to the first system comprises:
s40, when the software installation condition is satisfied, displaying the prompt information whether to install;
s30, when receiving the request information of user accepting installation, executing the steps: switching to the first system.
And when the condition meeting the software installation appears, displaying prompt information of whether the software installation is carried out or not. For example, pop-up "find new version software, install? "and provides two options of" yes "and" no "for the user to select through external hardware. In the implementation process, the calling of the system switching program when the condition is met can be changed into calling of a prompt message program for displaying whether to install or not. And then processing according to the selection of the user, and if the user selects a 'yes' option, calling a system switching program to switch to the leisure system.
In this embodiment, by displaying the prompt information indicating whether to install and switching the system according to the selection of the user, it is avoided that the user experience is affected by the automatic switching system when the user needs to process the emergency.
Further, a third embodiment of the present invention is proposed with reference to fig. 4 based on the software installation method suggested by the present invention.
Based on the above-described illustrated embodiment, in the present embodiment, step S30 includes:
s31, receiving a switching signal for switching the system to the first system;
in this embodiment, the sending source of the switching signal is a peripheral device connected to the terminal device, and the peripheral device may include but is not limited to: one of a mouse, a keyboard and a touch screen; the sending source of the switching signal can also be a specially developed system switching control program for system switching, and when the user needs to switch the operating system, the user clicks the icon of the program to operate the program, so that a user selection interface can appear; the program guides the user to perform relevant system switching operation and triggers the switching signal; meanwhile, the system switching control program enables the terminal equipment to automatically complete the steps of restarting, starting the BIOS, completing hardware self-checking and the like, and activates the partition where the operating system is located in the storage equipment according to the selection of the user, so that the system switching process is simpler, more convenient and faster. In particular, when the user selects to receive and install the corresponding option, the system may invoke the system switching control program. In addition, when the user selects to refuse to install the corresponding option and needs to install the software, the system switching icon corresponding to the system desktop can be clicked to switch the corresponding system and the corresponding installation package is searched for copying and installing.
S32, confirming the physical disk number of the first system;
when the terminal equipment receives the operating system switching signal, the terminal equipment extracts the information of the second operating system in the switching signal, and obtains the physical disk number of the storage equipment where the second operating system is located, so that matching check of the second operating system and the storage equipment where the second operating system is located is realized, and normal loading of the second operating system is guaranteed. In the embodiment of the present invention, the terminal device may be a desktop computer, a notebook computer, a tablet computer, or the like; the first and second operating systems may include, but are not limited to, the following: windows xp, windows7, windows10, or Android, Linux operating systems, preferably windows7, windows10 (hereinafter referred to as win7, win10, respectively) in the present invention. The storage devices may include, but are not limited to: hard disks, removable high-capacity disks, solid state disks; in this embodiment, the storage device is preferably a hard disk.
And S33, starting the corresponding storage device controller according to the physical disk number, so as to start the corresponding storage device driver, and loading and starting the second operating system.
The switching process of the operating systems is to actually shut down one operating System, then restart the Basic Input/Output System (BIOS) program, and load another operating System. In a specific implementation, after the terminal device shuts down the first operating system, before step S20, the method further includes: and executing the BIOS program to execute the operation of hardware self-checking for the storage equipment. And when the terminal equipment switches the second operating system, reading and running the BIOS program stored in the ROM chip. The BIOS program first checks whether the computer hardware can satisfy the basic condition of operation, namely, the hardware self-Test (Power-OnSelf-Test).
After a series of program self-checking and initialization such as hardware self-checking are completed, the option of the hard disk starting controller is changed according to the number of the physical hard disk, and the corresponding hard disk provided with the second operating system is automatically set as the storage device of the first starting option by the background. The operation of the storage device automatically set as the first starting option is effective once, and the default starting sequence of the BIOS is still adopted when the storage device is restarted next time, so that the selection operation of a user is facilitated. At this time, the hard disk controller corresponding to the second operating system is started, receives a command sent by the background of the terminal device, sends a control signal for controlling the start of the hard disk power supply module to the hard disk drive, and controls the operation of the corresponding hard disk; and the corresponding hard disk power supply module is also started, receives power supply for the hard disk and loads a second operating system.
In one embodiment, if the second os is win7, the BIOS program opens a hard disk controller installed with win7 system, specifically Ahci controller; if the second operating system is win10, the BIOS program will open the hard disk controller installed with the win10 system, specifically the Emmc controller. The two types of hard disk controllers are the preferred types of the hard disk controllers corresponding to the operating system, and other types of hard disk controllers are selected without departing from the protection scope of the invention.
And S34, copying the software package file corresponding to the first system by the user through an external storage device, and installing the software package file to the restarted second system.
In the embodiment, switching between the two physically isolated systems is realized through the peripheral equipment or the quick switching program, so that the user experience is effectively improved. The software package is copied from the leisure system through the external storage equipment, the software package is installed in the office system after the system switching is completed, data exchange does not exist between the two systems in the software installation process, and the data safety is effectively guaranteed.
Further, based on the above-described embodiment of the software installation method of the present invention, referring to fig. 5, a fourth embodiment of the present invention is proposed. Step S20 in this embodiment may include:
s21, determining whether there is software version information that does not appear in the second software version information in the first software version information, or when there is software version information that is the same as the second software version information in the first software version information, determining whether the software version corresponding to the first software version information is higher than the software version corresponding to the second software version information;
s22, when there is software version information that does not appear in the second software version information in the first software version information, or when there is software version information that is the same as the second software version information in the first software version information and the software version corresponding to the first software version information is higher than the software version corresponding to the second software version information, determining that the installation condition is satisfied.
And when the software name of which the first software version information appears but the second software version information does not appear exists, judging that the installation condition is met.
In this embodiment, when name information corresponding to first software version information prestored in the bios does not exist in the second version information, the software installation condition is satisfied. For example, when the software version information "1.5.0" of the above-mentioned wechat software with the version number of 5.0 appears in the first software version information pre-storage area in the bios, and the version information beginning with "1", that is, the version information of the wechat software does not appear in the pre-storage area of the second version information in the bios, it can be determined that the leisure system based on the above embodiment is equipped with the wechat software and the version information thereof has been written in the bios, but there is no wechat software in the police office system, and then the condition for installing the software with the version number of 5.0 into the police office system is satisfied.
In this embodiment, when there is a software name in which the first software version information appears but the second software version information does not appear, it is determined that the installation condition is satisfied, and new software can be installed to the office system.
And when the software names are the same and the software version corresponding to the first software version information is higher than the software version corresponding to the second software version information, judging that the software installation condition is met.
In this embodiment, the software installation condition is satisfied when the software version corresponding to the first version information pre-stored in the bios is higher than the second software version information of the public security office system. For example, the wechat software with the version number of 5.2.1 is higher than the wechat software with the version number of 5.0, and is respectively edited into 1.5.2.1 and 1.5.0 according to the software version information editing method in the previous step. When the WeChat software with the version number of 5.2.1 is software of a leisure system, the version information '1.5.2.1' of the WeChat software is prestored at the first position of a basic input and output system, and the WeChat software with the version number of 5.0 is software of a public security office system, and the version information '1.5.0' of the WeChat software is prestored at the second position, the condition of installing the WeChat 5.2.1 into the public security office system is met. And when the first version information in the basic input and output system does not have new software name information, continuously judging whether other software installation conditions are met or the steps after execution are stopped.
In this embodiment, when the software names are the same and the software version corresponding to the first software version information is higher than the software version corresponding to the second software version information, it is determined that the software installation condition is satisfied, and the software installation condition is taken as the software installation condition, so that the version update of the installed software can be followed up in time.
Further, based on the above-described embodiment of the software installation method of the present invention, referring to fig. 6, a fifth embodiment of the present invention is proposed. In this embodiment, the software installation method may further include:
s50, when the installation of the second system is completed, the second system writes the second software version information of the second system into the second position of the basic input output system.
Based on the above embodiments, in this embodiment, after the installation of the wechat software with the version number of 5.0 is completed by the public security office system, the corresponding software version information "1.5.0" is written into the second location of the bios. And when the version of the first software version information is not higher than that of the second software version information, judging that the software installation condition is not met, and continuously judging whether other software installation conditions are met or the execution of the steps is stopped. The software installation conditions in this embodiment and the fourth embodiment may be executed in a certain order or in parallel, or may be executed in other manners.
In this embodiment, after the installation of the software in the office system is completed, the software version information is written into the bios, and the software information in the office system is updated in time.
Further, based on the above-described embodiment of the software installation method of the present invention, with reference to fig. 7, a sixth embodiment of the present invention is proposed. In this embodiment, the multi-system terminal further includes: the server connected with the first system, the software installation method comprises the following steps:
s60, when the first system is started, reading second software version information prestored in the second position, and acquiring third software version information of software in the server;
s70, when the third software version information contains the software version information which does not appear in the second software version information, or when the third software version information contains the software version information which is the same as the second software version information and the software version corresponding to the third software version information is higher than the software version corresponding to the second software version information, judging whether the current state of the terminal meets the software package downloading condition;
and S80, when the current state of the terminal meets the software downloading condition, downloading the corresponding software package from the server, and writing the software version information corresponding to the downloaded software package into the first position.
In this embodiment, the software of the server will update versions from the internet at regular time and add new software as required. After downloading software from the internet, the server firstly packages related files corresponding to the software through a special packaging program, then edits a software version of the software package, and after the leisure system is started, the software version information needs to be connected to a remote server through specially developed software, accesses are carried out through the internet, and third software version information in the server is read, at the moment, the software needs to acquire software version information in a public security office system from a basic input and output system for comparison.
If the software version on the server is more updated than that running on the public security office system, or the software on the server is new software, the leisure system starts to judge whether the current state of the terminal meets the condition of downloading the program, and if so, judges whether the current electric quantity supports the terminal to finish downloading the program. For example, if the terminal is a tablet computer, whether the tablet computer is currently in a charging state is judged, and if the tablet computer is currently in the charging state, the downloading condition is met. In addition, an electric quantity value can be preset to ensure that the electric quantity is enough to support the downloading of the program under the current terminal running state, the latest software program is downloaded to the appointed area of the disk where the leisure system is located from the server, and after the downloading is finished, the software version information of the downloaded software package is written into the first position of the basic input and output system by using a special program to become new first software version information.
In the embodiment, the server can regularly and uniformly download or update the required software on the internet, package the software information of the required software through special packaged software and edit the software version information, and regularly and uniformly process the software information to improve the software processing efficiency. When the leisure system is started, the leisure system automatically judges and downloads software from the server, and the required software can be timely updated to the leisure system.
Further, based on the above-described embodiment of the software installation method of the present invention, referring to fig. 8, a seventh embodiment of the present invention is proposed. In this embodiment, the step S70 of determining whether the current state of the terminal satisfies the software package downloading condition includes the following steps:
s71, judging whether the terminal is in a charging state at present;
and S72, when the terminal is currently in the charging state, judging that the current state of the terminal meets the software package downloading condition.
In this embodiment, in order to prevent the download failure caused by the shutdown due to insufficient power supply of the terminal in the process of downloading the software package from the server to the leisure system, it is determined whether the current terminal is in a charging state before downloading. The charging state may include, but is not limited to, a case where the terminal is effectively connected to a power outlet through a power cord and a case where the terminal is charged through a mobile power source, such as a charger. And when the terminal is in the charging state, the downloading condition of the software package is met, and if the terminal is not in the charging state currently, whether the downloading condition of other software packages is met or the downloading of the software package is cancelled is judged.
In this embodiment, the software package is downloaded in a charging state, so that the software package is ensured not to be interrupted due to insufficient power in the downloading process.
Further, based on the above-described embodiment of the software installation method of the present invention, with reference to fig. 9, an eighth embodiment of the present invention is proposed. In this embodiment, the step S70 of determining whether the current state of the terminal meets the software package download condition further includes the following steps:
s73, acquiring the current electric quantity value of the terminal;
s74, judging whether the current electric quantity value of the terminal is larger than a preset value;
and S75, when the current electric quantity value of the terminal is larger than the preset value, judging that the current state of the terminal meets the downloading condition of the software package.
Because the tablet computer or other terminals cannot be in a charging state all the time in the using process, in order to ensure that the downloading process of the software package is not interrupted due to insufficient electric quantity, the current electric quantity of the terminal is enough to support continuous operation until the software downloading is completed. In this embodiment, current power information of the terminal is first obtained, where the power information may include, but is not limited to, a percentage power or a power form. And comparing the current electric quantity of the terminal with the preset electric quantity value after acquiring the current electric quantity of the terminal. The preset value can be set according to the electric quantity required by the commonly downloaded software package. And when the current power of the terminal is higher than the preset value, judging that the software package downloading condition is met, and starting software package downloading. And when the current terminal electric quantity is not less than the preset value, judging that the software package downloading condition is not met, and judging whether other software package downloading conditions are met or software package downloading is cancelled. For example, when the current electric quantity is 35% and the preset electric quantity value is 5%, the software package downloading condition is currently met; and when the current electric quantity is 3%, the software package downloading condition is not met. The software package downloading conditions of the present embodiment and the seventh embodiment may be executed in a certain order or in parallel to perform the determination, or may be executed in other forms.
In this embodiment, in order to prevent the download failure caused by the shutdown due to insufficient power supply of the terminal in the process of downloading the software package from the server to the leisure system, before downloading, it is determined whether the current power of the terminal is greater than a preset value so as to determine whether the current power is sufficient. The downloading is carried out on the premise of ensuring sufficient electric quantity, and the problem that the software downloading is influenced by shutdown due to insufficient electric quantity is avoided.
In addition, the invention also provides an interaction device.
The interactive device of the invention: a memory, a processor and a software installation program stored on the memory and executable on the processor, the software installation program, when executed by the processor, implementing the steps of the software installation method as described above.
The method implemented when the software installation program running on the processor is executed may refer to each embodiment of the software installation method of the present invention, and details are not described here.
In addition, the embodiment of the invention also provides a computer readable storage medium.
The computer-readable storage medium of the present invention has stored thereon a software installation program, which when executed by a processor, implements the steps of the software installation method as described above.
The method implemented when the software installation program running on the processor is executed may refer to each embodiment of the software installation method of the present invention, and details are not described here.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. 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 (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A software installation method is characterized in that the software installation method is applied to physically isolated multi-system terminals, the multi-system terminals at least comprise a first system, a second system and a basic input and output system respectively connected with the first system and the second system, and the software installation method comprises the following steps:
when the second system is started, reading first software version information of a first system prestored at a first position in the basic input and output system;
comparing the first software version information with second software version information of the second system, and judging whether software installation conditions are met;
and when the software installation condition is met, switching to the first system so that a user can copy the corresponding software package file in the first system through an external storage device and install the software package file to the restarted second system.
2. The software installation method of claim 1, wherein the step of switching to the first system is preceded by:
when the software installation condition is met, displaying prompt information for whether installation is carried out;
when receiving the request information that the user accepts the installation, executing the following steps: switching to the first system.
3. The software installation method of claim 2, wherein the switching to the first system step upon receiving a request message for accepting installation by a user comprises:
receiving a switching signal for switching a system to the first system, wherein a sending source of the switching signal is a peripheral device connected with a terminal device or a system switching control program installed in the second system;
confirming the physical disk number of the first system;
and starting the corresponding storage device controller according to the physical disk number, so as to start the corresponding storage device driver, and loading and starting the first system.
4. The software installation method of claim 1, wherein comparing the first software version information with second software version information of the second system and determining whether a software installation condition is satisfied comprises:
judging whether the software version information which does not appear in the second software version information exists in the first software version information or judging whether the software version corresponding to the first software version information is higher than the software version corresponding to the second software version information when the software version information which is the same as the second software version information exists in the first software version information;
and when the software version information which does not appear in the second software version information exists in the first software version information, or when the software version information which is the same as the second software version information exists in the first software version information and the software version corresponding to the first software version information is higher than the software version corresponding to the second software version information, judging that the installation condition is met.
5. The software installation method of claim 1, wherein the software installation method comprises:
and when the second system is installed, writing second software version information of the second system into a second position of the basic input and output system.
6. The software installation method of claim 5, wherein the multi-system terminal further comprises: the server connected with the first system, the software installation method comprises the following steps:
when the first system is started, reading second software version information prestored in the second position, and acquiring third software version information of software in the server;
when the software version information which does not appear in the second software version information exists in the third software version information, or when the software version information which is the same as the second software version information exists in the third software version information and the software version corresponding to the third software version information is higher than the software version corresponding to the second software version information, judging whether the current state of the terminal meets the software package downloading condition or not;
and when the current state of the terminal meets the software downloading condition, downloading the corresponding software package from the server, and writing the software version information corresponding to the downloaded software package into the first position.
7. The software installation method of claim 6, wherein the determining whether the current state of the terminal satisfies the software package download condition comprises:
judging whether the terminal is in a charging state at present;
and when the terminal is currently in the charging state, judging that the current state of the terminal meets the software package downloading condition.
8. The software installation method of claim 6, wherein the determining whether the current state of the terminal satisfies the software package download condition comprises:
acquiring a current electric quantity value of the terminal;
judging whether the current electric quantity value of the terminal is greater than a preset value or not;
and when the current electric quantity value of the terminal is greater than a preset value, judging that the current state of the terminal meets the software package downloading condition.
9. A software installation apparatus, characterized in that the software installation apparatus comprises: memory, a processor and a software installation program stored on the memory and executable on the processor, the software installation program when executed by the processor implementing the steps of the software installation method according to any one of claims 1 to 8.
10. A computer-readable storage medium, having stored thereon a software installation program, which when executed by a processor implements the steps of the software installation method of any one of claims 1 to 8.
CN201710637569.2A 2017-07-28 2017-07-28 Software installation method and device and computer readable storage medium Active CN107577472B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710637569.2A CN107577472B (en) 2017-07-28 2017-07-28 Software installation method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710637569.2A CN107577472B (en) 2017-07-28 2017-07-28 Software installation method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107577472A CN107577472A (en) 2018-01-12
CN107577472B true CN107577472B (en) 2020-05-08

Family

ID=61033981

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710637569.2A Active CN107577472B (en) 2017-07-28 2017-07-28 Software installation method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN107577472B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109885326B (en) * 2019-02-27 2022-05-20 深圳创维-Rgb电子有限公司 Method and device for upgrading auxiliary screen control system and computer readable storage medium
CN110109707B (en) * 2019-04-10 2022-05-31 广州视源电子科技股份有限公司 Terminal starting method and device and terminal
CN110515630B (en) * 2019-08-16 2023-03-24 维沃移动通信有限公司 Application installation method and terminal
CN112449245B (en) * 2019-09-05 2022-12-16 海信视像科技股份有限公司 Method for displaying application upgrading progress of dual-system display equipment and display equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202306531U (en) * 2011-09-20 2012-07-04 深圳市顶星数码网络技术有限公司 Multi-system changeover device and computer
CN104461749A (en) * 2014-12-30 2015-03-25 宇龙计算机通信科技(深圳)有限公司 Application program synchronization method and device of multi-system terminal and terminal
CN105302622A (en) * 2015-12-09 2016-02-03 北京奇虎科技有限公司 Method and device for installing software
CN105335183A (en) * 2014-08-06 2016-02-17 乐视致新电子科技(天津)有限公司 Software upgrade method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040076043A1 (en) * 2002-10-21 2004-04-22 Phoenix Technologies Ltd. Reliable and secure updating and recovery of firmware from a mass storage device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202306531U (en) * 2011-09-20 2012-07-04 深圳市顶星数码网络技术有限公司 Multi-system changeover device and computer
CN105335183A (en) * 2014-08-06 2016-02-17 乐视致新电子科技(天津)有限公司 Software upgrade method and system
CN104461749A (en) * 2014-12-30 2015-03-25 宇龙计算机通信科技(深圳)有限公司 Application program synchronization method and device of multi-system terminal and terminal
CN105302622A (en) * 2015-12-09 2016-02-03 北京奇虎科技有限公司 Method and device for installing software

Also Published As

Publication number Publication date
CN107577472A (en) 2018-01-12

Similar Documents

Publication Publication Date Title
CN107577472B (en) Software installation method and device and computer readable storage medium
US8560822B1 (en) Pre-boot operating environment
US9804832B2 (en) Method, apparatus, and communication device for updating firmware
CN102238265B (en) Mobile phone and method for realizing double-system mobile phone
CN108174255B (en) Smart television starting method, smart television and computer readable storage medium
US20170168872A1 (en) Task scheduling method and apparatus
US20220100490A1 (en) Firmware updating method, and electronic apparatus and storage media for same
CN106648685B (en) Intelligent terminal system application processing method and device and intelligent terminal
US20080182668A1 (en) Information processor
CN106469071B (en) Application theme changing method and device
CN107291481B (en) Component updating method, device and system
CN109683967B (en) Firmware support method, device, mobile terminal and readable storage medium
CN104199701A (en) Method and device for starting applications in browser
CN104298523A (en) Component loading method and device and terminal
KR102631745B1 (en) Method for controlling the execution of different operating systems, electronic device and storage medium therefor
CN107632872B (en) Desktop layout processing method, user data processing method and device and computer storage medium
JP2013025426A (en) Image output device and program therefor
CN111694585A (en) Method, system, terminal and storage medium for replacing system partition file
CN111857531A (en) Mobile terminal and file display method thereof
CN111708548A (en) Software installation method, device, equipment and storage medium
KR20190109979A (en) Electronic device and method for controling update thereof
CN103365672B (en) A kind of method and system processing the descriptor of application program
US9603020B2 (en) Electronic apparatus and method of executing application program
CN110018918B (en) Method and device for repairing terminal abnormity, mobile terminal and storage medium
US20210026807A1 (en) Method for managing data associated with application and electronic device therefor

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
GR01 Patent grant
GR01 Patent grant