CN114297733B - Method and device for upgrading and deploying software of digital media equipment - Google Patents

Method and device for upgrading and deploying software of digital media equipment Download PDF

Info

Publication number
CN114297733B
CN114297733B CN202111623932.8A CN202111623932A CN114297733B CN 114297733 B CN114297733 B CN 114297733B CN 202111623932 A CN202111623932 A CN 202111623932A CN 114297733 B CN114297733 B CN 114297733B
Authority
CN
China
Prior art keywords
software
remote deployment
list
digital media
server
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
CN202111623932.8A
Other languages
Chinese (zh)
Other versions
CN114297733A (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.)
Hylink Digital Technology Co ltd
Original Assignee
Hylink Digital 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 Hylink Digital Technology Co ltd filed Critical Hylink Digital Technology Co ltd
Priority to CN202111623932.8A priority Critical patent/CN114297733B/en
Publication of CN114297733A publication Critical patent/CN114297733A/en
Application granted granted Critical
Publication of CN114297733B publication Critical patent/CN114297733B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The application relates to a method and a device for upgrading and deploying software of a digital media device, wherein the method comprises the steps of starting a virtual machine which is fixedly installed on the digital media device when the digital media device is started, entering a virtual desktop, and establishing a scoket channel with a server after a verification success message; scanning the running file of the virtual machine at regular time to obtain software installed and running on the virtual desktop; a remote deployment software list is obtained from a server through a scoket channel; judging whether the software installed and operated on the virtual desktop is the software in the remote deployment software list or not according to the remote deployment software list; if not, the isolation, disable, uninstall, or delete operation is performed directly on the software. The application scheme is simple and full-automatic, the operation and maintenance efficiency is effectively improved, the operation and maintenance cost is reduced, and the software deployment and upgrading safety is improved.

Description

