CN106610845B - Information management method, device, server and system - Google Patents

Information management method, device, server and system Download PDF

Info

Publication number
CN106610845B
CN106610845B CN201510698426.3A CN201510698426A CN106610845B CN 106610845 B CN106610845 B CN 106610845B CN 201510698426 A CN201510698426 A CN 201510698426A CN 106610845 B CN106610845 B CN 106610845B
Authority
CN
China
Prior art keywords
nginx server
execution
control
script
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510698426.3A
Other languages
Chinese (zh)
Other versions
CN106610845A (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.)
Beijing Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum 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 Beijing Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201510698426.3A priority Critical patent/CN106610845B/en
Publication of CN106610845A publication Critical patent/CN106610845A/en
Application granted granted Critical
Publication of CN106610845B publication Critical patent/CN106610845B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses an information management method, an information management device, an information management server and an information management system, relates to the technical field of computers, and solves the problems that the conventional nginx server is complicated in configuration, debugging and monitoring management modes, is not intuitive and depends on third-party software. The main technical scheme of the invention is as follows: acquiring nginx server control instruction information input through a control interface, wherein the control interface is an interface for imaging the functions of the nginx server; generating an execution command which can be identified by the nginx server according to the control instruction information; sending the execution command to the nginx server, executing by the nginx server and returning an execution result of the execution command; and displaying the execution result returned by the nginx server in the control interface. The method is mainly used for controlling the nginx server.

Description

Information management method, device, server and system
Technical Field
The present invention relates to the field of computer technologies, and in particular, to an information management method, an information management apparatus, a server, and an information management system.
Background
The Nginx ("engine x") is a HTTP server with performance-oriented design, and has the advantages of less memory occupation, high stability and the like compared with Apache and lighttpd. However, currently the management of nginx is to enter configuration files to make modifications, each function debug must view official documents, which is cumbersome and inefficient for the management personnel who are not familiar with the server configuration. Meanwhile, the log needs to be viewed for a device for monitoring and querying nginx, the performance of the nginx needs to be viewed through a functional module of third-party software, the query mode needs to be viewed by an administrator in real time, and the third-party software occupies partial resources of the system. Therefore, no tool capable of realizing convenient operation and convenient use of the function of the nginx server and helping developers and operation and maintenance personnel to quickly know the configuration, debugging and monitoring management of the nginx server exists in the existing management tool of the nginx server.
Disclosure of Invention
In view of this, the present invention provides an information management method, apparatus, server and system, and mainly aims to control a nginx server through interface operation, so as to solve the problems that the configuration, debugging and monitoring management manner of the traditional nginx server is complicated, not intuitive, and depends on a third-party software module.
In order to achieve the purpose, the invention mainly provides the following technical scheme:
in one aspect, the present invention provides an information management method, including:
acquiring nginx server control instruction information input through a control interface, wherein the control interface is an interface for imaging the functions of the nginx server;
generating an execution command which can be identified by the nginx server according to the control instruction information;
sending the execution command to the nginx server, executing by the nginx server and returning an execution result of the execution command;
and displaying the execution result returned by the nginx server in the control interface.
On the other hand, the invention also provides an information management method, which comprises the following steps:
receiving an execution command for controlling the nginx server, wherein the execution command is generated by the nginx server control instruction information input through a control interface;
calling a corresponding function script according to the execution command, wherein the function script is an execution program packaged with a nginx server function;
executing the functional script to obtain an execution result of the nginx server;
and sending the execution result to the control interface.
In another aspect, the present invention provides an information management apparatus, including:
the system comprises an acquisition unit, a display unit and a control unit, wherein the acquisition unit is used for acquiring nginx server control instruction information input through a control interface, and the control interface is an interface for imaging the functions of the nginx server;
the generating unit is used for generating an execution command which can be identified by the nginx server according to the control instruction information acquired by the acquiring unit;
a sending unit, configured to send the execution command generated by the generating unit to the nginx server, where the nginx server executes the execution command and returns an execution result of the execution command;
and the display unit is used for displaying the execution result returned by the nginx server in the control interface.
In another aspect, the present invention provides an information management server, including:
the receiving unit is used for receiving an execution command for controlling the nginx server, wherein the execution command is generated by the nginx server control instruction information input through the control interface;
the calling unit is used for calling a corresponding function script according to the execution command received by the receiving unit, wherein the function script is an execution program packaged with a nginx server function;
the execution unit is used for executing the function script called by the calling unit to obtain an execution result of the nginx server;
and the sending unit is used for sending the execution result obtained by the execution unit to the control interface.
In another aspect, the present invention further provides an information management system, where the system includes a control end and the nginx server as described above, where the control end includes the information management apparatus as described above.
The information management method, the device, the server and the system are a management system which is composed of a control end and a nginx server and is used for controlling the nginx server. The user can send the control instruction to the nginx server from the control end through the operation of the control interface, the nginx server identifies the control instruction and carries out specific operation, after the operation is completed, the execution result of the control instruction is obtained and fed back to the control end, and the control end displays the execution result in the corresponding control interface. Compared with the existing control method of the nginx server, the method needs to memorize complex command languages and manually key in commands, and the invention enables a user to more simply, conveniently and intuitively operate and view the operation result in real time when the user performs configuration, debugging, monitoring, management and other operations on the nginx server by setting the operation interface, thereby effectively improving the operation efficiency and the use easiness of the nginx server.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart illustrating an information management method according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating another information management method according to an embodiment of the present invention;
fig. 3 is a block diagram showing another information management method proposed by the embodiment of the present invention;
fig. 4 is a block diagram showing the components of an information management apparatus according to an embodiment of the present invention;
fig. 5 is a block diagram showing the composition of another information management apparatus proposed by the embodiment of the present invention;
fig. 6 is a block diagram showing components of an information management server according to an embodiment of the present invention;
fig. 7 is a block diagram showing the components of another information management server according to the embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
An embodiment of the present invention provides an information management method, as shown in fig. 1, the method is mainly applied to a graphical interface control end for controlling a nginx server, and specifically includes:
101. and acquiring the nginx server control instruction information input through the control interface.
The nginx server, as a proxy server, generally provides little or no relevant services directly to the user. Therefore, most users of the nginx server are system development and operation and maintenance personnel, and the professional performance of the users is high, so that the implementation scheme of controlling the nginx server by using an operation interface is not provided all the time. In order to reduce the operation difficulty of the nginx server, the embodiment of the invention graphs the functions of the nginx server by manufacturing the control interface and uses the control interface to operate the nginx server. The main mode is that the control end is remotely connected with the nginx server, and the control end acquires the nginx server control instruction information input by a user through a control interface. The control terminal is a server for providing services for users, and the control interface can be arranged in the control terminal or in a user terminal connected with the control terminal. The control interface can be created by using an existing interface creation tool or related software. The embodiment of the present invention does not specifically limit the manufacturing method and the setting position of the control interface. The method mainly aims to enable the control end to obtain operation content, namely control instruction information, which needs to be done by a user to the nginx server through the control interface.
102. And generating an execution command which can be recognized by the nginx server according to the control instruction information.
After the control end acquires the control instruction information of the control interface, since the control instruction information cannot be recognized by the nginx server, the control instruction information needs to be converted in the control end and converted into an instruction which can be recognized and executed by the nginx server, that is, an execution command which can be recognized by the nginx server is generated.
103. And sending the execution command to the nginx server, executing by the nginx server and returning the execution result of the execution command.
The control end sends the generated execution command to the nginx server through remote connection, the step does not specifically limit the remote connection mode of the control end and the nginx server, and the execution command can be sent to the nginx server by using the existing remote connection mode. And at one end of the nginx server, receiving and executing the execution command and feeding back a corresponding execution result to the control end through the remote connection.
The operation information collection and processing work of the user operation interface are carried out at the control end, and the obtained execution command can be directly identified and executed by the nginx server.
104. And displaying the execution result returned by the nginx server in the control interface.
And after receiving the execution result fed back by the nginx server, the control end displays the result in a control interface to prompt a user whether the user obtains the response of the nginx server or not, and judges the next operation step according to the specific display result.
And when the control end displays the execution result of the nginx server through the control interface, the execution result is displayed according to the specific setting of the interface. For example, when the control interface has an independent display interface for the execution result, the control end sends the execution result to the interface, and when the control interface does not have an independent result display interface, the control end sends the execution result to the interface sent by the control instruction information for display.
Corresponding to the above server management method, an embodiment of the present invention further provides an information management method, as shown in fig. 2, where the method is used in an nginx server, and includes the specific steps of:
201. and receiving an execution command for controlling the nginx server.
And the nginx server receives an execution command sent by the control terminal in the method. The control command is an execution command which is triggered by a user through a control interface and can be recognized by the nginx server generated through receiving and converting of the control terminal.
202. And calling the corresponding function script according to the execution command.
The nginx server calls a corresponding function script according to the execution command, the function script is a function execution program preset in the nginx server, each function in the nginx server can preset a function script corresponding to the function script, and the script is packaged into an executable program. And simultaneously, the corresponding function script can be executed according to the preset calling rule. The calling rule is the corresponding relation between the execution command and the function script, and the calling rule also corresponds to the corresponding relation between the control instruction information triggered in the control interface and the execution command. Therefore, the embodiment of the present invention needs to determine the calling relationship, that is, determine the corresponding relationship between the control instruction information, the execution command, and the function script, then make the control interface, and package the function script preset in the nginx server.
203. And executing the function script to obtain an execution result of the nginx server.
And after determining the corresponding function script according to the execution command, the nginx server directly runs the function script locally. And simultaneously, recording the execution result of the function script.
204. And sending the execution result to a control interface.
And sending the recorded execution result to the control end through the remote connection between the nginx server and the control end, and displaying the execution result in a control interface by the control end so as to prompt the user to perform the next operation.
It can be seen from the above implementation manner that the information management method adopted in the embodiment of the present invention is a management system for controlling a nginx server, which is composed of a control terminal and a nginx server. The user can send the control instruction to the nginx server from the control end through the operation of the control interface, the nginx server identifies the control instruction and carries out specific operation, after the operation is completed, the execution result of the control instruction is obtained and fed back to the control end, and the control end displays the execution result in the corresponding control interface. Compared with the existing control method of the nginx server, the method needs to memorize complex command languages and manually key in commands, and the invention enables a user to more simply, conveniently and intuitively operate and view the operation result in real time when the user performs configuration, debugging, monitoring, management and other operations on the nginx server by setting the operation interface, thereby effectively improving the operation efficiency and the use easiness of the nginx server.
To describe the information management method in more detail, an embodiment of the present invention further provides an information management method, which is described by combining the methods described in fig. 1 and fig. 2, and as shown in fig. 3, the method includes:
301. and the control end acquires the nginx server control instruction information input through the control interface.
In the embodiment of the invention, a python django language is used for developing and manufacturing a set of operation graphical interface aiming at the nginx server in the control end for remotely controlling the nginx server. Wherein, the set of control interface comprises function interfaces of each function module in the nginx server. The specific graphical interface design is not specifically described in this embodiment, and the graphical interface design using the python django language is prior art, so that it is not specifically described in this embodiment.
It should be noted that, when the user controls the nginx server through the graphical interface, the generated control instruction information of the nginx server mainly includes two parts, which are divided into a control instruction and control information. The control instruction is used for describing a specific operation command which a user wants to complete, and the control information is a specific parameter required by the operation command during execution. For example, if the user wants to modify the configuration of the nginx server, the control instruction is a configuration modification command of the server, and the control information is information recorded with modified configuration parameters. Therefore, after the control end acquires the nginx server control instruction information, the control end analyzes the control instruction information to obtain two parts, namely a control instruction and control information.
302. And generating an execution command which can be identified by the nginx server at the control end according to the control instruction information.
And after the control end decomposes the received control instruction information, calling a local Java script according to the decomposed control instruction, and executing the Java script to obtain an execution command which can be identified by the nginx server. When the Java script is executed, the decomposed control information needs to be added to the Java script to obtain an execution command for controlling the nginx server.
The Java script is an executable program preset in the local of the control end, and corresponds to each function module of the nginx server related in the control interface in 301, that is, each control instruction in the control interface has a preset Java script corresponding to the control instruction. That is, control instructions triggered in the control interface are translated into execution commands recognizable by the nginx server through the Java script.
303. And the control end sends the execution command to the nginx server.
And after analyzing and processing the acquired control instruction information of the user, the control terminal sends the acquired execution command recognizable by the nginx server to the nginx server. The control end and the nginx server are generally communicated through remote connection, so that the control end needs to send an execution command to the nginx server through the remote connection, for example, in a python development environment, a paramikio remote operation module is provided to transfer the execution command.
304. And the nginx server receives an execution command sent by the control end.
After the control end sends out the execution command, the nginx server receives the execution command, and the nginx server can directly execute the command after receiving the execution command because the execution command is a command which can be identified by the nginx server.
It should be noted that, after receiving the execution command, the nginx server also analyzes the command first, and decomposes the command into a script call command and execution information, where the script call command is to call a function script corresponding to the command in the nginx server, and the function script is an execution program encapsulated with a nginx server function, and the function of executing the function script is the function operation of the nginx server, such as modification, query, etc., performed manually by a developer or an operation and maintenance administrator in the prior art; the execution information includes parameter information required for executing the function script, and the content of the parameter information is consistent with the content of the control information in the above 301, that is, specific content information for the user to perform nginx server operation.
305. And the nginx server calls the corresponding function script according to the execution command.
And the nginx server analyzes the received execution command, and then calls a corresponding function script by the obtained script calling command. The function script programs one function in the nginx server through a certain packaging format and is preset in the nginx server. And determining the function script to be executed according to the corresponding relation between the function script and the call command.
306. And the nginx server executes the function script to obtain an execution result.
After determining the function script, the nginx server executes the function script according to the execution information decomposed in the step 304, thereby completing the control operation of the nginx server. And after the nginx server responds according to the execution of the function script, recording the response result, and feeding back the result as the execution result to the control terminal.
307. And sending the execution result to the control end.
And the nginx server sends the recorded execution result to the control end again through remote connection.
308. And displaying the execution result in the control interface by the control end.
And finally, the control terminal feeds back the received execution result to a corresponding control interface, and the operation result of the operation at the nginx server terminal is displayed for the user.
Further, as an implementation of the foregoing method, an embodiment of the apparatus provides an information management apparatus, where the apparatus embodiment corresponds to the foregoing method embodiment, and for convenience of reading, details of the foregoing method embodiment are not repeated in this apparatus embodiment one by one, but it should be clear that the apparatus in this embodiment can correspondingly implement all the contents in the foregoing method embodiment. As shown in fig. 4, the apparatus includes:
an obtaining unit 41, configured to obtain nginx server control instruction information input through a control interface, where the control interface is an interface that graphs functions of the nginx server;
a generating unit 42, configured to generate an execution command recognizable by the nginx server according to the control instruction information acquired by the acquiring unit 41;
a sending unit 43, configured to send the execution command generated by the generating unit 42 to the nginx server, and execute and return an execution result of the execution command by the nginx server;
and the display unit 44 is used for displaying the execution result returned by the nginx server in the control interface.
Further, the obtaining unit 41 is further configured to: and decomposing the nginx server control instruction information into a control instruction and control information, wherein the control instruction is used for calling a corresponding Java script, and the control information is used for recording parameters for controlling the nginx server.
Further, as shown in fig. 5, the generating unit 43 includes:
a calling module 431, configured to call a corresponding Java script according to the control instruction;
an adding module 432, configured to add the control information to the Java script called by the calling module 431;
and the execution module 433 is configured to execute the Java script to which the control information is added by the adding module 432, and obtain an execution command that the nginx server can recognize.
Further, an embodiment of the present invention further provides an information management server, as shown in fig. 6, where the information management server includes:
a receiving unit 61, configured to receive an execution command for controlling the nginx server, where the execution command is an execution command generated by the nginx server control instruction information input through the control interface;
a calling unit 62, configured to call a corresponding function script according to the execution command received by the receiving unit 61, where the function script is an execution program encapsulated with a nginx server function;
the execution unit 63 is used for executing the function script called by the calling unit 62 to obtain an execution result of the nginx server;
and a sending unit 64, configured to send the execution result obtained by the execution unit 63 to the control interface.
Further, the receiving unit 61 is further configured to: and decomposing the execution command into a script call command and execution information. The script calling command is used for calling the corresponding function script, and the execution information comprises parameter information required by executing the function script.
Further, as shown in fig. 7, the calling unit 62 includes:
an obtaining module 621, configured to obtain a script calling command;
a determining module 622, configured to determine, in the preset function scripts, the function script corresponding to the script call command acquired by the acquiring module 621.
Further, as shown in fig. 7, the execution unit 63 includes:
an execution module 631 for executing the function script according to the execution information;
an obtaining module 632, configured to obtain an execution result of the function script executed by the executing module 631.
Further, an embodiment of the present invention further provides an information management system, where the system includes a control end including the information management apparatus as described in fig. 4 and 5, and a nginx server as described in fig. 6 and 7.
In summary, the information management method, apparatus, server, system and apparatus adopted in the embodiments of the present invention are a management system for controlling a nginx server, which is composed of a control end and a nginx server. The user can send the control instruction to the nginx server from the control end through the operation of the control interface, the nginx server identifies the control instruction and carries out specific operation, after the operation is completed, the execution result of the control instruction is obtained and fed back to the control end, and the control end displays the execution result in the corresponding control interface. Compared with the existing control method of the nginx server, the method needs to memorize complex command languages and manually key in commands, and the invention enables a user to more simply, conveniently and intuitively operate and view the operation result in real time when the user performs configuration, debugging, monitoring, management and other operations on the nginx server by setting the operation interface, thereby effectively improving the operation efficiency and the use easiness of the nginx server.
The information management device comprises a processor and a memory, wherein the acquisition unit, the generation unit, the sending unit, the display unit and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The information management server also comprises a processor and a memory, wherein the receiving unit, the calling unit, the executing unit, the sending unit and the like in the server are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to be one or more than one, and the purpose of controlling the nginx server through interface operation is achieved by adjusting kernel parameters.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
The present application further provides a computer program product adapted to perform program code for initializing the following method steps when executed on a data processing device at a control end: acquiring nginx server control instruction information input through a control interface, wherein the control interface is an interface for imaging the functions of the nginx server; generating an execution command which can be identified by the nginx server according to the control instruction information; sending the execution command to the nginx server, executing by the nginx server and returning an execution result of the execution command; and displaying the execution result returned by the nginx server in the control interface.
And when executed on the information management server, is adapted to perform program code for initializing the following method steps: receiving an execution command for controlling the nginx server, wherein the execution command is generated by the nginx server control instruction information input through a control interface; calling a corresponding function script according to the execution command, wherein the function script is an execution program packaged with a nginx server function; executing the functional script to obtain an execution result of the nginx server; and sending the execution result to the control interface.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (9)

1. An information management method is applied to a graphical interface control end for controlling a nginx server, and comprises the following steps:
acquiring nginx server control instruction information input through a control interface, wherein the control interface is an interface for imaging the functions of the nginx server, and specifically, the nginx server control instruction information is decomposed into control instructions and control information, the control instructions are used for calling corresponding Java scripts, and the control information is used for recording parameters for controlling the nginx server;
generating an execution command which can be identified by the nginx server according to the control instruction information, and specifically, calling a corresponding Java script according to the control instruction; adding the control information to the Java script; executing the Java script to obtain an execution command which can be identified by the nginx server;
sending the execution command to the nginx server, executing by the nginx server and returning an execution result of the execution command;
and displaying the execution result returned by the nginx server in the control interface.
2. An information management method, which is used in a nginx server, includes:
receiving an execution command for controlling the nginx server, wherein the execution command is generated by the nginx server control instruction information input through a control interface and is generated through receiving and converting of a control terminal;
calling a corresponding function script according to the execution command, wherein the function script is an execution program packaged with a nginx server function;
executing the functional script to obtain an execution result of the nginx server;
sending the execution result to the control interface,
wherein the receiving of the execution command for controlling the nginx server comprises:
and decomposing the execution command into a script calling command and execution information, wherein the script calling command is used for calling a corresponding function script, and the execution information comprises parameter information required by executing the function script.
3. The method of claim 2, wherein said invoking the corresponding function script according to the execution command comprises:
acquiring the script calling command;
and determining a function script corresponding to the script calling command in preset function scripts.
4. The method of claim 3, wherein said executing the function script to obtain the execution result of the nginx server comprises:
executing the function script according to the execution information;
and acquiring an execution result of the function script.
5. An information management device, which is applied to a graphical interface control terminal for controlling a nginx server, comprises:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring nginx server control instruction information input through a control interface, the control interface is an interface for imaging the function of the nginx server, the nginx server control instruction information is decomposed into a control instruction and control information, the control instruction is used for calling a corresponding Java script, and the control information is used for recording and controlling the parameters of the nginx server;
the generating unit is used for generating an execution command which can be identified by the nginx server according to the control instruction information acquired by the acquiring unit and calling a corresponding Java script according to the control instruction; adding the control information to the Java script; executing the Java script to obtain an execution command which can be identified by the nginx server;
a sending unit, configured to send the execution command generated by the generating unit to the nginx server, where the nginx server executes the execution command and returns an execution result of the execution command;
and the display unit is used for displaying the execution result returned by the nginx server in the control interface.
6. An information management server, characterized in that the information management server is a nginx server, comprising:
the receiving unit is used for receiving an execution command for controlling the nginx server, wherein the execution command is generated by the nginx server control instruction information input through the control interface and is generated by receiving and converting through the control terminal;
the calling unit is used for calling a corresponding function script according to the execution command received by the receiving unit, wherein the function script is an execution program packaged with a nginx server function;
the execution unit is used for executing the function script called by the calling unit to obtain an execution result of the nginx server;
the sending unit is used for sending the execution result obtained by the execution unit to the control interface;
the receiving unit is further configured to decompose the execution command into a script call command and execution information, where the script call command is used to call a corresponding function script, and the execution information includes parameter information required to execute the function script.
7. An information management system, characterized in that the system comprises a control terminal and the nginx server of claim 6, wherein the control terminal comprises the information management apparatus of claim 5.
8. A storage medium comprising a stored program, wherein the program, when executed, controls an apparatus in which the storage medium is located to perform an information management method according to any one of claims 1 to 4.
9. A processor, configured to run a program, wherein the program runs to perform an information management method according to any one of claims 1 to 4.
CN201510698426.3A 2015-10-23 2015-10-23 Information management method, device, server and system Active CN106610845B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510698426.3A CN106610845B (en) 2015-10-23 2015-10-23 Information management method, device, server and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510698426.3A CN106610845B (en) 2015-10-23 2015-10-23 Information management method, device, server and system

Publications (2)

Publication Number Publication Date
CN106610845A CN106610845A (en) 2017-05-03
CN106610845B true CN106610845B (en) 2020-05-12

Family

ID=58613012

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510698426.3A Active CN106610845B (en) 2015-10-23 2015-10-23 Information management method, device, server and system

Country Status (1)

Country Link
CN (1) CN106610845B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108880912A (en) * 2018-07-18 2018-11-23 北京力尊信通科技股份有限公司 A kind of IT O&M control system and method
CN109408192A (en) * 2018-11-07 2019-03-01 郑州市景安网络科技股份有限公司 A kind of Linux server management method and relevant apparatus
CN112187957B (en) * 2020-10-30 2023-06-06 杭州安恒信息技术股份有限公司 Server monitoring method, device, equipment and medium
CN112532608B (en) * 2020-11-23 2023-04-18 国网北京市电力公司 Data processing method and device based on information management system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6233609B1 (en) * 1997-10-31 2001-05-15 Selectica, Inc Method and apparatus for remote interaction with and configuration of a wan-based knowledge base
CN101102322A (en) * 2007-08-24 2008-01-09 华为技术有限公司 A method, system and client for realizing remote control via GUI

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104468148B (en) * 2013-09-12 2019-03-22 中兴通讯股份有限公司 A kind of nginx server configuring maintenance method and system
CN104468226B (en) * 2014-12-18 2018-04-17 山东中创软件工程股份有限公司 Collocation method and device based on Nginx

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6233609B1 (en) * 1997-10-31 2001-05-15 Selectica, Inc Method and apparatus for remote interaction with and configuration of a wan-based knowledge base
CN101102322A (en) * 2007-08-24 2008-01-09 华为技术有限公司 A method, system and client for realizing remote control via GUI

Also Published As

Publication number Publication date
CN106610845A (en) 2017-05-03

Similar Documents

Publication Publication Date Title
CN110058856B (en) Page configuration method and device
CN107291438B (en) Automatic script generation method and device and electronic equipment
WO2018228211A1 (en) Application conversion method, apparatus and device
CN109918055B (en) Application program generation method and device
WO2018036342A1 (en) Csar-based template design visualization method and device
CN106610845B (en) Information management method, device, server and system
US20240054366A1 (en) AI Application Deployment Method and Related Platform, Cluster, Medium, and Program Product
WO2016095570A1 (en) Debugging method and apparatus for embedded system, and storage medium
CN111177113A (en) Data migration method and device, computer equipment and storage medium
CN110795181A (en) Application program interface display method and device based on skip protocol and electronic equipment
CN110795353A (en) Debugging method, device and equipment for fast application and storage medium
CN107092474B (en) Program development method, ETL processing method and device
CN110874216B (en) Complete code generation method, device, equipment and storage medium
CN106919374B (en) Script generation method and device
US10567472B2 (en) Manipulation of PDF files using HTML authoring tools
CN112395098A (en) Application program interface calling method and device, storage medium and electronic equipment
CN116627850B (en) Function debugging method and device, storage medium and electronic equipment
WO2019047677A1 (en) Application download source detection method and apparatus
CN110837467B (en) Software testing method, device and system
CN113900633A (en) Low-code development method and device for scene of Internet of things, storage medium and development platform
CN112764796A (en) Installation package generation system
CN115237399A (en) Method for collecting data, storage medium, processor and engineering vehicle
US20220413813A1 (en) Method and system for automating development of white labeled measurement application
CN114385128A (en) Data processing method, device, apparatus, storage medium and program product
CN114546359A (en) DSL description file generation method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 100083 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing

Applicant after: Beijing Guoshuang Technology Co.,Ltd.

Address before: 100086 Cuigong Hotel, 76 Zhichun Road, Shuangyushu District, Haidian District, Beijing

Applicant before: Beijing Guoshuang Technology Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant