CN116743728B - Application operation and maintenance method, system, equipment and storage medium - Google Patents

Application operation and maintenance method, system, equipment and storage medium Download PDF

Info

Publication number
CN116743728B
CN116743728B CN202311008154.0A CN202311008154A CN116743728B CN 116743728 B CN116743728 B CN 116743728B CN 202311008154 A CN202311008154 A CN 202311008154A CN 116743728 B CN116743728 B CN 116743728B
Authority
CN
China
Prior art keywords
server
target application
client
maintenance
xserver
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
CN202311008154.0A
Other languages
Chinese (zh)
Other versions
CN116743728A (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 Zhuyun Technology Co ltd
Original Assignee
Shenzhen Zhuyun 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 Zhuyun Technology Co ltd filed Critical Shenzhen Zhuyun Technology Co ltd
Priority to CN202311008154.0A priority Critical patent/CN116743728B/en
Publication of CN116743728A publication Critical patent/CN116743728A/en
Application granted granted Critical
Publication of CN116743728B publication Critical patent/CN116743728B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • 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/08Protocols specially adapted for terminal emulation, e.g. Telnet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The present disclosure provides an application operation and maintenance method, system, device and storage medium, which are suitable for an operation and maintenance component server, wherein the method comprises the steps of receiving an operation and maintenance request initiated by a client where a user is located through a web browser, and feeding corresponding response information back to the client; when the operation and maintenance request is successfully responded, establishing connection between the client and the operation and maintenance component server through the web service; after the connection between the client and the operation and maintenance component server is successfully established, an XServer session process is established, and the communication connection between the target application release server and the operation and maintenance component server is established through an SSH protocol; when the XServer session process is started, receiving an operation display picture returned by the target application publishing server, and transmitting the returned operation display picture to a web browser of a client where a user is located. According to the technical scheme provided by one or more embodiments of the present disclosure, satisfaction of a user in application operation and maintenance experience can be improved.

Description

Application operation and maintenance method, system, equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to an application operation and maintenance method, system, device, and storage medium.
Background
An operating system is a collection of system software that manages computer hardware resources, controls the execution of other programs, and provides an interactive operating interface for users. The operating system is a key component of the computer system and is responsible for basic tasks such as managing and configuring memory, determining the priority of supply and demand of system resources, controlling input and output devices, operating a network, managing a file system, and the like.
Operating systems are of many kinds, and the operating systems installed by various devices can range from simple to complex, from embedded operating systems of cell phones to large operating systems of supercomputers. Modern operating systems currently popular mainly comprise Android, BSD, iOS, linux, mac OS X, windows Phone, z/OS and the like, most of operating systems are Unix-like operating systems except for a few operating systems such as Windows, z/OS and the like, and the Linux operating system is used as the most used operating system in the Unix-like operating system, so that the number of application publications is increased.
However, when the existing Linux operating system is used as an application distribution server, the system graphical display is realized based on the X11 protocol. In the specific use process, an XServer (X11 protocol server) is responsible for graphic display of an X11 protocol, but an application program interface cannot be displayed on a browser, a corresponding XServer tool needs to be installed to serve as a remote screen to display graphical client application, so that satisfaction of a user in application operation and maintenance experience is greatly reduced, and practical application is not facilitated.
Disclosure of Invention
In view of this, one or more embodiments of the present disclosure provide an application operation and maintenance method, system, device, and storage medium, which enable a user to perform satisfaction of an application operation and maintenance experience.
In one aspect, the present disclosure provides an application operation and maintenance method, which is applicable to an operation and maintenance component server, and the method includes:
receiving an operation and maintenance request initiated by a client side where a user is located through a web browser, and feeding response information to the operation and maintenance request back to the client side; the response information is used for indicating whether the operation and maintenance request is successfully responded or not;
when the operation and maintenance request is successfully responded, establishing communication connection between the client and the operation and maintenance component server through web service;
after the client side and the operation and maintenance component server successfully establish communication connection, an XServer session process is established, and the communication connection between a target application release server and the operation and maintenance component server is established through an SSH protocol;
and when the XServer session process is started, receiving an operation display picture returned by the target application release server, and transmitting the operation display picture returned by the target application release server to a web browser of a client where a user is located.
Another aspect of the present disclosure also provides an application operation and maintenance system, the system including:
the operation and maintenance component server is used for receiving an operation and maintenance request initiated by a client side where a user is located through a web browser and feeding back response information to the operation and maintenance request to the client side; the response information is used for indicating whether the operation and maintenance request is successfully responded or not;
the client is used for establishing communication connection with the operation and maintenance component server through web service when the operation and maintenance request is successfully responded;
the operation and maintenance component server is also used for creating an XServer session process after the communication connection is successfully established with the client, and establishing the communication connection with the target application release server through an SSH protocol;
the target application release server is used for transmitting the running display picture back to the operation and maintenance component server when the XServer session process is started;
and the operation and maintenance component server is also used for receiving the operation display picture returned by the target application release server when the XServer session process is started, and transmitting the operation display picture returned by the target application release server to the web browser of the client where the user is located.
In one possible implementation, the system further includes a web server, the web server further configured to:
when a client where a user is located logs in a target application publishing server in a web browser mode, establishing connection with the client;
and calling an RDP protocol plug-in, and establishing communication connection between the client and the operation and maintenance component server through an RDP protocol.
In one possible implementation, the operation and maintenance component server further includes:
the RDP service module is used for establishing connection with the client through an RDP;
an XServer session module, configured to create an Xvnc session process, start the XServer session process through the Xvnc session process, and send an environment variable of the target application publishing server to the XServer session process; the environment variables of the target application release server comprise address information of the XServer session process and session indexes;
and the SSH protocol connection module is used for establishing communication connection between the target application release server and the operation and maintenance component server through an SSH protocol, and ending the SSH protocol connection between the target application release server and the operation and maintenance component server when the target application release server starts an operation program of the X11 protocol.
In one possible implementation, the target application publishing server is further configured to:
when the XServer session process is started, starting a substitution and filling program;
and calling a corresponding client tool through the substitution program, substituting login information and connecting to the target resource.
In one possible implementation of the present application,
the XServer session creation module is further configured to receive, through the XServer session process, an operation display screen returned by the target application publishing server;
the RDP service module is also used for transmitting the running display picture returned by the target application release server back to the web browser of the client where the user is located through the RDP protocol and connecting to the corresponding target resource.
In one possible implementation, when the number of the target application publication servers is plural,
the X Server session module is further used for creating an Xvnc session process, starting an XServer session process through the Xvnc session process, and simultaneously sending environment variables of a plurality of target application publishing servers to the XServer session process;
the SSH protocol connection module is further configured to establish communication connection between a plurality of target application publishing servers and the operation and maintenance component server through an SSH protocol, and end corresponding SSH protocol connection between the target application publishing servers and the operation and maintenance component server when each target application publishing server starts an operation program of an X11 protocol.
Another aspect of the disclosure also provides a computer device, where the computer device includes a memory and a processor, where the memory is configured to store a computer program, and the computer program is executed by the processor to implement the application operation and maintenance method described above.
Another aspect of the present disclosure also provides a computer readable storage medium storing a computer program, which when executed by a processor, implements the above-mentioned application operation and maintenance method.
According to the technical scheme provided by one or more embodiments, unlike a conventional application operation and maintenance method, a user can directly initiate an operation and maintenance request to an operation and maintenance component server through a web browser interface of any client, when a message that an operation and maintenance request response fed back by the operation and maintenance component server is successful is received, an RDP protocol component is called through web service to establish communication connection with the operation and maintenance component server, an XServer session process is established in the operation and maintenance component server after the client and the operation and maintenance component server successfully establish communication connection, the communication connection between a target application release server and the operation and maintenance component server is established through an SSH protocol, and when the XServer session process is started, an operation display picture returned by the target application release server can be received and transmitted to a web browser of the client where the user is located. Compared with the prior art, the technical scheme provided by the disclosure can remotely run the client graphical program on the linux application publishing server through the web browser under the condition that any client tool is not required to be installed, and the client graphical program is virtually displayed on the local browser client, and can be operated and controlled in operation and maintenance, so that the satisfaction degree of a user for application operation and maintenance experience is improved, and the actual application requirement is met.
Drawings
The features and advantages of the various embodiments of the present disclosure will be more clearly understood by reference to the accompanying drawings, which are schematic and should not be construed as limiting the disclosure in any way, in which:
FIG. 1 illustrates a schematic diagram of the steps of an application operation and maintenance method in one embodiment of the present disclosure;
FIG. 2 illustrates an alternative target resource acquisition flow diagram of the present disclosure;
FIG. 3 illustrates a functional block diagram of an application operation and maintenance system in one embodiment of the present disclosure;
fig. 4 shows a schematic structural diagram of a computer device in one embodiment of the present disclosure.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present disclosure more apparent, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure, and it is apparent that the described embodiments are some embodiments of the present disclosure, but not all embodiments. All other embodiments, which can be made by those skilled in the art without the inventive effort, based on the embodiments of the present application are intended to be within the scope of the present disclosure.
Currently, when an operation and maintenance component server such as a fort machine performs application release, a user needs to be authorized to access the fort machine, jump to access a RemoteApp (RemoteApp: remote access program through a remote desktop service) of a remote application server, and release software such as chrome, ie, sqldeveloper on the RemoteApp. Namely, the user cannot directly access the related application and only can log in by using the software on the application release server to realize the isolation effect. Meanwhile, the release of the existing application generally uses windows server as an application release server, and a security administrator releases related BS and/or CS applications, and needs to configure a remote desktop authorization service and install Remoteapp.
When the existing linux operating system is used as an application release server, the system graphical display is realized based on an X11 protocol. XServer is responsible for graphic display of the X11 protocol, cannot display an application program interface on a browser, and needs to install a corresponding XServer tool as a remote screen to display a graphical client application.
According to the above description, in the existing Linux system, the X program with the UI cannot be directly converted into the Web application, but the application display needs to be performed through the client tool under the condition of installing the corresponding client tool. And the client graphical program on the linux application publishing server cannot be remotely operated through the web browser, and the client graphical program is virtualized and displayed on a local browser client, and the operation and the maintenance are performed.
According to the technical scheme provided by one or more embodiments of the present disclosure, a client graphical program on a linux application publishing server can be remotely operated through a web browser, and the client graphical program is virtually displayed on a local browser client, and is operated and controlled, so that the satisfaction degree of application operation and maintenance experience of a user is improved, and the actual application requirements are met.
Referring to fig. 1, an application operation and maintenance method provided in an embodiment of the present disclosure is applicable to an operation and maintenance component server, which may be a fort machine, but it should be understood that the embodiment is not limited thereto, and the method of the present disclosure may be applied to any operation and maintenance server, i.e. any server that guarantees that networks and data are not invaded and damaged by external and internal users in a specific network environment.
The method may include the following steps.
Step S11: and receiving an operation and maintenance request initiated by a client side where a user is located through a web browser, and feeding back response information for the operation and maintenance request to the client side.
In this embodiment, when a user logs in to an operation and maintenance component server through a web browser of an arbitrary client and sends an operation and maintenance request to the operation and maintenance component server, the operation and maintenance component server (may also be an operation and maintenance request receiving module in the operation and maintenance component server) determines whether to respond to the operation and maintenance request according to the login information of the user and the corresponding operation and maintenance request, and feeds back corresponding operation and maintenance request response information to a web browser interface of the client where the user is located. The login information of the user may include an account and a password, and the operation and maintenance request may include login information of the user, an application program requesting operation and maintenance, and a corresponding authority, but is not limited thereto. The response information is used for indicating whether the operation and maintenance request is successfully responded, and the response information can be the passing of the operation and maintenance request or the failed and failed reasons of the operation and maintenance request.
For example, a user may log in the fort machine through account number and password data by using an HTML5 browser, and after the fort machine obtains the account number and password data of the user, the fort machine may obtain corresponding resource information through an interface service, and when the user sends an operation and maintenance request to the fort machine through an operation and maintenance request button, the fort machine will be connected to a corresponding target application publishing server and be able to transmit a message to the target application publishing server.
It can be understood that, by the response information returned by the operation and maintenance component server, whether the operation and maintenance request initiated by the client where the user is located through the web browser passes through and/or responds successfully is prompted in time, and data support is provided for whether the communication connection between the client and the operation and maintenance component server is established subsequently.
Step S12: when the operation and maintenance request is successfully responded, the communication connection between the client and the operation and maintenance component server is established through a web service.
In this embodiment, when a client where a user is located logs in a target application publishing server through a web browser, a connection between the client and the web server is created, an RDP protocol plug-in of the web server is called, and a communication connection between the client and the operation and maintenance component server is established through an RDP protocol.
It can be understood that in this embodiment, when the browser of the client side of the user receives the message that the operation and maintenance component server is called as successful response to the operation and maintenance request fed back by the operation and maintenance component server, the client side of the user can call the RDP protocol plug-in through the web service, for example, through the web server, so as to implement the communication connection between the client side of the user and the operation and maintenance component server through the RDP protocol.
Step S13: and after the client side and the operation and maintenance component server successfully establish communication connection, an XServer session process is established, and the communication connection between the target application release server and the operation and maintenance component server is established through an SSH protocol.
In this embodiment, after the communication connection is successfully established between the client where the user is located and the operation and maintenance component server, the operation and maintenance component server creates an XServer session process, establishes communication connection with the target application publishing server through the SSH protocol, and can end the SSH protocol connection with the application publishing server when the XServer session process is started. The server type of the target application release server is an X11 application release server.
When the method is implemented, an operation and maintenance component server firstly creates an Xvnc session process, then starts an XServer session process through the Xvnc session process, and sends environment variables of the target application release server to the XServer session process; and establishing communication connection between the target application release server and the operation and maintenance component server through an SSH protocol, and ending the SSH protocol connection between the target application release server and the operation and maintenance component server when the target application release server starts an operation program of the X11 protocol. The environment variables of the target application release Server comprise address information of the X Server session process and session indexes.
For example, the fort machine creates an XServer session process, uses the SSH protocol to connect to the application publishing server, sets the DISPLAY environment variable to the XServer created by the fort machine, and uses the XServer as a program interface running on the remote screen DISPLAY application publishing server. Setting mode of DISPLAY environment variables: export display=ip of XServer.
Further, in this embodiment, the operation and maintenance component server and the target application publishing server establish a communication connection through an SSH protocol, so that when an X11 protocol client corresponding to the target application publishing server is started, the X11 protocol server is started through an XServer session process, the SSH protocol connection between the operation and maintenance component server and the application publishing server is ended, and a graphical interface of the X11 protocol client program is displayed.
Step S14: and when the XServer session process is started, receiving an operation display picture returned by the target application release server, and transmitting the operation display picture returned by the target application release server to a web browser of a client where a user is located.
In this embodiment, when the operation and maintenance component server starts the XServer session process, the target application publishing server returns the current operation picture to the XServer session process of the operation and maintenance component server, and the operation and maintenance component server returns the operation display picture returned by the received target application publishing server to the web browser of the client where the user is located through the RDP protocol and connects to the corresponding target resource. Thus, the running screen displayed on the web browser of the client where the user is located is steerable, i.e., the user is able to steer any application in the running screen.
In one embodiment, in establishing a web service for a client and an operation and maintenance component server,
when a client where a user is located logs in a target application publishing server in a web browser mode, firstly establishing connection between the client and a web server, then calling an RDP plug-in of the web server, and establishing communication connection between the client and the operation and maintenance component server through an RDP.
In one embodiment, when the number of the target application publishing servers is multiple, creating an XServer session process, and when communication connection between the target application publishing servers and the operation and maintenance component server is established through an SSH protocol, firstly creating an Xvnc session process, starting the XServer session process through the Xvnc session process, and simultaneously transmitting environment variables of the multiple target application publishing servers to the XServer session process; and establishing communication connection between a plurality of target application release servers and the operation and maintenance component server through an SSH protocol, and ending the SSH protocol connection between the corresponding target application release servers and the operation and maintenance component server when each target application release server starts an operation program of the X11 protocol. It can be understood that in this embodiment, one client may connect to multiple target application servers, initiate connection to multiple target resources, support concurrency and multiple sessions, and is not limited if the memory CPU resources are sufficient.
As can be seen from the description of the foregoing embodiments, unlike the conventional application operation and maintenance method, a user may directly initiate an operation and maintenance request to an operation and maintenance component server through a web browser interface of any client, and when receiving a message that an operation and maintenance request fed back by the operation and maintenance component server is successful, call an RDP protocol component through a web service to establish a communication connection with the operation and maintenance component server, and establish an XServer session in the operation and maintenance component server after the client and the operation and maintenance component server successfully establish the communication connection between a target application publishing server and the operation and maintenance component server through an SSH protocol, and when the XServer session is started, receive an operation display screen returned by the target application publishing server, and transmit the operation display screen to a web browser of the client where the user is located. Compared with the prior art, the technical scheme provided by the disclosure can remotely run the client graphical program on the linux application publishing server through the web browser without installing any client tool, and virtually display the client graphical program on the local browser client and connect the client graphical program to the corresponding target resource, so that the satisfaction degree of application operation and maintenance experience of a user is improved, and the actual application requirement is met.
Referring to fig. 2, in one embodiment, before receiving the operation display screen returned by the target application publishing server in step S14 and transmitting the operation display screen returned by the target application publishing server to the web browser of the client where the user is located, the method further includes the following steps.
Step S21: when the XServer session process is started, starting a substitution and filling program on the target application release server;
step S22: and calling the corresponding client program through the substitution program, substituting the login information, and acquiring the target resource.
In this embodiment, when the operation and maintenance component server starts an XServer session process, that is, the receiving program for running a display screen on the target application publishing server is loaded, the target application publishing server starts a filler program, the filler program calls up a client program, if the client program is a web application, the browser is directly called up, if the client application is a client application, a corresponding client tool is called up, a tag in a specific application is identified, account password data is automatically filled up by the tag, and corresponding target resources are acquired.
Referring to fig. 3, an embodiment of the present disclosure further provides an application publishing system, including:
the operation and maintenance component server 100 is configured to receive an operation and maintenance request initiated by a client where a user is located through a web browser, and feed back response information to the operation and maintenance request to the client; the response information is used for indicating whether the operation and maintenance request is successfully responded or not;
a client 200 for establishing a communication connection with the operation and maintenance component server through a web service when the operation and maintenance request is successfully responded;
the operation and maintenance component server 100 is further configured to create an XServer session process after a communication connection is successfully established with the client, and establish a communication connection with a target application publishing server through an SSH protocol;
the operation and maintenance component server 100 is further configured to receive an operation display screen returned by the target application publishing server when the XServer session process is started, and transmit the operation display screen returned by the target application publishing server to a web browser of a client where the user is located.
In one possible implementation, the system further comprises a web server 300, the web server 300 further being configured to:
when a client where a user is located logs in a target application publishing server in a web browser mode, establishing connection with the client;
and calling an RDP protocol plug-in, and establishing communication connection between the client and the operation and maintenance component server through an RDP protocol.
In one possible implementation, the operation and maintenance component server 100 further includes:
the RDP service module is used for establishing connection with the client through an RDP;
an XServer session module, configured to create an Xvnc session process, start the XServer session process through the Xvnc session process, and send an environment variable of the target application publishing server to the XServer session process; the environment variables of the target application release server comprise address information of the XServer session process and session indexes;
and the SSH protocol connection module is used for establishing communication connection between the target application release server and the operation and maintenance component server through an SSH protocol, and ending the SSH protocol connection between the target application release server and the operation and maintenance component server when the target application release server starts an operation program of the X11 protocol.
In one possible implementation, the target application publishing server 400 is further configured to:
when the XServer session process is started, starting a substitution and filling program;
and calling a corresponding client tool through the substitution program, substituting login information and connecting to the target resource.
In one possible implementation of the present application,
the XServer session creation module is further configured to receive, through the XServer session process, an operation display screen returned by the target application publishing server;
the RDP service module is also used for transmitting the running display picture returned by the target application publishing server back to the web browser of the client where the user is located through the RDP protocol and connecting the web browser to the corresponding target resource.
In one possible implementation, when the number of the target application publication servers 400 is plural,
the XServer session module is further configured to create an Xvnc session process, start the XServer session process through the Xvnc session process, and send environment variables of a plurality of target application publishing servers to the XServer session process at the same time;
the SSH protocol connection module is further configured to establish communication connection between a plurality of target application publishing servers and the operation and maintenance component server through an SSH protocol, and end corresponding SSH protocol connection between the target application publishing servers and the operation and maintenance component server when each target application publishing server starts an operation program of an X11 protocol.
As can be seen from the description of the foregoing embodiments, unlike the conventional application operation and maintenance method, a user may directly initiate an operation and maintenance request to an operation and maintenance component server through a web browser interface of any client, and when receiving a message that an operation and maintenance request fed back by the operation and maintenance component server is successful, call an RDP protocol component through a web service to establish a communication connection with the operation and maintenance component server, and establish an XServer session in the operation and maintenance component server after the client and the operation and maintenance component server successfully establish the communication connection between a target application publishing server and the operation and maintenance component server through an SSH protocol, and when the XServer session is started, receive an operation display screen returned by the target application publishing server, and transmit the operation display screen to a web browser of the client where the user is located. Compared with the prior art, the technical scheme provided by the disclosure can remotely run the client graphical program on the linux application publishing server through the web browser without installing any client tool, and virtually display the client graphical program on the local browser client and connect the client graphical program to the corresponding target resource, so that the satisfaction degree of application operation and maintenance experience of a user is improved, and the actual application requirement is met.
The system, apparatus, module or unit set forth in the above embodiments may be implemented in particular by a computer chip or by a product having a certain function. One typical implementation is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being functionally divided into various units, respectively. Of course, the functions of each element may be implemented in the same piece or pieces of software and/or hardware when implementing the present application.
Referring to fig. 4, the disclosure further provides a computer device, where the computer device includes a memory and a processor, and the memory is configured to store a computer program, where the computer program is executed by the processor to implement the application operation and maintenance method described above.
The present disclosure also provides a computer readable storage medium for storing a computer program which, when executed by a processor, implements the above-described application operation and maintenance method.
The processor may be a central processing unit (Central Processing Unit, CPU). The processor may also be any other general purpose processor, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof.
The memory, as a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as program instructions/modules corresponding to the methods in embodiments of the present disclosure. The processor executes various functional applications of the processor and data processing, i.e., implements the methods of the method embodiments described above, by running non-transitory software programs, instructions, and modules stored in memory.
The memory may include a memory program area and a memory data area, wherein the memory program area may store an operating system, at least one application program required for a function; the storage data area may store data created by the processor, etc. In addition, the memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some implementations, the memory optionally includes memory remotely located relative to the processor, the remote memory being connectable to the processor through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
It will be appreciated by those skilled in the art that implementing all or part of the above-described embodiment method may be implemented by a computer program to instruct related hardware, where the program may be stored in a computer readable storage medium, and the program may include the above-described embodiment method when executed. Wherein the storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a Flash Memory (Flash Memory), a Hard Disk (HDD), or a Solid State Drive (SSD); the storage medium may also comprise a combination of memories of the kind described above.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for embodiments of the system, apparatus and storage medium, the description is relatively simple as it is substantially similar to the method embodiments, with reference to the description of the method embodiments being made in part hereof.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and variations of the present application will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. which come within the spirit and principles of the application are to be included in the scope of the claims of the present application.
Although embodiments of the present disclosure have been described with reference to the accompanying drawings, various modifications and variations may be made by those skilled in the art without departing from the spirit and scope of the disclosure, and such modifications and variations fall within the scope as defined by the appended claims.

Claims (10)

1. An application operation and maintenance method, suitable for an operation and maintenance component server, characterized in that the method comprises:
receiving an operation and maintenance request initiated by a client side where a user is located through a web browser, and feeding response information to the operation and maintenance request back to the client side; the response information is used for indicating whether the operation and maintenance request is successfully responded or not;
when the operation and maintenance request is successfully responded, establishing communication connection between the client and the operation and maintenance component server through web service;
after the client side and the operation and maintenance component server successfully establish communication connection, an XServer session process is established, and the communication connection between a target application release server and the operation and maintenance component server is established through an SSH protocol;
and when the XServer session process is started, receiving an operation display picture returned by the target application release server, and transmitting the operation display picture returned by the target application release server to a web browser of a client where a user is located.
2. The method of claim 1, wherein the step of establishing a communication connection between the client and the operation and maintenance component server through a web service comprises:
when a client side where a user is located logs in a target application publishing server in a web browser mode, establishing connection between the client side and the web server;
and calling an RDP protocol plug-in of the web server, and establishing communication connection between the client and the operation and maintenance component server through an RDP protocol.
3. The method of claim 1, wherein creating an X Server session process, establishing a communication connection between a target application publishing Server and the operation and maintenance component Server via SSH protocol, comprises:
creating an Xvnc session process, starting an XServer session process through the Xvnc session process, and sending environment variables of the target application publishing server to the XServer session process;
and establishing communication connection between the target application release server and the operation and maintenance component server through an SSH protocol, and ending the SSH protocol connection between the target application release server and the operation and maintenance component server when the target application release server starts an operation program of the X11 protocol.
4. The method of claim 2, wherein before receiving the running display returned by the target application distribution server and transmitting the running display returned by the target application distribution server to the web browser of the client where the user is located, the method further comprises:
when the XServer session process is started, starting a substitution and filling program on the target application release server;
and calling the corresponding client program through the substitution program, substituting the login information, and acquiring the target resource.
5. The method of claim 4, wherein the step of receiving the running display returned by the target application distribution server and transmitting the running display returned by the target application distribution server to the web browser of the client where the user is located comprises:
receiving an operation display picture returned by the target application release server through the XServer session process;
and returning the running display picture returned by the target application release server to the web browser of the client where the user is located through the RDP protocol, and connecting the running display picture to the corresponding target resource.
6. The method of claim 3, wherein the environment variables of the target application publication server include address information of the XServer session process, and a session index.
7. The method of claim 1, wherein when the number of the target application publication servers is plural, creating an XServer session process, and establishing a communication connection between the target application publication server and the operation and maintenance component server through an SSH protocol, further comprises:
creating an Xvnc session process, starting an XServer session process through the Xvnc session process, and simultaneously transmitting environment variables of a plurality of target application publication servers to the XServer session process;
and establishing communication connection between a plurality of target application release servers and the operation and maintenance component server through an SSH protocol, and ending the SSH protocol connection between the corresponding target application release servers and the operation and maintenance component server when each target application release server starts an operation program of the X11 protocol.
8. An application operation and maintenance system, the system comprising:
the operation and maintenance component server is used for receiving an operation and maintenance request initiated by a client side where a user is located through a web browser and feeding back response information to the operation and maintenance request to the client side; the response information is used for indicating whether the operation and maintenance request is successfully responded or not;
the client is used for establishing communication connection with the operation and maintenance component server through web service when the operation and maintenance request is successfully responded;
the operation and maintenance component server is also used for creating an XServer session process after the communication connection is successfully established with the client, and establishing the communication connection with the target application release server through an SSH protocol;
and the operation and maintenance component server is also used for receiving the operation display picture returned by the target application release server when the XServer session process is started, and transmitting the operation display picture returned by the target application release server to the web browser of the client where the user is located.
9. A computer device, characterized in that it comprises a memory and a processor, said memory being adapted to store a computer program, which, when executed by said processor, implements the method according to any of claims 1 to 7.
10. A computer readable storage medium for storing a computer program which, when executed by a processor, implements the method of any one of claims 1 to 7.
CN202311008154.0A 2023-08-11 2023-08-11 Application operation and maintenance method, system, equipment and storage medium Active CN116743728B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311008154.0A CN116743728B (en) 2023-08-11 2023-08-11 Application operation and maintenance method, system, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311008154.0A CN116743728B (en) 2023-08-11 2023-08-11 Application operation and maintenance method, system, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN116743728A CN116743728A (en) 2023-09-12
CN116743728B true CN116743728B (en) 2023-10-20

Family

ID=87918910

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311008154.0A Active CN116743728B (en) 2023-08-11 2023-08-11 Application operation and maintenance method, system, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116743728B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9021566B1 (en) * 2012-05-31 2015-04-28 Starnet Communications Corporation Apparatus and method to securely connect to and manage X11 applications on a remote system through an HTTP client
CN112817674A (en) * 2021-01-20 2021-05-18 上海浪潮云计算服务有限公司 Tool and method for deploying X window system in kubernets cluster
CN113067834A (en) * 2021-04-09 2021-07-02 上海新炬网络信息技术股份有限公司 Method for remotely controlling server based on Web browser
CN114217900A (en) * 2021-12-16 2022-03-22 统信软件技术有限公司 Remote control method, device and system, computing equipment and storage medium
CN115987546A (en) * 2022-10-31 2023-04-18 深信服科技股份有限公司 Browser security access system, method, device, equipment and storage medium
CN116112559A (en) * 2022-12-09 2023-05-12 浙江安巽科技有限公司 Remote server management control method, system and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9245047B2 (en) * 2010-12-10 2016-01-26 Wyse Technology L.L.C. Methods and systems for facilitating a remote desktop session utilizing a remote desktop client common interface
US8949726B2 (en) * 2010-12-10 2015-02-03 Wyse Technology L.L.C. Methods and systems for conducting a remote desktop session via HTML that supports a 2D canvas and dynamic drawing
US20120284632A1 (en) * 2011-05-06 2012-11-08 Cisco Technology, Inc. Integrated Rendering of Streaming Media in Virtualized Desktop Environment
US20170046013A1 (en) * 2015-08-14 2017-02-16 Microsoft Technology Licensing, Llc Web-browser based desktop and application remoting solution
CN112887287A (en) * 2021-01-18 2021-06-01 杭州安恒信息技术股份有限公司 Fortress machine, operation and maintenance auditing method, electronic device and storage medium
CN115277657B (en) * 2022-05-30 2023-06-13 上海上讯信息技术股份有限公司 Method and equipment for operating and maintaining database protocol
CN115412548A (en) * 2022-10-31 2022-11-29 中孚信息股份有限公司 Method and system for supporting web to access various remote desktop protocols

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9021566B1 (en) * 2012-05-31 2015-04-28 Starnet Communications Corporation Apparatus and method to securely connect to and manage X11 applications on a remote system through an HTTP client
CN112817674A (en) * 2021-01-20 2021-05-18 上海浪潮云计算服务有限公司 Tool and method for deploying X window system in kubernets cluster
CN113067834A (en) * 2021-04-09 2021-07-02 上海新炬网络信息技术股份有限公司 Method for remotely controlling server based on Web browser
CN114217900A (en) * 2021-12-16 2022-03-22 统信软件技术有限公司 Remote control method, device and system, computing equipment and storage medium
CN115987546A (en) * 2022-10-31 2023-04-18 深信服科技股份有限公司 Browser security access system, method, device, equipment and storage medium
CN116112559A (en) * 2022-12-09 2023-05-12 浙江安巽科技有限公司 Remote server management control method, system and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于WebServer的Linux远程登录系统的设计与实现;苏开红;肖乐;;电脑知识与技术(第28期);参见第106-111页1 *

Also Published As

Publication number Publication date
CN116743728A (en) 2023-09-12

Similar Documents

Publication Publication Date Title
US10992512B2 (en) File sharing method, apparatus, and storage medium
EP3550784B1 (en) Resource sharing method, device and system
CN106330999B (en) Method, client and system for realizing data sharing between client and virtual desktop
EP3343364A1 (en) Accelerator virtualization method and apparatus, and centralized resource manager
US20170141932A1 (en) Internet Access Traffic Sharing Method, Device and Terminal
EP3257001A1 (en) Session transfer between resources
CN112104623B (en) Cloud application login method and device, cloud equipment, client and system
CN111625810B (en) Equipment login method, equipment and system
CN108712320B (en) Message pushing method and device
CN111953642A (en) Method for uploading and downloading shared file by two-dimensional code
CN105812406A (en) Information transmission method and device based on WEB simulation terminal system
US11803606B2 (en) Device augmentation of real time communications
CN116743728B (en) Application operation and maintenance method, system, equipment and storage medium
CN103138961B (en) server control method, controlled server and central control server
CN111767558A (en) Data access monitoring method, device and system
US10182119B2 (en) System and methods for facilitating communication among a subset of connections that connect to a web application
CN114363204A (en) Request monitoring method, network device and storage medium
CN113542282A (en) Cross-computing center file transmission method, device, equipment and storage medium
CN115951884A (en) Information processing method and device and micro front end architecture system
CN109450887B (en) Data transmission method, device and system
CN112737827A (en) Resource allocation method, device and system
CN104869133A (en) Data recording method, system and access server
CN111953793B (en) Application distribution method, device, terminal and storage medium
CN115484316B (en) File sharing method and device
US20240031358A1 (en) System and method for providing a web based rdp service through a zero trust cloud environment

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