Method and device for upgrading and deploying software of digital media equipment
Technical Field
The present application relates to the field of digital media technologies, and in particular, to a method and an apparatus for upgrading and deploying software of a digital media device.
Background
At present, almost all outdoor digital media are software and hardware integrated services, and management of each part of hardware to control of each display logic are mature and widespread. Although various standards of digital media are not unified in outdoor, the standardization and the commercialization of digital media are well established for a single service provider.
However, behind the large-scale deployment and generalization of outdoor digital media, the following operation and maintenance service problems exist, which make the platform operation landing and promotion of outdoor digital media difficult to be passed by related departments, specifically as follows:
(1) Difficulty in replacing new software systems with devices; due to operation requirements, the equipment software system is frequently required to be replaced, and once a manufacturer of the equipment does not provide service, the new software system cannot be replaced;
(2) Serious potential safety hazard exists; on one hand, both a windows system and an android system have security holes, and are easy to attack, and malicious software is installed; on the other hand, due to safety considerations, almost all outdoor digital media are networked through a local area network, software upgrading and deployment provided by an outdoor digital media manufacturer are generally cloud services, operation and maintenance services are customized only for own software, and upgrading and deployment of other software are not supported, so that when the outdoor digital media client application needs to be maintained, operation and maintenance personnel need to go to the site to connect open WIFI of the outdoor digital media client application through a software tool for deployment, and serious potential safety hazards exist;
(3) The operation and maintenance operation professional requirements and the operation and maintenance cost are high; the larger the number of outdoor digital media is, the higher the operation and maintenance cost is, the network environment influences even the remote maintenance cannot be carried out, the site is required, and the cost is higher; the professional requirement on software operation is high, and in order to save cost, maintenance personnel generally take the place of a local third party to proxy operation and maintenance, so that the efficiency of proxy operation and maintenance and the requirement of personnel cannot be met, and after-sale service is directly influenced;
in summary, a software upgrade and deployment scheme for outdoor digital media is needed to solve the problems of safety, efficiency and low cost in the current operation and maintenance.
Disclosure of Invention
In order to solve the problems of safety, efficiency and low cost in the operation and maintenance of outdoor digital media equipment, the application provides the digital media equipment and a method for upgrading and deploying software of the digital media equipment.
In a first aspect, the method for upgrading and deploying software of a digital media device provided by the present application adopts the following technical solutions:
a method of software upgrade and deployment for a digital media device, comprising:
starting a virtual machine which is solidified and installed on the digital media equipment when the digital media equipment is started, and entering a virtual desktop;
acquiring a hardware code of the digital media equipment, and reporting to a server side for network access verification of the hardware code;
after receiving the verification success message, establishing a scoket channel with the server; the verification success message is a message which is sent when the server performs network access verification according to the received hardware code and the verification is successful;
scanning the running file of the virtual machine at regular time to obtain software installed and running on the virtual desktop;
a remote deployment software list is obtained from a server through a scoket channel; wherein, the remote deployment software list records a table of installation and running conditions of the software which can be installed by the digital media device;
judging whether each piece of software installed and operated on a virtual desktop is software in the remote deployment software list or not according to the remote deployment software list acquired by the server;
if the software is in the remote deployment software list, keeping the installation and the operation of the software; and if the software is not in the remote deployment software list, directly carrying out the operations of isolation, forbidding, uninstalling or deleting on the software.
Optionally, after the receiving the verification success message and establishing a scoket channel with the server, the method further includes:
when a remote deployment instruction sent by the server is received through a scoket channel, inquiring the server to obtain a remote deployment software list; the remote deployment instruction is an instruction sent to corresponding digital media equipment when the server receives an uploaded software installation package with a legal signature, creates a remote deployment task for completing the software installation package and updates the remote deployment software list;
downloading a corresponding software installation package from the server to the virtual machine according to the remote deployment software list, automatically executing silent installation and running operation to install the application on the virtual desktop, and sending feedback information of successful installation or upgrade to the server after the installation and running are completed.
Optionally, when the hardware code of the digital media device is obtained and reported to the server for performing the network access check of the hardware code, the method further includes encrypting the obtained hardware code by using an encryption algorithm, and reporting the encrypted hardware code to the server for performing the network access check of the hardware code.
Optionally, the remote deployment software list includes a software name of a corresponding digital media device that has been installed and operated or needs to be installed and operated, a corresponding software installation package download address, an installation identifier, and a software state;
the installation identification comprises an uninstalled state representing that the corresponding software is not installed on the digital media device and an installed state representing that the corresponding software is installed on the digital media device;
the software state includes an on-shelf state indicating that software is installable and operable on the digital media device and an off-shelf state indicating that software is not installable and operable on the digital media device.
Optionally, after the scoket channel is established between the server and the server after the verification success message is received, the method further includes:
when a remote uninstalling instruction from the server is received through a scoket channel, a remote deployment software list is obtained from the server; the remote uninstalling instruction is an instruction sent to the corresponding digital media device by the server when the software state of the software in the remote deployment software list is changed into the off-shelf state;
inquiring the remote deployment software list, and automatically unloading or deleting the software of which the software state is the off-shelf state in the remote deployment software list from the virtual desktop;
and after the software in the off-shelf state is unloaded or deleted, returning the feedback information of unloading or deleting completion to the server.
Optionally, after the receiving the verification success message and establishing a scoket channel with the server, the method further includes:
querying the remote deployment software list from the server through a scoket channel at regular time;
detecting whether software with an installed state and an uninstalled state exists in the remote deployment software list or not;
if the software with the software state of being on-shelf and the software with the software installation state of not being installed exist in the remote deployment software list, downloading a corresponding software installation package to the virtual machine according to the remote deployment software list, executing silent installation and operation, and returning a feedback message of successful installation and operation to the server after the installation and the operation are finished;
if the software with the off-shelf state and the installed state of the installed software exist in the remote deployment software list, automatically executing silent uninstalling or deleting operation of the software with the off-shelf state in the list according to the remote deployment software list; and after the software is unloaded or deleted from the virtual desktop, feedback information of successful unloading or deletion is returned to the server side.
Optionally, if there exists software in which the software state is an on-shelf state and the installation state is an uninstalled state in the remote deployment software list, downloading a corresponding software installation package to the virtual machine according to the remote deployment software list, including:
if software with a software state of being on-shelf and an installation state of being uninstalled exists in the remote deployment software list, scanning the running file of the virtual machine to obtain the software installed and running on the virtual desktop;
judging whether the software in the remote deployment software list is installed and operated on the virtual desktop, wherein the software is in an on-shelf state and is not installed in an installation state;
if yes, feedback information of successful installation and operation is returned to the server; and if the remote deployment software list does not exist, downloading the corresponding software installation package to the virtual machine according to the remote deployment software list.
Optionally, if there exists software in which the software state is the off-shelf state and the installation state is the installed software in the remote deployment software list, automatically executing the silent uninstalling or deleting operation of the software in the off-shelf state according to the remote deployment software list, including:
if the software in the remote deployment software list is in the off-shelf state and the installed state is the installed software, scanning the running file of the virtual machine to acquire the software installed and running on the virtual desktop for scanning;
judging whether software in a remote deployment software list is installed and operated on the virtual desktop, wherein the software is in an off-shelf state and is installed already;
if yes, returning feedback information of successful uninstallation or deletion; and if the software does not exist, automatically executing silent uninstalling or deleting operation of the software with the off-shelf state in the list according to the remote deployment software list.
Optionally, if the isolation, disable, uninstall, or delete operation is directly performed on the software, the corresponding software cannot be isolated, disabled, uninstalled, or deleted, further including:
closing the screen model corresponding to the digital media equipment running the software through a secondary safety mechanism;
if the screen of the digital media device is forcibly started, the secondary security mechanism finds that the software still exists, triggers and executes the tertiary security mechanism to shut down the host of the digital media device, and modifies the login password of the host.
In a second aspect, the present application provides a device for upgrading and deploying software of a digital media device, which adopts the following technical solutions:
an apparatus for software upgrade and deployment of a digital media device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor implementing the method for software upgrade and deployment of a digital media device as claimed in any one of claims 1 to 9 when the computer program is executed.
In summary, the present application includes at least one of the following beneficial technical effects:
1. all the software upgrading and deployment of the digital media equipment are based on the virtual machine which is solidified and installed on the digital media equipment, and based on the secondary packaging of the original authority interface of the system, the software upgrading and deployment is more controllable than the original desktop authority of the system, so long as the software is legal software authenticated by a server, a series of operation and maintenance operations such as remote deployment, upgrading, software state monitoring and the like can be carried out, the problem that the software system is sold by a factory in a delivery binding frame and cannot be replaced by the software system is solved by an outdoor digital media equipment buyer, the scheme is simple and full-automatic, the operation and maintenance efficiency is effectively provided, and the operation and maintenance cost is reduced;
2. because the virtual machine and the digital media equipment are bound and solidified, all interactive operations of the digital media equipment and the outside can be monitored, illegal software is prevented from being installed on the digital media equipment, and the safety of software deployment and upgrading is improved;
3. returning to the hardware operation and maintenance ecological management of the outdoor media equipment, ensuring the operation and maintenance safety through the encryption communication of a safety link, and returning to the most core operation of software operation and maintenance without being limited by the professional and long distance of operation and maintenance personnel;
4. the system can serve the security management and control and maintenance of public digital media, is preset to be permanently bound when leaving a factory, adopts a communication multi-layer encryption and soft-hard mutual trust verification mechanism, and provides a lowest-cost implementation strategy for remote implementation; meanwhile, the full-process automatic control of hardware risks and content playing risks in the running process of the digital media is guaranteed.
Drawings
FIG. 1 is a flow chart of a method for software upgrade and deployment of a digital media device provided herein;
fig. 2 is a block diagram of an apparatus for software upgrade and deployment of a digital media device according to the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is further described in detail below with reference to fig. 1-2 and the embodiments. It should be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad application.
The embodiment of the application discloses a method for upgrading and deploying software of digital media equipment. Referring to fig. 1, the present application adopts a C/S architecture, that is, a service end of an operation and maintenance system and a matched virtual machine (operations such as deletion, uninstallation, and deactivation are not allowed, and communication between the virtual machine and the service end is ensured) installed in a solidified manner when each outdoor digital media device leaves a factory, and a virtual desktop of the virtual machine is set as a default desktop, and the virtual machine is started to operate after the digital media device is started to be networked, so that installation and uninstallation of software on the digital media device can be monitored only by monitoring the virtual machine, arbitrary installation of illegal software is prevented, and security and monitoring reliability are effectively improved, and the method is applied to each digital media device installed with the virtual machine in a solidified manner, and includes:
step S100, when the digital media device is started, starting a virtual machine fixedly installed on the digital media device, entering a virtual desktop, and enabling the virtual desktop to be a default desktop of the digital media device, so that the operations of installing, running, uninstalling, forbidding and the like of software on the virtual desktop can be monitored by monitoring running files of the virtual machine software.
Step S200, after the virtual machine is started to run and enters a virtual desktop, acquiring a hardware code of the digital media equipment where the virtual machine is located and reporting the hardware code to a server side for network access verification of the hardware code; in this embodiment, the hardware code of the outdoor digital media device is obtained through the interaction between the software of the virtual machine and the interface of the hardware of the carrier device (digital media device), and is reported to the server after being encrypted by the encryption algorithm.
The server of the operation and maintenance system is responsible for warehousing and selling the hardware codes of all outdoor digital media devices to the relationship management table of the corresponding client (namely who the device is sold to) and authorizing the access permission of the hardware codes. Therefore, when the hardware code reported by the method is received, the relation management table is inquired according to the received hardware code, the corresponding client information is matched, if the matching is successful, the system end of the client displays that the corresponding digital media equipment is online and belongs to the authorized network access state, the verification success message is sent to the digital media equipment correspondingly applying the method, if the matching is failed, the equipment is not networked or illegal equipment is not networked for service, and the system end of the client displays that the corresponding digital media equipment is online and belongs to the authorized network access state (when the digital media equipment is not started or a virtual machine on the digital media equipment is not started, the system end of the client at least displays that the corresponding digital media equipment is not online, and a special channel cannot be established at the moment) and the verification failure message is sent. In this embodiment, when the hardware code is put into the library, the hardware code is encrypted by using an encryption algorithm. The encryption algorithms of the server and the digital media equipment applying the method can be the same or different, and whether the encryption sequence which is the same as the sequence after encryption exists or not is directly inquired in the database when the encryption algorithms are the same; and when the encryption sequence is different from the sequence obtained after encryption, the server decodes the received encrypted hardware code, then encrypts the hardware code obtained by decryption by adopting a local encryption algorithm, and inquires whether an encryption sequence which is the same as the sequence obtained after encryption exists in the database or not.
Step S300, after a verification success message sent by the server is received, establishing a scoket channel with the server for automatic remote deployment and monitoring of software (including deployment of new software, updating and uninstalling of deployed software and installation of illegal software on a virtual desktop); in this embodiment, if the network access check fails, the establishment of the scoket channel is cancelled, and the automatic remote deployment and monitoring of the software cannot be executed.
Step S400, scanning the running file of the virtual machine at regular time (for example, scanning once every 1 hour or scanning once every 6, 12, 18 and 24 points) to obtain the software installed and running on the virtual desktop.
And step S500, acquiring a remote deployment software list from the server through the scoket channel. The remote deployment software list records a table of installation and running conditions of software which can be installed by the digital media equipment; in this embodiment, the remote deployment software list is generated at the server; the server receives and stores the uploaded legally signed software installation package (such as APK) and creates a remote deployment task of the software installation package; then selecting a digital media device list (which can be all authorized networked digital media devices or can designate part of authorized networked digital media devices) pushed by the software installation package remote deployment task, and a remote deployment date and time, sending a remote deployment instruction to the digital media devices pushed by the software installation package remote deployment task, and updating to generate a remote deployment software list of each digital media device; in this embodiment, the remote deployment software list at least includes a name of software that is installed and run or needs to be installed and run on the corresponding digital media device, an installation package download address of the corresponding software, and an installation identifier. The updating and generating the remote deployment software list of each digital media device in the embodiment comprises the following steps:
(1) Adding a new software name, an installation package downloading address and an installation identifier of corresponding software in a remote deployment software list;
(2) Updating the installation package download address and the installation identification of the software corresponding to the existing software in the remote deployment software list;
(3) And deleting the existing software name which is off-shelf, the installation package downloading address of the corresponding software and the installation identifier from the remote deployment software list.
S600, judging whether each piece of software installed and operated on the virtual desktop is software in a remote deployment software list or not according to the remote deployment software list acquired by the server; if yes, the software is legal, installation and operation on the virtual desktop are allowed, and step S700 is executed; otherwise, the software is described as illegal software, and is not installed through remote deployment, and step S800 is executed.
And step S700, keeping the installation and the operation of the software on the virtual machine.
Step S800, directly executing the operations of isolating, forbidding, uninstalling or deleting the software, and ensuring that the illegally installed application of the digital media device cannot be installed and run.
When the digital media equipment is started, the virtual machine installed on the digital media equipment is started and solidified, the digital media equipment enters a virtual desktop, all software upgrading and deploying of the digital media equipment are based on the virtual machine, secondary packaging based on an original authority interface is more controllable than the original desktop authority of the digital media equipment, only if the software is legal software authenticated by a server side, a series of operation and maintenance operations such as remote deployment, upgrading and monitoring of software states can be carried out, automatic unloading, deleting or forbidding and other operations are realized on the software automatically installed on the virtual desktop, legality checking is carried out on the software installed and operated on the digital media equipment, the fact that the software installed and operated on each digital media equipment is consistent with the software allowed to be installed is guaranteed, illegal applications (mainly applications installed locally and autonomously on each digital media equipment) are avoided, the problem that a software system is sold in a factory binding frame and cannot be replaced by an outdoor digital media equipment purchasing party is solved, the scheme is simple and fully automatic, operation and maintenance efficiency is effectively provided, operation and maintenance cost is reduced, and software deployment and upgrading related data transmission stability and safety are effectively improved by adopting an exclusive channel.
In order to further ensure that the installed software is legal software, in the embodiment of the present application, the remote deployment of the software is implemented by sending a remote deployment instruction through a scoket channel and combining with a remote deployment software list, and after step S300, the method further includes a software remote deployment program, where the software remote deployment program includes:
and when receiving a remote deployment instruction sent by the server through the scoket channel, inquiring the server to obtain a remote deployment software list. The server performs validity verification of signature on the uploaded installation package of the application, and does not perform automatic remote deployment on the software when the validity verification is illegal; and the server side receives the uploaded legally signed software installation package, creates a remote deployment task for completing the software installation package, updates the remote deployment software list and sends a remote deployment instruction to the corresponding digital media equipment. The installation package of this embodiment includes, but is not limited to, an installation package of new software on shelf or an upgrade package of existing software, and may also be an installation package or an upgrade package of an operating system, which is not limited herein.
And downloading a corresponding software installation package from the server to the virtual machine according to the remote deployment software list, automatically executing silent installation and running operation to install the application on the virtual desktop, and sending feedback information of successful installation or upgrade to the server after the installation and running are finished. And after receiving the feedback information, the server side updates a remote deployment software list corresponding to the digital media equipment, and changes the installation identifier in the remote deployment software list into the installed identifier.
In this embodiment, the remote deployment software list further includes a software state, which indicates that the software is installable and operable on the digital media device (actually, the virtual desktop) when the software state is the on-shelf state, and indicates that the software is not installable and operable on the digital media device when the software state is the off-shelf state.
When the server receives a new installation package, the remote deployment software list is updated while a remote deployment task of the installation package is created, namely when the new installation package is software which is not installed in the digital media equipment, the name and the download address of the installation package of the new software are added into the remote deployment software list, the software state is set to be in an on-shelf state, and the installation identifier is set to be in an uninstalled state; when the new installation package is an upgrade package of the installed software of the digital media equipment, modifying the download address of the installation package of the software in a remote deployment software list, setting an installation identifier to be in an uninstalled state, and then sending a remote deployment instruction to all digital media equipment needing to deploy the software by a server; and when the virtual desktop finishes the installation of the new application and then sends feedback information, the server side updates the corresponding remote deployment software list according to the feedback information and changes the installation identifier of the corresponding software in the remote deployment software list into the installed one.
When the software reaches the deployment date and time or the deployment of the software in partial digital media devices is cancelled according to the requirements of customers, updating remote deployment software lists of the digital media devices, changing the software state of the corresponding software in the remote deployment software lists into the off-shelf state, and sending a remote uninstalling instruction to the digital media devices changed into the off-shelf state; and after receiving the unloading instruction, acquiring a remote deployment software list, automatically unloading or deleting the software with the software state of the off-shelf state from the virtual desktop according to the remote deployment software list, returning the feedback information of unloading or deleting completion after the unloading or deleting is completed, and deleting all records of the deleted software from the remote deployment software list of the digital media equipment by the server after receiving the feedback information of unloading or deleting completion.
In this embodiment, in order to ensure that the digital media device is consistent with the software state recorded in the remote deployment software list, after step S300, a remote deployment software list checking program is further included, where the remote deployment software list checking program includes:
inquiring a remote deployment software list from a server through a scoket channel at regular time;
and detecting whether the acquired remote deployment software list contains software with an on-shelf state and an uninstalled state and software with an off-shelf state and an installed state.
If the software with the software state of being on-shelf and the software with the software installation state of not being installed exist in the remote deployment software list, downloading a corresponding installation package to the virtual machine according to the remote deployment software list, executing silent installation and running of the software on the virtual desktop, and returning a feedback message of successful installation like the server after the installation and running are finished, so that the server updates the remote deployment software list according to the feedback message of successful installation and changes the installation state of the software into the installed state. In this embodiment, before downloading the corresponding installation package according to the remote deployment software list, scanning an operation file of the virtual machine to obtain software installed and operated on the virtual desktop, and determining whether software in the remote deployment software list is installed and operated in an overhead state and an uninstalled state, if so, returning feedback information of successful installation and operation so that the server updates the remote deployment software list according to the feedback information of successful installation and changes the installation state of the software into installed state; and if the remote deployment software list does not exist, downloading the corresponding installation package according to the remote deployment software list.
If the software exists in the remote deployment software list, the software is in an off-shelf state, and the installation state is the installed software; automatically executing silent uninstalling or deleting operation of the software on the virtual desktop according to the software list which is remotely deployed and takes the software state in the list as the off-shelf state; and if the uninstalling or deleting is completed, returning feedback information of successful uninstalling or deleting to the server side, so that the server side deletes all records about the uninstalled or deleted software from the remote deployment software list of the digital media device according to the feedback information of the completion of uninstalling or deleting. Before automatically executing the silent uninstalling or deleting operation of the software with the off-shelf software state in the table according to the remote deployment software list, the method further comprises scanning the running file of the virtual machine to obtain the software installed and running on the virtual desktop, judging whether the software with the off-shelf software state in the remote deployment software list and the installed software with the installed state are installed and run on the virtual desktop, and if so, automatically executing the silent uninstalling or deleting operation of the software with the off-shelf software state in the table according to the remote deployment software list; if the feedback information does not exist, returning the feedback information of successful uninstallation or deletion, so that the server side updates the remote deployment software list according to the feedback information of successful uninstallation or deletion, and deleting the relevant records of the uninstalled or deleted software from the remote deployment software list of the digital media device.
In this embodiment, if the illegal software and the off-shelf software cannot be isolated, disabled, uninstalled or deleted, in order to ensure the security of the digital media device, the screen model corresponding to the digital media device running the software is closed through a secondary security mechanism; if the screen of the digital media device is forcibly opened, the secondary security mechanism finds that off-shelf software or illegal software is still in place, triggers and executes the tertiary security mechanism, shuts down the digital media device host computer, and modifies the login password of the host computer.
The embodiment is further provided with a safe exit mechanism, when the virtual machine exits, an exit certificate needs to be input, when the input exit certificate is correct, the virtual machine exits to the original system desktop of the digital media device, otherwise, the virtual machine can only run on the virtual desktop, and the protection of the system authority of the digital media device is ensured.
And for the remote deployment software list of the server, the encrypted hidden directory stored locally in the digital media device is also synchronized, and even under the condition of network disconnection, the remote deployment software list can be obtained locally to perform the relevant operation of software remote deployment.
To sum up, the embodiment of the present application implements software upgrade and deployment of all digital media devices in a system by a virtual machine that is solidified and bound on the digital media devices, and this kind of secondary packaging based on the original rights interface of the system is more controllable than the initial desktop rights of the system, so long as the software is legal software authenticated by a server, a series of operation and maintenance operations such as remote deployment, upgrade, monitoring of software states (download, installation, uninstallation, etc.) can be performed, and the digital media devices are networked and registered, but do not depend on a registration mode of an application client; the system not only helps an outdoor digital media equipment purchasing party to solve the problem that a software system cannot be replaced when being sold by a factory in a delivery binding frame, but also has a simple and full-automatic scheme, effectively improves operation and maintenance efficiency and reduces operation and maintenance cost; in addition, as the virtual machine and the digital media equipment are bound and solidified, all interactive operations of the digital media equipment and the outside can be monitored, illegal software is prevented from being installed on the digital media equipment, and the safety of software deployment and upgrading is improved.
As shown in fig. 2, the present application further provides a device for software upgrade and deployment of a digital media device, which is deployed on a digital media device with a virtual machine, and includes a memory 100, a processor 200, and a computer program that is executed on the memory and is executable on the processor;
a computer program is stored on the memory 100 and is executable on the processor 200; the processor 200, when executing the computer program, implements the method of software upgrade and deployment of a digital media device as provided herein; for example, the method steps S100 to S800 in fig. 1 described above are performed.
The foregoing is a preferred embodiment of the present application and is not intended to limit the scope of the application in any way, and any features disclosed in this specification (including the abstract and drawings) may be replaced by alternative features serving equivalent or similar purposes, unless expressly stated otherwise. That is, unless expressly stated otherwise, each feature is only an example of a generic series of equivalent or similar features.

Claims (10)

1. A method of software upgrade and deployment for a digital media device, comprising:
starting a virtual machine which is solidified and installed on the digital media equipment when the digital media equipment is started, and entering a virtual desktop;
acquiring a hardware code of the digital media equipment, and reporting to a server side for network access verification of the hardware code;
after receiving the verification success message, establishing a scoket channel with the server; the verification success message is a message which is sent when the server side carries out network access verification according to the received hardware code and the verification is successful;
scanning the running file of the virtual machine at regular time to obtain software installed and running on the virtual desktop;
a remote deployment software list is obtained from a server through a scoket channel; wherein, the remote deployment software list records a table of installation and running conditions of the software which can be installed by the digital media device; the remote deployment software list is generated at a server; the server receives and stores the uploaded legally signed software installation package and creates a remote deployment task of the software installation package; then selecting a digital media device list pushed by the software installation package remote deployment task, remote deployment date and time, sending a remote deployment instruction to the digital media device pushed by the software installation package remote deployment task, and updating to generate a remote deployment software list of each digital media device;
judging whether each piece of software installed and operated on the virtual desktop is software in the remote deployment software list or not according to the remote deployment software list;
if the software is in the remote deployment software list, keeping the installation and the operation of the software; and if the software is not in the remote deployment software list, directly performing isolation, forbidding, uninstalling or deleting operation on the software.
2. The method according to claim 1, wherein after the receiving the verification success message and establishing a scoket channel with the server, further comprising:
when a remote deployment instruction sent by the server is received through a scoket channel, inquiring the server to obtain a remote deployment software list; the remote deployment instruction is an instruction sent to corresponding digital media equipment when the server receives an uploaded software installation package with a legal signature, creates a remote deployment task for completing the software installation package and updates the remote deployment software list;
downloading a corresponding software installation package from the server to the virtual machine according to the remote deployment software list, automatically executing silent installation and running operation to install the application on the virtual desktop, and sending feedback information of successful installation or upgrade to the server after the installation and running are completed.
3. The method according to claim 1, wherein when the hardware code of the digital media device is obtained and reported to the server for performing the network access check of the hardware code, the method further comprises encrypting the obtained hardware code by using an encryption algorithm, and reporting the encrypted hardware code to the server for performing the network access check of the hardware code.
4. The method of claim 1, wherein the remote deployment software list comprises a software name of a corresponding digital media device that is or needs to be installed and run, a corresponding software installation package download address, an installation identifier, and a software status;
the installation identification comprises an uninstalled state which represents that the corresponding software is not installed on the digital media device and an installed state which represents that the corresponding software is installed on the digital media device;
the software state includes an on-shelf state indicating that software is installable and operable on the digital media device and an off-shelf state indicating that software is not installable and operable on the digital media device.
5. The method according to claim 4, wherein after the receiving of the verification success message and establishing of the scoket channel with the server, further comprising:
when a remote uninstalling instruction from the server is received through a scoket channel, a remote deployment software list is obtained from the server; the remote uninstalling instruction is an instruction sent to corresponding digital media equipment by the server when the software state of the software in the remote deployment software list is changed into the off-shelf state;
inquiring the remote deployment software list, and automatically unloading or deleting the software of which the software state is the off-shelf state in the remote deployment software list from the virtual desktop;
and after the software in the off-shelf state is unloaded or deleted, returning the feedback information of unloading or deleting completion to the server.
6. The method of claim 4, after the receiving the verification success message and establishing a scoket channel with the server, further comprising:
querying the remote deployment software list from the server through a scoket channel at regular time;
detecting whether software with an installed state and an uninstalled state exists in the remote deployment software list or not;
if the software with the software state of being on-shelf and the software with the software installation state of not being installed exist in the remote deployment software list, downloading a corresponding software installation package to the virtual machine according to the remote deployment software list, executing silent installation and operation, and returning a feedback message of successful installation and operation to the server after the installation and the operation are finished;
if the software with the off-shelf state and the installed state of the installed software exist in the remote deployment software list, automatically executing silent uninstalling or deleting operation of the software with the off-shelf state in the list according to the remote deployment software list; and after the software is unloaded or deleted from the virtual desktop, feedback information of successful unloading or deletion is returned to the server side.
7. The method according to claim 6, wherein if there exists software in the remote deployment software list, the software is in an on-shelf state and the software is not installed in an installation state, downloading a corresponding software installation package to the virtual machine according to the remote deployment software list, comprising:
if the software with the software state of being on-shelf and the software with the software state of being not installed exist in the remote deployment software list, scanning the running file of the virtual machine to obtain the software installed and running on the virtual desktop;
judging whether the software in the remote deployment software list is installed and operated on the virtual desktop, wherein the software is in an on-shelf state and is not installed in an installation state;
if yes, feedback information of successful installation and operation is returned to the server; and if the remote deployment software list does not exist, downloading the corresponding software installation package to the virtual machine according to the remote deployment software list.
8. The method according to claim 6, wherein if the software with the software status of off-shelf and the installed status of installed exists in the remote deployment software list, automatically performing the silent uninstalling or deleting operation of the software with the software status of off-shelf in the list according to the remote deployment software list comprises:
if the software with the off-shelf state and the installed state is installed exists in the remote deployment software list, scanning the running file of the virtual machine to acquire the software installed and running on the virtual desktop for scanning;
judging whether software in a remote deployment software list is installed and operated on the virtual desktop, wherein the software is in an off-shelf state and is installed already;
if the software is in the off-shelf state, automatically executing silent uninstalling or deleting operation of the software according to the remote deployment software list; if not, returning the feedback information of unloading or deleting success.
9. The method of claim 1, wherein if the corresponding software cannot be isolated, disabled, uninstalled or deleted while the isolating, disabling, uninstalling or deleting operation is directly performed on the software, further comprising:
closing the screen model corresponding to the digital media equipment running the software through a secondary safety mechanism;
and if the screen of the digital media equipment is forcibly opened, the secondary security mechanism finds that the software still exists, triggers and executes the tertiary security mechanism to shut down the host computer of the digital media equipment, and modifies the login password of the host computer.
10. An apparatus for software upgrade and deployment of a digital media device, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor, when executing the computer program, implements the method for software upgrade and deployment of a digital media device as claimed in any one of claims 1 to 9.
CN202111623932.8A 2021-12-28 2021-12-28 Method and device for upgrading and deploying software of digital media equipment Active CN114297733B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111623932.8A CN114297733B (en) 2021-12-28 2021-12-28 Method and device for upgrading and deploying software of digital media equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111623932.8A CN114297733B (en) 2021-12-28 2021-12-28 Method and device for upgrading and deploying software of digital media equipment

Publications (2)

Publication Number Publication Date
CN114297733A CN114297733A (en) 2022-04-08
CN114297733B true CN114297733B (en) 2022-10-14

Family

ID=80971738

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111623932.8A Active CN114297733B (en) 2021-12-28 2021-12-28 Method and device for upgrading and deploying software of digital media equipment

Country Status (1)

Country Link
CN (1) CN114297733B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114884993B (en) * 2022-05-07 2023-12-22 杭州天宽科技有限公司 Virtualized android system for enhancing data security

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179791A (en) * 2007-12-03 2008-05-14 中兴通讯股份有限公司 Method of updating software edition of mobile terminal
CN103825737B (en) * 2013-12-30 2017-05-17 北京金玉衡科技有限责任公司 Security apparatus, system and method for on-line upgrading of industrial control system
CN105335183A (en) * 2014-08-06 2016-02-17 乐视致新电子科技(天津)有限公司 Software upgrade method and system
CN104618453A (en) * 2015-01-05 2015-05-13 广州杰赛科技股份有限公司 Software distribution method, system and server
CN108111559B (en) * 2016-11-25 2020-12-18 新华三技术有限公司 Application software deployment system and method
US10620930B2 (en) * 2017-05-05 2020-04-14 Servicenow, Inc. Software asset management
CN107623735B (en) * 2017-09-26 2021-03-16 麒麟软件有限公司 Accurate updating and upgrading system and method based on openssl in credit investigation machine system

