CN109885460A - A kind of information acquisition method, device and computer readable storage medium - Google Patents

A kind of information acquisition method, device and computer readable storage medium Download PDF

Info

Publication number
CN109885460A
CN109885460A CN201910087040.7A CN201910087040A CN109885460A CN 109885460 A CN109885460 A CN 109885460A CN 201910087040 A CN201910087040 A CN 201910087040A CN 109885460 A CN109885460 A CN 109885460A
Authority
CN
China
Prior art keywords
operating status
data set
identification information
unclosed
acquisition
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.)
Pending
Application number
CN201910087040.7A
Other languages
Chinese (zh)
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.)
Beijing Mininglamp Software System Co ltd
Original Assignee
Beijing Mininglamp Software System 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 Beijing Mininglamp Software System Co ltd filed Critical Beijing Mininglamp Software System Co ltd
Priority to CN201910087040.7A priority Critical patent/CN109885460A/en
Publication of CN109885460A publication Critical patent/CN109885460A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the invention discloses a kind of information acquisition method, device and storage mediums, comprising: server monitoring runs the operating status of unclosed data set;When the operating status that any one runs unclosed data set changes, the current operating status of the data set is obtained;Identification information corresponding with the operating status obtained is obtained according to the corresponding relationship of operating status and identification information;Using the identification information for the data set operating status that the identification information replacement operating status of acquisition changes.From technical solution provided in an embodiment of the present invention, since server is monitored the operating status for running unclosed data set, once monitoring operating status change, corresponding data set can be modified for indicating the mark of operating status, therefore the real-time exhibition of data set operating status has been simply implemented, to reduce the resource overhead and processing pressure of server itself.

Description

A kind of information acquisition method, device and computer readable storage medium
Technical field
The present embodiments relate to field of computer technology more particularly to a kind of information acquisition methods, device and computer Readable storage medium storing program for executing.
Background technique
Mathematics library system be by patterned mode, by established between several data sets incidence relation with Show a kind of visual modeling system of model.In figure type modeling, the operating status of all data sets all can be real When be presented on interface, to facilitate user's timely learning model foundation situation.
In order to obtain the operating status of data set in time, in the related technology, for collecting running state information in server Management module need every preset time to each data set send operating status acquisition request, and receive each data set return The multiple operating status to obtain each data set.
However, since this method is in such a way that a large amount of transmissions request and receive reply, so that server itself Resource overhead and processing pressure it is excessive.
Summary of the invention
In order to solve the above-mentioned technical problem, the embodiment of the present invention a kind of information acquisition method, device and computer are provided can Storage medium is read, the resource overhead and processing pressure of server itself can be reduced to a great extent.
In order to reach purpose of the embodiment of the present invention, the embodiment of the invention provides a kind of information acquisition methods, comprising:
Server monitoring runs the operating status of unclosed data set;
When the operating status that any one runs unclosed data set changes, acquisition operating status changes The current operating status of data set;
Identification information corresponding with the operating status obtained is obtained according to the corresponding relationship of operating status and identification information;
The identification information for the data set operating status that the operating status changes is replaced using the identification information of acquisition.
Before the operating status of the unclosed data set of operation, further includes:
Judge in several data sets that object module includes with the presence or absence of the unclosed data set of operation.
With the presence or absence of the unclosed data set of operation in several data sets that the judgement object module includes, comprising:
Obtain the number of the data set for the end of run that the object module includes;
Judge whether the number of the data set obtained is equal to the number for all data sets that the object module includes;
If the number of the data set obtained determines institute not equal to the number for all data sets that the object module includes It states in several data sets that object module includes and runs unclosed data set there are described.
The number of the data set for obtaining the end of run that object module includes, comprising:
The element in the first array is obtained, the identification information of all data set operating statuses is obtained;Wherein, first number Group is that the identification information for all data set operating statuses for including is generated according to the object module;
Being obtained according to the identification information of acquisition indicates that data set runs the number and expression of successful first identifier information The number of the second identifier information of data set operation failure;
The number of the first identifier information of acquisition is added with the number of second identifier information, obtains the object module packet The number of the data set of the end of run contained.
The monitoring runs the operating status of unclosed data set, comprising:
The element in the second array is obtained, the identification information for the data set being currently running;Wherein, second array It is that the identification information for running unclosed data set for including is generated according to the object module;
Monitor the operating status of data set corresponding with the identification information obtained.
Before the element obtained in the second array, further includes:
Obtain the identification information of data set corresponding with the unclosed element of operation is indicated in the first array;
Second array is obtained using the identification information of acquisition as element.
After the current operating status of the data set that the acquisition operating status changes, further includes:
The value of element corresponding with the data set that the operating status changes in first array is revised as table Show the information of the current operating status;
When the operating status of acquisition is success or failure, the mark letter for the data set that the operating status is changed Breath is removed from second array.
The embodiment of the invention also provides a kind of servers, comprising:
Monitoring module, for monitoring the operating status for running unclosed data set;
Module is obtained, for changing when any one operating status for running unclosed data set, obtains operation The current operating status of the data set that state changes;
The acquisition module is also used to the operation shape for obtaining with obtaining according to the corresponding relationship of operating status and identification information The corresponding identification information of state;
Processing module runs shape for replacing the data set that the operating status changes using the identification information obtained The identification information of state.
The embodiment of the invention provides a kind of information acquisition devices, comprising: processor and memory, wherein in memory It is stored with the following order being executed by processor:
Monitoring runs the operating status of unclosed data set;
When the operating status that any one runs unclosed data set changes, acquisition operating status changes The current operating status of data set;
Identification information corresponding with the operating status obtained is obtained according to the corresponding relationship of operating status and identification information;
The identification information for the data set operating status that the operating status changes is replaced using the identification information of acquisition.
The embodiment of the invention provides a kind of computer readable storage medium, being stored with computer on the storage medium can Order is executed, the computer executable command is for executing following steps:
Monitoring runs the operating status of unclosed data set;
When the operating status that any one runs unclosed data set changes, acquisition operating status changes The current operating status of data set;
Identification information corresponding with the operating status obtained is obtained according to the corresponding relationship of operating status and identification information;
The identification information for the data set operating status that the operating status changes is replaced using the identification information of acquisition.
Compared with prior art, the embodiment of the present invention includes at least: server monitoring runs the fortune of unclosed data set Row state;When the operating status that any one runs unclosed data set changes, acquisition operating status changes The current operating status of data set;It is obtained according to the corresponding relationship of operating status and identification information corresponding with the operating status obtained Identification information;Using the identification information for the data set operating status that the identification information replacement operating status of acquisition changes. From technical solution provided in an embodiment of the present invention as it can be seen that since server carries out the operating status for running unclosed data set Monitoring can modify corresponding data set for indicating the mark of operating status, therefore with letter once monitoring operating status change Single quick way realizes the real-time exhibition of data set operating status, and the resource that server itself has been reduced to a great extent is opened Pin and processing pressure.
The other feature and advantage of the embodiment of the present invention will illustrate in the following description, also, partly from explanation It is become apparent in book, or understood by implementing the embodiment of the present invention.The purpose of the embodiment of the present invention and other advantages It can be achieved and obtained by structure specifically noted in the specification, claims and drawings.
Detailed description of the invention
Attached drawing is used to provide one for further understanding technical solution of the embodiment of the present invention, and constituting specification Point, it is used to explain the present invention the technical solution of embodiment together with embodiments herein, does not constitute to the embodiment of the present invention The limitation of technical solution.
Fig. 1 is the interface schematic diagram of mathematics library system provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram of information acquisition method provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of server provided in an embodiment of the present invention.
Specific embodiment
Understand in order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing pair The embodiment of the embodiment of the present invention is described in detail.It should be noted that in the absence of conflict, the implementation in the application Feature in example and embodiment can mutual arbitrary collection.
In patterned modeling, data can be used, using known conditions, find two groups or more of data Collection realizes that the intersection-type collision between data set compares using computer technology, and screen to resulting intersection data and divide Analysis.The various types data accessed, are presented as a tree node in system interface, each data source it is included below multiple Tables of data, each tables of data are all used as a node under the data source, are that a building is visual in the middle section at interface Change the painting canvas of model, interfacial structure can be as shown in Figure 1.Interface middle section is tied by multiple data sets by line Figure is referred to as no circuit digraph (Directed Acyclic Graph, DAG) model in systems.Each data set has Five kinds of states: failure (failed), successfully (success), wait run (ready), (running) in operation, initialization (init);The change of data set will synchronize the state of associated data set in each DAG model.Automatic updating data collection state Refer to that user creates data set, modification data set, operation data collection in painting canvas;Wherein, creation data set refers in left side In tree, into painting canvas, the data set that then automatic running newly adds, currently running data set does not stop one node of mouse drag Ground captures last state until data set operating status is success or failure;Modification data set refers to that mouse chooses a certain number According to collection, right-click selection modification, system occurs a pop-up automatically, all parameters of data set, user is shown in pop-up It can modify, pop-up be closed after the completion of modification, current data set automatic running, currently running data set ceaselessly captures newest State is until data set operating status is success or failure;Operation data collection refers to that mouse chooses some data set, clicks Right button selection operation, data set ceaselessly captures last state until data set operating status is success or failure.Operation is entire DAG model refers to first running level one data collection, and other nodes for relying on these data sets are then waited for, to a series It being run successfully according to collection, then it can be used as the automatic operation for executing secondary data collection of input, and so on.If there is number in painting canvas Last state then will be ceaselessly captured until data set operating status is success or failure according to operation is integrated.Therefore, above behaviour Make the triggering that all data set can be caused to automatically update, traditional way is to operate each time, will manually calling interface, with The increase and change of demand, the coupling of business realizing logic is serious, generates a large amount of redundancy, and later maintenance cost increases at multiple.
The embodiment of the present invention provides a kind of information acquisition method, as shown in Fig. 2, this method comprises:
Step 101, server monitoring run the operating status of unclosed data set.
Step 102 changes when any one operating status for running unclosed data set, obtains operating status hair The current operating status of the raw data set changed.
Step 103 obtains mark corresponding with the operating status obtained according to the corresponding relationship of operating status and identification information Know information.
Specifically, the identification information in the corresponding relationship of operating status and identification information is the identification information of operating status. The corresponding relationship of operating status and identification information can in the form of a table or other forms are shown, identification information can be figure Shape, text, number or other forms information.Due to operating status include: failure (failed), successfully (success), to It runs (ready), (running), initialization (init) five kinds of states in operation, it is assumed that identification information carries out table in digital form Show and the corresponding relationship of operating status and identification information is shown in the form of a table, and assumes corresponding when operating status is failure Number 1, the corresponding number 2 when operating status is successfully, when operating status is the corresponding number 3 when running, when operating status is Corresponding number 4 when in operation, the corresponding number 5 when operating status is initialization, therefore the correspondence of operating status and identification information Relationship can be as shown in table 1.
Operating status Identification information
Failure 1
Success 2
Wait run 3
In operation 4
Initialization 5
Table 1
The mark of step 104, the data set operating status to be changed using the identification information replacement operating status of acquisition Information.
It should be noted that replacing the data set operating status that operating status changes using the identification information obtained Identification information refers to that the data set to change using the identification information replacement operating status newly obtained originally indicates operation shape The identification information of state.
Information acquisition method provided by the embodiment of the present invention, server monitoring run the operation shape of unclosed data set State;When the data that the operating status that any one runs unclosed data set changes, and acquisition operating status changes Collect current operating status;Mark corresponding with the operating status obtained is obtained according to the corresponding relationship of operating status and identification information Know information;Using the identification information for the data set operating status that the identification information replacement operating status of acquisition changes.From this The technical solution that inventive embodiments provide is as it can be seen that since server supervises the operating status for running unclosed data set Control can modify corresponding data set for indicating the mark of operating status, therefore with simple once monitoring operating status change Quick way realizes the real-time exhibition of data set operating status, and the resource overhead of server itself has been reduced to a great extent And processing pressure.
Optionally, before the operating status for running unclosed data set, further includes:
Step 105 judges in several data sets that object module includes with the presence or absence of running unclosed data set.
Optionally, judge in several data sets that object module includes with the presence or absence of running unclosed data set, packet It includes:
Step 105a, the number of the data set for the end of run that object module includes is obtained.
Step 105b, judge whether the number of the data set obtained is equal to for all data sets that object module includes Number.
If step 105c, the number of the data set obtained is not equal to the number for all data sets that object module includes, It determines to exist in several data sets that object module includes and runs unclosed data set.
It should be noted that if the number of the data set obtained is equal to for all data sets that object module includes Number determines that several data sets that object module is included all are the data sets of end of run.
Optionally, the number of the data set for the end of run that object module includes is obtained, comprising:
Step 105a1, the element in the first array is obtained, the identification information of all data set operating statuses is obtained.
Wherein, the first array is that the identification information for all data set operating statuses for including is generated according to object module.
Step 105a2, being obtained according to the identification information of acquisition indicates that data set runs of successful first identifier information Number and the number for indicating the second identifier information that data set operation fails.
Step 105a3, the number of the first identifier information of acquisition is added with the number of second identifier information, obtains target The number of the data set for the end of run that model includes.
Optionally, monitoring runs the operating status of unclosed data set, comprising:
Step 101a, the element in the second array, the identification information for the data set being currently running are obtained.
Wherein, the second array is that the identification information for the unclosed data set of operation for including is generated according to object module.
Step 101b, the operating status of monitoring data set corresponding with the identification information of acquisition.
Optionally, before the element in the second array of acquisition, further includes:
Step 101c, the identification information of data set corresponding with the unclosed element of operation is indicated in the first array is obtained.
Step 101d, the second array is obtained using the identification information of acquisition as element.
Optionally, after the current operating status of the data set that acquisition operating status changes, further includes:
The value of element corresponding with the data set that operating status changes in first array is revised as table by step 106 Show the information of current operating status.
Step 107, when the operating status of acquisition be success or failure when, the mark for the data set that operating status is changed Know information to remove from the second array.
Optionally, the mark of data set operating status is located at the predeterminated position in data set icon.
Specifically, predeterminated position can be the lower right position in data set icon as shown in Figure 1.
The present invention also provides a kind of information acquisition methods, comprising:
Step 1, the data structure for preparing each data set in painting canvas
Wherein, the meaning of primary fields is as follows:
Next: the id for the data set node being attached thereto in painting canvas;ColumnsDataType: the data that data set respectively arranges Type;Previous: the upstream node id of data set;ModelId: the model id of current data ownership;Count: current data How many data collection has altogether;EnColumnsName: data set English field name;CnColumnsName: text in data set Section name;Type: the type of data set;FullResultt: being full dose operation or a small amount of operations;Condition: data set Service condition;LastUpdateTs: last time renewal time;Name: dataset name;CreateTs: creation time; Subtype: subtype;Id: the unique identification of data set;Position: position of the data set in picture;Status: data Collect the state of operation.Including five kinds of states of failed, success, ready, running, init.
The connection of each data set is realized in step 2, painting canvas
According to the next attribute of each data set node, data set each in painting canvas is associated, it is visual using open source Change the network structure that library cytoscape generates painting canvas.
All number of data sets evidences in step 3, local preservation painting canvas
One step 3.1, creation common function reducer receive two parameters state and action, and state's is first Initial value is a modelShowList array, for storing the data of all data sets in painting canvas.
Step 3.2, the createStore method provided using redux frame, the reducer that step 3.1 is created are passed Enter, create the store of a technical interior, saves painting canvas data in a manner of modelManage NameSpace in store graph。
Number of data sets evidence in step 4, acquisition local store
One step 4.1, creation common function mapStateToProps, receive a parameter state, return to state All data of graph under the NameSpace modelManage being arranged when creating store.
Step 4.2, the connect method provided using react-redux are passed to what step 4.1 created respectively MapStateToProps, actionCreator and render component Graph, wherein mapStateToProps provides group for Graph All data needed for part, method needed for actionCreator provides component for Graph.
Step 5, creation render component Graph
Step 5.1, the shouldComponentUpdate life cycle function provided using React frame, compare the 3rd Whether consistent walk modelShowList and newest modified modelShowList in the data provided, it is strong if inconsistent Render function inside component executive module processed, renders component again.
Step 5.2, the componentDidUpdate life cycle function provided using React frame, in step 5.1 group After part render function executes, force call intrinsic function shouldStatusUpdate, shouldStatusUpdate function The state of all data sets in internal statistical modelShowList array checks in modelShowList array shape in data set State is the number count of failed and success, if the length of count and modelShowList array is unequal, generation Data set table operation also in need or be currently running.The data set of ready state in modelShowList array is collected, point It is other that their id is successively transmitted to interface as parameter, realize the automatic function of calling and check data set.
Step 5.3, the checkStatusHandle function for executing enclosed inside, create in the constructed fuction in Graph One checkingNodeIds array, for recording the data set id for being submitted to server each time. CheckStatusHandle function then uses the mode of the repeating query every 3 seconds automatic interfaces for calling inspection data set state, The state of each data set reexamines one time in checkingNodeIds, and the data set state that server is returned updates Into modelShowList.If the state that certain data set returns is failed or success, the id of current data set It is removed from checkingNodeIds, realizes the function of automatically updating DAG model node.
It should be noted that when creating a new data set on painting canvas, by one additional into modelShowList Data set organization;On painting canvas delete a data set when, by the id of data set found in array the data set and from It is removed in modelShowList;When modifying a data set on painting canvas, which is found in array by the id of data set Collection, and modify as needed to corresponding field;When running some data set on painting canvas, existed by the id of data set The data set is found in array, modifying its status is ready.The business realizing of everywhere only needs to pay close attention to business itself Realization, as to whether wanting being implemented without for the non-business such as operation data collection, the state for whether needing to synchronize certain data set Consider, to reduce business realizing coupling and a large amount of code redundancy.
The embodiment of the present invention provides a kind of server, as shown in figure 3, the server 2 includes:
Monitoring module 21, for monitoring the operating status for running unclosed data set.
Module 22 is obtained, for changing when any one operating status for running unclosed data set, obtains fortune The current operating status of the data set that row state changes.
Module 22 is obtained, the operating status for obtaining with obtaining according to the corresponding relationship of operating status and identification information is also used to Corresponding identification information.
Processing module 23, the data set operating status for being changed using the identification information replacement operating status obtained Identification information.
Optionally, processing module 23 are also used to judge in several data sets that object module includes with the presence or absence of operation Unclosed data set.
Optionally, processing module 23 is specifically used for:
Obtain the number of the data set for the end of run that object module includes.
Judge whether the number of the data set obtained is equal to the number for all data sets that object module includes.
If the number of the data set obtained determines target mould not equal to the number for all data sets that object module includes Exist in several data sets that type includes and runs unclosed data set.
Optionally, processing module 23 is specifically also used to:
The element in the first array is obtained, the identification information of all data set operating statuses is obtained;Wherein, the first array is The identification information for all data set operating statuses for including according to object module generates.
Being obtained according to the identification information of acquisition indicates that data set runs the number and expression of successful first identifier information The number of the second identifier information of data set operation failure.
The number of the first identifier information of acquisition is added with the number of second identifier information, obtains what object module included The number of the data set of end of run.
Optionally, monitoring module 21 is specifically used for:
The element in the second array is obtained, the identification information for the data set being currently running;Wherein, the second array is root The identification information for the unclosed data set of operation for including according to object module generates.
Monitor the operating status of data set corresponding with the identification information obtained.
Optionally, monitoring module 21 is specifically also used to:
Obtain the identification information of data set corresponding with the unclosed element of operation is indicated in the first array.
The second array is obtained using the identification information of acquisition as element.
Optionally, processing module 23 is also used to:
The value of element corresponding with the data set that operating status changes in first array is revised as indicating currently The information of operating status.
When the operating status of acquisition is success or failure, the identification information of the data set that operating status is changed from It is removed in second array.
Server provided by the embodiment of the present invention, monitoring run the operating status of unclosed data set;When any one The operating status of a unclosed data set of operation changes, the current operation of the data set that acquisition operating status changes State;Identification information corresponding with the operating status obtained is obtained according to the corresponding relationship of operating status and identification information;Using The identification information for the data set operating status that the identification information replacement operating status of acquisition changes.It is mentioned from the embodiment of the present invention The technical solution of confession is as it can be seen that since server is monitored the operating status for running unclosed data set, once it monitors Operating status changes, and can modify corresponding data set for indicating the mark of operating status, therefore real in simple and fast mode The resource overhead and processing pressure of server itself has been reduced to a great extent in the real-time exhibition for having showed data set operating status.
In practical applications, the judgment module 21, monitoring module 22, acquisition module 23 and processing module 24 are located at service In device central processing unit (Central Processing Unit, CPU), microprocessor (Micro Processor Unit, MPU), digital signal processor (Digital Signal Processor, DSP) or field programmable gate array (Field Programmable Gate Array, FPGA) etc. realize.
The embodiment of the present invention also provides a kind of information acquisition device, including memory and processor, wherein deposits in memory Contain the following order being executed by processor:
Monitoring runs the operating status of unclosed data set.
When the operating status that any one runs unclosed data set changes, acquisition operating status changes The current operating status of data set.
Identification information corresponding with the operating status obtained is obtained according to the corresponding relationship of operating status and identification information.
Using the identification information for the data set operating status that the identification information replacement operating status of acquisition changes.
Optionally, the following order being executed by processor also is stored in memory:
Judge in several data sets that object module includes with the presence or absence of running unclosed data set.
Optionally, the following order being executed by processor specifically is stored in memory:
Obtain the number of the data set for the end of run that object module includes.
Judge whether the number of the data set obtained is equal to the number for all data sets that object module includes.
If the number of the data set obtained determines target mould not equal to the number for all data sets that object module includes Exist in several data sets that type includes and runs unclosed data set.
Optionally, the following order being executed by processor also specifically is stored in memory:
The element in the first array is obtained, the identification information of all data set operating statuses is obtained;Wherein, the first array is The identification information for all data set operating statuses for including according to object module generates.
Being obtained according to the identification information of acquisition indicates that data set runs the number and expression of successful first identifier information The number of the second identifier information of data set operation failure.
The number of the first identifier information of acquisition is added with the number of second identifier information, obtains what object module included The number of the data set of end of run.
Optionally, the following order being executed by processor also specifically is stored in memory:
The element in the second array is obtained, the identification information for the data set being currently running;Wherein, the second array is root The identification information for the unclosed data set of operation for including according to object module generates.
Monitor the operating status of data set corresponding with the identification information obtained.
Optionally, the following order being executed by processor also specifically is stored in memory:
Obtain the identification information of data set corresponding with the unclosed element of operation is indicated in the first array.
The second array is obtained using the identification information of acquisition as element.
Optionally, the following order being executed by processor also is stored in memory:
The value of element corresponding with the data set that operating status changes in first array is revised as indicating currently The information of operating status.
When the operating status of acquisition is success or failure, the identification information of the data set that operating status is changed from It is removed in second array.
The embodiment of the present invention also provides a kind of computer readable storage medium, and it is executable that computer is stored on storage medium Order, computer executable command is for executing following steps:
Monitoring runs the operating status of unclosed data set.
When the operating status that any one runs unclosed data set changes, acquisition operating status changes The current operating status of data set.
Identification information corresponding with the operating status obtained is obtained according to the corresponding relationship of operating status and identification information.
Using the identification information for the data set operating status that the identification information replacement operating status of acquisition changes.
Optionally, computer executable command is also used to execute following steps:
Judge in several data sets that object module includes with the presence or absence of running unclosed data set.
Optionally, computer executable command is specifically used for executing following steps:
Obtain the number of the data set for the end of run that object module includes.
Judge whether the number of the data set obtained is equal to the number for all data sets that object module includes.
If the number of the data set obtained determines target mould not equal to the number for all data sets that object module includes Exist in several data sets that type includes and runs unclosed data set.
Optionally, computer executable command is also particularly useful for execution following steps:
The element in the first array is obtained, the identification information of all data set operating statuses is obtained;Wherein, the first array is The identification information for all data set operating statuses for including according to object module generates.
Being obtained according to the identification information of acquisition indicates that data set runs the number and expression of successful first identifier information The number of the second identifier information of data set operation failure.
The number of the first identifier information of acquisition is added with the number of second identifier information, obtains what object module included The number of the data set of end of run.
Optionally, computer executable command is also particularly useful for execution following steps:
The element in the second array is obtained, the identification information for the data set being currently running;Wherein, the second array is root The identification information for the unclosed data set of operation for including according to object module generates.
Monitor the operating status of data set corresponding with the identification information obtained.
Optionally, computer executable command is also particularly useful for execution following steps:
Obtain the identification information of data set corresponding with the unclosed element of operation is indicated in the first array.
The second array is obtained using the identification information of acquisition as element.
Optionally, computer executable command is also used to execute following steps:
The value of element corresponding with the data set that operating status changes in first array is revised as indicating currently The information of operating status.
When the operating status of acquisition is success or failure, the identification information of the data set that operating status is changed from It is removed in second array.
Although embodiment disclosed by the embodiment of the present invention is as above, only the present invention is real for ease of understanding for the content The embodiment applying example and using is not intended to limit the invention embodiment.Skill in any fields of the embodiment of the present invention Art personnel can be in the form and details of implementation under the premise of not departing from spirit and scope disclosed by the embodiment of the present invention It is upper to carry out any modification and variation, but the scope of patent protection of the embodiment of the present invention, it still must be with appended claims institute Subject to the range defined.

Claims (10)

1. a kind of information acquisition method characterized by comprising
Server monitoring runs the operating status of unclosed data set;
When the data that the operating status that any one runs unclosed data set changes, and acquisition operating status changes Collect current operating status;
Identification information corresponding with the operating status obtained is obtained according to the corresponding relationship of operating status and identification information;
The identification information for the data set operating status that the operating status changes is replaced using the identification information of acquisition.
2. information acquisition method according to claim 1, which is characterized in that the operation of the unclosed data set of operation Before state, further includes:
Judge in several data sets that object module includes with the presence or absence of the unclosed data set of operation.
3. information acquisition method according to claim 2, which is characterized in that it is described judgement object module include several With the presence or absence of the unclosed data set of operation in data set, comprising:
Obtain the number of the data set for the end of run that the object module includes;
Judge whether the number of the data set obtained is equal to the number for all data sets that the object module includes;
If the number of the data set obtained determines the mesh not equal to the number for all data sets that the object module includes There are the unclosed data sets of operation in several data sets that mark model includes.
4. information acquisition method according to claim 3, which is characterized in that the operation knot for obtaining object module and including The number of the data set of beam, comprising:
The element in the first array is obtained, the identification information of all data set operating statuses is obtained;Wherein, first array is The identification information for all data set operating statuses for including according to the object module generates;
Being obtained according to the identification information of acquisition indicates that data set runs the number of successful first identifier information and indicates data The number of the second identifier information of collection operation failure;
The number of the first identifier information of acquisition is added with the number of second identifier information, obtaining the object module includes The number of the data set of end of run.
5. information acquisition method according to claim 4, which is characterized in that the monitoring runs unclosed data set Operating status, comprising:
The element in the second array is obtained, the identification information for the data set being currently running;Wherein, second array is root The identification information for the unclosed data set of operation for including according to the object module generates;
Monitor the operating status of data set corresponding with the identification information obtained.
6. information acquisition method according to claim 5, which is characterized in that it is described obtain the second array in element it Before, further includes:
Obtain the identification information of data set corresponding with the unclosed element of operation is indicated in the first array;
Second array is obtained using the identification information of acquisition as element.
7. information acquisition method according to claim 5, which is characterized in that the number for obtaining operating status and changing After the operating status for collecting current, further includes:
The value of element corresponding with the data set that the operating status changes in first array is revised as to indicate institute State the information of current operating status;
When the operating status of acquisition is success or failure, the identification information of the data set that the operating status is changed from It is removed in second array.
8. a kind of server characterized by comprising
Monitoring module, for monitoring the operating status for running unclosed data set;
Module is obtained, for changing when any one operating status for running unclosed data set, obtains operating status The current operating status of the data set to change;
The acquisition module is also used to the operating status pair for obtaining with obtaining according to the corresponding relationship of operating status and identification information The identification information answered;
Processing module, the identification information for use acquisition replace the data set operating status that the operating status changes Identification information.
9. a kind of information acquisition device characterized by comprising processor and memory, wherein be stored in memory following The order that can be executed by processor:
Monitoring runs the operating status of unclosed data set;
When the data that the operating status that any one runs unclosed data set changes, and acquisition operating status changes Collect current operating status;
Identification information corresponding with the operating status obtained is obtained according to the corresponding relationship of operating status and identification information;
The identification information for the data set operating status that the operating status changes is replaced using the identification information of acquisition.
10. a kind of computer readable storage medium, which is characterized in that be stored with the executable life of computer on the storage medium It enables, the computer executable command is for executing following steps:
Monitoring runs the operating status of unclosed data set;
When the data that the operating status that any one runs unclosed data set changes, and acquisition operating status changes Collect current operating status;
Identification information corresponding with the operating status obtained is obtained according to the corresponding relationship of operating status and identification information;
The identification information for the data set operating status that the operating status changes is replaced using the identification information of acquisition.
CN201910087040.7A 2019-01-29 2019-01-29 A kind of information acquisition method, device and computer readable storage medium Pending CN109885460A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910087040.7A CN109885460A (en) 2019-01-29 2019-01-29 A kind of information acquisition method, device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910087040.7A CN109885460A (en) 2019-01-29 2019-01-29 A kind of information acquisition method, device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN109885460A true CN109885460A (en) 2019-06-14

Family

ID=66927291

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910087040.7A Pending CN109885460A (en) 2019-01-29 2019-01-29 A kind of information acquisition method, device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109885460A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110569129A (en) * 2019-09-12 2019-12-13 北京明略软件系统有限公司 Resource allocation method and device, storage medium and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103677973A (en) * 2013-09-01 2014-03-26 西安重装渭南光电科技有限公司 Distributed multi-task scheduling management system
CN104732449A (en) * 2015-02-27 2015-06-24 国网辽宁省电力有限公司信息通信分公司 Method for establishing operation mode model of information system
CN105022659A (en) * 2014-04-30 2015-11-04 中国电信股份有限公司 Virtual machine state control method and system
CN106547613A (en) * 2016-10-20 2017-03-29 西北工业大学 The scheduling of task handling process and fault recovery method
CN107888444A (en) * 2017-09-29 2018-04-06 深圳市牛鼎丰科技有限公司 Service monitoring method, service monitoring device, computer equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103677973A (en) * 2013-09-01 2014-03-26 西安重装渭南光电科技有限公司 Distributed multi-task scheduling management system
CN105022659A (en) * 2014-04-30 2015-11-04 中国电信股份有限公司 Virtual machine state control method and system
CN104732449A (en) * 2015-02-27 2015-06-24 国网辽宁省电力有限公司信息通信分公司 Method for establishing operation mode model of information system
CN106547613A (en) * 2016-10-20 2017-03-29 西北工业大学 The scheduling of task handling process and fault recovery method
CN107888444A (en) * 2017-09-29 2018-04-06 深圳市牛鼎丰科技有限公司 Service monitoring method, service monitoring device, computer equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110569129A (en) * 2019-09-12 2019-12-13 北京明略软件系统有限公司 Resource allocation method and device, storage medium and electronic device

Similar Documents

Publication Publication Date Title
US8196047B2 (en) Flexible visualization for services
CN109214704A (en) A kind of distributed intelligence operation platform, method, apparatus and readable storage medium storing program for executing
DE112020004623T5 (en) ML-BASED EVENT HANDLING
US7523196B2 (en) Session monitoring using shared memory
US20090199160A1 (en) Centralized system for analyzing software performance metrics
US20090199047A1 (en) Executing software performance test jobs in a clustered system
CN103338135B (en) A kind of method for real-time monitoring of cluster storage capacity
JP5886712B2 (en) Efficient collection of transaction-specific metrics in a distributed environment
EP2503733A1 (en) Data collecting method, data collecting apparatus and network management device
CN104021078B (en) Software supervision device and method
CN103441900A (en) Centralization cross-platform automated testing system and control method thereof
CN109783315A (en) A kind of database platform automation method for inspecting and system
CN106528169B (en) A kind of Web system exploitation reusable method based on AnGo Dynamic Evolution Model
CN105580007A (en) Monitoring a computing network
CN103176892A (en) Page monitoring method and system
CN109840298A (en) The multi information source acquisition method and system of large scale network data
CN104281980B (en) Thermal power generation unit remote diagnosis method and system based on Distributed Calculation
CN111984505B (en) Fortune dimension data acquisition device and acquisition method
CN112882810A (en) High-throughput task processing method based on supercomputer
CN115409454A (en) Business processing method and device based on artificial intelligence and electronic equipment
CN111008105A (en) Distributed system call relation visualization method and device
CN111367924A (en) Data synchronization method and device, electronic equipment and storage medium
CN111324644B (en) Method and device for monitoring database connection storm under large-scale micro-service architecture
CN109885460A (en) A kind of information acquisition method, device and computer readable storage medium
CN109819019A (en) Monitoring and statistical analysis technique and system for the acquisition of large scale network data

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190614