CN110442498A - Localization method, device, storage medium and the computer equipment of abnormal data node - Google Patents

Localization method, device, storage medium and the computer equipment of abnormal data node Download PDF

Info

Publication number
CN110442498A
CN110442498A CN201910576944.6A CN201910576944A CN110442498A CN 110442498 A CN110442498 A CN 110442498A CN 201910576944 A CN201910576944 A CN 201910576944A CN 110442498 A CN110442498 A CN 110442498A
Authority
CN
China
Prior art keywords
daily record
abnormal data
record data
access behavior
data node
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.)
Granted
Application number
CN201910576944.6A
Other languages
Chinese (zh)
Other versions
CN110442498B (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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201910576944.6A priority Critical patent/CN110442498B/en
Publication of CN110442498A publication Critical patent/CN110442498A/en
Application granted granted Critical
Publication of CN110442498B publication Critical patent/CN110442498B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3438Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment monitoring of user actions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3466Performance evaluation by tracing or monitoring
    • G06F11/3476Data logging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3604Software analysis for verifying properties of programs
    • G06F11/3612Software analysis for verifying properties of programs by runtime analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0633Workflow analysis

Abstract

This application involves field of computer technology more particularly to a kind of localization method, device, storage medium and the computer equipments of abnormal data node.Wherein, the localization method of abnormal data node, comprising: the daily record data for obtaining record access behavior binds the access behavior with the daily record data according to timestamp;Operating parameter in the daily record data is compared with given threshold, if the daily record data exceeds the range of the given threshold, determines corresponding daily record data for abnormal data;The corresponding timestamp of the abnormal data is obtained, the access behavior is obtained according to the timestamp, and determine the position of abnormal data node according to access behavior.Scheme provided by the present application determines the position of abnormal data node, solves the problems, such as that consuming time is long for positioning abnormality code, be capable of the position of rapid precise positioning abnormal data node by constantly comparing operating parameter and given threshold in daily record data.

Description

Localization method, device, storage medium and the computer equipment of abnormal data node
Technical field
This application involves field of computer technology, specifically, this application involves a kind of positioning sides of abnormal data node Method, device, storage medium and computer equipment.
Background technique
As application system becomes increasingly complex, an operation flow will could often be completed across multiple operation systems.Example Such as, a purchase operation flow of the consumer in electric business platform, it is possible to be related to merchandise display operation system, order business system System, paid service system, inventory management business system, logistics business system etc., each operation system correspond in operation flow A business being related to.In order to realize comprehensive efficient monitoring to operation flow, need to track entire business across multiple systems Call chain data.The work pattern of this cross-system makes bottom code be also required to mutually call, jump, code data abruptly increase, Once there is exception in certain section of code in a certain system, extremely difficult to the precise positioning of abnormality code section to realize,
The existing means positioned to abnormality code section are detected one by one to each link, and this mode is run in system Time is long, and code data amount is big, and in the case that business is complicated, being easy to appear the positioning of abnormality code section, consuming time is long, the later period The problem at high cost of system maintenance, also be easy to cause huge economic loss.
Summary of the invention
This application provides localization method, device, computer readable storage medium and the calculating of a kind of abnormal data node Machine equipment, to solve the problems, such as the positioning of abnormality code section, consuming time is long, realizes and accurately positions abnormal data node rapidly Position.
The embodiment of the present application provides firstly a kind of localization method of abnormal data node, comprising:
Obtain with the related daily record data of access behavior, according to timestamp by the access behavior and the daily record data into Row binding;
Operating parameter in the daily record data is compared with given threshold, if the daily record data is set beyond described Determine the range of threshold value, then determines corresponding daily record data for abnormal data;
The corresponding timestamp of the abnormal data is obtained, the access behavior is obtained according to the timestamp, and according to visit The behavior of asking determines the position of abnormal data node.
In one embodiment, described the step of obtaining daily record data related with access behavior, comprising:
It persistently monitors and records the access behavior and correspond to the execution time of code, execute number, access behavior and periodically produce At least one of raw statistical information information, wherein the statistical information that the access behavior periodically generates includes central processing At least one of device utilization rate, connection pool state, system load information.
In one embodiment, the step for being bound the access behavior and the daily record data according to timestamp Suddenly, comprising:
The corresponding code segment of behavior will be accessed according to temporal information and the daily record data is segmented, and obtains code subsegment With daily record data section;
It is matched according to the code subsegment with the timestamp in the daily record data section;
The matched code subsegment is bound with the daily record data section, for subsequent calls.
In one embodiment, the described the step of matched code subsegment and the daily record data section are bound Later, further includes:
Each daily record data section is packaged into API, each daily record data section is established and identifies title accordingly, and with Visual form is showed in client.
In one embodiment, it after the step of position that abnormal data node is determined according to access behavior, also wraps It includes:
The daily record data is released to the occupancy of memory space.
In one embodiment, it after the step of position that abnormal data node is determined according to access behavior, also wraps It includes:
The warning information comprising the abnormal data node location is sent to client.
In one embodiment, the step for sending the warning information comprising the abnormal data node location to client Suddenly, comprising:
The danger classes of current abnormal data is determined according to the position of the abnormal data node;
The alarm mode that corresponding danger classes is transferred according to the danger classes of abnormal data, will by determining alarm mode The warning information is sent to client.
Correspondingly, the embodiment of the present application also provides a kind of positioning devices of abnormal data node, comprising:
Daily record data module is obtained, for obtaining daily record data related with the behavior that accesses, according to timestamp by the visit Ask that behavior is bound with the daily record data;
Abnormal data module is obtained, for the operating parameter in the daily record data to be compared with given threshold, if The daily record data exceeds the range of the given threshold, then determines corresponding daily record data for abnormal data;
Determine abnormal data node location module, for obtaining the corresponding timestamp of the abnormal data, according to it is described when Between stamp obtain the access behavior, and the position of abnormal data node is determined according to access behavior.
Further, described computer-readable to deposit the embodiment of the present application also provides a kind of computer readable storage medium Storage media, when the computer instruction is run on computers, executes computer for storing computer instruction Described in any of the above-described technical solution the step of the localization method of abnormal data node.
Further, the embodiment of the present application also provides a kind of computer equipment, the computer equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processing Device realizes the step of localization method of abnormal data node described in above-mentioned any one technical solution.
Compared with prior art, scheme provided by the present application at least has following advantage:
The localization method of abnormal data node provided by the embodiments of the present application, by access behavior operational process in, no Operating parameter and its preset threshold in disconnected comparison daily record data, once the data that note abnormalities, that is, lock abnormal data node Position and corresponding operation code segment, this programme need not terminate the data that can note abnormalities until access behavior, and can be rapid The generation node of abnormal data is positioned, accurately so that the subsequent generation node to abnormal data is repaired.
The localization method of abnormal data node provided by the embodiments of the present application, logdata record is that access behavior is corresponding The statistical data that code segment implementation procedure generates, these data are to record the operating parameter of at least one code segment, using day Will data can be realized the monitoring to more code segment implementation procedures, is conducive to the access behavior improved to cross-system boundary and holds The monitoring accuracy of row time longer service logic.
The additional aspect of the application and advantage will be set forth in part in the description, these will become from the following description It obtains obviously, or recognized by the practice of the application.
Detailed description of the invention
The application is above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, in which:
Fig. 1 is the implementation environment figure of the localization method for the abnormal data node that the application one embodiment provides;
Fig. 2 is the flow chart of the localization method for the abnormal data node that the application one embodiment provides;
Fig. 3 carries out the access behavior and the daily record data according to timestamp for what the application one embodiment provided The flow chart of binding;
Fig. 4 sends the warning information comprising the abnormal data node location to visitor for what the application one embodiment provided The flow chart at family end;
Fig. 5 is a kind of structural schematic diagram of the positioning device for the abnormal data node that embodiment provides of the application;
Fig. 6 is a kind of structural schematic diagram for the computer equipment that embodiment provides of the application.
Specific embodiment
Embodiments herein is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, and is only used for explaining the application, and cannot be construed to the limitation to the application.
It will be understood by those skilled in the art that unless expressly stated, singular " one " used herein, "one", " institute State " and "the" may also comprise plural form.It is to be further understood that wording " comprising " used in the description of the present application Refer to that there are the feature, integer, step, operation, element and/or component, but it is not excluded that in the presence of or addition one or more Other a features, integer, step, operation, element, component and/or their combination.
Fig. 1 is the implementation environment figure of the localization method of the abnormal data node provided in one embodiment, in the implementation ring In border, including user terminal, server end.
The localization method of abnormal data node provided in this embodiment is suitable for above-mentioned server end and executes, server end Daily record data related with access behavior is obtained, is bound the access behavior with the daily record data according to timestamp; Operating parameter in the daily record data is compared with given threshold, if the daily record data is beyond the given threshold Range then determines corresponding daily record data for abnormal data;The corresponding timestamp of the abnormal data is obtained, according to the time Stamp obtains the access behavior, and the position of abnormal data node is determined according to access behavior.
It should be noted that user terminal can be smart phone, tablet computer, laptop, desktop computer etc., clothes Business device end can be realized that however, it is not limited to this by the computer equipment with processing function.Server end and user terminal Net can be carried out by bluetooth, USB (Universal Serial Bus, universal serial bus) or other communication connection modes Network connection, the application is herein with no restrictions.
In one embodiment, Fig. 2 is the flow chart of the localization method of abnormal data node provided by the embodiments of the present application, The localization method of the abnormal data node can be applied to above-mentioned server end, include the following steps:
Step S210, obtain with the related daily record data of the behavior of access, according to timestamp by the access behavior with it is described Daily record data is bound;
Step S220 compares the operating parameter in the daily record data with given threshold, if the daily record data Range beyond the given threshold then determines corresponding daily record data for abnormal data;
Step S230 obtains the corresponding timestamp of the abnormal data, obtains the access behavior according to the timestamp, And the position of abnormal data node is determined according to access behavior.
Wherein, access behavior refers to a certain code, program or application to other code segments, module, application, database, clothes The access behavior of business device etc., such as: far call, data base call access behavior, and above-mentioned access behavior may include that program is visited Ask behavior.
Wherein, the data that the daily record data is used for the operational process of record access behavior and generates in the process.Log number According to and access behavior on equal having time stamps, the timestamp in access behavior is the temporal information for executing a certain program code, log The timestamp temporal information that then record access behavior occurs in data.It can be corresponding by same time information according to timestamp Access behavior and daily record data are bound.
Scheme purpose provided by the present application is to obtain the position of abnormal data node, access is gone by timestamp first To be bound with daily record data, i.e., the daily record data by the corresponding access behavior of same temporal information and generation is bound, The binding is also possible to a kind of incidence relation, then the preset threshold by operating parameter and the operating parameter in daily record data It compares, to judge whether current log data are abnormal data, the operating parameter in the daily record data includes but unlimited In: access behavior corresponds to the execution time of code, code executes the statistics that number, the frequency of event, program periodically generate Information etc., wherein the statistical information that described program periodically generates includes: CPU, connection pool state, at least one of system load Information.When the data of any operating parameter exceed preset threshold, it can be shown that current log data are abnormal data.
It illustrates how to compare the abnormal number of judgement with given threshold according to the operating parameter in daily record data with an example According to process, if including that access behavior corresponds to execution time of code segment in daily record data, when the execution recorded in daily record data Between be 30 seconds, and the range of the preset threshold of the execution time of this section of code is to compare this section of code segment between 10 seconds to 20 seconds The execution time it is found that the execution time in daily record data exceeded the range of preset threshold, it is determined that the code segment is abnormal Data.
Similarly, the deterministic process for carrying out abnormal data according to other operating parameters is similar, repeats no more.
If current log data are abnormal data, current time corresponding access is determined according to the timestamp of abnormal data Behavior, current time corresponding access behavior are the generation position of abnormal data, and it is corresponding which can be abnormal data Operation code segment.
The localization method of abnormal data node provided by the present application, by constantly comparing in access behavior operational process Operating parameter and its preset threshold, it is not necessary to until access behavior terminates the data that can note abnormalities, once the data that note abnormalities, i.e., The position of locking abnormal data node and corresponding operation code segment, can accurately position rapidly abnormal data and save Point, so that the subsequent generation node to abnormal data is repaired.
In order to become apparent from the locating scheme and its technical effect of abnormal data node provided by the present application, next with multiple Its concrete scheme is described in detail in embodiment.
In a kind of embodiment, the step of the acquisition of step S210 related with access behavior daily record data, comprising:
It persistently monitors and records the access behavior and correspond to the execution time of code, execute number, access behavior and periodically produce At least one of raw statistical information information;Wherein, the statistical information that the access behavior periodically generates includes central processing At least one of device (CPU) utilization rate, connection pool state, system load information.
Due to logdata record be access behavior correspond to code segment implementation procedure generation statistical data, such as: statistics The execution time of code executes number and accesses the statistical information that behavior periodically generates, these data or information are records The operating parameter of code segment or multiple code segments realizes the monitoring to multistage code segment implementation procedure, therefore, provided by the present application The locating scheme of abnormal data node is suitable for recording the access behavior on cross-system boundary, is suitably executed time longer business and patrols Monitoring is collected, such as: in the scene of far call, data base call and multisystem cooperation.
In a kind of embodiment, step S210's binds the access behavior with the daily record data according to timestamp The step of, it can carry out in the following way, flow chart is as shown in figure 3, include following sub-step:
S310 will access the corresponding code segment of behavior according to temporal information and the daily record data be segmented, and obtain generation Numeral section and daily record data section;
S320 is matched according to the code subsegment with the timestamp in the daily record data section;
S330 binds the matched code subsegment with daily record data section, for subsequent calls.
In the embodiment of the present application, since the corresponding code segment of access behavior is possible to longer, the number of corresponding daily record data It is larger according to measuring, daily record data and the corresponding code segment of access behavior are segmented according to temporal information first, form log number According to section and code subsegment, the temporal information that daily record data and the corresponding code segment of access behavior are segmented is preferably identical, such as exists In multistage code subsegment and daily record data section, the code subsegment and same time executed in 10:20 to 10:30 period is searched for Section daily record data section, code subsegment is identical with the timestamp in daily record data section, show the two be it is matched, by this time Corresponding code subsegment is bound with daily record data section.
It is possible to further which above-mentioned daily record data section is packaged into application programming interfaces (API), each daily record data section is established Corresponding mark title, and it is showed in client in visual form.
Daily record data section after segmentation is packaged into the form of application programming interfaces, is stored respectively, such as system 10:20 The daily record data generated to 10:30, is showed in front end page, this kind of mode makes each daily record data with identifying title 10:20 Section is intuitively showed in client, transfers convenient for user, checks corresponding daily record data section.
Daily record data section is packaged into the form of API, can directly acquire or access the segment data, without accessing source code, Or understand the details of internal work mechanism, it is promoted and obtains efficiency.
In above-described embodiment, by being segmented to daily record data, is bound or opened up with the code subsegment of identical period It is shown in client, realizes the monitoring and management of daily record data, is conducive to note abnormalities data in time and abnormal data saves Point improves maintenance efficiency, advantageously reduces the probability of whole system paralysis.
In a kind of embodiment, step S220 by the daily record data operating parameter and given threshold compare Before step, further includes: detect exception information, or receive anomaly analysis request.
In scheme provided in this embodiment, anomaly analysis request is received from the background, and anomaly analysis request can be user What end issued, execute step S220 to step S230;And return to the position of abnormal data node.
Step S230 the step of determining the position of abnormal data node according to access behavior after, further includes: will include The warning information of abnormal data node location is sent to client;Wherein, which is with the access behavior place in advance The vertical association of construction in a systematic way, once it is determined that the node location of abnormal data, that is, send the node location to relative clients end, to obtain as early as possible It must repair.
Further, the step of transmission includes warning information to the client of the abnormal data node location, Ke Yitong It crosses under type such as to carry out, flow chart is as shown in figure 4, include following sub-step:
S410 determines the danger classes of current abnormal data according to the position of the abnormal data node;
S420 transfers the alarm mode of corresponding danger classes according to the danger classes of abnormal data, passes through determining alarm The warning information is sent to client by mode.
Many institutes are well-known, and a project is made of a large amount of code segment, function and locating position of numerous code segments according to code Multiple important levels can be divided by setting, and core code section has highest important level, and the important level of Optimized code section is slightly lower, Similarly, the corresponding code segment of access behavior provided by the present application also has the differentiation of important level, the operation of some code segments The initial segment is important, some are that the corresponding operation interlude of access behavior is important, it is therefore desirable to go previously according to access For the corresponding important level of setting code position, abnormal data node is determined according to step S210 to the scheme that step S230 is provided Position after, position, that is, access behavior corresponding abnormality code position of the abnormal data node, call code position with again The contingency table of grade is wanted, the important level of code position is higher, and the danger classes for the abnormal data which occurs is higher, according to The location information for the abnormal data node that step S230 is determined determines abnormal in conjunction with the contingency table of code position and important level The danger classes of data is alerted according to the corresponding alarm mode of preset each danger classes.
For example, the alarm mode of minimum danger classes can send characterization current accessed behavior to client there is exception Warning information, it includes abnormal data node that the slightly higher warning information of danger classes can be sent in the form of pop-up to user terminal The warning information of position, and flashing display by way of cause user note that highest danger classes warning information, can adjust Preparatory associated telephone number is taken, conveys the warning information comprising abnormal data node location to user by way of phone.
The embodiment of the present application sentences current abnormal data progress danger classes by transferring preset hazards code It is disconnected, according to the danger classes of abnormal data, corresponding alarm measure is executed, different alarms is taken for different danger classes Mode is alerted, and when danger classes is smaller, will not bother user, and can convey warning information, higher in danger classes When, warning information is conveyed by more direct alarm mode, it is ensured that user's timely learning warning information, to repair exception as early as possible Data.
Further, step S230 the step of determining the position of abnormal data node according to access behavior after, also wrap It includes: releasing the daily record data to the occupancy of memory space.
Behind the position for determining abnormal data node, the daily record data of storage is deleted, it is empty to storage to reduce daily record data Between occupancy;Or daily record data of the deletion other than the corresponding daily record data section of abnormal data, it is corresponding to retain abnormal data Daily record data section, so as to it is subsequent transfer the daily record data section carry out code segment reparation, be conducive to improve subsequent different to other The location efficiency of regular data node.
Scheme provided by the above embodiment is abnormal data occur in access behavior operational process, in order to reduce log number The EMS memory occupation caused by, daily record data is deleted, if after the completion of access behavior, abnormal data being had no in daily record data, then is solved Except the daily record data is to the occupancy of memory space, which, which accesses, there is exception in behavior operational process, then daily record data The data of middle record meet the threshold range of setting, do not need to transfer this section of access behavior again, then the section accesses behavior Corresponding daily record data is then meaningless to the reparation of abnormal data, then releases the portions of log data to the occupancy of internal storage data, To reduce the occupancy of excessive intermediate data, be conducive to improve the efficiency for obtaining abnormal data node location.
The above are the localization method embodiments of abnormal data node provided by the present application, are directed to this method, the application is also Provide the embodiment of the positioning device of corresponding abnormal data node.
The embodiment of the present application also provides a kind of positioning device of abnormal data node, structural schematic diagram as shown in figure 5, It include: to obtain daily record data module 510, obtain abnormal data module 520, determine abnormal data node location module 530, specifically It is as follows:
Daily record data module 510 is obtained, it, will be described according to timestamp for obtaining daily record data related with the behavior that accesses Access behavior is bound with the daily record data;
Abnormal data module 520 is obtained, for the operating parameter in the daily record data to be compared with given threshold, If the daily record data exceeds the range of the given threshold, determine corresponding daily record data for abnormal data;
Abnormal data node location module 530 is determined, for obtaining the corresponding timestamp of the abnormal data, according to described Timestamp obtains the access behavior, and the position of abnormal data node is determined according to access behavior.
Wherein, daily record data module 510 is obtained further include: segmenting unit, matching unit, binding unit, each unit are matched Confidence breath is as follows:
Segmenting unit, for carrying out the corresponding code segment of the access behavior and the daily record data according to temporal information Segmentation obtains code subsegment and daily record data section;
Matching unit, for being matched according to the code subsegment with the timestamp in the daily record data section;
Binding unit, for being bound to the matched code subsegment with the daily record data section, so as to subsequent tune With.
About the positioning device of the abnormal data node in above-described embodiment, wherein modules, unit execute operation Concrete mode is described in detail in the embodiment of the method, and no detailed explanation will be given here.
Further, the embodiment of the present application also provides a kind of computer readable storage medium, is stored thereon with computer and refers to It enables, which realizes the step of the localization method of abnormal data node described in above-mentioned any one when being executed by processor Suddenly.Wherein, the storage medium includes but is not limited to any kind of disk (including floppy disk, hard disk, CD, CD-ROM and magneto-optic Disk), ROM (Read-Only Memory, read-only memory), RAM (Random AcceSS Memory, immediately memory), EPROM (EraSable Programmable Read-Only Memory, Erarable Programmable Read only Memory), EEPROM (Electrically EraSable Programmable Read-Only Memory, Electrically Erasable Programmable Read-Only Memory), Flash memory, magnetic card or light card.It is, storage medium includes the form by equipment (for example, computer) can read Any medium of storage or transmission information.It can be read-only memory, disk or CD etc..
Further, the embodiment of the present application also provides a kind of computer equipment, and the computer equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processing Device realizes the step of localization method of abnormal data node described in above-mentioned any one.
Fig. 6 is a kind of block diagram for computer equipment 600 shown according to an exemplary embodiment.For example, computer Equipment 600 may be provided as a server.Referring to Fig. 6, computer equipment 600 includes processing component 622, further comprises One or more processors, and the memory resource as representated by memory 632, can be by processing component 622 for storing The instruction of execution, such as application program.The application program stored in memory 632 may include one or more each A module for corresponding to one group of instruction.In addition, processing component 622 is configured as executing instruction, to execute above-mentioned abnormal data section The step of localization method of point.
Computer equipment 600 can also include that a power supply module 626 is configured as executing the power supply of computer equipment 600 Management, a wired or wireless network interface 650 is configured as computer equipment 600 being connected to network and an input is defeated (I/O) interface 658 out.Computer equipment 600 can be operated based on the operating system for being stored in memory 632, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.Although should be understood that the stream of attached drawing Each step in journey figure is successively shown according to the instruction of arrow, but these steps are not inevitable according to the suitable of arrow instruction Sequence successively executes.Unless expressly state otherwise herein, there is no stringent sequences to limit for the execution of these steps, can be with Other sequences execute.Moreover, at least part step in the flow chart of attached drawing may include multiple sub-steps or multiple Stage, these sub-steps or stage are not necessarily to execute completion in synchronization, but can execute at different times, Its execution sequence, which is also not necessarily, successively to be carried out, but can be with the sub-step or stage of other steps or other steps At least part executes in turn or alternately.
It should be understood that can be integrated in a processing module in each functional unit in each embodiment of the application, It can be physically existed alone, can also be integrated in two or more units in a module with each unit.It is above-mentioned integrated Module both can take the form of hardware realization, can also be realized in the form of software function module.
The above is only some embodiments of the application, it is noted that for the ordinary skill people of the art For member, under the premise of not departing from the application principle, several improvements and modifications can also be made, these improvements and modifications are also answered It is considered as the protection scope of the application.

Claims (10)

1. a kind of localization method of abnormal data node characterized by comprising
Daily record data related with access behavior is obtained, is tied up the access behavior with the daily record data according to timestamp It is fixed;
Operating parameter in the daily record data is compared with given threshold, if the daily record data exceeds the setting threshold The range of value then determines corresponding daily record data for abnormal data;
The corresponding timestamp of the abnormal data is obtained, the access behavior is obtained according to the timestamp, and go according to access For the position for determining abnormal data node.
2. the localization method of abnormal data node according to claim 1, which is characterized in that the acquisition and access behavior The step of related daily record data, comprising:
It persistently monitors and records the access behavior and correspond to the execution time of code, execute number, access behavior and periodically generate At least one of statistical information information, wherein the statistical information that the access behavior periodically generates includes central processor CPU At least one of utilization rate, connection pool state, system load information.
3. the localization method of abnormal data node according to claim 1, which is characterized in that it is described according to timestamp by institute State the step of access behavior is bound with the daily record data, comprising:
The corresponding code segment of the access behavior and the daily record data are segmented according to temporal information, obtain code subsegment With daily record data section;
It is matched according to the code subsegment with the timestamp in the daily record data section;
The matched code subsegment is bound with the daily record data section, for subsequent calls.
4. the localization method of abnormal data node according to claim 3, which is characterized in that described to the matched generation After the step of numeral section and the daily record data section are bound, further includes:
Each daily record data section is packaged into API, each daily record data section is established and identifies title accordingly, and with visual The form of change is showed in client.
5. the localization method of abnormal data node according to claim 1, which is characterized in that described true according to access behavior After the step of determining the position of abnormal data node, further includes:
The daily record data is released to the occupancy of memory space.
6. the localization method of abnormal data node according to claim 1, which is characterized in that described true according to access behavior After the step of determining the position of abnormal data node, further includes:
The warning information comprising the abnormal data node location is sent to client.
7. the localization method of abnormal data node according to claim 6, which is characterized in that described to send comprising described different The step of warning information of regular data node location to client, comprising:
The danger classes of current abnormal data is determined according to the position of the abnormal data node;
The alarm mode that corresponding danger classes is transferred according to the danger classes of abnormal data, will be described by determining alarm mode Warning information is sent to client.
8. a kind of positioning device of abnormal data node characterized by comprising
Daily record data module is obtained, for obtaining the daily record data of record access behavior, according to timestamp by the access behavior It is bound with the daily record data;
Abnormal data module is obtained, for comparing the operating parameter in the daily record data with given threshold, if described Daily record data exceeds the range of the given threshold, then determines corresponding daily record data for abnormal data;
Abnormal data node location module is determined, for obtaining the corresponding timestamp of the abnormal data, according to the timestamp The access behavior is obtained, and determines the position of abnormal data node according to access behavior.
9. a kind of computer readable storage medium, which is characterized in that the computer readable storage medium is for storing computer Instruction, when run on a computer, executes computer different described in any one of the claims 1 to 7 The step of localization method of regular data node.
10. a kind of computer equipment, which is characterized in that the computer equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real Now the step of localization method of abnormal data node as claimed in any of claims 1 to 7 in one of claims.
CN201910576944.6A 2019-06-28 2019-06-28 Abnormal data node positioning method and device, storage medium and computer equipment Active CN110442498B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910576944.6A CN110442498B (en) 2019-06-28 2019-06-28 Abnormal data node positioning method and device, storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910576944.6A CN110442498B (en) 2019-06-28 2019-06-28 Abnormal data node positioning method and device, storage medium and computer equipment

Publications (2)

Publication Number Publication Date
CN110442498A true CN110442498A (en) 2019-11-12
CN110442498B CN110442498B (en) 2022-11-25

Family

ID=68428836

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910576944.6A Active CN110442498B (en) 2019-06-28 2019-06-28 Abnormal data node positioning method and device, storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN110442498B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111045950A (en) * 2019-12-16 2020-04-21 上海钧正网络科技有限公司 Method and device for determining performance problem point, data analysis system and storage medium
CN111343161A (en) * 2020-02-14 2020-06-26 平安科技(深圳)有限公司 Abnormal information processing node analysis method, abnormal information processing node analysis device, abnormal information processing node analysis medium and electronic equipment
CN111756579A (en) * 2020-06-24 2020-10-09 北京百度网讯科技有限公司 Abnormity early warning method, device, equipment and storage medium
CN112015653A (en) * 2020-08-31 2020-12-01 中移(杭州)信息技术有限公司 Problem positioning method, server and storage medium
CN112948361A (en) * 2021-02-02 2021-06-11 北京三快在线科技有限公司 Data restoration method and device
CN113449159A (en) * 2021-06-29 2021-09-28 乐视云计算有限公司 Node data processing method, device, equipment and computer readable storage medium
CN113472725A (en) * 2020-03-31 2021-10-01 阿里巴巴集团控股有限公司 Data processing method and device
WO2021218179A1 (en) * 2020-04-28 2021-11-04 平安科技(深圳)有限公司 Abnormal data query method and apparatus, computer device, and storage medium
CN113762569A (en) * 2020-10-15 2021-12-07 北京沃东天骏信息技术有限公司 Data processing method, device, equipment and computer readable storage medium
CN114428822A (en) * 2022-01-27 2022-05-03 云启智慧科技有限公司 Data processing method and device, electronic equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040088699A1 (en) * 2002-11-06 2004-05-06 Charles Suresh System and method for measuring code segment performance
CN105556482A (en) * 2013-06-20 2016-05-04 微软技术许可有限责任公司 Monitoring mobile application performance
CN106557308A (en) * 2015-09-29 2017-04-05 腾讯科技(深圳)有限公司 A kind of software continuous integrated approach and device
CN107168845A (en) * 2017-03-31 2017-09-15 北京奇艺世纪科技有限公司 A kind of Fault Locating Method and device
CN107229555A (en) * 2017-05-04 2017-10-03 北京小度信息科技有限公司 Mark generating method and device
CN107273280A (en) * 2017-06-30 2017-10-20 百度在线网络技术(北京)有限公司 A kind of log processing method, device, electronic equipment and storage medium
CN107332680A (en) * 2016-04-28 2017-11-07 苏宁云商集团股份有限公司 A kind of system monitoring method and device
CN109739718A (en) * 2018-11-30 2019-05-10 贵阳朗玛信息技术股份有限公司 Log alarming method and device
CN109871307A (en) * 2018-12-25 2019-06-11 杭州茂财网络技术有限公司 A kind of automated testing method being accurately positioned starting matter of time

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040088699A1 (en) * 2002-11-06 2004-05-06 Charles Suresh System and method for measuring code segment performance
CN105556482A (en) * 2013-06-20 2016-05-04 微软技术许可有限责任公司 Monitoring mobile application performance
CN106557308A (en) * 2015-09-29 2017-04-05 腾讯科技(深圳)有限公司 A kind of software continuous integrated approach and device
CN107332680A (en) * 2016-04-28 2017-11-07 苏宁云商集团股份有限公司 A kind of system monitoring method and device
CN107168845A (en) * 2017-03-31 2017-09-15 北京奇艺世纪科技有限公司 A kind of Fault Locating Method and device
CN107229555A (en) * 2017-05-04 2017-10-03 北京小度信息科技有限公司 Mark generating method and device
CN107273280A (en) * 2017-06-30 2017-10-20 百度在线网络技术(北京)有限公司 A kind of log processing method, device, electronic equipment and storage medium
CN109739718A (en) * 2018-11-30 2019-05-10 贵阳朗玛信息技术股份有限公司 Log alarming method and device
CN109871307A (en) * 2018-12-25 2019-06-11 杭州茂财网络技术有限公司 A kind of automated testing method being accurately positioned starting matter of time

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111045950A (en) * 2019-12-16 2020-04-21 上海钧正网络科技有限公司 Method and device for determining performance problem point, data analysis system and storage medium
CN111343161A (en) * 2020-02-14 2020-06-26 平安科技(深圳)有限公司 Abnormal information processing node analysis method, abnormal information processing node analysis device, abnormal information processing node analysis medium and electronic equipment
CN113472725A (en) * 2020-03-31 2021-10-01 阿里巴巴集团控股有限公司 Data processing method and device
WO2021218179A1 (en) * 2020-04-28 2021-11-04 平安科技(深圳)有限公司 Abnormal data query method and apparatus, computer device, and storage medium
CN111756579A (en) * 2020-06-24 2020-10-09 北京百度网讯科技有限公司 Abnormity early warning method, device, equipment and storage medium
CN112015653A (en) * 2020-08-31 2020-12-01 中移(杭州)信息技术有限公司 Problem positioning method, server and storage medium
CN113762569A (en) * 2020-10-15 2021-12-07 北京沃东天骏信息技术有限公司 Data processing method, device, equipment and computer readable storage medium
CN112948361A (en) * 2021-02-02 2021-06-11 北京三快在线科技有限公司 Data restoration method and device
CN112948361B (en) * 2021-02-02 2022-04-01 北京三快在线科技有限公司 Data restoration method and device
CN113449159A (en) * 2021-06-29 2021-09-28 乐视云计算有限公司 Node data processing method, device, equipment and computer readable storage medium
CN113449159B (en) * 2021-06-29 2024-02-02 乐视云网络技术(北京)有限公司 Node data processing method, device, equipment and computer readable storage medium
CN114428822A (en) * 2022-01-27 2022-05-03 云启智慧科技有限公司 Data processing method and device, electronic equipment and storage medium
CN114428822B (en) * 2022-01-27 2022-07-29 云启智慧科技有限公司 Data processing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN110442498B (en) 2022-11-25

Similar Documents

Publication Publication Date Title
CN110442498A (en) Localization method, device, storage medium and the computer equipment of abnormal data node
CN114676862B (en) Visual operation and maintenance management method and system for data center
CN109120428B (en) Method and system for wind control analysis
CN106095413B (en) A kind of configuration method and device of bluetooth driver
CN109299064B (en) Database monitoring method and terminal equipment
CN110895472A (en) Method and device for identifying service change
CN111383130A (en) Full life cycle management and control platform, mobile operation and maintenance client and terminal
CN115103157A (en) Video analysis method and device based on edge cloud cooperation, electronic equipment and medium
CN110807050B (en) Performance analysis method, device, computer equipment and storage medium
CN112100239A (en) Portrait generation method and apparatus for vehicle detection device, server and readable storage medium
CN116595756A (en) Digital twinning-based intelligent operation and maintenance method and device for data center
CN117499412A (en) Cluster optimization processing method based on high-availability link and related equipment thereof
CN110442059B (en) Controlled equipment expanding method and device and control equipment
CN112615909A (en) Method for storing data in cascade storage server cluster and related equipment
CN117114618A (en) To-be-handled item follow-up method, system, computer equipment and storage medium
CN108846455A (en) A kind of method and terminal device of the protective relaying device maintenance based on two dimensional code
CN114416560A (en) Program crash analysis aggregation method and system
CN113691390A (en) Cloud-end-coordinated edge node alarm system and method
CN109254880A (en) A kind of method and device handling database delay machine
CN112202850A (en) Intelligent cabinet after-sale maintenance work order system and processing method
CN109542705A (en) A kind of monitored item adding method and device
CN115190008B (en) Fault processing method, fault processing device, electronic equipment and storage medium
CN116719663B (en) Data processing method, device, equipment and readable storage medium
CN110320825A (en) A kind of method and apparatus counting equipment state
CN115002871B (en) Signal connection system, signal connection method, computer device, and storage medium

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