CN107798086B - Server information updating method, device and system and electronic equipment - Google Patents

Server information updating method, device and system and electronic equipment Download PDF

Info

Publication number
CN107798086B
CN107798086B CN201710976592.4A CN201710976592A CN107798086B CN 107798086 B CN107798086 B CN 107798086B CN 201710976592 A CN201710976592 A CN 201710976592A CN 107798086 B CN107798086 B CN 107798086B
Authority
CN
China
Prior art keywords
server
local
information
updating
entry
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710976592.4A
Other languages
Chinese (zh)
Other versions
CN107798086A (en
Inventor
沈文策
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujian Cnfol Information Technology Co Ltd
Original Assignee
Fujian Cnfol Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujian Cnfol Information Technology Co Ltd filed Critical Fujian Cnfol Information Technology Co Ltd
Priority to CN201710976592.4A priority Critical patent/CN107798086B/en
Publication of CN107798086A publication Critical patent/CN107798086A/en
Application granted granted Critical
Publication of CN107798086B publication Critical patent/CN107798086B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2358Change logging, detection, and notification
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a server information updating method, a device, a system and electronic equipment, relating to the technical field of computers, wherein the server information updating method comprises the steps of receiving local server information sent by a service server, and analyzing the local server information to obtain a local identifier; traversing a local information base according to the local identifier, wherein the local information base comprises server entries corresponding to all the service servers; when the server item matched with the local identifier is found, updating the server item according to the local server information; and when the server entry matched with the local identifier is not searched, adding a server entry according to the local server information. Compared with a method for manually checking update information, the technical scheme saves manpower and material resources and improves the update efficiency and the update effect of the enterprise server information.

Description

Server information updating method, device and system and electronic equipment
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, a system, and an electronic device for updating server information.
Background
As an important component of the Internet, the server plays an important role, such as the Internet, banks, supermarkets and hospitals, and the support of the server cannot be separated from each industry. In order to improve the performance, meet the requirements of more and more complex applications and increase the expansion capability of enterprises for future applications, the server needs to be updated, newly added and other changes, so that the server resources are optimized and the aim of facilitating management is fulfilled.
In order to facilitate management of each service server, a general enterprise records relevant information of each service server, such as the number, configuration information, machine model, system version, and the like of the service servers. When the business in the enterprise changes, the corresponding business server also changes, such as reducing or adding a server. At present, the information updating of the service servers needs to be increased and changed after manual checking, the workload of information updating management of the service servers is increased along with the increase of the number of the service servers, and the problems of information confusion and data updating errors are easy to occur due to the energy limitation of workers.
Therefore, the service server information updating in the prior art has the problems of manpower and financial resources consumption, low working efficiency and poor updating effect.
Disclosure of Invention
In view of the above, the present invention provides a method, an apparatus, a system and an electronic device for updating server information, which improve the updating efficiency and the updating effect of enterprise server information while saving manpower and material resources.
In a first aspect, an embodiment of the present invention provides a server information updating method, including:
receiving local server information sent by a service server, and analyzing the local server information to acquire a local identifier;
traversing a local information base according to the local identifier, wherein the local information base comprises server entries corresponding to all the service servers;
when the server item matched with the local identifier is found, updating the server item according to the local server information;
and when the server entry matched with the local identifier is not searched, adding a server entry according to the local server information.
With reference to the first aspect, an embodiment of the present invention provides a first possible implementation manner of the first aspect, where after receiving the local server information sent by the service server, the method further includes:
recording the receiving time corresponding to the local server information, and taking the receiving time as the updating time of the corresponding server entry;
the method further comprises the following steps:
and calculating the difference between the current moment and the updating time, and sending a maintenance warning to the operation and maintenance terminal when the difference is greater than or equal to the updating time threshold.
With reference to the first possible implementation manner of the first aspect, an embodiment of the present invention provides a second possible implementation manner of the first aspect, where the method further includes:
when the difference is larger than or equal to an item removal threshold value, detecting whether the server state in the corresponding server item is in maintenance;
if not, deleting the corresponding server entry.
With reference to the first aspect, an embodiment of the present invention provides a third possible implementation manner of the first aspect, where the third possible implementation manner further includes:
receiving scrap information sent by operation and maintenance personnel, and analyzing the scrap information to obtain a local identifier;
traversing the local information base according to the local identification, and deleting the server entry corresponding to the local identification from the local information base.
With reference to the first aspect, an embodiment of the present invention provides a fourth possible implementation manner of the first aspect, where the server entry includes local history information corresponding to a plurality of service servers;
the method further comprises the following steps:
sending a query request to a corresponding service server according to query information input by a user, wherein the query request comprises a local identifier;
and receiving local server information returned by the service server according to the query request, and generating a local update information table according to the local server information and local history information in the corresponding server entry.
With reference to the first aspect, an embodiment of the present invention provides a fifth possible implementation manner of the first aspect, where the method further includes:
analyzing server entries corresponding to all the service servers contained in the local information base, and periodically generating statistical report information;
and sending the statistical report information to a terminal corresponding to a statistical worker.
In a second aspect, an embodiment of the present invention further provides a server information updating apparatus, including:
the receiving module is used for receiving local server information sent by a service server and analyzing the local server information to acquire a local identifier;
the traversing module is used for traversing a local information base according to the local identifier, wherein the local information base comprises server entries corresponding to all the service servers;
the updating module is used for updating the server item according to the local server information when the server item matched with the local identifier is found;
and the adding module is used for adding a server item according to the local server information when the server item matched with the local identifier is not searched.
With reference to the second aspect, an embodiment of the present invention provides a first possible implementation manner of the second aspect, where the method further includes:
the recording module is used for recording the receiving time corresponding to the local server information and taking the receiving time as the updating time of the corresponding server entry;
and the sending module is used for calculating the difference between the current moment and the updating time, and sending a maintenance warning to the operation and maintenance terminal when the difference is greater than or equal to the updating time threshold.
In a third aspect, an embodiment of the present invention further provides a server information updating system, including a management server and a plurality of enterprise servers, where the enterprise servers are all connected to the management server; the management server includes the server information updating means according to the second aspect;
the enterprise server is used for collecting local server information and sending the local server information to the management server.
In a fourth aspect, an embodiment of the present invention further provides an electronic device, which includes a memory and a processor, where the memory stores a computer program that is executable on the processor, and the processor executes the computer program to implement the method according to the first aspect and any possible implementation manner thereof.
The embodiment of the invention has the following beneficial effects:
in the embodiment provided by the invention, the server information updating method comprises the steps of receiving local server information sent by a service server, and analyzing the local server information to obtain a local identifier; traversing a local information base according to the local identifier, wherein the local information base comprises server entries corresponding to all the service servers; when the server item matched with the local identifier is found, updating the server item according to the local server information; and when the server entry matched with the local identifier is not searched, adding a server entry according to the local server information. According to the technical scheme provided by the embodiment of the invention, the server entries in the local information base are automatically updated according to the local identification in the received local server information. Compared with a method for manually checking update information, the technical scheme saves manpower and material resources and improves the update efficiency and the update effect of the enterprise server information.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic flowchart of a server information updating method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a server information updating apparatus according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a server information updating system according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
At present, information updating of a service server needs to be deleted, added and changed after manual checking, and with the increase of the number of the service servers, the workload of information updating management of the service server is increased. Based on this, the server information updating method, device, system and electronic device provided by the embodiments of the present invention can automatically update the server entry in the local information base according to the local identifier in the received local server information. Compared with a method for manually checking update information, the technical scheme saves manpower and material resources and improves the update efficiency and the update effect of the enterprise server information.
To facilitate understanding of the embodiment, a detailed description is first given of a server information updating method disclosed in the embodiment of the present invention.
The first embodiment is as follows:
the server information updating method provided by the embodiment of the present invention can be applied to, but is not limited to, a management server of each enterprise, and the following description will take application to a management server as an example. Fig. 1 is a flowchart illustrating a server information updating method according to an embodiment of the present invention. As shown in fig. 1, the method includes:
and step S101, receiving local server information sent by the service server, and analyzing the local server information to acquire a local identifier.
The local server information at least comprises local identification, configuration information, system version, relevant software version and other information. The local identifier is used as a unique identifier of the enterprise server, and can be an Internet Protocol (IP) address and a character number of the local server.
In a possible embodiment, each service server runs a script for periodically collecting corresponding local server information, and the local server information is periodically sent to the management server through the script. After receiving the local server information, the management server analyzes the local server information to obtain the local identifier in the local server information.
And step S102, traversing a local information base according to the local identifier, wherein the local information base comprises server entries corresponding to all the service servers.
Specifically, each business server corresponds to a server entry, and the server entry includes a local identifier, configuration information, a system version, and related software version information. And searching a server entry matched with the local identification in a local information base according to the local identification.
And step S103, when the server item matched with the local identifier is found, updating the server item according to the local server information.
Specifically, the server entry matching the local identification is automatically updated based on the received local server information.
And step S104, when the server entry matched with the local identifier is not searched, adding a server entry according to the local server information.
Specifically, when a server entry matching with the local identifier is not found, a new server entry matching with the local identifier is added.
According to the technical scheme provided by the embodiment of the invention, the server entries in the local information base are automatically updated according to the local identification in the received local server information. Compared with a method for manually checking update information, the technical scheme saves manpower and material resources and improves the update efficiency and the update effect of the enterprise server information.
Further, in view of that when the business server has a problem, such as a damaged machine or a failed start-up, the local server information cannot be sent, and updating of the server information is affected, in an embodiment, after receiving the local server information sent by the business server, the method further includes: and recording the receiving time corresponding to the local server information, and taking the receiving time as the updating time of the corresponding server entry. The method further comprises the step of calculating the difference between the current moment and the updating time, and when the difference is larger than or equal to the updating time threshold, sending a maintenance warning to the operation and maintenance terminal.
Specifically, the corresponding server entry is updated after local server information is received each time, and when it is detected that the local server information is not received within a time period corresponding to the update time threshold, a maintenance warning is sent to the operation and maintenance terminal, so that operation and maintenance personnel corresponding to the operation and maintenance terminal overhaul the corresponding service server. The update time threshold may be set according to practical situations, such as 48 hours, or a week, and is not limited herein.
Further, considering that a server entry corresponding to a service server needs to be deleted after the service server is off shelf, in a possible embodiment, when a difference between the current time and the update time is greater than or equal to an entry removal threshold, detecting whether a server state in the corresponding server entry is in maintenance; if not, the corresponding server entry is deleted.
Specifically, when a problem occurs in a service server, corresponding operation and maintenance personnel can set the current server state of the service server to be in maintenance, and after the service server can be normally used, the server state can be changed to be in operation. Further, when detecting that the corresponding local server information is not received in the time period corresponding to the entry removal threshold value and the current server state is not in maintenance, indicating that the service server is off shelf, and deleting the corresponding server entry of the service server. The entry removal threshold may be set according to actual specific situations, and is not limited herein.
In order to update the server information in a timely manner, in view that when the enterprise server is scrapped, the corresponding server entry needs to be deleted, in a possible embodiment, the server information updating method further includes: receiving scrap information sent by operation and maintenance personnel, and analyzing the scrap information to obtain a local identifier; and traversing the local information base according to the local identifier, and deleting the server entry matched with the local identifier from the local information base.
Specifically, after receiving scrapping information of operation and maintenance personnel, determining that the corresponding scrapped enterprise server needs to be deleted. The scrapping information comprises a local identifier corresponding to the scrapped enterprise server, the scrapping information is analyzed to obtain the local identifier, and the server item matched with the local identifier is deleted from the local information base, so that the accuracy and the reliability of the local information base are realized.
Further, in order to facilitate the user to query the relevant information of the service server, and to further understand the service server for subsequent management, in a possible embodiment, the server entry includes a plurality of pieces of local history information of the corresponding service server, where each piece of local history information includes configuration information, a system version, a relevant software version, and corresponding time information (e.g., time for updating the system version, time for upgrading the software version, or time for updating the configuration, etc.). The server information updating method further comprises the following steps: sending a query request to a corresponding service server according to query information input by a user, wherein the query request comprises a local identifier; and receiving local server information returned by the service server according to the query request, and generating a local update information table according to the local server information and local history information in the corresponding server entry.
Specifically, when a user wishes to obtain information related to a certain service server, an inquiry request may be sent to the service server, so as to obtain the latest local server information, and a local update information table is generated in combination with local history information in a corresponding server entry, so that the user can know server information of the service server in all time periods, thereby better managing the service server.
Further, in order to make a user more intuitively and conveniently know information of each service server, in an embodiment, the server information updating method includes: analyzing server entries corresponding to all the service servers contained in the local information base, and periodically generating statistical report information; and sending the information of the statistical form to a terminal corresponding to a statistical worker.
Specifically, the server entries corresponding to the service servers in the local information base are subjected to corresponding statistical analysis, and statistical report information is generated periodically. The statistical report information is automatically sent to the terminal corresponding to the statistical staff, so that the statistical staff can regularly receive the statistical report information containing the server entries corresponding to the business servers, and the information is more visual and convenient to check.
Example two:
fig. 2 is a schematic structural diagram illustrating a server information updating apparatus according to an embodiment of the present invention. As shown in fig. 2, the server information updating apparatus includes:
the receiving module 11 is configured to receive local server information sent by a service server, and parse the local server information to obtain a local identifier;
a traversing module 12, configured to traverse a local information base according to the local identifier, where the local information base includes server entries corresponding to the service servers;
the updating module 13 is used for updating the server items according to the local server information when the server items matched with the local identifier are found;
and the adding module 14 is used for adding a server entry according to the local server information when the server entry matched with the local identifier is not searched.
Further, the server information updating method further includes:
the recording module is used for recording the receiving time corresponding to the information of the local server and taking the receiving time as the updating time of the corresponding server entry;
and the sending module is used for calculating the difference between the current moment and the updating time, and sending a maintenance warning to the operation and maintenance terminal when the difference is greater than or equal to the updating time threshold.
According to the technical scheme provided by the embodiment of the invention, the server entries in the local information base are automatically updated according to the local identification in the received local server information. Compared with a method for manually checking update information, the technical scheme saves manpower and material resources and improves the update efficiency and the update effect of the enterprise server information.
Example three:
fig. 3 is a schematic structural diagram illustrating a server information updating system according to an embodiment of the present invention. As shown in fig. 3, the server information update system includes a management server 500 and a plurality of enterprise servers 600, each of which is connected to the management server. Wherein the management server includes the server information updating apparatus in the second embodiment.
Specifically, the enterprise server is configured to collect local server information and send the local server information to the management server. In one embodiment, scripts for periodically collecting corresponding local server information are run in the business servers, and the local server information is periodically sent to the management server through the scripts.
According to the technical scheme provided by the embodiment of the invention, the server entries in the local information base are automatically updated according to the local identification in the received local server information. Compared with a method for manually checking update information, the technical scheme saves manpower and material resources and improves the update efficiency and the update effect of the enterprise server information.
Example four:
referring to fig. 4, an embodiment of the present invention further provides an electronic device 100, including: a processor 40, a memory 41, a bus 42 and a communication interface 43, wherein the processor 40, the communication interface 43 and the memory 41 are connected through the bus 42; the processor 40 is arranged to execute executable modules, such as computer programs, stored in the memory 41.
The Memory 41 may include a high-speed Random Access Memory (RAM) and may also include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 43 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, etc. may be used.
The bus 42 may be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 4, but that does not indicate only one bus or one type of bus.
The memory 41 is used for storing a program, the processor 40 executes the program after receiving an execution instruction, and the method executed by the apparatus defined by the flow process disclosed in any of the foregoing embodiments of the present invention may be applied to the processor 40, or implemented by the processor 40.
The processor 40 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 40. The Processor 40 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory 41, and the processor 40 reads the information in the memory 41 and completes the steps of the method in combination with the hardware thereof.
The server information updating device, the server information updating system and the electronic equipment provided by the embodiment of the invention have the same technical characteristics as the server information updating method provided by the embodiment of the invention, so that the same technical problems can be solved, and the same technical effects can be achieved.
The computer program product for performing the server information updating method provided in the embodiment of the present invention includes a computer-readable storage medium storing a nonvolatile program code executable by a processor, where instructions included in the program code may be used to execute the method described in the foregoing method embodiment, and specific implementation may refer to the method embodiment, which is not described herein again.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the apparatus, the system and the electronic device described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Unless specifically stated otherwise, the relative steps, numerical expressions, and values of the components and steps set forth in these embodiments do not limit the scope of the present invention.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (6)

1. A server information updating method is characterized by comprising the following steps:
receiving local server information sent by a service server, recording receiving time corresponding to the local server information, and taking the receiving time as updating time of a corresponding server entry; analyzing the local server information to obtain a local identifier;
traversing a local information base according to the local identifier, wherein the local information base comprises server entries corresponding to all the service servers;
when the server item matched with the local identifier is found, updating the server item according to the local server information;
when the server item matched with the local identifier is not searched, adding a server item according to the local server information;
calculating a difference value between the current moment and the updating time, and sending a maintenance warning to the operation and maintenance terminal when the difference value is greater than or equal to an updating time threshold value;
wherein, still include:
when the difference is larger than or equal to an item removal threshold value, detecting whether the server state in the corresponding server item is in maintenance;
if not, deleting the corresponding server entry;
wherein, still include:
receiving scrap information sent by operation and maintenance personnel, and analyzing the scrap information to obtain a local identifier;
traversing the local information base according to the local identification, and deleting the server entry corresponding to the local identification from the local information base.
2. The method of claim 1, wherein the server entry includes a plurality of pieces of local history information corresponding to the service server;
the method further comprises the following steps:
sending a query request to a corresponding service server according to query information input by a user, wherein the query request comprises a local identifier;
and receiving local server information returned by the service server according to the query request, and generating a local update information table according to the local server information and local history information in the corresponding server entry.
3. The method of claim 1, further comprising:
analyzing server entries corresponding to all the service servers contained in the local information base, and periodically generating statistical report information;
and sending the statistical report information to a terminal corresponding to a statistical worker.
4. A server information updating apparatus, comprising:
the receiving module is used for receiving local server information sent by a service server and analyzing the local server information to acquire a local identifier;
the traversing module is used for traversing a local information base according to the local identifier, wherein the local information base comprises server entries corresponding to all the service servers;
the updating module is used for updating the server item according to the local server information when the server item matched with the local identifier is found;
the adding module is used for adding a server item according to the local server information when the server item matched with the local identifier is not searched;
the recording module is used for recording the receiving time corresponding to the local server information and taking the receiving time as the updating time of the corresponding server entry;
the sending module is used for calculating a difference value between the current moment and the updating time, and sending a maintenance warning to the operation and maintenance terminal when the difference value is greater than or equal to an updating time threshold value;
wherein the apparatus further comprises:
the detection module is used for detecting whether the server state in the corresponding server item is in maintenance or not when the difference value is larger than or equal to an item removal threshold value;
a deleting module, configured to delete the corresponding server entry if the corresponding server entry is not deleted;
wherein the apparatus further comprises:
the analysis module is used for receiving scrapped information sent by operation and maintenance personnel and analyzing the scrapped information to obtain a local identifier;
and the server entry deleting module is used for traversing the local information base according to the local identifier and deleting the server entry corresponding to the local identifier from the local information base.
5. A server information updating system is characterized by comprising a management server and a plurality of enterprise servers, wherein the enterprise servers are connected with the management server; the management server includes the server information updating apparatus according to claim 4;
the enterprise server is used for collecting local server information and sending the local server information to the management server.
6. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any of claims 1 to 3 when executing the computer program.
CN201710976592.4A 2017-10-19 2017-10-19 Server information updating method, device and system and electronic equipment Active CN107798086B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710976592.4A CN107798086B (en) 2017-10-19 2017-10-19 Server information updating method, device and system and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710976592.4A CN107798086B (en) 2017-10-19 2017-10-19 Server information updating method, device and system and electronic equipment

Publications (2)

Publication Number Publication Date
CN107798086A CN107798086A (en) 2018-03-13
CN107798086B true CN107798086B (en) 2021-07-23

Family

ID=61533401

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710976592.4A Active CN107798086B (en) 2017-10-19 2017-10-19 Server information updating method, device and system and electronic equipment

Country Status (1)

Country Link
CN (1) CN107798086B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113094224B (en) * 2019-12-20 2022-07-29 中移全通系统集成有限公司 Server asset management method and device, computer equipment and storage medium
CN111479138B (en) * 2020-03-05 2023-04-18 视联动力信息技术股份有限公司 Server detection method and device
CN113254516A (en) * 2021-05-17 2021-08-13 上海中通吉网络技术有限公司 Method for automatically inputting server information

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101930379A (en) * 2010-08-20 2010-12-29 上海普元信息技术股份有限公司 Structure and method for incremental deploying of server applications in distributed software system
CN103020301A (en) * 2012-12-31 2013-04-03 中国科学院自动化研究所 Multidimensional data query and storage method and system
JP2013257610A (en) * 2012-06-11 2013-12-26 Cg Draft Inc Bingo game provision server for acquiring customer, and bingo game provision program for acquiring customer
CN104488248A (en) * 2014-04-15 2015-04-01 华为技术有限公司 File synchronization method, server and terminal
CN105187230A (en) * 2015-06-25 2015-12-23 走遍世界(北京)信息技术有限公司 Server switching method and server switching device
CN105933137A (en) * 2015-12-21 2016-09-07 中国银联股份有限公司 Resource management method, device and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102185935B (en) * 2011-04-27 2013-07-31 北京交通大学 Resource-oriented hierarchical name resolution system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101930379A (en) * 2010-08-20 2010-12-29 上海普元信息技术股份有限公司 Structure and method for incremental deploying of server applications in distributed software system
JP2013257610A (en) * 2012-06-11 2013-12-26 Cg Draft Inc Bingo game provision server for acquiring customer, and bingo game provision program for acquiring customer
CN103020301A (en) * 2012-12-31 2013-04-03 中国科学院自动化研究所 Multidimensional data query and storage method and system
CN104488248A (en) * 2014-04-15 2015-04-01 华为技术有限公司 File synchronization method, server and terminal
CN105187230A (en) * 2015-06-25 2015-12-23 走遍世界(北京)信息技术有限公司 Server switching method and server switching device
CN105933137A (en) * 2015-12-21 2016-09-07 中国银联股份有限公司 Resource management method, device and system

Also Published As

Publication number Publication date
CN107798086A (en) 2018-03-13

Similar Documents

Publication Publication Date Title
CN110262918B (en) Process crash analysis method and device, distributed equipment and storage medium
CN109670091B (en) Metadata intelligent maintenance method and device based on data standard
CN107798086B (en) Server information updating method, device and system and electronic equipment
CN108255620B (en) Service logic processing method, device, service server and system
CN111198976B (en) Cloud asset association analysis system, method, electronic equipment and medium
US8135666B2 (en) Systems and methods for policy based execution of time critical data warehouse triggers
JP4506520B2 (en) Management server, message extraction method, and program
CN112491602A (en) Behavior data monitoring method and device, computer equipment and medium
JP2020057416A (en) Method and device for processing data blocks in distributed database
CN110807050B (en) Performance analysis method, device, computer equipment and storage medium
CN111221890B (en) Automatic monitoring and early warning method and device for universal index class
CN111061802B (en) Power data management processing method, device and storage medium
CN114416703A (en) Method, device, equipment and medium for automatically monitoring data integrity
CN111625319A (en) Virtual machine monitoring data acquisition method and device and host machine
CN106815223B (en) Mass picture management method and device
CN108334524B (en) Storm log error analysis method and device
CN113094248A (en) User behavior data analysis method and device, electronic equipment and medium
CN111984444A (en) Abnormal information processing method and device
CN113094224B (en) Server asset management method and device, computer equipment and storage medium
CN112463549A (en) Auditing method, device and equipment of cloud platform and computer readable storage medium
CN108197253B (en) Equipment query method, device and equipment of cloud monitoring platform
JP2017167578A (en) Incident management system
CN109739883B (en) Method and device for improving data query performance and electronic equipment
CN116610724B (en) Log data tracking method and device, electronic equipment and storage medium
CN109450700B (en) Visual service detection method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant