CN111355772A - Remote management method, device and equipment based on software - Google Patents

Remote management method, device and equipment based on software Download PDF

Info

Publication number
CN111355772A
CN111355772A CN201910569681.6A CN201910569681A CN111355772A CN 111355772 A CN111355772 A CN 111355772A CN 201910569681 A CN201910569681 A CN 201910569681A CN 111355772 A CN111355772 A CN 111355772A
Authority
CN
China
Prior art keywords
cloud server
container engine
terminal equipment
component
executed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910569681.6A
Other languages
Chinese (zh)
Other versions
CN111355772B (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 Honghe Innovation Information Technology Co Ltd
Original Assignee
Shenzhen Honghe Innovation 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 Honghe Innovation Information Technology Co Ltd filed Critical Shenzhen Honghe Innovation Information Technology Co Ltd
Priority to CN201910569681.6A priority Critical patent/CN111355772B/en
Publication of CN111355772A publication Critical patent/CN111355772A/en
Application granted granted Critical
Publication of CN111355772B publication Critical patent/CN111355772B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/04Protocols for data compression, e.g. ROHC

Abstract

The invention discloses a remote management method, a remote management device and remote management equipment based on software, and belongs to the technical field of application software. The method is applied to terminal equipment, wherein a first linux system is configured in the terminal equipment, and a first container engine is operated in the first linux system; the terminal equipment is in communication connection with the cloud server, a second linux system is configured in the cloud server, and a second container engine runs in the second linux system; the terminal equipment is communicated with the cloud server through a first container engine and a second container engine; the method comprises the following steps: receiving a management instruction sent by a second container engine in the cloud server through a first container engine; determining an execution component corresponding to the management instruction in the execution components loaded by the first container engine as a component to be executed; and executing the management instruction by operating the component to be executed. Therefore, the second container engine in the cloud server remotely controls the first container engine in the terminal device, technicians do not need to go to the location of the device, and manpower is saved.

Description

Remote management method, device and equipment based on software
Technical Field
The present invention relates to the field of application software technologies, and in particular, to a method, an apparatus, and a device for remote management based on software.
Background
At present, various application software is convenient for the life of people. For example, in a teaching scenario, the application software may be used to count the achievements of students, and in a company scenario, the application software may be used to record attendance of employees, etc. For some software vendors, after installing software in a device used by a user, management of the software, such as fault repair, update, or upgrade, is required.
In the existing scheme, after software of the same supplier is installed on different devices, technicians of the supplier can only go to the location of the devices, and related management operations are manually performed on the devices. Technical personnel spend much manpower and time going to the location of the equipment, and therefore, a scheme for remotely managing the equipment is urgently needed.
Disclosure of Invention
In view of this, the present invention provides a method, an apparatus and a device for remote management based on software, so as to provide a solution for remote management of a device.
Based on the above purpose, the present invention provides a software-based remote management method, which is applied to a terminal device, wherein a first container engine is operated in the terminal device; the terminal equipment is in communication connection with a cloud server, and a second container engine runs in the cloud server; the terminal equipment and the cloud server communicate through the first container engine and the second container engine; the method comprises the following steps:
receiving, by the first container engine, a management instruction sent by the cloud server;
determining an execution component corresponding to the management instruction in the execution components loaded by the first container engine as a component to be executed;
and executing the management instruction by operating the component to be executed.
Preferably, the management instruction is an upgrade instruction; the method further comprises the following steps:
obtaining an upgrade file packet corresponding to the upgrade instruction from the cloud server;
the executing the management instruction by operating the component to be executed includes:
and decompressing the upgrade file packet by operating the component to be executed to obtain an upgrade file, and installing the upgrade file to the terminal equipment.
More preferably, the upgrade instruction includes upgrade time; the method further comprises the following steps:
judging whether the current time reaches the upgrading time, if so, executing the component to be executed by running, decompressing the upgrading file packet to obtain an upgrading file, and installing the upgrading file to the terminal equipment.
Preferably, the management instruction is a backup instruction; the executing the management instruction by operating the component to be executed includes:
acquiring backup data of the terminal equipment;
compressing the backup data to obtain compressed backup data;
and storing the compressed backup data to a preset storage area in the terminal equipment, and sending the compressed backup data to the cloud server.
Based on the same inventive concept, the invention provides a software-based remote management method which is applied to a cloud server, wherein a second container engine runs in the cloud server; the cloud server is in communication connection with a terminal device, and a first container engine runs in the terminal device; the terminal equipment and the cloud server are communicated through the first container engine and the second container engine; the method comprises the following steps:
sending a management instruction to the terminal equipment through the second container engine, so that the terminal equipment determines an execution component corresponding to the management instruction in the execution components loaded by the first container engine as a component to be executed; and executing the management instruction by operating the component to be executed.
Preferably, the method further comprises:
acquiring distribution information of a plurality of terminal devices;
and displaying the acquired distribution information in a preset electronic map.
Based on the same inventive concept, the invention provides a remote management device based on software, which is applied to terminal equipment, wherein a first container engine is operated in the terminal equipment; the terminal equipment is in communication connection with a cloud server, and a second container engine runs in the cloud server; the terminal equipment and the cloud server are communicated through the first container engine and the second container engine; the device comprises:
the receiving module is used for receiving a management instruction sent by the cloud server through the first container engine;
a to-be-executed component determining module, configured to determine, as a to-be-executed component, an execution component corresponding to the management instruction from among the execution components loaded by the first container engine;
and the execution module is used for executing the management instruction by operating the component to be executed.
Preferably, the management instruction is an upgrade instruction; the device further comprises:
the upgrading file package obtaining module is used for obtaining an upgrading file package corresponding to the upgrading instruction from the cloud server;
the execution module comprises:
and the upgrading instruction execution unit is used for decompressing the upgrading file packet by operating the component to be executed to obtain an upgrading file and installing the upgrading file to the terminal equipment.
More preferably, the upgrade instruction includes upgrade time; the device further comprises:
and the time judgment module is used for judging whether the current time reaches the upgrading time or not, if so, executing the steps of operating the component to be executed, decompressing the upgrading file packet to obtain an upgrading file, and installing the upgrading file to the terminal equipment.
Preferably, the management instruction is a backup instruction; the execution module comprises:
a backup data acquisition unit, configured to acquire backup data of the terminal device;
the backup data compression unit is used for compressing the backup data to obtain compressed backup data;
and the storage and sending unit is used for storing the compressed backup data to a preset storage area in the terminal equipment and sending the compressed backup data to the cloud server.
Based on the same inventive concept, the invention also provides a software-based remote management device, which is applied to a cloud server, wherein a second container engine runs in the cloud server; the cloud server is in communication connection with a terminal device, and a first container engine runs in the terminal device; the terminal equipment and the cloud server are communicated through the first container engine and the second container engine; the device comprises:
a sending module, configured to send a management instruction to the terminal device through the second container engine, so that the terminal device determines, in the execution components loaded in the first container engine, an execution component corresponding to the management instruction as a component to be executed; and executing the management instruction by operating the component to be executed.
Preferably, the apparatus further comprises:
the acquisition module is used for acquiring the distribution information of the plurality of terminal devices;
and the display module is used for displaying the acquired distribution information in a preset electronic map.
Based on the same inventive concept, the invention further provides a terminal device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the program to realize any one of the software-based remote management methods applied to the terminal device.
Based on the same inventive concept, the invention further provides a cloud server, which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein when the processor executes the program, the software-based remote management method applied to the cloud server is realized.
As can be seen from the above, according to the software-based remote management method, device and equipment provided by the invention, the terminal device receives the management instruction sent by the cloud server through the first container engine, then determines the to-be-executed component corresponding to the management instruction in the execution components loaded in the first container engine, and finally executes the management instruction by operating the to-be-executed component; it is thus clear that in this scheme, communicate through the container engine between high in the clouds server and the terminal equipment, high in the clouds server is unrestricted with terminal equipment's geographical position, and high in the clouds server can carry out remote management to terminal equipment, like this, just need not the technical staff to go to the equipment location, has saved the manpower.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a software-based remote management method applied to a terminal device according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a software-based remote management device applied to a terminal device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to specific embodiments and the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it should be noted that "first" and "second" are merely for convenience of description and should not be construed as limitations of the embodiments of the present invention, and they are not described in any more detail in the following embodiments.
In order to solve the above technical problems, embodiments of the present invention provide a software-based remote management method and apparatus for a terminal device, where the terminal device may be a mobile phone, a tablet computer, an interactive display screen, a touch all-in-one machine, an electronic blackboard, an electronic whiteboard, an intelligent interactive large screen or an intelligent wearable device, and the like, and is not limited specifically. The embodiment of the invention also provides a software-based remote management method and device applied to the cloud server.
The terminal device and the cloud server are both provided with linux systems, for description distinguishing, the linux system provided in the terminal device is called a first linux system, and the linux system provided in the cloud server is called a second linux system. The container engine runs in both linux systems, and for the purpose of distinguishing description, the container engine running in the first linux system is called a first container engine; the container engine running in the second linux system is referred to as the second container engine. The terminal equipment and the cloud server are communicated through the first container engine and the second container engine.
First, a software-based remote management method applied to a terminal device will be described in detail.
Fig. 1 is a schematic flowchart of a software-based remote management method applied to a terminal device according to an embodiment of the present invention, including:
s10, receiving a management instruction sent by the cloud server through the first container engine;
the cloud server sends a management instruction to the terminal equipment through the second container engine, and the terminal equipment receives the management instruction sent by the cloud server through the first container engine; namely, the terminal equipment and the cloud server are in communication connection through the first container engine and the second container engine.
For example, the container engine in this embodiment may be a Docker, and the Docker may be an application container engine running on a linux system. A plurality of container engines can run in one linux system, and communication can be carried out among different container engines. Generally, the coupling degree between different container engines is small, that is, the execution components loaded in different container engines can operate independently, and communication is performed through the container engines, so that the communication error rate can be reduced, and the communication quality can be improved.
For example, teaching software applied in teaching is installed on each terminal device of different schools in each region, in this case, the terminal device may be referred to as a book server, and for the purpose of description differentiation, a Docker on the book server is referred to as a first Docker, and a Docker on the cloud server is referred to as a second Docker. By applying the embodiment of the invention, the cloud server is adopted to carry out unified remote management on the school book servers deployed in various schools. For example, a public network management platform can be deployed on a cloud server, and project platforms for improving teaching quality are respectively deployed on different local school book servers; teaching project platforms deployed on different school book servers are respectively loaded in first dockers of different school book servers, the first dockers on the different school book servers respectively operate in first linux systems configured on corresponding school book servers, a public network management platform is loaded in a second Docker of a cloud server, and the second Docker operates in a second linux system configured on the cloud server. Different project platforms of the same school local server are respectively loaded in different Dockers, and the project platforms can communicate with each other but have smaller coupling degree. The cloud server sends a management instruction to the book server through the second Docker, and the book server receives the management instruction sent by the cloud server through the first Docker.
S20, determining an execution component corresponding to the management instruction in the execution components loaded by the first container engine as a component to be executed;
after the terminal device receives the management instruction sent by the cloud server through the second container engine through the first container engine, the terminal device determines an execution component corresponding to the management instruction in S10 in the execution components loaded by the first container engine, and the execution component serves as a component to be executed.
For example, the cloud server may perform various types of management on the terminal device, such as upgrade management, backup management, and the like; accordingly, the management instructions may be of various types, such as upgrade instructions, backup instructions, and the like; the first container engine is preloaded with execution components corresponding to various management instructions. After the terminal device receives the management instruction, the type of the management instruction can be analyzed, and based on the analysis result, the component to be executed is determined from the execution components loaded by the first container engine.
Continuing the above example, roll call software is widely used in teaching, for example, the roll call software can be used for counting attendance of students; for example, upgrading roll calling software, an instruction for upgrading roll calling software is called an upgrading roll calling software instruction; after the local correction server receives an upgrading roll-call software instruction sent by the cloud server through the first Docker, the local correction server determines an execution component corresponding to the upgrading roll-call software instruction in execution components in the first Docker to serve as a component to be executed.
S30, executing the management instruction by operating the component to be executed;
the terminal server executes the management instruction sent to the terminal device by the cloud end server in S10 by operating the component to be executed determined in step S20.
Continuing with the above example, the book server executes the upgrade roll call software instruction sent to the book server by the cloud-side server in S10 by running the component to be executed determined in S20.
In one case, the terminal device may also actively report data to the cloud server through the first container engine. For example, the terminal device may report the upgrade result of the application software to the cloud server through the first container engine, or report information such as the configuration attribute of the application software to the cloud server through the first container engine, so as to facilitate management of the terminal device by the cloud server.
In one embodiment, the management instruction is an upgrade instruction, and an upgrade file package corresponding to the upgrade instruction can be acquired from the cloud server; in such an embodiment, S30 may include: and decompressing the upgrade file packet by operating the component to be executed to obtain an upgrade file, and installing the upgrade file to the terminal equipment.
Under the condition that the management instruction sent to the terminal equipment by the cloud server is an upgrading instruction, the terminal equipment obtains an upgrading file package corresponding to the upgrading instruction from the cloud server after receiving the upgrading instruction sent by the cloud server. The terminal device may obtain the upgrade file package in multiple ways, for example, the terminal server may download the upgrade file package to a designated location after receiving the upgrade instruction, where the designated location may be a cloud server or other devices other than the cloud server; the terminal server can also send an upgrading file package obtaining request to the cloud server after receiving the upgrading instruction, and the cloud server sends an upgrading file package corresponding to the upgrading instruction to the terminal server after receiving the upgrading file package obtaining request. And after the terminal equipment acquires the upgrade file package, operating the component to be executed determined in the step S20, decompressing the acquired upgrade file package to obtain an upgrade file, and installing the decompressed upgrade file to the terminal equipment. In one case, the cloud server can simultaneously send an upgrade instruction to the terminal devices deployed in various regions, so that the terminal devices deployed in various regions are upgraded, and the cloud server can uniformly manage the terminal devices deployed in various regions. The cloud server can also send an upgrading instruction aiming at a single terminal device, and management is more detailed and convenient. The cloud device also provides management of the upgrade file package and records of upgrade iteration update, and can reflect the upgrade condition and upgrade content of the terminal device more visually.
Continuing the above example, the cloud server sends an upgrade roll call software instruction to the book server through the HTTP request, and after receiving the upgrade roll call software instruction sent by the cloud server, the book server downloads an upgrade roll call software file package corresponding to the upgrade roll call software instruction from the cloud server according to version information of the upgrade roll call software instruction; after obtaining the upgrade roll calling software file package, the book checking server firstly checks the integrity and the effectiveness of the upgrade roll calling software file package, and if the upgrade roll calling software file package does not pass the integrity and the effectiveness check, the check result is fed back to the cloud server; and if the upgrade roll calling software file package passes the integrity and validity check, the book server operates the component to be executed in the first Docker, decompresses the obtained upgrade roll calling software file package to obtain an upgrade roll calling software file, and installs the decompressed upgrade roll calling software file to the book server. Under the condition, aiming at a single school book server, the cloud server can provide functions of data backup, version upgrading, data information statistics and the like, after public network IP configuration is carried out on the school book server, the cloud server can carry out maintenance and management on the school book server, and communication is carried out through HTTP requests.
In one embodiment, the upgrade instruction may further include upgrade time; in this embodiment, it may be determined whether the current time reaches the upgrade time, and if so, the step of operating the to-be-executed component, decompressing the upgrade file packet to obtain the upgrade file, and installing the upgrade file to the terminal device may be performed.
The upgrading instruction received by the terminal equipment comprises upgrading time which is staggered with the time period of using the terminal equipment by a user, so that the condition that the terminal equipment executes the upgrading instruction and conflicts occur between the terminal equipment used by the user and the condition that the terminal equipment conflicts occur among the terminal equipment are reduced. After receiving the upgrade instruction sent by the cloud server, the terminal device obtains an upgrade file packet corresponding to the upgrade instruction from the cloud server, then judges whether the current time reaches the upgrade time included in the upgrade instruction, if the current time reaches the upgrade time, the terminal device operates the component to be executed determined in the step S20, decompresses the obtained upgrade file packet to obtain an upgrade file, and installs the decompressed upgrade file to the terminal device.
Continuing the above example, the upgrade roll-call software instruction received by the book server includes the upgrade roll-call software time, and the upgrade roll-call software time is staggered with the use time of the book server by the school, so as to prevent the book server from executing the upgrade roll-call software instruction and causing conflict between the user using the book server. After receiving an upgrading roll calling software instruction sent by a cloud server, a book checking server downloads an upgrading roll calling software file package corresponding to the upgrading roll calling software instruction from the cloud server according to version information of the upgrading roll calling software instruction; judging whether the current time reaches the time of upgrading roll calling software, if the current time reaches the time of upgrading roll calling software, operating a component to be executed in a first Docker by the school host server, decompressing an obtained upgrade roll calling software file package to obtain an upgrade roll calling software file, installing the decompressed upgrade roll calling software file to the school host server for upgrading, and feeding back an execution result of an upgrade roll calling software instruction to the cloud server through an HTTP request.
In one case, after the book server acquires the upgrade roll-call software file package, a timing task can be created according to the upgrade roll-call software time, and the execution time of the timing task is set, namely, the roll-call software is upgraded at a specific time or according to a specific period by appointed terminal equipment; judging whether the current time reaches the timing task execution time, if so, operating a to-be-executed component in a first Docker by the school host server, decompressing the obtained upgrade roll calling software file packet to obtain an upgrade roll calling software file, installing the decompressed upgrade roll calling software file to the school host server for upgrading, and feeding back the execution result of the upgrade roll calling software instruction to the cloud server through an HTTP request. For example, the component to be executed is a shell script.
In one embodiment, the management command is a backup command; s30 may include: acquiring backup data of the terminal equipment; compressing the backup data to obtain compressed backup data; and storing the compressed backup data to a preset storage area of the terminal equipment, and sending the compressed backup data to a cloud server.
When the management instruction sent to the terminal device by the cloud server is a backup instruction, the terminal device obtains backup data of the terminal device after receiving the backup instruction sent by the cloud server, then compresses the backup data to obtain compressed backup data, then stores the compressed backup data in a preset storage area in the terminal device, and sends the compressed backup data to the cloud server, namely, the compressed backup data is backed up in the terminal device and the cloud server at the same time, double backup is realized on the compressed backup data, and the data security of the terminal device is ensured. In one case, the cloud server can simultaneously send backup instructions to the terminal devices deployed in various places, so that the terminal devices deployed in various places all perform data backup, and the cloud server can uniformly manage the terminal devices deployed in various places. The cloud server can also send a backup instruction for a single terminal device to perform specific management.
Continuing the above example, the cloud server sends a data backup instruction to the book server through the HTTP request, and the book server obtains the book server backup data after receiving the data backup instruction; if the terminal equipment fails to backup the data, the backup result is fed back to the cloud server; if the terminal equipment successfully backs up the data, compressing the backup data of the book server to obtain compressed backup data of the book server; the method comprises the steps that the compressed backup data of the book checking server are stored in a preset storage area of the book checking server by the book checking server, the compressed backup data of the book checking server are sent to the cloud server through the HTTP request, the compressed backup data of the book checking server are dual backed up by the cloud server and the book checking server, and the data safety of the book checking server is guaranteed.
In an embodiment of the present invention, a software-based remote management method applied to a cloud server is provided, including:
sending a management instruction to the terminal equipment through the second container engine so that the terminal equipment determines an execution component corresponding to the management instruction in the execution components loaded by the first container engine as a component to be executed; and executing the management instruction by operating the component to be executed.
The cloud server sends a management instruction to the terminal equipment through the second container engine, and the terminal equipment receives the management instruction sent by the cloud server through the first container engine; the terminal equipment and the cloud server are in communication connection through the first container engine and the second container engine; the second container engine of the cloud server can perform unified management on the first container engines of the terminal devices.
For example, the container engine in this embodiment may be a Docker, and the Docker may be an application container engine running on a linux system. A plurality of container engines can run in one linux system, and communication can be carried out among different container engines. Generally, the coupling degree between different container engines is small, that is, the execution components loaded in different container engines can operate independently, and communication is performed through the container engines, so that the communication error rate can be reduced, and the communication quality can be improved.
The cloud server sends a management instruction to the terminal equipment through the second container engine, and the terminal equipment determines an execution component corresponding to the received management instruction as a component to be executed in an execution component loaded by the first container engine after receiving the management instruction; the management instructions are then executed by running the component to be executed.
In one embodiment, distribution information of a plurality of terminal devices can be acquired; and displaying the acquired distribution information in a preset electronic map.
The cloud server acquires the distribution information of the plurality of terminal devices, and then the acquired distribution information of the plurality of terminal devices is displayed in a preset electronic map in the cloud server. In one case, the distribution information includes the number of terminal devices deployed in each region, the distribution conditions of the terminal devices in each region, and the like. And displaying the distribution condition of the plurality of terminal devices in detail in a preset electronic map so as to facilitate retrieval of terminal devices deployed in various places.
Continuing the above example, the cloud server obtains the number of the book servers deployed in the schools, the distribution of the book servers, the teaching items loaded in the second Docker of the book servers, the number of the devices used in the teaching items, and the like, and displays the above conditions in the electronic map of the cloud server, thereby providing a retrieval function for the book servers deployed in the schools. For example, by retrieving the electronic map, the number and distribution of the school book servers deployed in the Beijing area school and the information such as teaching items loaded in the school book servers can be accurately and quickly obtained.
Fig. 2 is a schematic structural diagram of a software-based remote management device applied to a terminal device according to an embodiment of the present invention, including:
the receiving module 201 is configured to receive, through the first container engine, a management instruction sent by the cloud server;
a to-be-executed component determining module 202, configured to determine, as a to-be-executed component, an execution component corresponding to the management instruction in the execution components loaded by the first container engine;
and the execution module 203 is used for executing the management instruction by running the component to be executed.
In one embodiment, the management instructions are upgrade instructions; further comprising: an upgrade file package obtaining module (not shown in the figure) configured to obtain an upgrade file package corresponding to the upgrade instruction from the cloud server;
the execution module 203 includes:
and the upgrading instruction execution unit is used for decompressing the upgrading file packet by operating the component to be executed to obtain an upgrading file and installing the upgrading file to the terminal equipment.
In one embodiment, the upgrade instruction includes upgrade time; in this embodiment, the method further comprises:
and the time judgment module (not shown in the figure) is used for judging whether the current time reaches the upgrading time or not, if so, executing the steps of operating the component to be executed, decompressing the upgrading file packet to obtain an upgrading file, and installing the upgrading file to the terminal equipment.
In one embodiment, the management instructions are backup instructions; the execution module 203 includes:
the backup data acquisition unit is used for acquiring the backup data of the terminal equipment;
the backup data compression unit is used for compressing the backup data to obtain compressed backup data;
and the storage and sending unit is used for storing the compressed backup data to a preset storage area in the terminal equipment and sending the compressed backup data to the cloud server.
In another embodiment of the present invention, a software-based remote management apparatus applied to a cloud server is further provided, including:
the sending module is used for sending a management instruction to the terminal equipment through the second container engine so that the terminal equipment determines an execution component corresponding to the management instruction in the execution components loaded by the first container engine to serve as a component to be executed; and executing the management instruction by operating the component to be executed.
In one embodiment, the method further comprises:
the acquisition module is used for acquiring the distribution information of the plurality of terminal devices;
and the display module is used for displaying the acquired distribution information in a preset electronic map.
The apparatus of the foregoing embodiment is used to implement the corresponding method in the foregoing embodiment, and has the beneficial effects of the corresponding method embodiment, which are not described herein again.
In an embodiment of the present invention, there is also provided a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement any one of the software-based remote management methods applied to the terminal device.
In an embodiment of the present invention, there is also provided a cloud server, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement any one of the above-mentioned software-based remote management methods applied to the cloud server.
In one embodiment of the invention, there is also provided a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform any of the methods described above.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, is limited to these examples; within the idea of the invention, also features in the above embodiments or in different embodiments may be combined, steps may be implemented in any order, and there are many other variations of the different aspects of the invention as described above, which are not provided in detail for the sake of brevity.
In addition, well known power/ground connections to Integrated Circuit (IC) chips and other components may or may not be shown within the provided figures for simplicity of illustration and discussion, and so as not to obscure the invention. Furthermore, devices may be shown in block diagram form in order to avoid obscuring the invention, and also in view of the fact that specifics with respect to implementation of such block diagram devices are highly dependent upon the platform within which the present invention is to be implemented (i.e., specifics should be well within purview of one skilled in the art). Where specific details (e.g., circuits) are set forth in order to describe example embodiments of the invention, it should be apparent to one skilled in the art that the invention can be practiced without, or with variation of, these specific details. Accordingly, the description is to be regarded as illustrative instead of restrictive.
While the present invention has been described in conjunction with specific embodiments thereof, many alternatives, modifications, and variations of these embodiments will be apparent to those of ordinary skill in the art in light of the foregoing description. For example, other memory architectures (e.g., dynamic ram (dram)) may use the discussed embodiments.
The embodiments of the invention are intended to embrace all such alternatives, modifications and variances that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, substitutions, improvements and the like that may be made without departing from the spirit and principles of the invention are intended to be included within the scope of the invention.

Claims (14)

1. A remote management method based on software is characterized in that the method is applied to terminal equipment, and a first container engine runs in the terminal equipment; the terminal equipment is in communication connection with a cloud server, and a second container engine runs in the cloud server; the terminal equipment and the cloud server are communicated through the first container engine and the second container engine; the method comprises the following steps:
receiving, by the first container engine, a management instruction sent by the cloud server;
determining an execution component corresponding to the management instruction in the execution components loaded by the first container engine as a component to be executed;
and executing the management instruction by operating the component to be executed.
2. The method of claim 1, wherein the management instruction is an upgrade instruction; the method further comprises the following steps:
obtaining an upgrade file packet corresponding to the upgrade instruction from the cloud server;
the executing the management instruction by operating the component to be executed includes:
and decompressing the upgrade file packet by operating the component to be executed to obtain an upgrade file, and installing the upgrade file to the terminal equipment.
3. The method of claim 2, wherein the upgrade instructions include an upgrade time; the method further comprises the following steps:
judging whether the current time reaches the upgrading time, if so, executing the component to be executed by running, decompressing the upgrading file packet to obtain an upgrading file, and installing the upgrading file to the terminal equipment.
4. The method of claim 1, wherein the management instructions are backup instructions; the executing the management instruction by operating the component to be executed includes:
acquiring backup data of the terminal equipment;
compressing the backup data to obtain compressed backup data;
and storing the compressed backup data to a preset storage area in the terminal equipment, and sending the compressed backup data to the cloud server.
5. The software-based remote management method is applied to a cloud server, wherein a second container engine runs in the cloud server; the cloud server is in communication connection with a terminal device, and a first container engine runs in the terminal device; the terminal equipment and the cloud server are communicated through the first container engine and the second container engine; the method comprises the following steps:
sending a management instruction to the terminal equipment through the second container engine, so that the terminal equipment determines an execution component corresponding to the management instruction in the execution components loaded by the first container engine as a component to be executed; and executing the management instruction by operating the component to be executed.
6. The method of claim 5, further comprising:
acquiring distribution information of a plurality of terminal devices;
and displaying the acquired distribution information in a preset electronic map.
7. A remote management device based on software is characterized in that the remote management device is applied to terminal equipment, and a first container engine runs in the terminal equipment; the terminal equipment is in communication connection with a cloud server, and a second container engine runs in the cloud server; the terminal equipment and the cloud server are communicated through the first container engine and the second container engine; the device comprises:
the receiving module is used for receiving a management instruction sent by the cloud server through the first container engine;
a to-be-executed component determining module, configured to determine, as a to-be-executed component, an execution component corresponding to the management instruction from among the execution components loaded by the first container engine;
and the execution module is used for executing the management instruction by operating the component to be executed.
8. The apparatus of claim 7, wherein the management instruction is an upgrade instruction; the device further comprises:
the upgrading file package obtaining module is used for obtaining an upgrading file package corresponding to the upgrading instruction from the cloud server;
the execution module comprises:
and the upgrading instruction execution unit is used for decompressing the upgrading file packet by operating the component to be executed to obtain an upgrading file and installing the upgrading file to the terminal equipment.
9. The apparatus of claim 8, wherein the upgrade instructions include an upgrade time; the device further comprises:
and the time judgment module is used for judging whether the current time reaches the upgrading time or not, if so, executing the steps of operating the component to be executed, decompressing the upgrading file packet to obtain an upgrading file, and installing the upgrading file to the terminal equipment.
10. The apparatus of claim 7, wherein the management command is a backup command; the execution module comprises:
a backup data acquisition unit, configured to acquire backup data of the terminal device;
the backup data compression unit is used for compressing the backup data to obtain compressed backup data;
and the storage and sending unit is used for storing the compressed backup data to a preset storage area in the terminal equipment and sending the compressed backup data to the cloud server.
11. The software-based remote management device is applied to a cloud server, wherein a second container engine runs in the cloud server; the cloud server is in communication connection with a terminal device, and a first container engine runs in the terminal device; the terminal equipment and the cloud server are communicated through the first container engine and the second container engine; the device comprises:
a sending module, configured to send a management instruction to the terminal device through the second container engine, so that the terminal device determines, in the execution components loaded in the first container engine, an execution component corresponding to the management instruction as a component to be executed; and executing the management instruction by operating the component to be executed.
12. The apparatus of claim 11, further comprising:
the acquisition module is used for acquiring the distribution information of the plurality of terminal devices;
and the display module is used for displaying the acquired distribution information in a preset electronic map.
13. A terminal device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method according to any one of claims 1 to 4 when executing the program.
14. Cloud server comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the program to implement the method according to any one of claims 5 to 6.
CN201910569681.6A 2019-06-27 2019-06-27 Remote management method, device and equipment based on software Active CN111355772B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910569681.6A CN111355772B (en) 2019-06-27 2019-06-27 Remote management method, device and equipment based on software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910569681.6A CN111355772B (en) 2019-06-27 2019-06-27 Remote management method, device and equipment based on software

Publications (2)

Publication Number Publication Date
CN111355772A true CN111355772A (en) 2020-06-30
CN111355772B CN111355772B (en) 2023-10-27

Family

ID=71198061

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910569681.6A Active CN111355772B (en) 2019-06-27 2019-06-27 Remote management method, device and equipment based on software

Country Status (1)

Country Link
CN (1) CN111355772B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113568658A (en) * 2021-08-13 2021-10-29 中国科学院西北生态环境资源研究院 Multilingual geography online service method and device, storage medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105204898A (en) * 2015-09-16 2015-12-30 浪潮通用软件有限公司 Application deployment system and method and control server
CN105490860A (en) * 2015-12-24 2016-04-13 北京奇虎科技有限公司 Method, device and system for deploying application program operation environment
CN106325975A (en) * 2016-09-09 2017-01-11 浪潮软件股份有限公司 Method for automatically deploying and managing big data clusters through Docker container
CN107436790A (en) * 2017-08-14 2017-12-05 郑州云海信息技术有限公司 A kind of component upgrade management method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105204898A (en) * 2015-09-16 2015-12-30 浪潮通用软件有限公司 Application deployment system and method and control server
CN105490860A (en) * 2015-12-24 2016-04-13 北京奇虎科技有限公司 Method, device and system for deploying application program operation environment
CN106325975A (en) * 2016-09-09 2017-01-11 浪潮软件股份有限公司 Method for automatically deploying and managing big data clusters through Docker container
CN107436790A (en) * 2017-08-14 2017-12-05 郑州云海信息技术有限公司 A kind of component upgrade management method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113568658A (en) * 2021-08-13 2021-10-29 中国科学院西北生态环境资源研究院 Multilingual geography online service method and device, storage medium and electronic equipment
CN113568658B (en) * 2021-08-13 2023-09-19 中国科学院西北生态环境资源研究院 Multi-language geoscience online service method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN111355772B (en) 2023-10-27

Similar Documents

Publication Publication Date Title
CN106383786B (en) Interface pressure performance testing method and device and electronic equipment
CN105988926B (en) The treating method and apparatus of multi version test data
CN103051692B (en) Support the mobile operating system works platform of limit network environment
US8855627B2 (en) System and method for enhanced diagnostics on mobile communication devices
CN105262608B (en) Monitoring method and device for network service
KR101229858B1 (en) Web-based system and method for sharing testing devices
CN107644075B (en) Method and device for collecting page information
CN108347356B (en) Multi-protocol unit testing method and device, electronic equipment and storage medium
CN107122207A (en) Method for upgrading software, client device and server
CN106339273A (en) Application program restoration method, terminal and server
CN103530226A (en) Method and device for testing peripheral compatibility of electronic device
CN111352836A (en) Pressure testing method and related device
CN105338564B (en) A kind of client adaptation method, client, server and system
CN105786636B (en) A kind of system repair and device
CN112486946A (en) Version confirmation method, version confirmation system, electronic equipment and storage medium
CN111355772B (en) Remote management method, device and equipment based on software
CN103347029A (en) Method, terminal, server and system for service data interaction
CN111045940A (en) Software automation test method, device, architecture, server and storage medium
CN109842497B (en) Configuration updating method and device of DNS (Domain name Server), terminal equipment and configuration updating system
CN115129574A (en) Code testing method and device
CN110941559B (en) Automatic test method and system
CN112650689A (en) Test method, test device, electronic equipment and storage medium
CN111612947A (en) Method, equipment and storage medium for processing communication abnormity of intelligent lock
CN105893502A (en) Code synchronization method and device
CN116450353A (en) Processor core matching method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant