CN109117246A - Server and its command executing method, control method - Google Patents
Server and its command executing method, control method Download PDFInfo
- Publication number
- CN109117246A CN109117246A CN201810736592.1A CN201810736592A CN109117246A CN 109117246 A CN109117246 A CN 109117246A CN 201810736592 A CN201810736592 A CN 201810736592A CN 109117246 A CN109117246 A CN 109117246A
- Authority
- CN
- China
- Prior art keywords
- server
- script
- file
- preset condition
- pending order
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45504—Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators
- G06F9/45508—Runtime interpretation or emulation, e g. emulator loops, bytecode interpretation
- G06F9/45512—Command shells
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The present embodiments relate to the communications field, a kind of server and its command executing method, control method are disclosed.The embodiment of the present invention is applied to from server;The command executing method includes: to obtain file script from primary server;The file script includes at least pending order;Judge whether the file script meets preset condition;If the file script meets the preset condition, the pending order in the file script is executed.The embodiment of the invention also provides a kind of command executing method of server and control methods;The embodiment of the present invention is enormously simplified from the exectorial pre- preceding preparation of server, is saved cost and is improved efficiency, reduces the maintenance load and load of primary server.
Description
Technical field
The present embodiments relate to the communications fields, in particular to a kind of server and its command executing method, controlling party
Method.
Background technique
With the sustainable development of information age, IT O&M has become component part important in IT service, in face of more next
More complicated business, more and more diversified user demand, more and more servers, server automated management, automation
O&M is more and more important.
The executive mode of existing client-server order are as follows: pending order is sent to client by server-side server
The client software of server is held, client software executes pending order after receiving.However, it is found by the inventors that the prior art
In there are the following problems: existing client-server executes pending order, needs to install client software;And client takes
When the quantity of business device is more, server-side server needs to safeguard the IP of a large amount of client-servers, and needs to send a large amount of
It is higher to may result in server-side server load for pending order.
Summary of the invention
Embodiment of the present invention is designed to provide a kind of server and its command executing method, control method,
It enormously simplifies from the exectorial pre- preceding preparation of server, saves cost and improve efficiency, reduce main service
The maintenance load and load of device.
In order to solve the above technical problems, embodiments of the present invention provide a kind of command executing method of server, answer
For from server;The command executing method includes: to obtain file script from primary server;The file script includes at least
Pending order;Judge whether the file script meets preset condition;If the file script meets the preset condition, hold
The pending order in the row file script.
Embodiments of the present invention additionally provide a kind of control method of server, are applied to primary server;The control
Method includes: generation script file;The script file includes at least pending order;The access from server is received, for
It is described to obtain the script file from server, and when determining that the file script meets preset condition, execute the file
The pending order in script.
Embodiments of the present invention additionally provide a kind of server, comprising: at least one processor;And with it is described extremely
The memory of few processor communication connection;Wherein, the memory, which is stored with, to be executed by least one described processor
Instruction, described instruction is executed by least one described processor, so that at least one described processor is able to carry out as above-mentioned
Server command executing method.
Embodiments of the present invention additionally provide a kind of server, at least one processor;And with it is described at least one
The memory of processor communication connection;Wherein, the memory is stored with the instruction that can be executed by least one described processor,
Described instruction is executed by least one described processor, so that at least one described processor is able to carry out such as above-mentioned server
Command executing method.
Embodiments of the present invention additionally provide a kind of computer readable storage medium, are stored with computer program, special
Sign is that the computer program realizes the command executing method of above-mentioned server when being executed by processor.
Embodiments of the present invention additionally provide a kind of computer readable storage medium, are stored with computer program, special
Sign is that the computer program realizes the control method of above-mentioned server when being executed by processor.
Embodiment of the present invention in terms of existing technologies, from server from primary server obtain file script, and
When determining that file script meets preset condition, the pending order in file script is executed;It is since file script can rely on
Uniting, (system is fixed from the plan target of functional such as windows system, the crontab of Linux system from functional automatic execution
Shi Gongneng etc.) so that from server without installing client software, enormously simplify from server it is exectorial it is pre- before
Preparation saves cost and improves efficiency, and primary server, from the IP of server, reduces primary server without maintenance
Maintenance load and load.
In addition, being applied to the slave server with server-tag;The file script further includes script mark;It is described to sentence
Whether the file script that breaks meets in preset condition, specifically: judge the script mark and the service of the file script
Device marks whether to match;If the script mark is matched with the server-tag, it is described pre- to determine that the file script meets
If condition.In the present embodiment, a kind of judgment mode whether file script meets preset condition is provided.
In addition, it is described determine that the file script meets the preset condition before, further includes: judge the file script
In it is described it is pending order whether be executed;If the pending order was not performed, into the judgement institute
It states file script and meets the preset condition.In the present embodiment, when the pending order in judgement this document script is not performed
It is out-of-date, pending order is executed, so that pending order be avoided to be repeatedly executed, improves the stability from server, as far as possible
It avoids occupying resource.
In addition, being obtained in file script from primary server, specifically includes: the primary server is accessed according to predetermined period
Service routine;The file script is obtained by the network address of the preset file script.In the present embodiment, file foot is provided
A kind of this acquisition modes.
In addition, receive from the access of server for it is described obtain the script file from server before, further includes: know
It is not described whether to meet preset access conditions from server;If satisfied, receiving the access from server into described for institute
It states from server and obtains the script file.In the present embodiment, so that the slave server for only meeting access conditions just has a permission
Primary server is accessed, the safety of primary server is improved.
Detailed description of the invention
One or more embodiments are illustrated by the picture in corresponding attached drawing, these exemplary theorys
The bright restriction not constituted to embodiment, the element in attached drawing with same reference numbers label are expressed as similar element, remove
Non- to have special statement, composition does not limit the figure in attached drawing.
Fig. 1 is a kind of specific flow chart of the command executing method of server according to first embodiment;
Fig. 2 is another specific flow chart of the command executing method of server according to first embodiment;
Fig. 3 is the specific flow chart according to the command executing method of the server of second embodiment;
Fig. 4 is the specific flow chart according to the command executing method of the server of third embodiment;
Fig. 5 is a kind of specific flow chart according to the control method of the server of the 4th embodiment;
Fig. 6 is another specific flow chart according to the control method of the server of the 4th embodiment.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention
Each embodiment be explained in detail.However, it will be understood by those skilled in the art that in each embodiment party of the present invention
In formula, in order to make the reader understand this application better, many technical details are proposed.But even if without these technical details
And various changes and modifications based on the following respective embodiments, the application technical solution claimed also may be implemented.
The first embodiment of the present invention is related to a kind of command executing methods of server, are applied to from server;Such as Fig. 1
Shown, the command executing method of server includes:
Step 101, file script is obtained from primary server.
In present embodiment, it is client-server from server, from server that primary server, which is server-side server,
Quantity can be one, or multiple, the present embodiment is not intended to be limited in any;File script has previously been stored in primary server
In, including at least the pending step in pending order, the present embodiment in file script.
In one example, text can be written by program language (such as Php, Java, Go, Python) etc. in primary server
Part function generates script file, and script file can be the script file of the types such as txt, html, log, and the present embodiment is to script
The write-in language of file, file type are not intended to be limited in any.
In a specific example, function is written using fwrite to generate shell script text by Php program language
Part, or function is written using file_put_contents;It is so here exemplary illustration, it is without being limited thereto in practice.
In the present embodiment, pending order can be set according to actual needs, and pending order is, for example, to restart from service
Device installs some software, judges whether log exceeds the time limit and software batch upgrade command etc., so without being limited thereto in practice, this reality
It applies example and treats exectorial concrete type and be not intended to be limited in any.
In the present embodiment, it can periodically be obtained from server from primary server according to predetermined period, predetermined period can
Think 5 minutes, 10 minutes, the specific value of the present embodiment predetermined period is not intended to be limited in any.
Step 102, judge whether file script meets preset condition;If so, enter step 103, otherwise return step
101。
Step 103, the pending order in file script is executed.
The embodiment of the present invention in terms of existing technologies, from server from primary server obtain file script, and
When determining that file script meets preset condition, the pending order in file script is executed;It is since file script can rely on
Uniting, (system is fixed from the plan target of functional such as windows system, the crontab of Linux system from functional automatic execution
Shi Gongneng etc.) so that from server without installing client software, enormously simplify from server it is exectorial it is pre- before
Preparation saves cost and improves efficiency, and primary server, from the IP of server, reduces primary server without maintenance
Maintenance load and load.
The realization details of the command executing method of the server of present embodiment is specifically described below, it is interior below
Hold only for convenience of the realization details provided is understood, not implements the necessary of this programme.
In one example, step 102, judge whether file script meets preset condition, specifically:
Step 102, judge whether the script mark of file script matches with server-tag;If matching, enters step
103, otherwise return step 101.
It is the slave server with server-tag from server, and further include pair in file script in present embodiment
It should be identified in the script of server-tag;Such as a file script is identified with A, A mark corresponds to server-tag A;Or
Person A mark corresponds to A group, and from server group, (A group may include multiple from server from server group, each have from server
Identical server-tag), it is controlled so as to realize that the order of batch is executed with to from the batch of server.
In one example, the script mark in file script is identified first, then by script mark and preset service
Device label is compared, to judge whether the script mark of this document script matches with server-tag, if matching, determines
The file script meets preset condition;Right the present embodiment identifies with the whether matched judgment mode of server-tag not script
It imposes any restrictions.
The step of various methods divide above, be intended merely to describe it is clear, when realization can be merged into a step or
Certain steps are split, multiple steps are decomposed into, as long as including identical logical relation, all in the protection scope of this patent
It is interior;To adding inessential modification in algorithm or in process or introducing inessential design, but its algorithm is not changed
Core design with process is all in the protection scope of the patent.
Second embodiment of the present invention is related to a kind of command executing method of server.Second embodiment is real first
It applies and improves on the basis of mode, mainly the improvement is that: in second embodiment of the invention, when determining script file
It is out-of-date not to be performed, and pending order is just executed from server.
The command executing method of present embodiment is as shown in figure 3, step 201,203 and first in present embodiment are implemented
Step 101,103 correspondences in mode is identical, and sub-step 2021 of the step 102 as step 202, details are not described herein, this reality
The step 202 for applying example further includes following sub-step:
Sub-step 2022, judges whether the pending order in file script is executed;If being executed,
Then return step 201 entered step 203 if not being performed.
In present embodiment, after a script file is performed, which can be marked, with characterization
This document script had been performed.
In one example, the script file addition being performed label can have been executed and has generated list and prestores and (held
Line flag is, for example, time label, so without being limited thereto);When the script file for identifying acquisition in the list prestored, can sentence
The fixed script file had been performed;It is so here exemplary illustration, it is without being limited thereto in practice.
The embodiment of the present invention is for first embodiment, in the script mark and server for determining file script
In the case where indicia matched, also need to judge whether the pending order in file script is executed, when judgement this document
It is out-of-date that pending order in script is not performed, executes pending order, so that pending order be avoided to be repeatedly executed, mentions
Height avoids occupying resource as far as possible from the stability of server.
Third embodiment of the present invention is related to a kind of command executing method of server.Third embodiment is real second
It applies and improves on the basis of mode, mainly the improvement is that: in third embodiment of the invention, providing script file
A kind of acquisition modes.
The command executing method of present embodiment is as shown in figure 4, step 302,303 and first in present embodiment are implemented
Step 202,203 correspondences in mode is identical, and details are not described herein, and the step 301 of the present embodiment includes following sub-step:
Sub-step 3011 accesses the service routine of primary server according to predetermined period.
In present embodiment, in primary server, script file is placed under service routine the service that externally provides.
In one example, service routine is, for example, WEB container (such as nginx, apache), is so not limited in practice
This, the present embodiment is not intended to be limited in any the type of service routine.
In another example, according to the characteristic of the programs such as Php, Java, Go, Python itself, open port is externally mentioned
For HTTP service, for example, Python uses django frame, open port externally provides HTTP service program, script text
Part is placed under the catalogue of HTTP service program;It is so here exemplary illustration, it is without being limited thereto in practice.
In the present embodiment, predetermined period can be 5 minutes, 10 minutes, the present embodiment to the specific value of predetermined period not
It imposes any restrictions, can be set according to actual needs.
Sub-step 3012 obtains file script by the network address of preset file script.
In present embodiment, the crontab that can be carried from server by linux increases timing detection script file
Network address, to obtain script file according to network address.
In one example, script file is txt type, and script is identified as a, script file a.txt, is placed on WEB appearance
Service is externally provided under device, network address can be http://www.xxx.com/a.txt;By crontab increase predetermined period
Timed task for 5 minutes: */5****curl-fsSL http://www.xxx.com/a.txt | sed's/ r//g'| sh;
It is so here exemplary illustration, it is without being limited thereto in practice.
In one example, the pending order in file script is software batch upgrade command, and more every from server
The service routine of the primary server of access in 10 minutes, every obtains file from primary server according to preset network address from server
Script executes software batch upgrade command after the mark for determining file script is matched with server identification;So only show here
Example property explanation, it is without being limited thereto in practice.
In fact, the present embodiment may be improvement project on the basis of first embodiment.
The embodiment of the present invention provides a kind of acquisition modes of file script, i.e., for second embodiment
The service routine that primary server is accessed according to predetermined period obtains file script, method by the network address of preset file script
It is simple and reliable.
4th embodiment of the invention is related to a kind of control method of server, is applied to primary server, such as Fig. 5 institute
Show, the control method of server includes:
Step 401, script file is generated.
In present embodiment, primary server is server-side server;Script file includes at least pending order.
In one example, text can be written by program language (such as Php, Java, Go, Python) etc. in primary server
Part function generates script file, and script file can be the script file of the types such as txt, html, log, and the present embodiment is to script
The write-in language of file, file type are not intended to be limited in any.
In a specific example, function is written using fwrite to generate shell script text by Php program language
Part, or function is written using file_put_contents;It is so here exemplary illustration, it is without being limited thereto in practice.
Step 402, the access from server is received, for obtaining script file from server, and is determining file script
When meeting preset condition, the pending order in file script is executed.
In present embodiment, primary server can receive the access from server by service routine (such as WEB container).
In one example, the IP of family online is dynamic change, and server usually has firewall to be arranged fixed IP's
Mode realizes that primary server remotely adds dynamic IP to the firewall from server below by the present embodiment, realizes dynamic IP
It is long-range to manage from server.Specifically, primary server generates script file, which includes that the dynamic IP allowed is ordered
It enables, pending order, single execute the mark of pending order and repeat the mark of pending order (openable single is held
Row and the one of switch repeated, such as open the switch that single executes), at least one main service from server access
Device obtains the script file and executes pending order, so that primary server allows this dynamic IP remotely to manage from server.
After the dynamic IP variation of permission, aforesaid operations are repeated, to allow new dynamic IP order management from server.So here only
It is exemplary illustration, it is without being limited thereto in practice.
In terms of existing technologies, primary server pre-generates script file to embodiments of the present invention, and receive from
The access of server executes file for obtaining script file from server, and when determining that file script meets preset condition
Pending order in script, instead of the pending order of primary server active transmission in the prior art extremely from the side of server
Formula so that IP of the primary server Maintenance free from server, reduces the maintenance load and load of primary server, improve to from
The control efficiency of server.
The realization details of the control method of the server of present embodiment is specifically described below, the following contents is only
For convenience of the realization details provided is understood, not implement the necessary of this programme.
Preferably, in present embodiment, as shown in fig. 6, step 501 in the present embodiment, 503 with step 401,402 pairs
Answer identical, details are not described herein, and the present embodiment has increased following steps newly:
Step 502, whether identification meets preset access conditions from server;If satisfied, entering step 503, otherwise directly
Binding beam.
In one example, preset access conditions be, for example, from server be belong in default access list from service
Device;Or from the institute possession of server be institute possession in default institute's possession list;The present embodiment only to meet access conditions
Slave server just have permission access primary server, improve the safety of primary server;It is so here exemplary illustration, it is real
It is without being limited thereto in border.
Fifth embodiment of the invention is related to a kind of server, comprising: at least one processor;And at least one
The memory of processor communication connection;Wherein, memory is stored with the instruction that can be executed by least one processor, instructs by extremely
A few processor executes, so that at least one processor is able to carry out as first embodiment is any into third embodiment
The command executing method of the server of embodiment.
Wherein, memory is connected with processor using bus mode, and bus may include the bus of any number of interconnection
And bridge, bus is by one or more processors together with the various circuit connections of memory.Bus can also will be such as peripheral
Together with various other circuit connections of management circuit or the like, these are all well known in the art for equipment, voltage-stablizer
, therefore, it will not be further described herein.Bus interface provides interface between bus and transceiver.Transceiver
Can be an element, be also possible to multiple element, such as multiple receivers and transmitter, provide for over a transmission medium with
The unit of various other device communications.The data handled through processor are transmitted on the radio medium by antenna, further,
Antenna also receives data and transfers data to processor.
Processor is responsible for managing bus and common processing, can also provide various functions, including periodically, peripheral interface,
Voltage adjusting, power management and other control functions.And memory can be used for storage processor and execute operation when institute
The data used.
Embodiments of the present invention obtain file script in terms of existing technologies, from server from primary server, and
When determining that file script meets preset condition, the pending order in file script is executed;Since file script relies on system
From functional automatic execution (the crontab timing of plan target, Linux system of the system from functional such as windows system
Function etc.) so that being enormously simplified exectorial pre- preceding quasi- from server from server without installing client software
Standby work, saves cost and improves efficiency, and primary server, from the IP of server, reduces primary server without maintenance
Maintenance load and load.
Sixth embodiment of the invention is related to a kind of server, comprising: at least one processor;And at least one
The memory of processor communication connection;Wherein, memory is stored with the instruction that can be executed by least one processor, instructs by extremely
A few processor executes, so that at least one processor is able to carry out the control method of the server such as the 4th embodiment.
Wherein, memory is connected with processor using bus mode, and bus may include the bus of any number of interconnection
And bridge, bus is by one or more processors together with the various circuit connections of memory.Bus can also will be such as peripheral
Together with various other circuit connections of management circuit or the like, these are all well known in the art for equipment, voltage-stablizer
, therefore, it will not be further described herein.Bus interface provides interface between bus and transceiver.Transceiver
Can be an element, be also possible to multiple element, such as multiple receivers and transmitter, provide for over a transmission medium with
The unit of various other device communications.The data handled through processor are transmitted on the radio medium by antenna, further,
Antenna also receives data and transfers data to processor.
Processor is responsible for managing bus and common processing, can also provide various functions, including periodically, peripheral interface,
Voltage adjusting, power management and other control functions.And memory can be used for storage processor and execute operation when institute
The data used.
In terms of existing technologies, primary server pre-generates script file to embodiments of the present invention, and receive from
The access of server executes file for obtaining script file from server, and when determining that file script meets preset condition
Pending order in script, instead of the pending order of primary server active transmission in the prior art extremely from the side of server
Formula so that IP of the primary server Maintenance free from server, reduces the maintenance load and load of primary server, improve to from
The control efficiency of server.
Seventh embodiment of the invention is related to a kind of computer readable storage medium, is stored with computer program, the meter
Realize that the order of the first server into third embodiment in any embodiment is held when calculation machine program is executed by processor
Row method.
Embodiments of the present invention obtain file script in terms of existing technologies, from server from primary server, and
When determining that file script meets preset condition, the pending order in file script is executed;Since file script relies on system
From functional automatic execution or (system is fixed from the plan target of functional such as windows system, the crontab of Linux system
Shi Gongneng etc.) so that from server without installing client software, enormously simplify from server it is exectorial it is pre- before
Preparation saves cost and improves efficiency, and primary server, from the IP of server, reduces primary server without maintenance
Maintenance load and load.
Eighth embodiment of the invention is related to a kind of computer readable storage medium, is stored with computer program, the meter
The control method of the server of the 4th embodiment is realized when calculation machine program is executed by processor.
In terms of existing technologies, primary server pre-generates script file to embodiments of the present invention, and receive from
The access of server executes file for obtaining script file from server, and when determining that file script meets preset condition
Pending order in script, instead of the pending order of primary server active transmission in the prior art extremely from the side of server
Formula so that IP of the primary server Maintenance free from server, reduces the maintenance load and load of primary server, improve to from
The control efficiency of server.
That is, it will be understood by those skilled in the art that implement the method for the above embodiments be can be with
Relevant hardware is instructed to complete by program, which is stored in a storage medium, including some instructions are to make
It obtains an equipment (can be single-chip microcontroller, chip etc.) or processor (processor) executes side described in each embodiment of the application
The all or part of the steps of method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey
The medium of sequence code.
It will be understood by those skilled in the art that the respective embodiments described above are to realize specific embodiments of the present invention,
And in practical applications, can to it, various changes can be made in the form and details, without departing from the spirit and scope of the present invention.
Claims (10)
1. a kind of command executing method of server, which is characterized in that be applied to from server;The command executing method packet
It includes:
File script is obtained from primary server;The file script includes at least pending order;
Judge whether the file script meets preset condition;
If the file script meets the preset condition, the pending order in the file script is executed.
2. the command executing method of server according to claim 1, which is characterized in that be applied to that there is server-tag
Slave server;The file script further includes script mark;It is described to judge whether the file script meets preset condition, tool
Body are as follows:
Judge whether the script mark of the file script matches with the server-tag;
If the script mark is matched with the server-tag, determine that the file script meets the preset condition.
3. the command executing method of server according to claim 2, which is characterized in that described to determine the file script
Before meeting the preset condition, further includes:
Judge whether the pending order in the file script is executed;
If the pending order was not performed, determine that the file script meets the preset condition into described.
4. the command executing method of server according to claim 1, which is characterized in that described to obtain text from primary server
In part script, specifically include:
The service routine of the primary server is accessed according to predetermined period;
The file script is obtained by the network address of the preset file script.
5. a kind of control method of server, which is characterized in that be applied to primary server;The control method includes:
Generate script file;The script file includes at least pending order;
The access from server is received, obtains the script file from server for described, and determining the file script
When meeting preset condition, the pending order in the file script is executed.
6. the control method of server according to claim 5, which is characterized in that it is described receive from the access of server it
Before, further includes:
Whether identification is described meets preset access conditions from server;
If satisfied, executing described receive from the access of server again obtains the script file from server for described.
7. a kind of server characterized by comprising
At least one processor;And
The memory being connect at least one described processor communication;Wherein,
The memory is stored with the instruction that can be executed by least one described processor, and described instruction is by described at least one
It manages device to execute, so that at least one described processor is able to carry out the order of the server as described in any in Claims 1-4
Execution method.
8. a kind of server characterized by comprising
At least one processor;And
The memory being connect at least one described processor communication;Wherein,
The memory is stored with the instruction that can be executed by least one described processor, and described instruction is by described at least one
It manages device to execute, so that at least one described processor is able to carry out the order of the server as described in any in claim 5 to 6
Execution method.
9. a kind of computer readable storage medium, is stored with computer program, which is characterized in that the computer program is processed
Device realizes the command executing method of server described in any one of Claims 1-4 when executing.
10. a kind of computer readable storage medium, is stored with computer program, which is characterized in that the computer program is located
Manage the control method that server described in any one of claim 5 to 6 is realized when device executes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810736592.1A CN109117246B (en) | 2018-07-06 | 2018-07-06 | Server and command execution method and control method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810736592.1A CN109117246B (en) | 2018-07-06 | 2018-07-06 | Server and command execution method and control method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109117246A true CN109117246A (en) | 2019-01-01 |
CN109117246B CN109117246B (en) | 2022-05-10 |
Family
ID=64822116
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810736592.1A Active CN109117246B (en) | 2018-07-06 | 2018-07-06 | Server and command execution method and control method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109117246B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110806922A (en) * | 2019-10-14 | 2020-02-18 | 广州微算互联信息技术有限公司 | Script execution method, device, equipment and storage medium |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6910166B2 (en) * | 2001-11-06 | 2005-06-21 | Fujitsu Limited | Method of and apparatus for timing verification of LSI test data and computer product |
CN101398762A (en) * | 2007-09-29 | 2009-04-01 | 联想(北京)有限公司 | Method and device for automatic installing operating system on computer |
US20140012968A1 (en) * | 2012-06-26 | 2014-01-09 | Huawei Technologies Co., Ltd | Method, apparatus and system for implementing service control of home network device |
US20140115108A1 (en) * | 2011-10-19 | 2014-04-24 | Huawei Device Co., Ltd. | Service Provisioning Method, Device, and System |
CN104267993A (en) * | 2014-09-30 | 2015-01-07 | 珠海市君天电子科技有限公司 | Software updating method, device and mobile terminal |
CN105100277A (en) * | 2015-09-01 | 2015-11-25 | 国家电网公司 | Software inspection method, device and system |
CN105468379A (en) * | 2015-12-25 | 2016-04-06 | 北京金山安全软件有限公司 | Script file execution method and device |
CN105978849A (en) * | 2015-12-08 | 2016-09-28 | 乐视网信息技术(北京)股份有限公司 | Client updating method and system, client and server |
KR20160121037A (en) * | 2015-04-09 | 2016-10-19 | 한국전자통신연구원 | Method for executing Java Script based application in optimized manner |
CN106250104A (en) * | 2015-06-09 | 2016-12-21 | 阿里巴巴集团控股有限公司 | A kind of remote operating system for server, method and device |
CN106713053A (en) * | 2017-02-19 | 2017-05-24 | 郑州云海信息技术有限公司 | Method and device for batch updating server firmware based on Linux |
CN107688538A (en) * | 2017-08-31 | 2018-02-13 | 北京蓝海讯通科技股份有限公司 | A kind of script execution, device and computing device |
CN108170512A (en) * | 2017-12-27 | 2018-06-15 | 德阳源创能源科技有限公司 | Script drives analysis method and device |
-
2018
- 2018-07-06 CN CN201810736592.1A patent/CN109117246B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6910166B2 (en) * | 2001-11-06 | 2005-06-21 | Fujitsu Limited | Method of and apparatus for timing verification of LSI test data and computer product |
CN101398762A (en) * | 2007-09-29 | 2009-04-01 | 联想(北京)有限公司 | Method and device for automatic installing operating system on computer |
US20140115108A1 (en) * | 2011-10-19 | 2014-04-24 | Huawei Device Co., Ltd. | Service Provisioning Method, Device, and System |
US20140012968A1 (en) * | 2012-06-26 | 2014-01-09 | Huawei Technologies Co., Ltd | Method, apparatus and system for implementing service control of home network device |
CN104267993A (en) * | 2014-09-30 | 2015-01-07 | 珠海市君天电子科技有限公司 | Software updating method, device and mobile terminal |
KR20160121037A (en) * | 2015-04-09 | 2016-10-19 | 한국전자통신연구원 | Method for executing Java Script based application in optimized manner |
CN106250104A (en) * | 2015-06-09 | 2016-12-21 | 阿里巴巴集团控股有限公司 | A kind of remote operating system for server, method and device |
CN105100277A (en) * | 2015-09-01 | 2015-11-25 | 国家电网公司 | Software inspection method, device and system |
CN105978849A (en) * | 2015-12-08 | 2016-09-28 | 乐视网信息技术(北京)股份有限公司 | Client updating method and system, client and server |
CN105468379A (en) * | 2015-12-25 | 2016-04-06 | 北京金山安全软件有限公司 | Script file execution method and device |
CN106713053A (en) * | 2017-02-19 | 2017-05-24 | 郑州云海信息技术有限公司 | Method and device for batch updating server firmware based on Linux |
CN107688538A (en) * | 2017-08-31 | 2018-02-13 | 北京蓝海讯通科技股份有限公司 | A kind of script execution, device and computing device |
CN108170512A (en) * | 2017-12-27 | 2018-06-15 | 德阳源创能源科技有限公司 | Script drives analysis method and device |
Non-Patent Citations (2)
Title |
---|
MDXY-DXY: "服务器定时执行计划任务,定时访问页面(windows/linux)", 《HTTPS://WWW.JB51.NET/ARTICLE/96624.HTM》 * |
SUBYING: "crontab -让服务器执行定时任务", 《HTTPS://WWW.CNBLOGS.COM/SUBYING/P/5815703.HTML》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110806922A (en) * | 2019-10-14 | 2020-02-18 | 广州微算互联信息技术有限公司 | Script execution method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109117246B (en) | 2022-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11075821B2 (en) | Method and apparatus for managing field device based on cloud server | |
CN104079543B (en) | The acquisition methods of intelligent domestic system supervision authority, device and system | |
CN107431651B (en) | Life cycle management method and equipment for network service | |
CN104954468A (en) | Resource allocation method and resource allocation device | |
CN106681922B (en) | Response method and system of simulation server | |
CN110781013B (en) | Gray scale publishing method, device, equipment and medium | |
CN104346198B (en) | Information processing unit, server unit, information processing method and storage equipment | |
CN109257293A (en) | A kind of method for limiting speed, device and gateway server for network congestion | |
CN106375442B (en) | Method and device for cross-platform management of equipment information | |
CN110058894B (en) | Method, apparatus and computer program product for executing applications in a hybrid cloud | |
CN105228126A (en) | A kind of method and system of Network Access Point trustship | |
CN111600972A (en) | Configuration method of double-stack address, server and readable storage medium | |
CN110166547A (en) | Terminal remote access control method | |
CN101079903B (en) | Method and system based on remote login of user terminal | |
CN109788325A (en) | Video task distribution method and server | |
CN109117246A (en) | Server and its command executing method, control method | |
CN108121221B (en) | Robot command interface control system and method | |
CN109617713A (en) | The implementation method and server of resource dissemination | |
CN109327499A (en) | Management method and device, storage medium, the terminal of business interface | |
US20140344427A1 (en) | Device and method for automatic switching of communication protocol of network devices based on user action | |
CN104468696A (en) | Method, server and device for performing point-to-point connection | |
CN114244703A (en) | Bare metal server checking and deploying method, device, equipment and medium | |
US10491654B2 (en) | Communicating with a remote service through a hypertext transfer protocol (HTTP) session | |
CN106850756B (en) | Method and system for realizing communication between web page and local application | |
CN110471717A (en) | A kind of data processing method and device |
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 |