CN117272284B - Application program management and control system, method, application server and medium - Google Patents

Application program management and control system, method, application server and medium Download PDF

Info

Publication number
CN117272284B
CN117272284B CN202311179751.XA CN202311179751A CN117272284B CN 117272284 B CN117272284 B CN 117272284B CN 202311179751 A CN202311179751 A CN 202311179751A CN 117272284 B CN117272284 B CN 117272284B
Authority
CN
China
Prior art keywords
module
application
control
application program
service
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
CN202311179751.XA
Other languages
Chinese (zh)
Other versions
CN117272284A (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.)
Hebei Weikun Electronic Technology Co ltd
Original Assignee
Hebei Weikun Electronic 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 Hebei Weikun Electronic Technology Co ltd filed Critical Hebei Weikun Electronic Technology Co ltd
Priority to CN202311179751.XA priority Critical patent/CN117272284B/en
Publication of CN117272284A publication Critical patent/CN117272284A/en
Application granted granted Critical
Publication of CN117272284B publication Critical patent/CN117272284B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/52Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems during program execution, e.g. stack integrity ; Preventing unwanted data erasure; Buffer overflow
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Abstract

The application is applicable to the technical field of electronic information, and provides a management and control system, a management and control method, an application server and a medium of an application program, wherein the system comprises: the system comprises a user view module, a service management and control module, an agent program module and an application service module; the agent program module and the application service module are installed on an application server; the application service module is provided with a plurality of application programs; the user view module is used for sending the control command to the service management and control module; the control command includes information of the target application program; the service management and control module is used for receiving the control command and forwarding the control command to the agent program module; and the agent program module is used for selecting and controlling the target application program from the plurality of application programs of the application service module based on the control command. According to the method and the device, the plurality of application programs can be installed in the single server at the same time, and accurate management and control of the plurality of applications on the single device are achieved.

Description

Application program management and control system, method, application server and medium
Technical Field
The application belongs to the technical field of electronic information, and particularly relates to a management and control system and method of an application program, an application server and a medium.
Background
Currently, the installation of application programs on a server adopts a manual installation mode. And planning the servers according to the requirements by an administrator, gradually determining the application programs which should be installed on each server, and then installing the application programs on the corresponding servers one by one. Such a deployment requires that the manager be familiar with the installation rules of various types of software and keep in mind the software that each server should configure. Often resulting in a large number of repeated deployment tasks for the manager, with high time and labor costs.
The requirements for the server are not very high for the test environment and the small-scale use environment, and each application program does not need to be installed in a different server. However, since only one application can be controlled on one server, if a plurality of application programs are installed on a single server at the same time, confusion of application program monitoring and management is caused, which is not beneficial to use of operators.
Therefore, how to manage multiple applications for a single server with multiple applications installed is in need of solution.
Disclosure of Invention
In order to overcome the problems in the related art, the embodiments of the present application provide a system, a method, an application server, and a medium for managing and controlling application programs, so as to solve the problem of how to manage and control multiple application programs for a single application server installed with multiple applications.
The application is realized by the following technical scheme:
in a first aspect, an embodiment of the present application provides a method for controlling an application program, including a user view module, a service control module, an agent module, and an application service module; the agent program module and the application service module are installed on an application server; the application service module is provided with a plurality of application programs;
the user view module is used for sending the control command to the service management and control module; the control command includes information of the target application program;
the service management and control module is used for receiving the control command and forwarding the control command to the agent program module;
and the agent program module is used for selecting and controlling the target application program from the plurality of application programs of the application service module based on the control command.
In a possible implementation manner of the first aspect, the agent module is specifically configured to:
establishing a target session channel with the application service module based on the information of the target application program;
executing a control command through a target session channel to control the operation of a target application program;
and receiving the operation result of the target application program and sending the operation result to the service management and control module.
In a possible implementation manner of the first aspect, the agent module is specifically configured to:
based on the information of the target application program, initiating a session to an application service module, and linking with the target application program;
if the link is successful, establishing a target session channel with the application service module, and sending information of the successful link to the service management and control module;
if the link is unsuccessful, the target session channel cannot be established with the application service module, and the information of the link failure is sent to the service management and control module.
In a possible implementation manner of the first aspect, the service management module is further configured to:
receiving an operation result returned by the agent program module; the running result comprises the execution information and the application information of the target application program;
and sending the operation result to the user view module.
In a possible implementation manner of the first aspect, the user view module is further configured to send the installation command to the service management module before sending the control command to the service management module;
the service management and control module is also used for receiving the installation command and forwarding the installation command to the agent program module; the installation command comprises installation information of the target application program;
The agent program module is also used for receiving the installation command, installing the target application program on the application service module based on the installation information of the target application program, and generating application installation feedback data of the target application program;
the service management and control module is also used for receiving the application installation feedback data sent by the agent program module and sending the application installation feedback data to the user view module.
In a second aspect, an embodiment of the present application provides a method for controlling an application, which is applied to an agent module in a control system of any one of the application in the first aspect, including:
receiving a control command forwarded by a service management and control module; the control command is sent to the service management and control module by the user view module; the control command includes information of the target application program;
selecting and controlling a target application program from a plurality of application programs of the application service module based on the control command; the agent program module and the application service module are installed on an application server; the application service module includes a plurality of application programs.
In a possible implementation manner of the second aspect, selecting and controlling the target application program from the plurality of application programs of the application service module based on the control command includes:
Establishing a target session channel with the application service module based on the information of the target application program;
executing a control command to control the operation of a target application program through a target session channel;
and receiving the operation result of the target application program, and sending the operation result to the service management and control module so that the service management and control module feeds back the operation result to the user view module.
In a possible implementation manner of the second aspect, the method for controlling an application program, before receiving a control command forwarded by the service control module, further includes:
receiving an installation command forwarded by a service management and control module; the installation command is sent to the service management and control module by the user view module; the installation command includes information of the target application;
installing a target application program on the application service module based on the installation command;
after installing the target application program, generating application installation feedback data of the target application program;
and sending the installation feedback data to the service management and control module so that the service management and control module feeds back the operation result to the user view module.
In a third aspect, an embodiment of the present application provides an application server, including a memory and a processor, where the memory stores a computer program that can be executed on the processor, and the processor implements a method for managing an application program according to the first aspect when the processor executes the computer program.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium storing a computer program, where the computer program is executed by a processor to implement a method for controlling an application program according to the first aspect.
Compared with the related art, the embodiment of the application has the beneficial effects that:
according to the application program management and control system, the service management and control module and the agent program module are utilized to isolate user operation from the application program, the agent program module receives the control command transmitted from the service management and control module, and selects and manages the target application program from the application programs, so that a plurality of applications installed on a single application server are remotely controlled, and accurate management and control can be performed on each target application program.
The advantages of the second to fourth aspects are referred to as the advantages of the control method of the application of the first aspect, and are not described herein.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments or the description of the related art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort to a person of ordinary skill in the art.
Fig. 1 is an application scenario schematic diagram of a management and control system for an application program according to an embodiment of the present application;
FIG. 2 is a schematic structural diagram of a control system of an application according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a specific structure of a control system of an application according to an embodiment of the present application;
FIG. 4 is a flowchart illustrating a method for managing an application according to an embodiment of the present disclosure;
FIG. 5 is a schematic diagram illustrating interactions between modules in a process of controlling an application according to an embodiment of the present disclosure;
FIG. 6 is a schematic diagram illustrating interactions between modules during installation of an application according to one embodiment of the present application;
fig. 7 is a schematic structural diagram of an application server according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system configurations, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It should be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
As used in this specification and the appended claims, the term "if" may be interpreted as "when..once" or "in response to a determination" or "in response to detection" depending on the context. Similarly, the phrase "if a determination" or "if a [ described condition or event ] is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of a [ described condition or event ]" or "in response to detection of a [ described condition or event ]".
In addition, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used merely to distinguish between descriptions and are not to be construed as indicating or implying relative importance.
Reference in the specification to "one embodiment" or "some embodiments" or the like means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments" unless expressly specified otherwise. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
In order that those skilled in the art will better understand the present invention, a technical solution in the examples of the present application will be clearly and completely described in the following with reference to the accompanying drawings and detailed description, and it is apparent that the described examples are only some examples of the present invention, not all examples. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The problem that when a plurality of application programs are simultaneously installed in a single server, monitoring and management of the application programs are disordered and are unfavorable for use of operators is caused. Taking a chess system as an example, the chess system is a command training system and consists of sixty types of application programs. In general, the chess system adopts distributed deployment, and the chess application program is deployed in a plurality of servers according to the deduction requirement of the chess. However, the informationized construction conditions of the areas where the individual application chess systems train are quite different, and for areas where informationized resources are intense, multiple chess application programs often need to be deployed on a single service node.
At this time, how to deploy a plurality of applications on a single service node and how to implement management and control of the plurality of applications after deploying the plurality of applications need to be solved. Meanwhile, in the process of realizing the management and control of a plurality of application programs aiming at a single service node, the management and control system and the application server where the application programs are located are directly interacted as much as possible under the condition of shortage of informationized resources, so that the system resource consumption is reduced.
Therefore, the application program management and control system is provided, a plurality of application programs on a single service node are accurately managed and controlled on the same equipment based on the agent program, and user operation and the application programs are isolated by using two stages of the service management and control module and the agent program module. And accurately managing and controlling different application programs by using the agent program module, wherein the agent program module installs the application programs based on the installation command transmitted from the service management and control module, executes the control command through a session mode based on the control command transmitted from the service management and control module, and returns messages of the different application programs to the service management and control module through the session mode. The service management and control module returns a message by analyzing the application program and presents it to the user. The agent program module is arranged, but a session mode is utilized to enable an operating system of a user to interact with an application server where an application program is located directly, a large number of servers are not required to be arranged, the number of server requirements is reduced, human intervention is reduced, and deployment and management and control efficiency is improved.
By way of example, the embodiments of the present application may be applied to an exemplary scenario as shown in fig. 1. In this scenario, the devices involved in the application scenario include the management server 100 and the application server 200. Socket communication is established between the management server 100 and the application server 200.
The management server 100 may transmit commands to the application server 200, where the commands may include an application installation command, an application uninstallation command, a control command, and the like. The application server 200 installs the application program according to the information in the command, and responds to the corresponding command. The number of the application servers 200 may be at least one, or may be a plurality of, and the application servers 200 may generate at least one feedback information corresponding to the command and send the feedback information to the management server 100, or may generate respective feedback information by a plurality of application servers 200 and then send the feedback information to the management server 100.
Fig. 2 is a structural diagram of a control system of an application program according to an embodiment of the present application, and with reference to fig. 2, the control system of the application program is described in detail as follows:
a system for managing and controlling an application program, comprising: a user view module 101, a service management module 102, an agent module 201, and an application service module 202; the application service module 202 installs a plurality of application programs.
Illustratively, the management server 100 is disposed on an operating system of a user, and the management server 100 may include a user view module 101 and a service management module 102. The user view module 101 is linked with the service management and control module 102 through WebSocket. The single application server 200 includes a proxy module 201 and an application service module 202. The service management and control module 102 serves as an intermediate module that interacts with the user view module 101 and the agent module 201, and establishes Socket communication with the agent module 201.
When an application needs to be managed, the application is regarded as a target application.
The user view module 101 is configured to send a control command to the service management and control module 102; the control command includes information of the target application.
The service management and control module 102 is configured to receive the control command and forward the control command to the agent module 201.
The agent module 201 is configured to select and manage a target application program from a plurality of application programs of the application service module 202 based on the control command.
Illustratively, the user view module 101 includes a service state management unit and a remote command management unit, as shown in fig. 3, in the service state management unit of the user view module 101, a state of an application program executed by a current session of a user is provided, and the user can select to keep or stop the current session of the application program. In the remote command management unit, the user may select a different control command or other command and send it to the service management module 102.
The service management module 102, as an intermediate module that interacts with the user view module 101 and the agent module 201, includes a service state analysis unit and a remote command conversion unit. The service state analysis determines the currently executed application program according to the state of the session link in the proxy end and returns the currently executed application program to the user view module 101, and the remote command conversion converts the currently executed application program into a relevant command which can be executed according to the control command or other commands transmitted from the user view module 101 and sends the relevant command to the proxy program module 201.
Illustratively, the agent module 201 includes a session manager for storing a plurality of session links, generating a session through one session link, and transmitting a control command to a corresponding application through a session channel of the session. The command executor is used for executing commands such as an application deployment class, a process management class, a load monitoring class, a service identification class and the like. The agent module 201 is specifically configured to: establishing a target session channel with the application service module 202 based on the information of the target application program; executing a control command to control the operation of a target application program through a target session channel; the result of the operation of the target application is received and sent to the service management and control module 102.
Illustratively, when multiple target applications are managed, the agent module 201 is specifically configured to: establishing a plurality of corresponding target session channels with the application service module 202 based on the information of the plurality of target applications; executing control command to control corresponding target application program operation through each target session channel; the results of the operation of the plurality of target applications are received and sent to the service management and control module 102.
In the process of managing the application program, the user view module 101 provides an interactive interface, presents the execution result of the application program to the user, and sends the operation performed by the user to the service management module 102. The service management and control module 102 is responsible for receiving a command sent by a user and forwarding the command to the agent program module 201, and receiving an operation result returned by the agent program module 201, and the service management and control module 102 returns the operation result to the user view module 101 after calculating, analyzing and storing the operation result. The running result comprises execution information and application information. The agent module 201 is mainly responsible for establishing session links with the application service module 202 where the application program is located, generating a session, monitoring the execution state of the application program by using a session channel of the session, and sending the execution information and the encapsulated application message to the service management and control module 102.
The agent module 201 is exemplary, and specifically is configured to: based on the information of the target application, a session is initiated to the application service module 202, linking with the target application.
If the link is successful, a target session channel is established with the application service module 202, and information of the successful link is sent to the service management and control module 102.
If the link is unsuccessful, the target session channel cannot be established with the application service module 202, and the information of the link failure is sent to the service management and control module 102.
Illustratively, after the application service module 202 monitors the execution state of the application program by using the session channel, and encapsulates the returned application message to send the application message to the service management and control module 102, the service management and control module 102 is further configured to: receiving an operation result returned by the agent module 201; the running result comprises the execution information and the application information of the target application program; the result of the operation is sent to the user view module 101. The application message may include log information, the execution information characterizing an execution state of the application program.
In this embodiment, although the agent module 201 is provided, the session mode is used to directly interact with the application server 200 where the application program is located by the operating system of the user, so that a large number of servers are not required to be provided, the number of server requirements is reduced, human intervention is reduced, and deployment and management and control efficiency is improved.
In one embodiment, when an application program that is not installed in the application service module 202 is managed, the application program needs to be installed in the application service module 202. At this time, the user view module 101 is further configured to send an installation command to the service management module 102 before sending the control command to the service management module 102.
The service management and control module 102 is further configured to receive an installation command, and forward the installation command to the agent module 201; the install command includes install information of the target application.
The agent module 201 is further configured to receive an installation command, install the target application on the application service module 202 based on the installation information of the target application, and generate application installation feedback data of the target application.
The service management and control module 102 is further configured to receive the application installation feedback data sent by the agent module 201, and send the application installation feedback data to the user view module 101.
For example, when installing or controlling a plurality of application programs, since the formats and contents of application program information of different systems are different, or the installation steps of different application programs of the same system are different, there is also a step of installing an application, which corresponds to the case of different instruction interactions several times. The service management and control module 102 converts the installation command into an identifiable installation command according to the application information contained in the installation command, and sends the identifiable installation command to the agent module 201. The agent module 201 sequentially executes different commands in the order of the steps of application installation according to the obtained identifiable installation command, and returns application installation feedback data to the service management and control module 102. The application installation feedback data may include information of installation success or installation failure, among others.
In the embodiment, the service management module 102 and the agent module 201 are utilized to isolate user operation from application programs, the agent module 201 receives a control command transmitted from the service management module 102, selects and manages a target application program from a plurality of application programs, realizes remote control of a plurality of applications installed on a single application server, and can accurately manage each target application program.
Another embodiment of the present application provides a method for controlling an application, referring to fig. 4, applied to an agent module 201 in a control system of the application, including:
step 301, receiving a control command forwarded by a service management and control module; the control command is sent to the service management and control module by the user view module; the control command includes information of the target application.
For example, when a plurality of application servers are deployed, each application server generally installs only one application program to provide services, and different applications can be identified according to different application servers. In this application, when a plurality of different applications are installed on the same application server 200 to provide services, the different applications need to be distinguished.
After the user selects the application software on the user view module 101, the service management and control module 102 receives the control command. The user view module 101 includes a service status management unit and a remote command management unit. The user can decide to issue different control commands according to the current execution state of each application program in the service state management unit. Control commands are issued by the remote command management unit to the service management module 102. In order to distinguish between different applications, when the user view module 101 issues a control instruction, the control instruction is bound with information of the target application, so that the control instruction includes the information of the target application.
When controlling a plurality of applications, the service management and control module 102 converts the control command into an identifiable control command by the remote command conversion unit according to the application information contained in the control command and sends the identifiable control command to the agent module 201, because the formats and contents of the application information of different systems are different or the control processes of different applications of the same system are different.
The control commands include commands of an application deployment class, a process management class, a load monitoring class and a service identification class, and specifically may be other control commands such as an application identification command, an application start and stop command, a process management command, a load monitoring command and the like.
Illustratively, in the service state management of the user view module 101, the state of an application program executed by a current session of a user is provided, and the user may choose to keep or stop the current session of the application program. In the remote command management module, the user may select and send different control commands or other commands to the service management module 102.
The service management and control module 102 has functions of service status analysis and remote command conversion as an intermediate module interacting with the user view module 101 and the agent module 201. The service state analysis determines the currently executed application program according to the state of the session link in the proxy end and returns the currently executed application program to the user view module 101, and the remote command conversion converts the currently executed application program into a relevant command which can be executed according to the control command or other commands transmitted from the user view module 101 and sends the relevant command to the proxy program module 201.
Step 302, selecting and controlling a target application program from a plurality of application programs of an application service module based on a control command; the agent program module and the application service module are installed on an application server; the application service module includes a plurality of application programs.
Illustratively, in step 302, selecting and managing a target application from a plurality of applications of the application service module 202 based on the control command includes:
in step 3021, a target session channel is established with the application service module 202 based on the information of the target application.
In step 3021, a link session is initiated with the application service module 202 to link with the target application based on the information of the target application.
If the link is successful, a target session channel is established with the application service module 202, and information of the successful link is sent to the service management and control module 102.
If the link is unsuccessful, the target session channel cannot be established with the application service module 202, and the information of the link failure is sent to the service management and control module 102.
For example, after the service management and control module 102 receives a control command for controlling a process of a target application program, a corresponding target application program is selected according to information of the target application program controlled in the control command, and an execution state of the target application program is analyzed to determine whether the target application program has established a session link in the agent module 201, so as to form a session channel. If the agent module 201 has established a session link with the target application, the agent module 201 returns information to the service management and control module 102 that the link was successful, such as "program is executing", so that the service management and control module 102 sends the "program is executing" information to the user view module 101 informing the user. If the agent module 201 does not establish a session link with the target application, the remote command management unit transmits an application identification command, and after receiving the application identification command, the agent module 201 initiates a link session with the application service module 202.
Illustratively, the proxy module 201 initiates a link session with the application service module 202 upon receiving the application identification command, and selects a target application from the plurality of applications.
First, as shown in fig. 5, the service management and control module 102 sends an application identification command sent by the user view module 101 to the agent module 201 to establish management and control of application programs, and the application service module 202 has a plurality of application programs, so that different session links can be established due to different application programs. Different session links correspond to different session channels, the session channels correspond to the application programs one by one, and then each application program is managed and controlled through each session channel, so that the controllable application program is successfully identified. The agent module 201 returns the identification information of the manageable application to the service management module 102 and finally to the return user view module 101. The target application program may be multiple, and the application program is successfully linked with the agent program module 201. All session links are then deposited in the agent module 201, as shown in FIG. 3, and managed by the service management module 102. Wherein the controllable application is an application stored in a repository. Finally, the service management and control module 102 sends the control commands sent by the user view module 101 to the agent module 201, and the agent module 201 links to the session channel of the target application program to manage the target application program, and the target application program executes the control commands, such as the application program 1, the application program 2 and the application program 3 in fig. 5.
For example, if the target application program is managed in the multiple application programs, the established session channel is screened through the information of the target application program carried by the control command, and whether the current session channel needs to be closed or a new chain session channel needs to be established is determined.
When the agent program module 201 manages the application program, the target session channel corresponding to the target application program is screened first, and whether the target session channel exists is judged to manage the target application program. In the process of screening the target session channel, if the target session channel is screened and available, continuing to control the application program through the target session channel; if the target session channel is screened, the current session is closed if the target session channel is unavailable, the agent module 201 reestablishes a new session with the application service module 202 of the operating system where the agent is located, and starts the application program in the session, and interaction with the application program is completed by using the new session channel; if the target session channel is not screened, the agent module 201 links with the application service module 202 where the application program is located continuously, and establishes a new session channel until the new session channel can control the target application program in the application service module 202, and the new session channel is the new target session channel, and the control command is executed through the new target session channel.
Because the foreground process of an application program is subordinate to a session, by establishing a dedicated session for each application program, the application program can be identified and managed in the session. Meanwhile, different sessions are not interfered with each other, so that each application program is ensured to run independently, and any information generated in the session, such as log information, control commands and the like, is directed against the application program of the session terminal, and the application programs in other sessions are not influenced.
Illustratively, although the agent program module 201 is provided, the session mode is utilized to enable the user's operating system to directly interact with the application service module 202 of the application server 200, so that a large number of servers are not required to be provided, the number of server requirements is reduced, human intervention is reduced, and deployment and management efficiency is improved.
In step 3022, the control command is executed to control the operation of the target application program through the target session channel.
Illustratively, if the agent module 201 successfully establishes a session link with the target application program, the control command for controlling the process of the target application program sent by the remote command control unit is directly executed in the target session channel, and at the same time, the agent module 201 monitors the running state of the application program through the session channel.
The service management and control module 102, according to the received control instruction, screens all session channels stored in the agent module 201 to screen out the target session channel. The agent module 201 executes control instructions through the target session channel and the target application of the application service module 202 performs various operations.
In step 3023, the operation result of the target application is received and sent to the service management and control module 102, so that the service management and control module 102 feeds back the operation result to the user view module 101.
By way of example, the execution results may include execution information and application messages. After the control instruction is executed, the agent module 201 returns the execution information of each target application program in the application service module 202 to the service management and control module 102, and the service management and control module 102 processes the execution information and sends the processed execution information to the user view module 101. The execution information is generally simple control type information, such as information of successful command execution, failed command execution, and the like. As shown in fig. 5, the application 1, the application 2, and the application 3 return the respective execution information 1, execution information 2, and execution information 3. In the above-mentioned example, in actual situations, there is a case where a control command controls one target application program, and there is a case where a control command controls a plurality of target application programs in batch,
The agent module 201 may also package the application messages of the monitored multiple application programs and then uniformly return the application messages to the service management and control module 102. The application message is typically data of the monitored running state of the application program, and may include log information of the application program and program application state information. The log information may include application program errors, running conditions, etc., and the program application state information includes information such as application processes.
Illustratively, the service management module 102 presents the returned application messages of the application program to the user by analyzing them and sending them to the user view module 101. By isolating user operations from application programs by using the service management and control module 102 and the agent program module 201, the agent program module 201 receives control commands transmitted from the service management and control module 102, and selects and manages a target application program from a plurality of application programs, realizes remote control of a plurality of applications installed on a single application server, and can perform accurate management and control for each target application program.
Illustratively, in step 3021, if the link is unsuccessful, the application requiring control cannot be found, and the agent module 201 returns information of the link failure to the service management module 102. The agent module 201 continuously links the application program to be managed in the application service module 202, and forms a session channel after the linking is successful, and in step 3022, the application program is controlled through the target session channel. At this time, the application program successfully linked is the controllable application program, so that all controllable application programs can be identified. All manageable applications include each successfully connected target application. In step 1023, the agent module 201 sends the running results of all controllable applications to the service management module 102, where the running results may also include information of success or failure of the link. The service management and control module 102 may further package the session execution results of the multiple session channels after integrating all the controllable applications based on the information of success or failure of the linking, and return the session execution results to the user view module 101 for management and control by the user.
In one embodiment, before or during the control of the target application, there is a case that the target application is not installed on the application service module 202, the user may select an application to be installed on the user side, and send a related command to the service control module 102, as shown in fig. 6. When the user selects an application program to be installed on the user side, the control method of the application program further includes, before receiving the control command forwarded by the service control module 102: before the user view module 101 sends the control command to the service management and control module 102, the agent module 201 receives the installation command forwarded by the service management and control module 102; the installation command is sent to the service management and control module 102 by the user view module 101; the installation command includes information of the target application; the agent module 201 generates an installation command for the target application program, and installs the target application program on the application service module 202 based on the installation command of the target application program; after installing the target application program, generating application installation feedback data of the target application program; the agent module 201 transmits the installation feedback data to the service management and control module 102 so that the service management and control module 102 feeds back the installation feedback data to the user view module 101. At this time, the execution information includes installation feedback data.
In batch installation of the application programs, in the above installation process, the agent module 201 may retransmit the installation feedback data packages of the plurality of target application programs to the service management and control module 102 through the session channel, and then feed back to the user view module 101.
Illustratively, an application program is installed in the application service module 202, and when the user selects an application program to be uninstalled on the user side, the agent program module 201 receives an uninstall command forwarded by the service management and control module 102; the uninstall command is sent to the service management and control module 102 by the user view module 101; the uninstall command includes information of the target application; the agent module 201 uninstalls the target application on the application service module 202 based on the uninstall command; after unloading the target application program, generating application unloading feedback data of the target application program; the agent module 201 sends the offload feedback data to the service management and control module 102; the feedback data is offloaded for feedback to the user view module 101 by the service management module 102. At this time, the execution information includes unloading the feedback data.
For example, when installing or uninstalling a plurality of applications, the service management module 102 converts an installation command or an uninstallation command into an identifiable installation command or an uninstallation command according to the application information included in the installation command or the uninstallation command, and transmits the identifiable installation command or the identifiable uninstallation command to the agent module 201, because formats and contents of application information of different systems or installation and uninstallation processes of different applications of the same system are different. The agent module 201 sequentially executes different commands according to the obtained identifiable installation command or uninstall command, and returns the operation result to the service management and control module 102.
Therefore, the control method of the application program isolates the user operation from the application program by using the two-stage mode of the service control module and the agent program module, accurately controls a plurality of application programs on a single service node on the same equipment, helps the user to realize the accurate control of the plurality of application programs, and simplifies the deployment of an application server and the control of the application program. The agent module installs the application based on the installation command transmitted from the service management module, and by establishing such an agent-management mechanism, a plurality of applications can be installed on a single application server. The agent module executes the control instructions through the session mode based on the control instructions transmitted from the service management and control module, and returns messages of different application programs to the service management and control module through the session mode, and by establishing such agent-management and control mechanism, accurate management and control can be performed on a single application server for each application program. Although the agent program module is arranged, the session mode is utilized to enable the operating system of the user to interact with the application server where the application program is located directly, a large number of application servers are not required to be arranged, the number of application servers is reduced, human intervention is reduced, and deployment and management and control efficiency is improved. The situation that the same application server can only install one application or a plurality of applications is avoided, and the situation that management and control are disordered is avoided, so that informatization services can be better popularized and used, and the use threshold of the informatization services is reduced.
It should be understood that the sequence number of each step does not mean the sequence of execution, and the execution sequence of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
It should be noted that, because the content of information interaction and execution process between the devices is based on the same concept as the method embodiment of the present application, specific functions and technical effects thereof may be referred to in the method embodiment section, and will not be described herein again.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
The embodiment of the present application further provides an application server, referring to fig. 7, the application server 200 may include: at least one processor 210 and a memory 220, the memory 220 having stored thereon a computer program 221 executable on the at least one processor 210, the processor 210 implementing the steps of any of the various method embodiments described above, such as steps 301 to 302 in the embodiment shown in fig. 4, when the computer program 221 is executed by the processor 210.
By way of example, the computer program 221 may be partitioned into one or more modules/units that are stored in the memory 220 and executed by the processor 210 to complete the present application. One or more of the modules/units may be a series of computer program segments capable of performing specific functions for describing the execution of the computer program 221 in the application server 200.
It will be appreciated by those skilled in the art that fig. 7 is merely an example of an application server and is not intended to limit the application server, and may include more or fewer components than shown, or may combine certain components, or different components, such as input-output devices, network access devices, buses, etc.
The processor 210 may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 220 may be an internal storage unit of the application server, or may be an external storage device of the application server, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), or the like. The memory 420 is used to store computer programs and other programs and data required by the application server. The memory 420 may also be used to temporarily store data that has been output or is to be output.
The bus may be an industry standard architecture (Industry Standard Architecture, ISA) bus, an external device interconnect (Peripheral Component, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, the buses in the drawings of the present application are not limited to only one bus or one type of bus.
The application program management and control method provided by the embodiment of the application program can be applied to servers such as computers, tablet computers, notebook computers, netbooks, personal digital assistants (personal digital assistant, PDA) and the like, and the embodiment of the application program does not limit the specific type of the servers.
The embodiments of the present application also provide a computer readable storage medium storing a computer program, which when executed by a processor implements steps in each embodiment of a control method that may implement the above-mentioned application.
Embodiments of the present application provide a computer program product that, when run on a mobile terminal, causes the mobile terminal to perform steps in various embodiments of a control method that can implement the above-described application.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present application implements all or part of the flow of the method of the above-described embodiments, and may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, may implement the steps of the method embodiments described above. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, executable files or in some intermediate form, etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a photographing device/server, recording medium, computer Memory, read-Only Memory (ROM), random access Memory (RAM, random Access Memory), electrical carrier signals, telecommunications signals, and software distribution media. Such as a U-disk, removable hard disk, magnetic or optical disk, etc.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/network device and method may be implemented in other manners. For example, the apparatus/network device embodiments described above are merely illustrative, e.g., the division of modules or elements is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting thereof; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (8)

1. The system for managing and controlling the application program is characterized by comprising a user view module, a service management and control module, an agent program module and an application service module; the agent program module and the application service module are installed on an application server; the application service module is provided with a plurality of application programs;
The user view module is used for sending a control command to the service management and control module; the control command comprises information of a target application program;
the service management and control module is used for receiving the control command and forwarding the control command to the agent program module;
the agent program module is used for selecting and controlling the target application program from a plurality of application programs of the application service module based on the control command;
the agent program module is specifically configured to:
establishing a target session channel with the application service module based on the information of the target application program;
executing the control command through the target session channel to control the operation of the target application program;
and receiving the operation result of the target application program and sending the operation result to the service management and control module.
2. The application management and control system according to claim 1, wherein the agent module is specifically configured to:
based on the information of the target application program, initiating a session to the application service module, and linking with the target application program;
if the link is successful, establishing a target session channel with the application service module, and sending information of the successful link to the service management and control module;
If the link is unsuccessful, the target session channel cannot be established with the application service module, and the information of the link failure is sent to the service management and control module.
3. The application management and control system of claim 1, wherein the service management and control module is further configured to:
receiving the operation result returned by the agent program module; the running result comprises the execution information and the application information of the target application program;
and sending the operation result to the user view module.
4. A management and control system for an application according to any of claims 1-3, wherein said user view module is further configured to send an install command to said service management and control module before said control command is sent to said service management and control module;
the service management and control module is further used for receiving the installation command and forwarding the installation command to the agent program module; the installation command comprises installation information of a target application program;
the agent program module is further configured to receive the installation command, install the target application program on the application service module based on the installation information of the target application program, and generate application installation feedback data of the target application program;
The service management and control module is further configured to receive the application installation feedback data sent by the agent module, and send the application installation feedback data to the user view module.
5. A method for controlling an application program, wherein the agent module applied to the control system of an application program according to any one of claims 1 to 4 comprises:
receiving a control command forwarded by a service management and control module; the control command is sent to the service management and control module by the user view module; the control command comprises information of a target application program;
selecting and controlling the target application program from a plurality of application programs of an application service module based on the control command; the agent program module and the application service module are installed on an application server; the application service module comprises a plurality of application programs;
the selecting and controlling the target application program from a plurality of application programs of an application service module based on the control command comprises the following steps:
establishing a target session channel with the application service module based on the information of the target application program;
executing the control command to control the operation of the target application program through the target session channel;
And receiving the operation result of the target application program, and sending the operation result to the service management and control module so that the service management and control module feeds back the operation result to the user view module.
6. The method for controlling an application program according to claim 5, further comprising, before said receiving the control command forwarded by the service control module:
receiving an installation command forwarded by the service management and control module; the installation command is sent to the service management and control module by the user view module; the installation command includes information of the target application program;
installing the target application program on the application service module based on the installation command;
after the target application program is installed, generating application installation feedback data of the target application program;
and sending the installation feedback data to the service management and control module so that the service management and control module feeds the installation feedback data back to the user view module.
7. An application server comprising a memory and a processor, the memory having stored therein a computer program executable on the processor, wherein the processor implements the method of managing an application program according to any of claims 5 to 6 when the computer program is executed by the processor.
8. A computer readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the method of managing an application program according to any one of claims 5 to 6.
CN202311179751.XA 2023-09-13 2023-09-13 Application program management and control system, method, application server and medium Active CN117272284B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311179751.XA CN117272284B (en) 2023-09-13 2023-09-13 Application program management and control system, method, application server and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311179751.XA CN117272284B (en) 2023-09-13 2023-09-13 Application program management and control system, method, application server and medium

Publications (2)

Publication Number Publication Date
CN117272284A CN117272284A (en) 2023-12-22
CN117272284B true CN117272284B (en) 2024-04-12

Family

ID=89217028

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311179751.XA Active CN117272284B (en) 2023-09-13 2023-09-13 Application program management and control system, method, application server and medium

Country Status (1)

Country Link
CN (1) CN117272284B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1863051A (en) * 2005-05-12 2006-11-15 中国科学院计算技术研究所 Application managing sub-system in multi-node intelligent network application service system and method
CN103810019A (en) * 2014-02-08 2014-05-21 南开大学 Virtual computing environment system capable of supporting progress granularity network computing
CN106993043A (en) * 2017-04-06 2017-07-28 上海木爷机器人技术有限公司 Data communication system and method based on agency
CN108255549A (en) * 2017-12-18 2018-07-06 深圳市双翼科技股份有限公司 Server program visual control method and device
CN110727441A (en) * 2019-10-11 2020-01-24 北京明略软件系统有限公司 Method, system and storage medium for installing flash agent
CN112468549A (en) * 2020-11-13 2021-03-09 浪潮云信息技术股份公司 Method, equipment and storage medium for reverse communication and management of server
CN113630443A (en) * 2021-07-16 2021-11-09 深圳市元征未来汽车技术有限公司 Service management method, device, server and medium
CN113806165A (en) * 2021-08-13 2021-12-17 唯品会(广州)软件有限公司 Server remote monitoring method, system and equipment
CN114489847A (en) * 2022-01-18 2022-05-13 深圳市新国都支付技术有限公司 Method, system, device and storage medium for managing and controlling process manager
CN115514586A (en) * 2022-11-24 2022-12-23 河北纬坤电子科技有限公司 Access control policy configuration method and electronic equipment
CN116414521A (en) * 2023-03-09 2023-07-11 鹏城实验室 Virtual machine remote command interaction method, device and medium for distributed heterogeneous shooting ranges

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8090847B2 (en) * 2008-05-02 2012-01-03 Microsoft Corporation Session broker extensibility application program interface
US9699261B2 (en) * 2014-01-14 2017-07-04 Cyber-Ark Software Ltd. Monitoring sessions with a session-specific transient agent
US9712514B2 (en) * 2015-02-08 2017-07-18 Cyber-Ark Software Ltd. Super-session access to multiple target services

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1863051A (en) * 2005-05-12 2006-11-15 中国科学院计算技术研究所 Application managing sub-system in multi-node intelligent network application service system and method
CN103810019A (en) * 2014-02-08 2014-05-21 南开大学 Virtual computing environment system capable of supporting progress granularity network computing
CN106993043A (en) * 2017-04-06 2017-07-28 上海木爷机器人技术有限公司 Data communication system and method based on agency
CN108255549A (en) * 2017-12-18 2018-07-06 深圳市双翼科技股份有限公司 Server program visual control method and device
CN110727441A (en) * 2019-10-11 2020-01-24 北京明略软件系统有限公司 Method, system and storage medium for installing flash agent
CN112468549A (en) * 2020-11-13 2021-03-09 浪潮云信息技术股份公司 Method, equipment and storage medium for reverse communication and management of server
CN113630443A (en) * 2021-07-16 2021-11-09 深圳市元征未来汽车技术有限公司 Service management method, device, server and medium
CN113806165A (en) * 2021-08-13 2021-12-17 唯品会(广州)软件有限公司 Server remote monitoring method, system and equipment
CN114489847A (en) * 2022-01-18 2022-05-13 深圳市新国都支付技术有限公司 Method, system, device and storage medium for managing and controlling process manager
CN115514586A (en) * 2022-11-24 2022-12-23 河北纬坤电子科技有限公司 Access control policy configuration method and electronic equipment
CN116414521A (en) * 2023-03-09 2023-07-11 鹏城实验室 Virtual machine remote command interaction method, device and medium for distributed heterogeneous shooting ranges

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
"A remote resource management method for Transparent Computing";Yuan Gao;2012 International Conference on Computer Science and Information Processing (CSIP);20120924;1378-1381 *
基于CORBA和BS模式的远程监控技术;徐利青, 杨斌, 蒋晔;继电器;20021225(第12期);45-47 *
基于Linux的多服务器NC环境中系统监控的设计;王薇;李锦涛;郭俊波;叶剑;;计算机工程;20060620(第12期);139-141 *

Also Published As

Publication number Publication date
CN117272284A (en) 2023-12-22

Similar Documents

Publication Publication Date Title
CN111600930B (en) Micro-service request traffic management method, device, server and storage medium
US8151277B2 (en) Method and system for dynamic remote injection of in-process agents into virtual machine based applications
US8868984B2 (en) Relevant alert delivery in a distributed processing system with event listeners and alert listeners
US8800047B2 (en) System, method and program product for dynamically performing an audit and security compliance validation in an operating environment
CN110597531B (en) Distributed module upgrading method and device and storage medium
US7761543B2 (en) Method and apparatus for backward and forward compatibilty in device management
US10404568B2 (en) Agent manager for distributed transaction monitoring system
CN112398673A (en) Upgrading method, communication equipment and computer readable storage medium
CN108268305A (en) For the system and method for virtual machine scalable appearance automatically
US20200349041A1 (en) Cloud simulation and validation system
CN111679888A (en) Deployment method and device of agent container
CN114968477A (en) Container heat transfer method and container heat transfer device
CN114422618A (en) IOT platform protocol adaptation method, device, equipment and medium based on cloud protogenesis
CN111327475A (en) Method, system and device for upgrading embedded equipment
CN117272284B (en) Application program management and control system, method, application server and medium
CN109918140A (en) A kind of cloud application method of controlling operation thereof and device
US20070198680A1 (en) Method and system for network management data collection
CN114697334B (en) Method and device for executing scheduling task
CN114095498B (en) Cluster environment deployment method, system, computer equipment and storage medium
GB2583903A (en) Testing virtualised network functions
KR101943936B1 (en) Integrated external interconnection system and method for web standard application development
CN113010187B (en) Application installation method and device and electronic equipment
CN113904932A (en) Modularized server upgrading method and device, electronic equipment and medium
CN107577546B (en) Information processing method and device and electronic equipment
CN113467897B (en) System and method for monitoring database in container

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