Also Published As

Publication number Publication date
CN114297733A (en) 2022-04-08

Similar Documents

Publication Publication Date Title
CN111562935B (en) OTA security upgrading system and upgrading method thereof
CN100396012C (en) Software validity checking system and method based on device management protocol
CN102045390B (en) What computer special-purpose software updated automatically configures
CN201846355U (en) Safety consultation system
US9185554B2 (en) System and methods to store, retrieve, manage, augment and monitor applications on appliances
US7146645B1 (en) Dedicated applications for user stations and methods for downloading dedicated applications to user stations
CN105978921A (en) Remote upgrading method for vehicle-mounted communication terminal
US9727352B2 (en) Utilizing history of changes associated with software packages to manage computing systems
US20080189695A1 (en) Updating of Data Instructions
CN1981277A (en) Quarantine system
CN103747104A (en) Method and system for migrating user information among internet of things equipment
CN104573435A (en) Method for terminal authority management and terminal
CN109863475A (en) The upgrade method and relevant device of a kind of application in safety element
CN114297733B (en) Method and device for upgrading and deploying software of digital media equipment
US20060075401A1 (en) Patch installation control
CN111966422A (en) Localized plug-in service method and device, electronic equipment and storage medium
CN115086287A (en) Automatic deployment method and system for software products
US10860693B2 (en) Method and licensing system for automatically licensing service features during the upgrade of a communication system
CN1661982B (en) Method and system for automatically configuring access control
KR100615620B1 (en) Control method of portable devices for downloading digital contents by policy management
CN103841120A (en) Data security management method, mobile terminal and system based on digital watermarking
KR101322402B1 (en) System and Method for Security of Application, Communication Terminal Therefor
CN102164136B (en) Safety management method, authentication client, server and safety management system
US9544398B2 (en) System and methods to store, retrieve, manage, augment and monitor applications on appliances
KR20060074955A (en) The software upgrade system and method for home networking service

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