Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be understood as "one or more" unless the context clearly indicates otherwise.
The names of messages or information interacted between the various devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
It will be appreciated that prior to using the technical solutions disclosed in the embodiments of the present disclosure, the user should be informed and authorized of the type, usage range, usage scenario, etc. of the personal information related to the present disclosure in an appropriate manner according to the relevant legal regulations.
For example, in response to receiving an active request from a user, a prompt is sent to the user to explicitly prompt the user that the operation it is requesting to perform will require personal information to be obtained and used with the user. Thus, the user can autonomously select whether to provide personal information to software or hardware such as an electronic device, an application program, a server or a storage medium for executing the operation of the technical scheme of the present disclosure according to the prompt information.
As an alternative but non-limiting implementation, in response to receiving an active request from a user, the manner in which the prompt information is sent to the user may be, for example, a popup, in which the prompt information may be presented in a text manner. In addition, a selection control for the user to select to provide personal information to the electronic device in a 'consent' or 'disagreement' manner can be carried in the popup window.
It will be appreciated that the above-described notification and user authorization process is merely illustrative and not limiting of the implementations of the present disclosure, and that other ways of satisfying relevant legal regulations may be applied to the implementations of the present disclosure.
It will be appreciated that the data (including but not limited to the data itself, the acquisition or use of the data) involved in the present technical solution should comply with the corresponding legal regulations and the requirements of the relevant regulations.
Example 1
Fig. 1 is a flowchart of a method for starting up a power grid control system according to an embodiment of the present invention, where the method may be implemented by a starting up device of the power grid control system, and optionally, by an electronic device, which may be a mobile terminal, a PC or a server, and the like. As shown in fig. 1, the method for starting the power grid control system specifically may include:
S110, introducing a self-checking module to check the hardware state and the service state based on the constructed starting script in the starting process of the power grid control system.
In the embodiment of the present invention, the power grid control system may be started by performing an operation of starting the power grid control system when the system start condition is detected to be reached, or performing an operation of starting the power grid control system when a preset system start operation is received. The system start condition may be understood as a preset condition for triggering the start of the grid control system, for example, a preset event triggering the start of the grid control system is detected, and/or a preset start time triggering the start of the grid control system is reached, etc. The system start operation may be an operation of triggering a preset system start control, for example, opening a switch of an electronic device in which the grid control system is installed.
Specifically, the checking hardware status and service status based on the constructed startup script includes: creating a starting script, configuring systemd a service unit, and introducing a self-checking module, wherein the self-checking module adopts a shell script function, and executes hardware state and service state check by calling a system tool. The technical scheme has the advantages that the system tool can be called through the self-checking module, the starting self-checking flow is better combined with the existing tool of the power grid control system, the existing resources of the electric control system are fully utilized, a service or application program can automatically run when the system is started, and the self-checking can be executed in the running process to ensure the health state of the service or application program.
Illustratively, the system tools that perform the hardware status check may include at least one of lshw, lsblk, dmidecode, etc. The system tools that perform the service status check may include a service management tool or the like. Specifically, the health of the hardware components is checked by any one or more of the checking tools lshw, lsblk, dmidecode. The status of critical ones of the system services is checked based on the service management tool.
In particular, the start-up script may contain all commands and logic required to start up the grid control system. For example, setting an environment variable, starting a background process, or performing other initialization tasks, etc. systemd the service unit may include definitions of how to start, stop, restart, and monitor hardware and service states. systemd the service unit may also specify descriptions, dependencies, execution paths, and other relevant configurations, etc. for the hardware and system services to be checked. The self-checking module is a code segment for checking the service status or environment. It typically contains a series of checks and tests to ensure that the service is able to meet all the requirements before operating properly. For example, the self-checking module may check, in addition to hardware status and service status, whether a system configuration file exists and is in the correct format, whether necessary resources are available, whether a network connection is stable, and the like. By this procedure it is ensured that the system is started in a correct way at start-up and can check itself during operation to maintain its stability and reliability. The systemd service units are configured to enable the service management to be standardized and automated, and the introduction of the self-checking module improves the safety and maintainability of the system.
And S120, if the hardware state or the service state is an abnormal state, generating an abnormal report, attempting automatic repair, and if the automatic repair is successful, acquiring a first system configuration file of a first version, and performing security check on the first system configuration file.
The first version may be a version that is preferentially used by the grid control system at start-up. For example, different priorities may be set for different versions of the system configuration file, and then the highest priority version may be used preferentially. For example, the priority may be determined according to the update time of the system profile. The version corresponding to the latest system configuration file may be the first version, i.e., the first system configuration file.
In actual detection, the hardware state is abnormal, and the service state is normal; or the service state is abnormal, and the hardware state is normal; or the hardware state and the service state are abnormal. And if the hardware state or the service state fails to be automatically repaired, generating alarm information. Since hardware anomalies typically need to rely on manual repair, the first terminal may be notified in the event of a hardware state anomaly, so that the user may perform the hardware repair in time. For example, if the hardware state is an abnormal state, a mail command may be used to send a hardware abnormality notification to the first terminal through the self-checking module. Specifically, if the service state is an abnormal state, the self-checking module may use the echo or logger to command to output a log file of the error information. So that a user can quickly and conveniently know the wrong system service according to the log file, and further, the user can repair the system in time or execute automatic repair of the system service.
Specifically, the attempting of automatic repair may include: and determining abnormal hardware and system services in the power grid control system, and further automatically repairing the abnormal hardware and system services. Optionally, under the condition that the service state is an abnormal state, determining a system service in the abnormal state, and calling a repair script corresponding to the system service, which is stored in advance in a repair script library, through the self-checking module to execute service repair; and the self-checking module adopts SYSTEMCTL RESTART < service > command to try to restart the repaired system service, if the restarting is successful, the repairing is successful, and if the automatic repairing is failed, a mail command is used to send a service abnormality notification to the target terminal. The repair script library may store repair scripts corresponding to a plurality of different system services in advance. By adopting the technical scheme, the system service can be automatically repaired when the system service is abnormal, and the repaired system service can be restarted to determine the repair result, so that the safety of the power grid control system is fully ensured.
And if the hardware state or the service state is in a normal state, acquiring a first system configuration file of a first version, and performing security check on the first system configuration file. And if the verification of the first system configuration file is successful, starting the power grid control system is completed.
S130, if the verification of the first system configuration file fails, repairing the first system configuration file, and carrying out security verification on the repaired first system configuration file, and if the verification of the first system configuration file is successful, completing the starting of the power grid control system.
As an alternative technical scheme of the embodiment of the invention, repairing the first system configuration file may include: and determining difference information of the first system configuration file and a preset configuration file template, and repairing the first system configuration file based on the difference information. Further, the repairing the first system configuration file based on the difference information includes: and creating a patch based on the difference information, and repairing the first system configuration file based on the patch to modify the error configuration in the first system configuration file into a correct configuration.
Specifically, if the verification of the first system configuration file fails, acquiring the first system configuration file with the verification failure, and collecting a storage path and a file identification of the first system configuration file with the verification failure; further, a preset configuration file template corresponding to the first system configuration file is queried based on the file identification of the first system configuration file with verification failure.
Before determining the difference information between the first system configuration file and the preset configuration file template, the method further comprises the following steps: and acquiring a configuration file template corresponding to the first system configuration file. And taking into account that the system configuration file is updated, marking an update label for the system configuration file after the system configuration file is updated, and storing the updated system configuration file and the system configuration file of the old version. And the system configuration file before updating and the system configuration file after updating can be distinguished through the update label of the system configuration file. Generating a corresponding configuration file template based on the updated configuration file, marking the configuration file template with a corresponding update label, and storing the configuration file template marked with the update label and the configuration file template with an old version. On this basis, the first system configuration file of the first version may be a system configuration file provided with an update tag. Specifically, when the power grid control system is started, whether an update tag exists in the system configuration file is determined, and if the update tag exists, the system configuration file with the update tag is started to serve as a first system configuration file.
Specifically, the obtaining of the profile template corresponding to the first system configuration file may be determining whether the first system configuration file has an update tag, if so, querying the corresponding profile template based on the update tag and the file identifier of the first system configuration file to ensure that the profile template matched with the updated first system configuration file is obtained. If the update label does not exist, the corresponding configuration file template can be queried directly based on the file identification of the first system configuration file.
Further, the first system configuration file can be compared with a preset configuration file template to determine difference information; and then, respectively creating patches corresponding to each piece of difference information, and applying the patches to modify the error configuration in the first system configuration file into correct configuration, thereby realizing the repair of the first system configuration file.
Illustratively, the patch is generated as follows: text { patch } = Diff ({ configuration file failed to check }, { configuration file template }); wherein the patch represents repair information generated from the difference; diff represents a function that compares the profile and profile template differences that fail verification.
Illustratively, the patch is applied as follows: text { revised profile } =
Patch ({ configuration file that failed verification }, { Patch }); wherein: patch represents a function that applies a Patch to a configuration file that fails verification.
On the basis, the repair result of the first system configuration file which fails to apply patch repair verification can be recorded for subsequent inquiry of a user.
In the embodiment of the invention, the security check is performed on the first system configuration file of the first version, so as to determine whether the first system configuration file is tampered, thereby ensuring the security of the first system configuration file and further ensuring the security of the power grid control system. Specifically, a file hash value of a first system configuration file is calculated based on a hash algorithm, and is compared with a target hash value which is stored in advance and corresponds to the first system configuration file; if the file hash value is consistent with the target hash value, determining that the verification of the first system configuration file is successful; and if the file hash value is inconsistent with the target hash value, determining that the verification of the first system configuration file fails. The hash algorithm can be various, such as SHA-1 algorithm, SHA-224 algorithm, SHA-256 algorithm, SHA-384 algorithm or SHA-512 algorithm.
After the safety verification is performed on the repaired first system configuration file, the method further comprises the following steps: if the verification of the first system configuration file fails, rolling back to a second system configuration file of a second version, and verifying the second system configuration file; if the second system configuration file is successfully checked, starting the power grid control system by adopting the second system configuration file, generating a first error log corresponding to the first version configuration file, and sending the first error log to a first terminal; and if the verification of the second system configuration file fails, generating a second error log corresponding to the first version configuration file and the second system configuration file, and sending the second error log to a second terminal. The method has the advantages that the second system configuration file can be obtained through rollback operation, and the power grid control system is started smoothly under the condition that the second system configuration file is checked successfully, so that the possibility of successful starting of the power grid control system is increased, and the starting safety of the power grid control system is ensured.
The second version may be a fixed version set in advance, or may be a version determined according to the first version corresponding to the first system configuration file. Illustratively, the second version may be a previous version (old version) of the first version. Specifically, the update time of the system configuration file corresponding to the second version is earlier than the update time of the system configuration file corresponding to the first version. For example, the grid control system stores 3 versions of system configuration files, namely version 1.0, version 2.0 and version 3.0, and in the embodiment of the present invention, the first system configuration file may correspond to version 3.0 (i.e. the first version), and the second system file may correspond to version 2.0 (i.e. the second version).
It should be noted that the first terminal and the second terminal may have one or more terminals, respectively. In the case where there is one of the first terminal and the second terminal, the first terminal and the second terminal may be the same or different. When there are a plurality of first terminals and second terminals, the first terminals and the second terminals may be all different, may be all the same, or may be partially the same or partially different.
Similarly, the verifying the second system configuration file may specifically include: calculating a file hash value of a second system configuration file based on a hash algorithm, and comparing the file hash value with a pre-stored target hash value corresponding to the second system configuration file; if the file hash value is consistent with the target hash value corresponding to the second system configuration file, determining that the second system configuration file is successfully checked; and if the file hash value is inconsistent with the target hash value corresponding to the second system configuration file, determining that the verification of the second system configuration file fails.
According to the technical scheme, a starting script is constructed in the starting process of the power grid control system, the self-checking module is called to realize automatic checking of the service state and the hardware state, after the service state and the hardware state are checked to be qualified, checking of the first system configuration file is conducted, and if the first system configuration file is wrong, the first system executes restoration on the wrong first system configuration file based on a pre-stored configuration file template; if the restoration is successful, the system is successfully started, so that the successful starting of the power grid control system is greatly ensured, the power grid can smoothly and normally run, the technical problem of high error rate caused by a manual mode is effectively avoided, and the successful starting efficiency of the power grid control system is improved.
Example two
Fig. 2 is a flowchart of another method for starting up a power grid control system according to the second embodiment of the present invention, where the technical solution is further refined based on the foregoing embodiment. Reference is made to the description of this example for a specific implementation. The technical features that are the same as or similar to those of the foregoing embodiments are not described herein. As shown in fig. 2, the method for starting the power grid control system specifically may include:
step 1: in the system starting process, based on the constructed starting script, a self-checking module is introduced to call a self-checking tool to check hardware and service states;
Step 2: if the hardware and service state is normal, executing the step 3, if the hardware and service state is abnormal, generating an abnormal report, attempting automatic repair, if the automatic repair fails, generating an alarm, and if the automatic repair is successful, executing the step 3;
Step 3: calculating a file hash value of a first system configuration file based on a hash algorithm, and comparing the file hash value with a target hash value of a pre-stored first system configuration file;
Step 4: if the calculated file hash value is consistent with the preset target hash value of the first system configuration file, the first system configuration file is successfully checked, the starting of the system is completed, and if the calculated file hash value is inconsistent with the preset target hash value of the first system configuration file, the first system configuration file is failed to check, and step 5 is executed;
step 5: acquiring a first system configuration file with failed verification, comparing the first system configuration file with a preset configuration file template, identifying differences, automatically generating a repair patch based on the differences, and applying the repair patch to the first system configuration file;
Step 6: checking the repaired first system configuration file, if the checking fails, acquiring an old version system configuration file (a second system configuration file) corresponding to the first system configuration file through a self-checking module, calculating a file hash value of the old version configuration file and a corresponding target hash value of the old version configuration file, comparing whether the file hash value of the old version configuration file is consistent with the corresponding target hash value of the old version configuration file, if so, applying the old version system configuration file, and generating an error log of the first system version configuration file to inform a system administrator; if not, generating an error log of the old version system configuration file and the first system configuration file to inform a system administrator.
According to the invention, the starting script is constructed, and the self-checking module is called to combine with the system tool at the preset time of starting the electric control system to realize automatic checking of the service state and the hardware state, so that the self-checking module can be better combined with the existing tool of the electric network control system, and the existing resources of the system are fully utilized; after the service state and the hardware state are checked to be qualified, checking the first system configuration file, if the first system configuration file is wrong, generating a repair patch based on the difference information based on the pre-stored configuration file template and comparing the difference information, and executing automatic repair on the wrong first system configuration file through the repair patch; if the automatic repair is successful, the electric control system is successfully started, if the repair is failed, a rollback program is executed, and the electric control system is automatically rolled back to a stable second system configuration file, so that the technical problem of high error rate caused by a manual mode is effectively avoided, the successful starting of the electric control system is greatly ensured, the successful starting efficiency of the electric control system can be greatly improved, and the smooth and safe operation of a power grid is ensured.
Example III
Fig. 3 is a schematic structural diagram of a starting device of a power grid control system according to a third embodiment of the present invention. As shown in fig. 3, the starting device of the power grid control system may specifically include: a hardware and service inspection module 310, a system profile verification module 320, and a grid control system start-up module 330. The hardware and service checking module 310 is configured to introduce a self-checking module to check a hardware state and a service state based on the constructed startup script during a startup process of the power grid control system; the system configuration file checking module 320 is configured to generate an exception report and attempt automatic repair if the hardware state or the service state is an exception state, and if the automatic repair is successful, acquire a first system configuration file of a first version and perform security check on the first system configuration file; and the power grid control system starting module 330 is configured to repair the first system configuration file if the verification of the first system configuration file fails, and perform security verification on the repaired first system configuration file, and complete the starting of the power grid control system if the verification of the first system configuration file is successful.
According to the technical scheme of the embodiment of the invention, a starting script is constructed in the starting process of the power grid control system through a hardware and service checking module 310, the self-checking module is called to realize automatic checking of the service state and the hardware state, after the service state and the hardware state are checked to be qualified through a system configuration file checking module 320, checking of a first system configuration file is carried out, and when the first system configuration file is wrong through a power grid control system starting module 330, the first system executes restoration on the wrong first system configuration file based on a pre-stored configuration file template; if the restoration is successful, the system is successfully started, so that the successful starting of the power grid control system is greatly ensured, the power grid can smoothly and normally run, the technical problem of high error rate caused by a manual mode is effectively avoided, and the successful starting efficiency of the power grid control system is improved.
Optionally, the hardware and service checking module 310 is specifically configured to: creating a starting script, configuring systemd a service unit, and introducing a self-checking module, wherein the self-checking module adopts a shell script function, and executes hardware state and service state check by calling a system tool; the system tool performing the hardware status check includes at least one of lshw, lsblk, and dmidecode; the system tools that perform the service status check include a service management tool.
Optionally, the system configuration file verification module 320 includes: a hardware exception notification unit and/or a service exception notification unit. The hardware abnormality notification unit is used for sending a hardware abnormality notification to the first terminal by adopting a mail command through the self-checking module if the hardware state is an abnormal state; and the service abnormality notification unit is used for outputting a log file of error information by adopting an echo or logger command through the self-checking module if the service state is abnormal.
Optionally, the system configuration file verification module 320 includes: and the service abnormality repair unit and the service restarting unit. The service abnormality repairing unit is used for determining system service in an abnormal state under the condition that the service state is the abnormal state, and calling a repairing script corresponding to the system service stored in advance in a repairing script library to execute service repairing through the self-checking module; and the service restarting unit is used for attempting to restart the repaired system service by adopting SYSTEMCTL RESTART < service > command through the self-checking module, if the restarting is successful, the repairing is successful, and if the automatic repairing is failed, the mail command is used for sending the service exception notification to the target terminal.
Optionally, the power grid control system starting module 330 is configured to determine difference information between the first system configuration file and a preset configuration file template, and repair the first system configuration file based on the difference information.
Optionally, the grid control system starting module 330 is further configured to create a patch based on the difference information, and repair the first system configuration file based on the patch, so as to modify the error configuration in the first system configuration file into a correct configuration.
Optionally, the starting device of the power grid control system further includes: the system comprises a rollback module, a first log sending module and a second log sending module. The rollback module is configured to rollback to a second system configuration file of a second version if the verification of the first system configuration file fails after the security verification of the repaired first system configuration file, and verify the second system configuration file; the first log sending module is configured to, if the second system configuration file is successfully checked, start the power grid control system using the second system configuration file, generate a first error log corresponding to the first version configuration file, and send the first error log to a first terminal; and the second log sending module is used for generating a second error log corresponding to the first version configuration file and the second system configuration file if the second system configuration file fails to check, and sending the second error log to a second terminal.
Optionally, the system configuration file verification module 320 is specifically configured to calculate a file hash value of a first system configuration file based on a hash algorithm, and compare the file hash value with a pre-stored target hash value corresponding to the first system configuration file; if the file hash value is consistent with the target hash value, determining that the verification of the first system configuration file is successful; and if the file hash value is inconsistent with the target hash value, determining that the verification of the first system configuration file fails.
Optionally, the power grid control system starting module 330 may be further configured to complete the starting of the power grid control system if the hardware state or the service state is a normal state and the first system configuration file is checked successfully.
The starting device of the power grid control system provided by the embodiment of the invention can execute the starting method of the power grid control system provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of executing the starting method of the power grid control system.
Example IV
Fig. 4 shows a schematic diagram of the structure of an electronic device 10 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 4, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as the start-up method of the grid control system.
In some embodiments, the method of starting up the grid control system may be implemented as a computer program tangibly embodied on a computer readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the start-up method of the grid control system described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the method of starting up the grid control system in any other suitable way (e.g. by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.