Disclosure of Invention
The embodiment of the disclosure provides an operation and maintenance method and device for a server cluster, electronic equipment and a computer-readable storage medium.
In a first aspect, an embodiment of the present disclosure provides an operation and maintenance method for a server cluster.
Specifically, the operation and maintenance method for the server cluster includes:
responding to an operation and maintenance event initiated by a user, and acquiring operation and maintenance data provided by the user;
generating a work order to be executed according to the operation and maintenance data; the to-be-executed work order at least comprises configuration information, an instruction set to be executed and/or a task set to be executed;
and distributing the to-be-executed work order to one or more target servers in a server cluster so that the target servers execute corresponding operations according to the to-be-executed work order.
Further, the set of instructions to be executed includes at least one of: network instructions, file instructions, directory instructions, script instructions;
and/or the set of tasks to be performed comprises at least one of the following:
and configuring a polling task, a health examination task and a timing task.
Further, the operation and maintenance method of the server cluster further includes:
and receiving and displaying feedback data returned by the target server.
In a second aspect, an operation and maintenance method for a server cluster is provided in the embodiments of the present disclosure.
Specifically, the operation and maintenance method for the server cluster includes:
receiving a work order to be executed distributed by an operation and maintenance center server;
analyzing the work order to be executed, and extracting configuration information, an instruction set to be executed and/or a task set to be executed in the work order to be executed;
and automatically executing corresponding operation according to the work order to be executed.
Further, the automatically executing corresponding operations according to the work order to be executed includes at least one of the following:
transmitting the configuration information to corresponding application service so as to update the configuration information in the application service memory;
and generating a configuration file according to the configuration information, and storing the configuration file into a directory corresponding to the configuration file of the application service.
Further, the automatically executing corresponding operations according to the work order to be executed includes at least one of the following:
checking the configuration file on the target server at regular time according to the task in the task set to be executed, and returning a checking result to the operation and maintenance center;
and checking a preset interface of the application service on the target server at regular time according to the task in the to-be-executed task set, and returning a checking result to the operation and maintenance center.
In a third aspect, an operation and maintenance device for a server cluster is provided in the embodiments of the present disclosure.
Specifically, the operation and maintenance device of the server cluster includes:
the response module is configured to respond to an operation and maintenance event initiated by a user and acquire operation and maintenance data provided by the user;
the generating module is configured to generate a work order to be executed according to the operation and maintenance data; the to-be-executed work order at least comprises configuration information, an instruction set to be executed and/or a task set to be executed;
the distribution module is configured to distribute the to-be-executed work order to one or more target servers in a server cluster, so that the target servers execute corresponding operations according to the to-be-executed work order.
Further, the set of instructions to be executed includes at least one of: network instructions, file instructions, directory instructions, script instructions;
and/or the set of tasks to be performed comprises at least one of the following:
and configuring a polling task, a health examination task and a timing task.
Further, the operation and maintenance device of the server cluster further includes:
and the receiving module is configured to receive and display the feedback data returned by the target server.
In one possible design, the structure of the operation and maintenance device of the server cluster includes a memory and a processor, where the memory is used to store one or more computer instructions for supporting the operation and maintenance device of the server cluster to execute the operation and maintenance method of the server cluster in the first aspect, and the processor is configured to execute the computer instructions stored in the memory. The operation and maintenance device of the server cluster may further include a communication interface, which is used for the operation and maintenance device of the server cluster to communicate with other equipment or a communication network.
In a fourth aspect, an operation and maintenance device for a server cluster is provided in the embodiments of the present disclosure.
Specifically, the operation and maintenance device of the server cluster includes:
the receiving module is configured to receive the work order to be executed distributed by the operation and maintenance center server;
the analysis module is configured to analyze the work order to be executed and extract configuration information, an instruction set to be executed and/or a task set to be executed in the work order to be executed;
and the execution module is configured to automatically execute corresponding operation according to the work order to be executed.
Further, the execution module includes at least one of:
the transmission submodule is configured to transmit the configuration information to the corresponding application service so as to update the configuration information in the application service memory;
and the generation submodule is configured to generate a configuration file according to the configuration information, and store the configuration file into a directory corresponding to the configuration file of the application service.
Further, the execution module includes at least one of:
the first checking submodule is configured to check the configuration file on the target server at regular time according to the tasks in the to-be-executed task set and return a checking result to the operation and maintenance center;
and the second checking submodule is configured to regularly check a preset interface of the application service on the target server according to the task in the to-be-executed task set, and return a checking result to the operation and maintenance center.
The functions can be realized by hardware, and the functions can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above-described functions.
In one possible design, the structure of the operation and maintenance device of the server cluster includes a memory and a processor, the memory is used for storing one or more computer instructions for supporting the operation and maintenance device of the server cluster to execute the operation and maintenance method of the server cluster in the second aspect, and the processor is configured to execute the computer instructions stored in the memory. The operation and maintenance device of the server cluster may further include a communication interface, which is used for the operation and maintenance device of the server cluster to communicate with other equipment or a communication network.
In a fifth aspect, an embodiment of the present disclosure provides an operation and maintenance system for a server cluster, including:
an operation and maintenance center server for executing the method of the first aspect; and/or the presence of a gas in the gas,
a target server for executing the method of the second aspect.
In a sixth aspect, an embodiment of the present disclosure provides an electronic device, including a memory and a processor; wherein the memory is configured to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method steps of the first aspect.
In a seventh aspect, an embodiment of the present disclosure provides a computer-readable storage medium for storing computer instructions for an operation and maintenance device of a server cluster, where the computer instructions include computer instructions for executing the operation and maintenance method of the server cluster in the first aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
when an event that a user carries out operation and maintenance on a server in a server cluster is received, a to-be-executed work order at least comprising configuration information, an instruction set to be executed and/or a task to be executed is generated according to operation and maintenance data provided by the user, the generated to-be-executed work order is distributed to a target server in the server cluster, and the target server automatically executes corresponding operation according to the to-be-executed work order. According to the embodiment of the disclosure, the operation and maintenance center is matched with the execution units on the target servers in the server cluster, so that batch issuing of operation and maintenance events can be realized, safe and reliable dynamic updating of configuration information on the servers can be realized, and the operation and maintenance efficiency of a user on one or more target servers in the server cluster can be improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Detailed Description
Hereinafter, exemplary embodiments of the present disclosure will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily implement them. Also, for the sake of clarity, parts not relevant to the description of the exemplary embodiments are omitted in the drawings.
In the present disclosure, it is to be understood that terms such as "including" or "having," etc., are intended to indicate the presence of the disclosed features, numbers, steps, behaviors, components, parts, or combinations thereof, and are not intended to preclude the possibility that one or more other features, numbers, steps, behaviors, components, parts, or combinations thereof may be present or added.
It should be further noted that the embodiments and features of the embodiments in the present disclosure may be combined with each other without conflict. The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 shows a flowchart of an operation and maintenance method of a server cluster according to an embodiment of the present disclosure. The operation and maintenance method of the server cluster is operated on the operation and maintenance center server. As shown in fig. 1, the operation and maintenance method of the server cluster includes the following steps S101 to S103:
in step S101, in response to an operation and maintenance event initiated by a user, operation and maintenance data provided by the user is acquired;
in step S102, a work order to be executed is generated according to the operation and maintenance data; the to-be-executed work order at least comprises configuration information, an instruction set to be executed and/or a task set to be executed;
in step S103, the work order to be executed is distributed to one or more target servers in a server cluster, so that the target servers execute corresponding operations according to the work order to be executed.
In this embodiment, the operation and maintenance center server performs operation and maintenance management and control on one or more target servers in the server cluster, for example, a user sends an instruction to one or more target servers in the server cluster through the operation and maintenance center server to determine whether an application service running on the target server is normal or not.
The operation and maintenance events may include an inspection of the health condition of a target server in the server cluster by a user of the operation and maintenance center, an information configuration of an application system running on the target server, and the like. The operation and maintenance data may include, but is not limited to, one or more of configuration information, an instruction set, a task set, and a target server identification. The configuration information may be configuration update data for an application system running on the target server, and the instruction set may be one or more instructions to be executed by the target server, such as an update instruction of the configuration information; the set of tasks may be one or more tasks to be performed on the target server, such as health check tasks and the like.
After the operation and maintenance central server obtains the operation and maintenance data provided by the user, a work order to be executed is generated according to the operation and maintenance data, and the work order to be executed at least comprises configuration information, an instruction set to be executed and/or a task set to be executed. After the operation and maintenance center server generates the work order to be executed according to the operation and maintenance data, the operation and maintenance center server distributes the work order to be executed to one or more target servers in the server cluster, wherein the target servers can be provided by users, can be all servers in the server cluster, and can also be one or more servers therein, and the operation and maintenance center server is specifically determined according to the requirements of the users. The target server may run an execution unit, which is used to receive the work order to be executed, and execute corresponding operations after analyzing the content of the work order to be executed. For example, if the configuration information of one or some application services is specified to be updated in the to-be-executed work order, the execution center may transmit the configuration information to the corresponding application service, update the configuration information in the memory by the corresponding application service, and simultaneously store the original configuration file into the specified directory and store the updated configuration information into the configuration file for subsequent use. For another example, if the job ticket to be executed specifies that the health check task of the application service is to be executed, the execution unit may verify whether the updated configuration file is correct, and the like. The configuration information, the instruction set to be executed, and the task to be executed that can be specified in the work order to be executed are only exemplified above, but the actual application is not limited to the content exemplified above, and other settings may be performed according to the actual situation, so as to implement the corresponding operation and maintenance event.
When an event that a user carries out operation and maintenance on a server in a server cluster is received, a to-be-executed work order at least comprising configuration information, an instruction set to be executed and/or a task to be executed is generated according to operation and maintenance data provided by the user, the generated to-be-executed work order is distributed to a target server in the server cluster, and the target server automatically executes corresponding operation according to the to-be-executed work order. According to the embodiment of the disclosure, the operation and maintenance center is matched with the execution units on the target servers in the server cluster, so that batch issuing of operation and maintenance events can be realized, safe and reliable dynamic updating of configuration information on the servers can be realized, and the operation and maintenance efficiency of a user on one or more target servers in the server cluster can be improved.
In an optional implementation manner of this embodiment, the instruction set to be executed includes at least one of: network instructions, file instructions, directory instructions, script instructions;
and/or the set of tasks to be performed comprises at least one of the following:
and configuring a polling task, a health examination task and a timing task.
In this optional implementation manner, the network instruction may be a local network request initiated by an execution unit on the target server, and is used to transmit the configuration information in the work order to be executed to an application service running on the target server, so as to update the configuration information in the memory. File instructions may include, but are not limited to: the file generation instruction is used for generating a new configuration file according to the configuration information in the work order to be executed and setting the file attribute; a file download instruction for downloading a file from the specified URL to the specified directory; a file deleting instruction for deleting the file of the specified path; the file polling command is used for returning the name and the MD5 value of the specified file; a file reading instruction for returning the file content, the MD5 to the file and the last modification time; directory instructions may include, but are not limited to: a directory reading instruction for returning the files in the directory and the last modification date thereof; and the directory moving instruction is used for moving the files in the directory to the specific directory. The script instructions may be instructions to execute a particular script file.
The execution unit on the target server can check whether the MD5 value of the configuration file on the target server is consistent with the expected MD5 value according to the configuration inspection task, record and return the check result to the operation and maintenance center. And the execution unit on the target server can record and return a verification result to the operation and maintenance center according to whether the specific interface of the health check task request application service is consistent with the expected response value. The timing tasks may be other timing tasks that extend beyond the configuration patrol task and the health check task.
In an optional implementation manner of this embodiment, the method further includes the following steps:
and receiving and displaying feedback data returned by the target server.
In this optional implementation, after the target server updates the configuration information, completes the instruction execution, and/or completes the task execution, the result may be returned to the operation and maintenance center, so that the user can view the operation and maintenance result for the target server. In addition, the feedback data indicates that the target server does not successfully complete the operation corresponding to the work order to be executed, and the work order to be executed can be sent to the target server again; or when a certain task is executed and the health condition of the target server is found to be problematic, alarm information can be automatically sent to the user.
Fig. 2 shows a flowchart of an operation and maintenance method of a server cluster according to an embodiment of the present disclosure. The operation and maintenance method of the server cluster is operated on a target server in the server cluster. As shown in fig. 2, the operation and maintenance method of the server cluster includes the following steps S201 to S203:
in step S201, a work order to be executed distributed by the operation and maintenance center server is received;
in step S202, the to-be-executed work order is analyzed, and configuration information, an to-be-executed instruction set, and/or an to-be-executed task set in the to-be-executed work order are extracted;
in step S203, corresponding operations are automatically executed according to the work order to be executed.
In this embodiment, the execution unit on the target server may monitor the information of the operation and maintenance center at any time, after receiving the to-be-executed work order distributed by the operation and maintenance center, the execution unit analyzes the content of the to-be-executed work order after verifying the validity of the request, extracts the configuration information, the to-be-executed instruction set, and/or the to-be-executed task set in the to-be-executed work order, and then executes the corresponding operation according to the content of the to-be-executed work order. Other details may be referred to in the description of the operation and maintenance method of the server cluster in the embodiment shown in fig. 1, and are not described herein again.
In an optional implementation manner of this embodiment, automatically executing a corresponding operation according to the to-be-executed work order includes at least one of the following:
transmitting the configuration information to corresponding application service so as to update the configuration information in the application service memory;
and generating a configuration file according to the configuration information, and storing the configuration file into a directory corresponding to the configuration file of the application service.
In this optional implementation manner, when the to-be-executed work order includes the configuration information and the corresponding configuration information update instruction, the execution unit on the target server initiates a local network request to transmit the configuration information to the application service, so as to update the configuration information in the application service memory. After the memory configuration is updated successfully, the execution unit may further create a new directory, move the old configuration file to the new directory, generate a new configuration file according to the configuration information in the work order to be executed, and move the new configuration file to the specified directory, that is, the directory corresponding to the configuration file of the application service.
In an optional implementation manner of this embodiment, automatically executing a corresponding operation according to the to-be-executed work order includes at least one of the following:
checking the configuration file on the target server at regular time according to the task in the task set to be executed, and returning a checking result to the operation and maintenance center;
and checking a preset interface of the application service on the target server at regular time according to the task in the to-be-executed task set, and returning a checking result to the operation and maintenance center.
In this optional implementation manner, when the to-be-executed work order includes a configuration polling task for checking the configuration file and/or a corresponding application service health check task on the verification target server, the execution unit may verify the health of the updated configuration information according to the to-be-executed work order, for example, the execution unit starts the task polling configuration file, checks whether the MD5 value of the configuration file changes, and if so, records a time point of changing the configuration file to the local monitoring file, and returns the time point to the operation and maintenance center for displaying or alarming. In addition, the execution unit can also start a timing task to request a preset interface of the application service at a timing, compare a result returned by the preset interface with an expected response value, record the result and return the result to the operation and maintenance center.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
Fig. 3 shows a block diagram of an operation and maintenance device of a server cluster according to an embodiment of the present disclosure, which may be implemented as part of or all of an electronic device through software, hardware, or a combination of the two. The operation and maintenance device of the server cluster operates on the operation and maintenance center server, as shown in fig. 3, the operation and maintenance device of the server cluster includes:
the response module 301 is configured to respond to an operation and maintenance event initiated by a user, and acquire operation and maintenance data provided by the user;
a generating module 302 configured to generate a work order to be executed according to the operation and maintenance data; the to-be-executed work order at least comprises configuration information, an instruction set to be executed and/or a task set to be executed;
the distributing module 303 is configured to distribute the to-be-executed work order to one or more target servers in a server cluster, so that the target servers execute corresponding operations according to the to-be-executed work order.
In this embodiment, the operation and maintenance center server performs operation and maintenance management and control on one or more target servers in the server cluster, for example, a user sends an instruction to one or more target servers in the server cluster through the operation and maintenance center server to determine whether an application service running on the target server is normal or not.
The operation and maintenance events may include an inspection of the health condition of a target server in the server cluster by a user of the operation and maintenance center, an information configuration of an application system running on the target server, and the like. The operation and maintenance data may include, but is not limited to, one or more of configuration information, an instruction set, a task set, and a target server identification. The configuration information may be configuration update data for an application system running on the target server, and the instruction set may be one or more instructions to be executed by the target server, such as an update instruction of the configuration information; the set of tasks may be one or more tasks to be performed on the target server, such as health check tasks and the like.
After the operation and maintenance central server obtains the operation and maintenance data provided by the user, a work order to be executed is generated according to the operation and maintenance data, and the work order to be executed at least comprises configuration information, an instruction set to be executed and/or a task set to be executed. After the operation and maintenance center server generates the work order to be executed according to the operation and maintenance data, the operation and maintenance center server distributes the work order to be executed to one or more target servers in the server cluster, wherein the target servers can be provided by users, can be all servers in the server cluster, and can also be one or more servers therein, and the operation and maintenance center server is specifically determined according to the requirements of the users. The target server may run an execution unit, which is used to receive the work order to be executed, and execute corresponding operations after analyzing the content of the work order to be executed. For example, if the configuration information of one or some application services is specified to be updated in the to-be-executed work order, the execution center may transmit the configuration information to the corresponding application service, update the configuration information in the memory by the corresponding application service, and simultaneously store the original configuration file into the specified directory and store the updated configuration information into the configuration file for subsequent use. For another example, if the job ticket to be executed specifies that the health check task of the application service is to be executed, the execution unit may verify whether the updated configuration file is correct, and the like. The configuration information, the instruction set to be executed, and the task to be executed that can be specified in the work order to be executed are only exemplified above, but the actual application is not limited to the content exemplified above, and other settings may be performed according to the actual situation, so as to implement the corresponding operation and maintenance event.
When an event that a user carries out operation and maintenance on a server in a server cluster is received, a to-be-executed work order at least comprising configuration information, an instruction set to be executed and/or a task to be executed is generated according to operation and maintenance data provided by the user, the generated to-be-executed work order is distributed to a target server in the server cluster, and the target server automatically executes corresponding operation according to the to-be-executed work order. According to the embodiment of the disclosure, the operation and maintenance center is matched with the execution units on the target servers in the server cluster, so that batch issuing of operation and maintenance events can be realized, safe and reliable dynamic updating of configuration information on the servers can be realized, and the operation and maintenance efficiency of a user on one or more target servers in the server cluster can be improved.
In an optional implementation manner of this embodiment, the instruction set to be executed includes at least one of: network instructions, file instructions, directory instructions, script instructions;
and/or the set of tasks to be performed comprises at least one of the following:
and configuring a polling task, a health examination task and a timing task.
In this optional implementation manner, the network instruction may be a local network request initiated by an execution unit on the target server, and is used to transmit the configuration information in the work order to be executed to an application service running on the target server, so as to update the configuration information in the memory. File instructions may include, but are not limited to: the file generation instruction is used for generating a new configuration file according to the configuration information in the work order to be executed and setting the file attribute; a file download instruction for downloading a file from the specified URL to the specified directory; a file deleting instruction for deleting the file of the specified path; the file polling command is used for returning the name and the MD5 value of the specified file; a file reading instruction for returning the file content, the MD5 to the file and the last modification time; directory instructions may include, but are not limited to: a directory reading instruction for returning the files in the directory and the last modification date thereof; and the directory moving instruction is used for moving the files in the directory to the specific directory. The script instructions may be instructions to execute a particular script file.
The execution unit on the target server can check whether the MD5 value of the configuration file on the target server is consistent with the expected MD5 value according to the configuration inspection task, record and return the check result to the operation and maintenance center. And the execution unit on the target server can record and return a verification result to the operation and maintenance center according to whether the specific interface of the health check task request application service is consistent with the expected response value. The timed tasks may be other timed tasks that extend beyond configuration patrol tasks and health checks.
In an optional implementation manner of this embodiment, the apparatus further includes:
and the receiving module is configured to receive and display the feedback data returned by the target server.
In this optional implementation, after the target server updates the configuration information, completes the instruction execution, and/or completes the task execution, the result may be returned to the operation and maintenance center, so that the user can view the operation and maintenance result for the target server. In addition, the feedback data indicates that the target server does not successfully complete the operation corresponding to the work order to be executed, and the work order to be executed can be sent to the target server again; or when a certain task is executed and the health condition of the target server is found to be problematic, alarm information can be automatically sent to the user.
Fig. 4 shows a block diagram of an operation and maintenance device of a server cluster according to an embodiment of the present disclosure. And the operation and maintenance device of the server cluster is installed on a target server in the server cluster. The operation and maintenance method of the server cluster is executed on a target server in the server cluster, as shown in fig. 4, the operation and maintenance device of the server cluster includes:
the receiving module 401 is configured to receive a work order to be executed distributed by the operation and maintenance center server;
an analysis module 402 configured to analyze the to-be-executed work order and extract configuration information, an instruction set to be executed, and/or a task set to be executed in the to-be-executed work order;
and the execution module 403 is configured to automatically execute corresponding operations according to the work order to be executed.
In this embodiment, the execution unit on the target server may monitor the information of the operation and maintenance center at any time, after receiving the to-be-executed work order distributed by the operation and maintenance center, the execution unit analyzes the content of the to-be-executed work order after verifying the validity of the request, extracts the configuration information, the to-be-executed instruction set, and/or the to-be-executed task set in the to-be-executed work order, and then executes the corresponding operation according to the content of the to-be-executed work order. Other details may be referred to in the description of the operation and maintenance method of the server cluster in the embodiment shown in fig. 1, and are not described herein again.
In an optional implementation manner of this embodiment, the executing module 403 includes at least one of:
the transmission submodule is configured to transmit the configuration information to the corresponding application service so as to update the configuration information in the application service memory;
and the generation submodule is configured to generate a configuration file according to the configuration information, and store the configuration file into a directory corresponding to the configuration file of the application service.
In this optional implementation manner, when the to-be-executed work order includes the configuration information and the corresponding configuration information update instruction, the execution unit on the target server initiates a local network request to transmit the configuration information to the application service, so as to update the configuration information in the application service memory. After the memory configuration is updated successfully, the execution unit may further create a new directory, move the old configuration file to the new directory, generate a new configuration file according to the configuration information in the work order to be executed, and move the new configuration file to the specified directory, that is, the directory corresponding to the configuration file of the application service.
In an optional implementation manner of this embodiment, the executing module 403 includes at least one of:
the first checking submodule is configured to check the configuration file on the target server at regular time according to the tasks in the to-be-executed task set and return a checking result to the operation and maintenance center;
and the second checking submodule is configured to regularly check a preset interface of the application service on the target server according to the task in the to-be-executed task set, and return a checking result to the operation and maintenance center.
In this optional implementation manner, when the to-be-executed work order includes a configuration polling task for checking the configuration file and/or a corresponding application service health check task on the verification target server, the execution unit may verify the health of the updated configuration information according to the to-be-executed work order, for example, the execution unit starts the task polling configuration file, checks whether the MD5 value of the configuration file changes, and if so, records a time point of changing the configuration file to the local monitoring file, and returns the time point to the operation and maintenance center for displaying or alarming. In addition, the execution unit can also start a timing task to request a preset interface of the application service at a timing, compare a result returned by the preset interface with an expected response value, record the result and return the result to the operation and maintenance center.
The embodiment of the present disclosure provides an operation and maintenance system of a server cluster, including: the operation and maintenance center server and/or the target server; wherein,
the operation and maintenance center server is used for operating the operation and maintenance method of the server cluster shown in fig. 1 and the related embodiments;
the target server is used for operating the operation and maintenance method of the server cluster shown in fig. 2 and the related embodiments;
fig. 5 is a schematic structural diagram of an electronic device suitable for implementing an operation and maintenance method of a server cluster according to an embodiment of the present disclosure.
As shown in fig. 5, the electronic apparatus 500 includes a Central Processing Unit (CPU)501 that can execute various processes in the embodiment shown in fig. 1 described above according to a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage section 508 into a Random Access Memory (RAM) 503. In the RAM503, various programs and data necessary for the operation of the electronic apparatus 500 are also stored. The CPU501, ROM502, and RAM503 are connected to each other via a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
The following components are connected to the I/O interface 505: an input portion 506 including a keyboard, a mouse, and the like; an output portion 507 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 508 including a hard disk and the like; and a communication section 509 including a network interface card such as a LAN card, a modem, or the like. The communication section 509 performs communication processing via a network such as the internet. The driver 510 is also connected to the I/O interface 505 as necessary. A removable medium 511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 510 as necessary, so that a computer program read out therefrom is mounted into the storage section 508 as necessary.
In particular, according to embodiments of the present disclosure, the method described above with reference to fig. 1 may be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product comprising a computer program tangibly embodied on a medium readable thereby, the computer program comprising program code for performing the method illustrated in FIG. 1. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 509, and/or installed from the removable medium 511.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowcharts or block diagrams may represent a module, a program segment, or a portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units or modules described in the embodiments of the present disclosure may be implemented by software or hardware. The units or modules described may also be provided in a processor, and the names of the units or modules do not in some cases constitute a limitation of the units or modules themselves.
As another aspect, the present disclosure also provides a computer-readable storage medium, which may be the computer-readable storage medium included in the apparatus in the above-described embodiment; or it may be a separate computer readable storage medium not incorporated into the device. The computer readable storage medium stores one or more programs for use by one or more processors in performing the methods described in the present disclosure.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is possible without departing from the inventive concept. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.