Server configuration method, apparatus and device, and computer readable medium
By calling back-end interfaces and databases to store computer room information in large-scale informationized computer rooms, and rendering and displaying them in HTML pages, it solves the problem of difficulty in obtaining information due to the huge number of servers, achieves timely updating and management of server status, and ensures server security. of normal operation.
Patent Information
- Application Number
- CN202410825354.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-08-27
AI Technical Summary
In large information computer rooms, due to the huge number of servers, it is difficult to obtain information about operating servers in a timely manner, which affects the normal operation of the servers.
By calling the back-end computer room initialization interface, the computer room identification, cabinet identification, cabinet information and server location information are stored in the database, and the corresponding DIV tags are rendered in the HTML page to display the cabinet rows, cabinets and server locations in the computer room. Respond to server operation instructions to set and update the server's status and build server operation tables.
It achieves timely acquisition of operating server information, ensures the normal operation of the server, and improves the efficiency and accuracy of server management in large computer rooms.
Smart Images

Figure CN118550608A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of big data technology, and in particular to a method, device, equipment and computer-readable medium for configuring a server. Background Art
[0002] The computer room is where servers are stored to provide IT services. The computer room can house multiple cabinets, in which servers are installed. During the construction of a large-scale information computer room, a huge number of servers need to be put on the shelves in batches.
[0003] In the process of implementing the present invention, the inventors found that there are at least the following problems in the prior art: in the process of operating the servers in the computer room, due to the huge number of servers, it is difficult to obtain information on operating the servers in a timely manner, which affects the normal operation of the servers. Summary of the invention
[0004] In view of this, embodiments of the present invention provide a method, apparatus, device and computer-readable medium for configuring a server, which can timely obtain information for operating the server, thereby ensuring the normal operation of the server.
[0005] To achieve the above object, according to one aspect of an embodiment of the present invention, a method for configuring a server is provided, comprising: The front end calls the computer room initialization interface of the back end, adds the computer room identification to the computer room table, saves the cabinet column identification corresponding to the computer room identification to the cabinet list, saves the cabinet information in the cabinet column to the cabinet table, and stores the server location information in the cabinet in the rack table. The computer room table, the cabinet list, the cabinet table and the rack table are stored in the database; In the HTML page, create a cabinet column DIV tag corresponding to the cabinet column identifier in the cabinet list, a cabinet DIV tag corresponding to the cabinet in the cabinet table, and a position DIV tag corresponding to the server position information in the rack table, and call the computer room table, the cabinet list, the cabinet table, and the rack table in the HTML page to render the cabinet column DIV tag, the cabinet DIV tag, and the position DIV tag to display the cabinet column, cabinet, and server position in the computer room corresponding to the computer room table; The front end responds to the server operation instruction, sets the server based on the server position of the specified cabinet in the cabinet column specified in the server operation instruction, identifies the information of the set server and updates the status of the set server, and constructs a server operation table with the information of the set server and the status of the set server to implement the configuration of the server.
[0006] The front end calls the computer room initialization interface of the back end, adds the computer room identifier to the computer room table, saves the cabinet column identifier corresponding to the computer room identifier to the cabinet list, saves the cabinet information in the cabinet column to the cabinet table, and stores the server location information in the cabinet in the rack table. The computer room table, the cabinet list, the cabinet table and the rack table are stored in a database, including: The front end calls the computer room initialization interface of the back end, adds the computer room identifier to the computer room table, saves the cabinet column identifier corresponding to the computer room identifier to the cabinet list, saves the cabinet information in the cabinet column to the cabinet table, and stores the server location information in the cabinet in the rack table; A mapping relationship among the cabinet list, the cabinet table and the rack table is established with the computer room identifier in the computer room table, and the computer room table, the cabinet list, the cabinet table and the rack table are stored in a database according to the mapping relationship.
[0007] The calling of the computer room table, the cabinet list, the cabinet table and the rack table in the HTML page to render the cabinet column DIV tag, the cabinet DIV tag and the position DIV tag, and displaying the cabinet column, cabinet and server position in the computer room corresponding to the computer room table, includes: In the HTML page, the computer room table, the cabinet list, the cabinet table and the rack table are called to render the cabinet column DIV tag on the cabinet column layer, the cabinet DIV tag on the cabinet layer and the position DIV tag on the server layer; In response to the device identification in the display request, the device corresponding to the computer room table is displayed in the corresponding layer of the device identification, and the device includes one or more of the following: cabinet row, cabinet and server position.
[0008] After displaying the cabinet columns, cabinets and server positions in the computer room corresponding to the computer room table, the method further includes: In response to the cabinet modification request, the front end sets the equipment type of the cabinet to a support column through the cabinet modification request interface of the back end, and updates the cabinet table in the database with the cabinet identifier set to the support column.
[0009] The front end, in response to the server operation instruction, sets the server based on the server position of the specified cabinet in the specified cabinet column in the server operation instruction, identifies the information of the set server and updates the status of the set server, and constructs a server operation table with the information of the set server and the status of the set server to implement the configuration of the server, including: The front end responds to the server operation instruction, the server operation instruction includes a server racking instruction, selects and sets the server according to the server information based on the server position of the specified cabinet in the specified cabinet column in the server racking instruction, identifies the information of the set server and updates the status of the set server, the status of the server includes: racking; Based on the information of the set server and the state of the set server, a server operation table is constructed and output to realize the configuration of the server.
[0010] The selecting and setting of the server according to the server information based on the server position of the specified cabinet in the specified cabinet row in the server rack indication includes: The server belongs to a distributed system, and the number of servers in the cabinet is set according to the servers to be put on the rack and the cabinets in the computer room in the distributed system; Based on the number of the servers and the server positions of the designated cabinets in the designated cabinet columns in the server rack indication, the servers are selected and arranged according to the server information.
[0011] The front end, in response to the server operation instruction, sets the server based on the server position of the specified cabinet in the specified cabinet column in the server operation instruction, identifies the information of the set server and updates the status of the set server, and constructs a server operation table with the information of the set server and the status of the set server to implement the configuration of the server, including: The front end responds to the server operation instruction, the server operation instruction includes a server de-shelfing instruction, selects and sets the server according to the server information based on the server position of the specified cabinet in the specified cabinet column in the server de-shelfing instruction, and after re-determining the set server, identifies the information of the set server and updates the status of the set server, the status of the server includes: de-shelfing; Based on the information of the set server and the state of the set server, a server operation table is constructed and output to realize the configuration of the server.
[0012] According to a second aspect of an embodiment of the present invention, there is provided a device for configuring a server, including: A storage module, which is used for the front end to call the computer room initialization interface of the back end, add the computer room identification to the computer room table, save the cabinet column identification corresponding to the computer room identification to the cabinet list, save the cabinet information in the cabinet column to the cabinet table, and store the server location information in the cabinet in the rack table, and the computer room table, the cabinet list, the cabinet table and the rack table are stored in the database; The display module is used to create a cabinet column DIV tag corresponding to the cabinet column identifier in the cabinet list, a cabinet DIV tag corresponding to the cabinet in the cabinet table, and a position DIV tag corresponding to the server position information in the rack table in the HTML page, and call the computer room table, the cabinet list, the cabinet table, and the rack table in the HTML page to render the cabinet column DIV tag, the cabinet DIV tag, and the position DIV tag to display the cabinet column, cabinet, and server position in the computer room corresponding to the computer room table; A configuration module is used for the front end to respond to a server operation instruction, set up a server based on the server position of a specified cabinet in a specified cabinet column in the server operation instruction, identify the information of the set server and update the status of the set server, and construct a server operation table with the information of the set server and the status of the set server to implement the configuration of the server.
[0013] According to a third aspect of an embodiment of the present invention, there is provided an electronic device for configuring a server, including: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the above method.
[0014] According to a fourth aspect of an embodiment of the present invention, there is provided a computer-readable medium on which a computer program is stored, and when the program is executed by a processor, the method as described above is implemented.
[0015] According to a fifth aspect of an embodiment of the present invention, a computer program product is provided, including a computer program, and when the program is executed by a processor, the method as described above provided by an embodiment of the present invention is implemented.
[0016] An embodiment of the above invention has the following advantages or beneficial effects: the front end calls the computer room initialization interface of the back end, adds the computer room identification to the computer room table, saves the identification of the cabinet column corresponding to the computer room identification into the cabinet list, saves the cabinet information in the cabinet column into the cabinet table, and stores the server location information in the cabinet in the rack table, and the computer room table, the cabinet list, the cabinet table and the rack table are stored in the database; in the HTML page, a cabinet column DIV tag corresponding to the cabinet column identification in the cabinet list, a cabinet DIV tag corresponding to the cabinet in the cabinet table, and a location DIV tag corresponding to the server location information in the rack table are created, and the cabinet column DIV tag, the cabinet DIV tag and the location DIV tag are rendered in the HTML page to display the cabinet column, the cabinet and the server location in the computer room corresponding to the computer room table; the front end responds to the server operation instruction, sets the server based on the server location of the specified cabinet in the specified cabinet column in the server operation instruction, identifies the information of the set server and updates the status of the set server, and constructs a server operation table with the information of the set server and the status of the set server to implement the configuration of the server. The server operation table can be used to obtain server operation information in a timely manner, thereby ensuring the normal operation of the server.
[0017] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention. Figure 1 is a schematic diagram of the main flow of a method for configuring a server according to an embodiment of the present invention; Figure 2 is a schematic diagram of a process of storing a data table in a database according to an embodiment of the present invention; Figure 3 It is a schematic diagram of a process of calling a table rendering DIV tag in an HTML page according to an embodiment of the present invention; Figure 4 It is a schematic diagram of a process of constructing a server operation table on a server rack according to an embodiment of the present invention; Figure 5 is a schematic diagram of a process of selecting and setting a server according to information of the server according to an embodiment of the present invention; Figure 6 It is a schematic diagram of a process of building a server operation table for server delisting according to an embodiment of the present invention; Figure 7 is a schematic diagram of the main structure of a device for configuring a server according to an embodiment of the present invention; Figure 8is an exemplary system architecture diagram to which embodiments of the present invention may be applied; Fig. 9 It is a schematic diagram of the structure of a computer system of a terminal device or a server suitable for implementing an embodiment of the present invention. DETAILED DESCRIPTION
[0019] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description. The acquisition, storage, use, and processing of data in the technical solution of this application comply with the relevant provisions of national laws and regulations.
[0020] In the process of operating the server, the server needs to determine its location. That is, before construction, the location of the server needs to be reviewed by multiple parties. After the review is completed, the server information is used as the basis for construction.
[0021] During the construction process, for various reasons, it is necessary to remove the server that has been put on the rack and put it on another rack. Therefore, it is necessary to synchronize the server information. Due to the huge number of servers, it is difficult to obtain the information of the operating server in time, which affects the normal operation of the server.
[0022] In order to solve the problem of difficulty in timely obtaining information about the operating server, the following technical solution in the embodiment of the present invention may be adopted.
[0023] See also Figure 1 , Figure 1 The main flow diagram of the method for configuring a server according to an embodiment of the present invention is shown in FIG. 1 , which displays the cabinet columns, cabinets and server locations in the computer room through the interaction between the front end and the back end, and constructs and outputs a server operation table in response to the server operation instruction. Figure 1 As shown in 100, the process specifically includes the following steps.
[0024] S101. The front end calls the computer room initialization interface of the back end, adds the computer room ID to the computer room table, saves the ID of the cabinet column corresponding to the computer room ID to the cabinet list, saves the cabinet information in the cabinet column to the cabinet table, and stores the server location information in the cabinet in the rack table. The computer room table, cabinet list, cabinet table and rack table are stored in the database.
[0025] In an embodiment of the present invention, in order to display the equipment in the computer room, it is necessary to first initialize various equipment in the computer room. In response to the initialization operation instruction, the front end calls the computer room initialization interface of the back end. The front end interacts with the user. As an example, the front end interacts with the user through an application (APP) or a browser. For example, the front end is built using Vue. Vue is a JavaScript framework for building user interfaces. The back end is built using springboot.
[0026] The front end calls the computer room initialization interface of the back end and adds the device identifier to the corresponding table. As an example, the computer room initialization interface includes initRoom().
[0027] Specifically, the front end calls the computer room initialization interface of the back end, adds the computer room ID to the computer room table, saves the ID of the cabinet column corresponding to the computer room ID to the cabinet list, saves the cabinet information in the cabinet column to the cabinet table, and stores the server location information in the cabinet in the rack table. The computer room table, cabinet list, cabinet table and rack table are stored in the database.
[0028] Since the database stores a computer room table, a cabinet list, a cabinet table, and a rack table, the equipment information in the computer room can be quickly obtained based on the above tables.
[0029] See also Figure 2 That is 200, Figure 2 The flowchart of storing a data table in a database according to an embodiment of the present invention is shown in FIG.
[0030] S201. The front end calls the computer room initialization interface of the back end, adds the computer room ID to the computer room table, saves the cabinet column ID corresponding to the computer room ID to the cabinet list, saves the cabinet information in the cabinet column to the cabinet table, and stores the server location information in the cabinet in the rack table.
[0031] The computer room includes multiple rows of cabinets. As an example, the cabinets are numbered in alphabetical order from A to Z.
[0032] A cabinet row includes multiple cabinets. The cabinet identification includes a cabinet row identification and an intra-row identification. The intra-row identification is the number of the cabinet in the cabinet row to which the cabinet belongs. As an example, the intra-row identification uses a digital number. For example, the intra-row identification includes numbers from 01 to 99. A cabinet can be uniquely identified by the cabinet identification. For example, A08 means that the cabinet row identification is A, that is, the 8th cabinet in the A row.
[0033] As an example, the default height of a cabinet is 42U. The total height of the cabinet is measured in U, which determines the number of servers that the server rack can accommodate. For example, the server heights are 1U, 2U, 3U, 4U, and 8U.
[0034] In an embodiment of the present invention, a computer room identification is added to a computer room table, and the computer room table includes multiple computer room identifications. For the cabinet columns under the computer room, the computer room identification corresponding to the cabinet column identification is saved in the cabinet list. The cabinet list includes not only the cabinet column identification but also the computer room identification of the computer room to which it belongs. In this way, a corresponding relationship between the cabinet column identification and the computer room identification is established.
[0035] For the cabinets in the cabinet class, the cabinet information in the cabinet column can be saved to the cabinet table. The cabinet table includes the cabinet information and the cabinet column identifier of the cabinet column to which the cabinet belongs. As an example, the cabinet information includes: the cabinet identifier and the cabinet location information.
[0036] For the server location information in the cabinet, the server location information in the cabinet is stored in a rack table. The rack table includes the server location information and the cabinet information of the cabinet to which the server location information belongs. As an example, the server location information includes: an identifier of the server location information and height information of the server location.
[0037] S202: Establish a mapping relationship among the cabinet list, the cabinet table, and the rack table based on the computer room identifier in the computer room table, and store the computer room table, the cabinet list, the cabinet table, and the rack table in the database according to the mapping relationship.
[0038] In an embodiment of the present invention, in order to facilitate obtaining the cabinet column identification, cabinet information and server location information in the computer room in the table, a mapping relationship between the cabinet list, the cabinet table and the rack table is established with the computer room identification in the computer room table. The above mapping relationship represents the correspondence between the computer room identification and the cabinet column identification, the cabinet information and the server location information.
[0039] The computer room table, cabinet list, cabinet table and rack table are stored in the database according to the mapping relationship, thereby improving the speed of obtaining the cabinet column identification, cabinet information and server location information in the computer room.
[0040] In one embodiment of the present invention, the front end calls the back end computer room initialization interface initRoom(), adds the computer room ID: ABCD123 to the computer room table, and saves the computer room ID corresponding to the cabinet column ID: number from AI to the cabinet list. Among them, 9 records of cabinet column IDs need to be saved.
[0041] Save the information of 22 cabinets in the cabinet column to the cabinet table. You need to save 9*22=198 records. Store the server location information in the cabinet in the rack table. The server location information includes 42U. You need to save 198*42=8316 records. The computer room table, cabinet list, cabinet table, and rack table are stored in the database.
[0042] exist Figure 2In the embodiment, a table is established with the computer room identification and the equipment identification in the computer room, and the table is stored in the database, thereby improving the speed of obtaining the computer room equipment information.
[0043] S102. In the HTML page, create a cabinet column DIV tag corresponding to the cabinet column identifier in the cabinet list, a cabinet DIV tag corresponding to the cabinet in the cabinet table, and a position DIV tag corresponding to the server position information in the rack table, and call the computer room table, cabinet list, cabinet table and rack table in the HTML page to render the cabinet column DIV tag, cabinet DIV tag and position DIV tag to display the cabinet column, cabinet and server position in the computer room corresponding to the computer room table.
[0044] In an embodiment of the present invention, a computer room table, a cabinet list, a cabinet table and a rack table in a database are used to render in a Hyper Text Markup Language (HTML) page, thereby displaying the cabinet columns, cabinets and server locations in the computer room.
[0045] Specifically, in the HTML page, create a cabinet column DIV tag corresponding to the cabinet column identifier in the cabinet list, a cabinet DIV tag corresponding to the cabinet in the cabinet table, and a location DIV tag corresponding to the server location information in the rack table, and call the computer room table, cabinet list, cabinet table and rack table in the HTML page to render the cabinet column DIV tag, cabinet DIV tag and location DIV tag to display the cabinet columns, cabinets and server locations in the computer room corresponding to the computer room table.
[0046] In the embodiment of the present invention, one cabinet row corresponds to one cabinet DIV tag. In the HTML page, one computer room includes multiple rows of cabinets.
[0047] One cabinet corresponds to one cabinet DIV tag. In an HTML page, a cabinet column can contain multiple cabinets.
[0048] One server location information corresponds to one location DIV tag. That is, one U corresponds to one location DIV tag. In an HTML page, one U is a cell, and a cabinet includes a group of vertical cells.
[0049] See also Figure 3 That is 300, Figure 3 The flowchart of calling a table rendering DIV tag in an HTML page according to an embodiment of the present invention includes the following steps.
[0050] S301. In an HTML page, call the computer room table, cabinet list, cabinet table and rack table to render cabinet column DIV tags in the cabinet column layer, cabinet DIV tags in the cabinet layer and position DIV tags in the server layer.
[0051] In an embodiment of the present invention, the computer room table, cabinet list, cabinet table and rack table respectively store the computer room identification, cabinet column identification, cabinet information and server location information. In order to display the equipment in the computer room, the computer room table, cabinet list, cabinet table and rack table are called in the HTML page to render the cabinet column DIV tag in the cabinet column layer, the cabinet DIV tag in the cabinet layer and the position DIV tag in the server layer.
[0052] In one embodiment of the present invention, in order to speed up the display of settings in the computer room, while calling the computer room table, cabinet list, cabinet table and rack table, combined with the mapping relationship between the cabinet list, cabinet table and rack table, the cabinet column DIV tag is rendered in the cabinet column layer, the cabinet DIV tag is rendered in the cabinet layer, and the position DIV tag is rendered in the server layer.
[0053] By using the mapping relationship among the cabinet list, the cabinet table and the rack table, the corresponding relationship among the computer room table, the cabinet list, the cabinet table and the rack table can be obtained in time.
[0054] In an embodiment of the present invention, a corresponding DIV tag is selected in a corresponding layer in an HTML page. In the HTML page, a computer room table, a cabinet list, a cabinet table, and a rack table are called to render a cabinet column DIV tag in a cabinet column layer, a cabinet DIV tag in a cabinet layer, and a position DIV tag in a server layer.
[0055] S302. In response to the device identification in the display request, display the device corresponding to the computer room table in the corresponding layer of the device identification, where the device includes one or more of the following: cabinet row, cabinet, and server location.
[0056] The user sends a display request through the front end to display the equipment in the computer room. In response to the equipment identifier in the display request, the equipment corresponding to the computer room table is displayed in the corresponding layer of the equipment identifier. The equipment includes one or more of the following: cabinet row, cabinet and server position.
[0057] Among them, the corresponding layers of the equipment identification include the cabinet column layer corresponding to the cabinet column identification, the cabinet layer corresponding to the cabinet information, and the server layer corresponding to the server location information.
[0058] exist Figure 3 In the embodiment, selective display of equipment in the computer room is achieved by selecting a layer.
[0059] In one embodiment of the present invention, in response to a cabinet modification request, the front end sets the equipment type of the cabinet to a support column through the cabinet modification interface of the back end, and updates the cabinet table in the database with the cabinet identifier set to the support column.
[0060] In the actual scenario of the computer room, the computer room needs to be equipped with support columns. The support columns can be set in the middle of the computer room or on both sides of the computer room. The position of the support columns coincides with the position of the cabinet, so the cabinet needs to be adjusted to the support columns. In other words, the cabinet changes.
[0061] In the case of modifying the cabinet to a support column, the user sends a cabinet modification request through the front end, and the front end sets the device type of the cabinet to a support column through the cabinet modification interface of the back end, and updates the cabinet table in the database with the cabinet identifier set as a support column.
[0062] As an embodiment, the cabinet in the machine room corresponding to the machine room table is displayed, and the cabinet is selected by double-clicking, and in the pop-up window, the cabinet type is adjusted to a support column. After the adjustment is completed, the support column is rendered in gray.
[0063] For example, the C and H rows of the cabinet row each have 4 support columns. Display the cabinets in the corresponding room in the room table, click the C04 cabinet, and mark the cabinet as a support column in the pop-up window and save it to the database. Similarly, mark C05, C19, C20, H04, H05, H19, and H20 as support columns.
[0064] S103. The front end responds to the server operation instruction, sets the server based on the server position of the specified cabinet in the cabinet column specified in the server operation instruction, identifies the information of the set server and updates the status of the set server, and constructs a server operation table with the information of the set server and the status of the set server to implement the configuration of the server.
[0065] When the computer room table is displayed corresponding to the cabinet columns, cabinets and server positions in the computer room, operations can be performed on the servers.
[0066] The user sends a server operation instruction through the front end. In response to the server operation instruction, the front end sets the server based on the server position of the specified cabinet in the specified cabinet column in the server operation instruction, identifies the information of the set server and updates the status of the set server, and constructs a server operation table with the information of the set server and the status of the set server to implement the configuration of the server.
[0067] In one embodiment of the present invention, the information of the server includes one or more information: business purpose, brand name, model, serial number, height, business IP and external IP.
[0068] See also Figure 4 That is 400, Figure 4 The flowchart of building a server operation table on a server rack according to an embodiment of the present invention includes the following steps.
[0069] S401. The front end responds to the server operation instruction, which includes the server shelving instruction. Based on the server position of the specified cabinet in the specified cabinet column in the server shelving instruction, the front end selects and sets the server according to the server information, identifies the information of the set server and updates the status of the set server. The status of the server includes: shelving.
[0070] The front end responds to the server operation instruction, which includes a server racking instruction, that is, the server needs to be racked to the server position of the cabinet.
[0071] Based on the server position of the specified cabinet in the specified cabinet column in the server rack indication, the server is selected and set according to the server information, and the information of the set server is identified and the status of the set server is updated. The status of the set server includes: racking.
[0072] As an example, in response to the server racking indication, the server position of the cabinet is selected, that is, the cell of the cabinet is selected, and the information of the server to be set and the status of the server to be set are determined and updated as: racking.
[0073] It should be noted that the next server can be put on the shelf in the same manner as above until all servers in this batch are put on the shelf.
[0074] S402: construct and output a server operation table based on the information of the set server and the state of the set server to implement the configuration of the server.
[0075] For the servers that have been put on the shelf, there are corresponding information of the servers that have been set up and the status of the servers that have been set up. Based on the information of the servers that have been set up and the status of the servers that have been set up, a server operation table is constructed.
[0076] The server operation table includes information of multiple set servers and states of multiple set servers. The server operation table is output, and then the servers are put on the shelves in the computer room according to the server operation table.
[0077] As an example, the server operation table includes server construction information and rail construction information. The server construction information includes: server brand, server model, server serial number, server position number, server cabinet number, server start position, and server end position. The rail construction information includes: server cabinet number, server start position, and server end position.
[0078] exist Figure 4 In the embodiment, based on the server listing indication, the server information is identified and the status of the server is updated, and then the server operation table is output.
[0079] See also Figure 5 That is 500, Figure 5 The flowchart of selecting and setting a server according to the information of the server according to an embodiment of the present invention is shown in FIG.
[0080] S501. The server belongs to a distributed system. According to the servers to be put on the shelves in the distributed system and the cabinets in the computer room, the number of servers in the cabinet is set.
[0081] In business scenarios where servers need to be distributed, such as servers belonging to distributed systems, the distributed storage system consists of two parts: the head and the storage pool. The storage pool consists of a large number of servers. In order to improve the reliability of the distributed system, the storage pool needs to be distributed in different cabinets to reduce the probability of simultaneous damage.
[0082] According to the servers to be put on the racks in the distributed system and the cabinets in the computer room, set the number of servers in the cabinets. In other words, determine the number of servers to be put on the racks in each cabinet. For example: the number of servers in the cabinet = the number of servers to be put on the racks / the number of cabinets in the computer room.
[0083] S502: Based on the number of servers and the server positions of the designated cabinets in the designated cabinet columns in the server rack indication, select and set the servers according to the server information.
[0084] Based on the number of servers and the server positions of the specified cabinets in the specified cabinet row in the server rack indication, the servers are selected and arranged according to the server information. As an example, the server information includes the height, the starting U position and the ending U position of the server.
[0085] exist Figure 5 In the embodiment, the server is applied to a distributed system, and the server racks need to be dispersedly set up, so the server can be selected and set according to the server information.
[0086] See also Figure 6 That is 600, Figure 6 The flowchart of server delisting and server operation table construction according to an embodiment of the present invention is shown in FIG.
[0087] S601. The front end responds to the server operation instruction, which includes a server de-shelfing instruction. Based on the server position of the specified cabinet in the specified cabinet column in the server de-shelfing instruction, the front end selects and sets the server according to the server information. After re-determining the set server, the information of the set server is identified and the status of the set server is updated. The status of the server includes: de-shelfing.
[0088] The front end responds to the server operation instruction, which includes a server removal instruction, that is, the server needs to be removed from the server position of the cabinet.
[0089] Based on the server position of the specified cabinet in the specified cabinet row in the server de-racking instruction, the server is selected and set according to the server information. In order to ensure the accuracy of the de-racking operation, it is necessary to confirm again that the set server is the server in the server de-racking instruction.
[0090] After the set server is confirmed again, the information of the set server is identified and the status of the set server is updated. The status of the server includes: delisted.
[0091] As an example, in response to the server delisting indication, the server position of the cabinet is selected, that is, the cell of the cabinet is selected, and the information of the server set and the status of the server set is updated to: delisting.
[0092] It should be noted that the next server can be removed from the shelves in the same manner as above until all servers in this batch are removed from the shelves.
[0093] S602: Construct and output a server operation table based on the information of the set server and the state of the set server to implement the configuration of the server.
[0094] For the servers that have been removed from the shelves, there are corresponding information of the servers that have been set up and the status of the servers that have been set up. Based on the information of the servers that have been set up and the status of the servers that have been set up, a server operation table is constructed.
[0095] The server operation table includes information of multiple set servers and states of multiple set servers. The server operation table is output, and then the server is removed from the computer room according to the server operation table.
[0096] As an example, the server operation table includes server construction information and rail construction information. The server construction information includes: server brand, server model, server serial number, server position number, server cabinet number, server start position, and server end position. The rail construction information includes: server cabinet number, server start position, and server end position.
[0097] exist Figure 6 In the embodiment, based on the server delisting indication, the server information is identified and the status of the server is updated, and then the server operation table is output.
[0098] In one embodiment of the present invention, it is necessary to move the server in the cabinet. That is, first execute Figure 6 Remove the server from the system and execute Figure 4 The server in the list.
[0099] In one embodiment of the present invention, when the computer room table is displayed corresponding to the cabinet columns, cabinets and server positions in the computer room, the information of the server can also be queried. As an example, after selecting a server, the information of the server is displayed.
[0100] In the above-mentioned embodiment of the present invention, the front end calls the computer room initialization interface of the back end, adds the computer room identification to the computer room table, saves the identification of the cabinet column corresponding to the computer room identification into the cabinet list, saves the cabinet information in the cabinet column into the cabinet table, and stores the server position information in the cabinet in the rack table, and the computer room table, the cabinet list, the cabinet table and the rack table are stored in the database; in the HTML page, a cabinet column DIV tag corresponding to the cabinet column identification in the cabinet list, a cabinet DIV tag corresponding to the cabinet in the cabinet table, and a position DIV tag corresponding to the server position information in the rack table are created, and the cabinet column DIV tag, the cabinet DIV tag and the position DIV tag are rendered in the HTML page to display the cabinet column, cabinet and server position in the computer room corresponding to the computer room table; in response to the server operation instruction, the front end sets the server based on the server position of the specified cabinet in the specified cabinet column in the server operation instruction, identifies the information of the set server and updates the status of the set server, and constructs a server operation table with the information of the set server and the status of the set server to realize the configuration of the server. The server operation table can be used to obtain server operation information in a timely manner, thereby ensuring the normal operation of the server.
[0101] See also Figure 7 , Figure 7 is a schematic diagram of the main structure of a device for configuring a server according to an embodiment of the present invention. The device for configuring a server can implement a method for configuring a server, such as Figure 7 As shown in 700, the device for configuring the server specifically includes: The storage module 701 is used for the front end to call the computer room initialization interface of the back end, add the computer room identifier to the computer room table, save the cabinet column identifier corresponding to the computer room identifier to the cabinet list, save the cabinet information in the cabinet column to the cabinet table, and store the server location information in the cabinet in the rack table. The computer room table, the cabinet list, the cabinet table and the rack table are stored in the database; The display module 702 is used to create a cabinet column DIV tag corresponding to the cabinet column identifier in the cabinet list, a cabinet DIV tag corresponding to the cabinet in the cabinet table, and a position DIV tag corresponding to the server position information in the rack table in the HTML page, and call the computer room table, the cabinet list, the cabinet table, and the rack table in the HTML page to render the cabinet column DIV tag, the cabinet DIV tag, and the position DIV tag to display the cabinet column, cabinet, and server position in the computer room corresponding to the computer room table; Configuration module 703 is used for the front end to respond to the server operation instruction, set the server based on the server position of the specified cabinet in the cabinet column specified in the server operation instruction, identify the information of the set server and update the status of the set server, and build a server operation table with the information of the set server and the status of the set server to realize the configuration of the server.
[0102] In one embodiment of the present invention, the storage module 701 is specifically used for the front end to call the computer room initialization interface of the back end, add the computer room identifier to the computer room table, save the cabinet column identifier corresponding to the computer room identifier to the cabinet list, save the cabinet information in the cabinet column to the cabinet table, and store the server location information in the cabinet in the rack table; A mapping relationship among the cabinet list, the cabinet table and the rack table is established with the computer room identifier in the computer room table, and the computer room table, the cabinet list, the cabinet table and the rack table are stored in a database according to the mapping relationship.
[0103] In one embodiment of the present invention, the display module 702 is specifically used to call the computer room table, the cabinet list, the cabinet table and the rack table in the HTML page to render the cabinet column DIV tag in the cabinet column layer, the cabinet DIV tag in the cabinet layer and the position DIV tag in the server layer; In response to the device identification in the display request, the device corresponding to the computer room table is displayed in the corresponding layer of the device identification, and the device includes one or more of the following: cabinet row, cabinet and server position.
[0104] In one embodiment of the present invention, the display module 702 is also used to respond to a cabinet modification request. The front end sets the equipment type of the cabinet to a support column through the cabinet modification request interface of the back end, and updates the cabinet table in the database with the cabinet identifier set to the support column.
[0105] In one embodiment of the present invention, the configuration module 703 is specifically used for the front end to respond to the server operation instruction, the server operation instruction includes the server racking instruction, select and set the server according to the server information based on the server position of the specified cabinet in the specified cabinet column in the server racking instruction, and identify the information of the set server and update the status of the set server, the status of the server includes: racking; Based on the information of the set server and the state of the set server, a server operation table is constructed and output to realize the configuration of the server.
[0106] In one embodiment of the present invention, the configuration module 703 is specifically used for the server to belong to a distributed system, and the number of servers in the cabinet is set according to the servers to be put on the rack and the cabinets in the computer room in the distributed system; Based on the number of the servers and the server positions of the designated cabinets in the designated cabinet columns in the server rack indication, the servers are selected and arranged according to the server information.
[0107] In one embodiment of the present invention, the configuration module 703 is specifically used for the front end to respond to the server operation instruction, the server operation instruction includes the server delisting instruction, select and set the server according to the server information based on the server position of the specified cabinet in the specified cabinet column in the server delisting instruction, and after re-determining the set server, identify the information of the set server and update the status of the set server, the status of the server includes: delisting; Based on the information of the set server and the state of the set server, a server operation table is constructed and output to realize the configuration of the server.
[0108] Figure 8 An exemplary system architecture 800 is shown to which the method for configuring a server or the apparatus for configuring a server according to the embodiments of the present invention can be applied.
[0109] like Figure 8 As shown, system architecture 800 may include terminal devices 801, 802, 803, a network 804, and a server 805. Network 804 is used to provide a medium for communication links between terminal devices 801, 802, 803 and server 805. Network 804 may include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.
[0110] Users can use terminal devices 801, 802, and 803 to interact with server 805 through network 804 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 801, 802, and 803, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only examples).
[0111] The terminal devices 801 , 802 , and 803 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.
[0112] The server 805 may be a server that provides various services, such as a backend management server (only an example) that provides support for shopping websites browsed by users using the terminal devices 801, 802, and 803. The backend management server may analyze and process the received data such as product information query requests, and feed back the processing results (such as target push information, product information - only an example) to the terminal device.
[0113] It should be noted that the method for configuring a server provided in the embodiment of the present invention is generally executed by the server 805 , and accordingly, the device for configuring a server is generally disposed in the server 805 .
[0114] It should be understood that Figure 8 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.
[0115] A computing program product according to an embodiment of the present invention includes a computer program, and when the program is executed by a processor, the method for configuring a server provided by an embodiment of the present invention is implemented.
[0116] Reference below Fig. 9 , which shows a schematic diagram of the structure of a computer system 900 of a terminal device suitable for implementing an embodiment of the present invention. Fig. 9 The terminal device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0117] like Fig. 9 As shown, the computer system 900 includes a central processing unit (CPU) 901, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage part 908 into a random access memory (RAM) 903. In the RAM 903, various programs and data required for the operation of the system 900 are also stored. The CPU 901, the ROM 902, and the RAM 903 are connected to each other through a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.
[0118] The following components are connected to the I / O interface 905: an input section 906 including a keyboard, a mouse, etc.; an output section 907 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 908 including a hard disk, etc.; and a communication section 909 including a network interface card such as a LAN card, a modem, etc. The communication section 909 performs communication processing via a network such as the Internet. A drive 910 is also connected to the I / O interface 905 as needed. A removable medium 911, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 910 as needed, so that a computer program read therefrom is installed into the storage section 908 as needed.
[0119] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 909, and / or installed from the removable medium 911. When the computer program is executed by the central processing unit (CPU) 901, the above-mentioned functions defined in the system of the present invention are executed.
[0120] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0121] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0122] The modules involved in the embodiments of the present invention may be implemented by software or hardware. The modules described may also be set in a processor, for example, they may be described as: a processor including a storage module, a display module and a configuration module. The names of these modules do not, in some cases, constitute limitations on the modules themselves. For example, the storage module may also be described as "a computer room initialization interface used by the front end to call the back end, add the computer room identifier to the computer room table, save the cabinet column identifier corresponding to the computer room identifier to the cabinet list, save the cabinet information in the cabinet column to the cabinet table, and store the server location information in the cabinet in the rack table. The computer room table, the cabinet list, the cabinet table and the rack table are stored in a database".
[0123] As another aspect, the present invention further provides a computer-readable medium, which may be included in the device described in the above embodiment; or may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes: The front end calls the computer room initialization interface of the back end, adds the computer room identification to the computer room table, saves the cabinet column identification corresponding to the computer room identification to the cabinet list, saves the cabinet information in the cabinet column to the cabinet table, and stores the server location information in the cabinet in the rack table. The computer room table, the cabinet list, the cabinet table and the rack table are stored in the database; In the HTML page, create a cabinet column DIV tag corresponding to the cabinet column identifier in the cabinet list, a cabinet DIV tag corresponding to the cabinet in the cabinet table, and a position DIV tag corresponding to the server position information in the rack table, and call the computer room table, the cabinet list, the cabinet table, and the rack table in the HTML page to render the cabinet column DIV tag, the cabinet DIV tag, and the position DIV tag to display the cabinet column, cabinet, and server position in the computer room corresponding to the computer room table; The front end responds to the server operation instruction, sets the server based on the server position of the specified cabinet in the cabinet column specified in the server operation instruction, identifies the information of the set server and updates the status of the set server, and constructs a server operation table with the information of the set server and the status of the set server to implement the configuration of the server.
[0124] According to the technical solution of an embodiment of the present invention, the front end calls the computer room initialization interface of the back end, adds the computer room identification to the computer room table, saves the identification of the cabinet column corresponding to the computer room identification into the cabinet list, saves the cabinet information in the cabinet column into the cabinet table, and stores the server position information in the cabinet in the rack table, and the computer room table, the cabinet list, the cabinet table and the rack table are stored in a database; in an HTML page, a cabinet column DIV tag corresponding to the cabinet column identification in the cabinet list, a cabinet DIV tag corresponding to the cabinet in the cabinet table, and a position DIV tag corresponding to the server position information in the rack table are created, and the cabinet column DIV tag, the cabinet DIV tag and the position DIV tag are rendered in the HTML page to display the cabinet column, the cabinet and the server position in the computer room corresponding to the computer room table; in response to the server operation instruction, the front end sets the server based on the server position of the specified cabinet in the specified cabinet column in the server operation instruction, identifies the information of the set server and updates the status of the set server, and constructs a server operation table with the information of the set server and the status of the set server to realize the configuration of the server. The server operation table can be used to obtain server operation information in a timely manner, thereby ensuring the normal operation of the server.
[0125] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
[0126] It should be noted that in the technical solution of the present invention, the collection, analysis, use, transmission, storage and other aspects of user personal information involved are in compliance with the provisions of relevant laws and regulations, are used for legal and reasonable purposes, are not shared, leaked or sold outside of these legal uses, and are subject to supervision and management by regulatory authorities. Necessary measures should be taken for user personal information to prevent illegal access to such personal information data, ensure that persons who have access to personal information data comply with the provisions of relevant laws and regulations, and ensure the security of user personal information. Once these user personal information data are no longer needed, the risks should be minimized by limiting or even prohibiting data collection and / or deleting data.
[0127] When applicable, including in certain relevant applications, protect user privacy by de-identifying data, such as by removing specific identifiers (e.g., date of birth, etc.) when applicable, controlling the amount or specificity of data stored (e.g., collecting location data at a city level rather than at a specific address level), controlling how data is stored, and / or other de-identification methods.
Claims
1. A method for configuring a server, characterized in that: include: The front end calls the computer room initialization interface of the back end, adds the computer room identification to the computer room table, saves the cabinet column identification corresponding to the computer room identification to the cabinet list, saves the cabinet information in the cabinet column to the cabinet table, and stores the server location information in the cabinet in the rack table. The computer room table, the cabinet list, the cabinet table and the rack table are stored in the database; In the HTML page, create a cabinet column DIV tag corresponding to the cabinet column identifier in the cabinet list, a cabinet DIV tag corresponding to the cabinet in the cabinet table, and a position DIV tag corresponding to the server position information in the rack table, and call the computer room table, the cabinet list, the cabinet table, and the rack table in the HTML page to render the cabinet column DIV tag, the cabinet DIV tag, and the position DIV tag to display the cabinet column, cabinet, and server position in the computer room corresponding to the computer room table; The front end responds to the server operation instruction, sets the server based on the server position of the specified cabinet in the cabinet column specified in the server operation instruction, identifies the information of the set server and updates the status of the set server, and constructs a server operation table with the information of the set server and the status of the set server to implement the configuration of the server.
2. The method for configuring a server according to claim 1, characterized in that: The front end calls the computer room initialization interface of the back end, adds the computer room identifier to the computer room table, saves the cabinet column identifier corresponding to the computer room identifier to the cabinet list, saves the cabinet information in the cabinet column to the cabinet table, and stores the server location information in the cabinet in the rack table. The computer room table, the cabinet list, the cabinet table and the rack table are stored in a database, including: The front end calls the computer room initialization interface of the back end, adds the computer room identifier to the computer room table, saves the cabinet column identifier corresponding to the computer room identifier to the cabinet list, saves the cabinet information in the cabinet column to the cabinet table, and stores the server location information in the cabinet in the rack table; A mapping relationship among the cabinet list, the cabinet table and the rack table is established with the computer room identifier in the computer room table, and the computer room table, the cabinet list, the cabinet table and the rack table are stored in a database according to the mapping relationship.
3. The method for configuring a server according to claim 1, characterized in that: The calling of the computer room table, the cabinet list, the cabinet table and the rack table in the HTML page to render the cabinet column DIV tag, the cabinet DIV tag and the position DIV tag, and displaying the cabinet column, cabinet and server position in the computer room corresponding to the computer room table, includes: In the HTML page, the computer room table, the cabinet list, the cabinet table and the rack table are called to render the cabinet column DIV tag on the cabinet column layer, the cabinet DIV tag on the cabinet layer and the position DIV tag on the server layer; In response to the device identification in the display request, the device corresponding to the computer room table is displayed in the corresponding layer of the device identification, and the device includes one or more of the following: cabinet row, cabinet and server position.
4. The method for configuring a server according to claim 1, characterized in that: After displaying the cabinet columns, cabinets and server positions in the computer room corresponding to the computer room table, the method further includes: In response to the cabinet modification request, the front end sets the equipment type of the cabinet to a support column through the cabinet modification request interface of the back end, and updates the cabinet table in the database with the cabinet identifier set to the support column.
5. The method for configuring a server according to claim 1, characterized in that: The front end, in response to the server operation instruction, sets the server based on the server position of the specified cabinet in the specified cabinet column in the server operation instruction, identifies the information of the set server and updates the status of the set server, and constructs a server operation table with the information of the set server and the status of the set server to implement the configuration of the server, including: The front end responds to the server operation instruction, the server operation instruction includes a server racking instruction, selects and sets the server according to the server information based on the server position of the specified cabinet in the specified cabinet column in the server racking instruction, identifies the information of the set server and updates the status of the set server, the status of the server includes: racking; Based on the information of the set server and the state of the set server, a server operation table is constructed and output to realize the configuration of the server.
6. The method for configuring a server according to claim 5, characterized in that: The selecting and setting of the server according to the server information based on the server position of the specified cabinet in the specified cabinet row in the server rack indication includes: The server belongs to a distributed system, and the number of servers in the cabinet is set according to the servers to be put on the rack and the cabinets in the computer room in the distributed system; Based on the number of the servers and the server positions of the designated cabinets in the designated cabinet columns in the server rack indication, the servers are selected and arranged according to the server information.
7. The method for configuring a server according to claim 1 or 5, characterized in that: The front end, in response to the server operation instruction, sets the server based on the server position of the specified cabinet in the specified cabinet column in the server operation instruction, identifies the information of the set server and updates the status of the set server, and constructs a server operation table with the information of the set server and the status of the set server to implement the configuration of the server, including: The front end responds to the server operation instruction, the server operation instruction includes a server de-shelfing instruction, selects and sets the server according to the server information based on the server position of the specified cabinet in the specified cabinet column in the server de-shelfing instruction, and after re-determining the set server, identifies the information of the set server and updates the status of the set server, the status of the server includes: de-shelfing; Based on the information of the set server and the state of the set server, a server operation table is constructed and output to realize the configuration of the server.
8. A device for configuring a server, characterized in that: include: A storage module, which is used for the front end to call the computer room initialization interface of the back end, add the computer room identification to the computer room table, save the cabinet column identification corresponding to the computer room identification to the cabinet list, save the cabinet information in the cabinet column to the cabinet table, and store the server location information in the cabinet in the rack table, and the computer room table, the cabinet list, the cabinet table and the rack table are stored in the database; The display module is used to create a cabinet column DIV tag corresponding to the cabinet column identifier in the cabinet list, a cabinet DIV tag corresponding to the cabinet in the cabinet table, and a position DIV tag corresponding to the server position information in the rack table in the HTML page, and call the computer room table, the cabinet list, the cabinet table, and the rack table in the HTML page to render the cabinet column DIV tag, the cabinet DIV tag, and the position DIV tag to display the cabinet column, cabinet, and server position in the computer room corresponding to the computer room table; A configuration module is used for the front end to respond to a server operation instruction, set up a server based on the server position of a specified cabinet in a specified cabinet column in the server operation instruction, identify the information of the set server and update the status of the set server, and construct a server operation table with the information of the set server and the status of the set server to implement the configuration of the server.
9. An electronic device configured with a server, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 7.
10. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
