CN105808411A - Method and device for alarming system fault through social application - Google Patents

Method and device for alarming system fault through social application Download PDF

Info

Publication number
CN105808411A
CN105808411A CN201610128906.0A CN201610128906A CN105808411A CN 105808411 A CN105808411 A CN 105808411A CN 201610128906 A CN201610128906 A CN 201610128906A CN 105808411 A CN105808411 A CN 105808411A
Authority
CN
China
Prior art keywords
message
social networking
networking application
fault
police
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
CN201610128906.0A
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201610128906.0A priority Critical patent/CN105808411A/en
Publication of CN105808411A publication Critical patent/CN105808411A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/323Visualisation of programs or trace data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system

Abstract

The invention discloses a method for alarming a system fault through a social application. The method comprises the following steps: establishing communication connection of a process of an auxiliary application and a process of the social application; obtaining a system message which is fed back from the process of the social application through the process of the auxiliary application; extracting a message field of the system message and judging whether a system goes wrong according to the meaning of the message field; if judging the system goes wrong, sending an I/O (Input/Output) request which needs to alarm to a central processing unit through an interface unit. According to the method for warning the system fault through the social application, the system message which is fed back from the process of the running social application through the auxiliary application, whether the system goes wrong is judged according to the content of the system message, and whether the fault of the running social application is caused by the fault of the system is judged, or the social application goes wrong whereas the system may go wrong or run normally.

Description

A kind of method and apparatus system failure reported to the police by social networking application
Technical field
The present invention relates to remote control field, particularly relate to a kind of method and apparatus system failure reported to the police by social networking application.
Background technology
Electronic equipment, as desktop computer or server usually utilize buzzer to send alarming sound when built-in system is made mistakes or breaks down.Fault includes network connection error, and the resource caused in multi-process use procedure distribution is uneven thus causing system fault.But, existing fault handling method is after occurring in that fault, it is impossible to learn failure condition in time, therefore, must develop the method for a kind of fault feedback in time to allow user learn system malfunctions.Further, there is software fault or the system failure in system also to need to allow user learn.
Summary of the invention
Based on this, the invention provides a kind of method and apparatus system failure reported to the police by social networking application.
A kind of method system failure reported to the police by social networking application, described method includes:
Set up the communication connection of the process of assistance application and the process of described social networking application;
The system message of the progress feedback from described social networking application is obtained by the process of described assistance application;
Extract the message field of described system message, according to the implication of described message field to judge whether system malfunctions;
If judgement system malfunctions, then sent the I/O request needing to carry out reporting to the police to central processing unit by interface unit.
Wherein in an embodiment, extract the message field of described system message, include with the step judging whether system malfunctions according to the implication of described message field:
Generate the message comprising described system message;
Travel through described message, the message field of extraction system message;
Judge whether described message field includes the keyword of fault;
If so, then judge it is the system failure or software fault according to described keyword.
Wherein in an embodiment, the system message obtained from the progress feedback of described social networking application by the process of described auxiliary client is included:
The function address for processing the hash function judging the system failure of the process from described social networking application is called by the process of described auxiliary client;
Acquisition approach is generated according to described function address;
Corresponding data base is loaded according to described acquisition approach;
Inquire about described data base, to obtain the system message fed back from the carrying out of described social networking application.
Wherein in an embodiment, described method also includes:
Judge whether the abort situation at system failure place is in the critical positions of system;
If being in critical positions, then it is high-risk fault by described fault definition;
And take limit priority that described high-risk fault is processed.
Wherein in an embodiment, described method also includes:
Obtain the random delay time length within the scope of default prolongation time span, and perform the one in following fault handling steps according to described random delay time length:
Generate patch file, fault leak is processed;
Or, scanning system file rubbish, file rubbish is cleaned;
Or, clear up registration table.
A kind of device system failure reported to the police by social networking application, described device includes:
Set up module, set up the communication connection of the process of assistance application and the process of described social networking application;
Acquisition module, for obtaining the system message of the progress feedback from described social networking application by the process of described assistance application;
Extraction module, for extracting the message field of described system message, according to the implication of described message field to judge whether system malfunctions;
Judge module, if for judging system malfunctions, then sends the I/O request needing to carry out reporting to the police by interface unit to central processing unit.
Wherein in an embodiment, described extraction module includes:
Generate unit, generate the message comprising described system message;
Traversal Unit, is used for traveling through described message, the message field of extraction system message;
First judging unit, it is judged that whether described message field includes the keyword of fault;
Second judging unit, is yes for judged result, then judge it is the system failure or software fault according to described keyword.
Wherein in an embodiment, described acquisition module includes:
Call unit, calls the function address for processing the hash function judging the system failure of the process from described social networking application by the process of described auxiliary client;
Generate unit, for generating acquisition approach according to described function address;
Loading unit, for loading corresponding data base according to according to described acquisition approach;
Inquire about described data base, to obtain the system message fed back from the carrying out of described social networking application.
Wherein in an embodiment, described device also includes:
Position judging module, for judging whether the abort situation at system failure place is in the critical positions of system;
Definition module, if for being in critical positions, is then high-risk fault by described fault definition;
Processing module, is used for taking limit priority that described high-risk fault is processed.
Wherein in an embodiment, described device also includes:
Postpone to perform processing module, for obtaining the random delay time length within the scope of default prolongation time span, and perform the one in following steps according to described random delay time length:
Generate patch file, fault leak is processed;
Or, scanning system file rubbish, file rubbish is cleaned;
Or, clear up registration table.
Beneficial effect:
The invention provides a kind of method system failure reported to the police by social networking application, described method includes: set up the communication connection of the process of assistance application and the process of described social networking application;The system message of the progress feedback from described social networking application is obtained by the process of described assistance application;Extract the message field of described system message, according to the implication of described message field to judge whether system malfunctions;If judgement system malfunctions, then sent the I/O request needing to carry out reporting to the police to central processing unit by interface unit.The present invention obtains the system message of the progress feedback of the social networking application being currently running by assistance application, content according to this system message judges whether to break down, and, judge whether to be system jam thus causing that this ongoing social networking application breaks down, or this social networking application itself breaks down and system is likely to occur fault and is likely not to have and breaks down.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of operation logic of the present invention and use, below the accompanying drawing used required in the technology to operation logic and use is briefly described.It is clear that the accompanying drawing in the following describes is only some operation examples of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 be the present invention a kind of by social networking application the system failure is reported to the police method flow diagram.
Fig. 2 is a kind of device block diagram system failure reported to the police by social networking application of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in operation logic of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
Embodiment 1
A kind of method system failure reported to the police by social networking application, described method includes:
S101: set up the communication connection of the process of assistance application and the process of described social networking application.
S102: obtained the system message of the progress feedback from described social networking application by the process of described assistance application.
S103: extract the message field of described system message, according to the implication of described message field to judge whether system malfunctions.
Concrete, fault includes the system failure and causes that software failure and software itself break down.
S104: if judging system malfunctions, then send the I/O request needing to carry out reporting to the police by interface unit to central processing unit.
Concrete, in embodiments of the present invention, assistance application can be 360 security guard's clients, and social networking application can be instant communication client, for instance QQ or wechat client.When instant communication client is carrying out a default process, if mistake occurs suddenly, then this instant communication client can feed back the operation code broken down in this software running process of prompting, or feed back a cookies information, the process of the process of 360 security guard's clients and this instant communication client sets up communication connection, and obtain the cookies information of described feedback or described operation code, extract the keyword in described cookies information or described operation code, and resolve described keyword.
Wherein in an embodiment, extract the message field of described system message, include with the step judging whether system malfunctions according to the implication of described message field:
Generate the message comprising described system message;
Travel through described message, the message field of extraction system message;
Judge whether described message field includes the keyword of fault;
If so, then judge it is the system failure or software fault according to described keyword.
In an embodiment of the present invention, the message of described system message carries operation code or is stored in cookies information, by traveling through described message the message field of extraction system message, judge whether described message field comprises the keyword of fault, such as, this message is " 01XXXXXFFFFF ", then owing to this message comprises " 01 " field, so judging the keyword that this message field comprises fault, then, judge it is the software fault that causes of the system failure or the fault of software itself by other keyword.
In addition, if detecting as the system failure, then can also by the type of described keyword failure judgement, such as comprise " 010 " keyword then for the fault of systematic protection, comprise " 011 " keyword then for the fault of entry protector, comprise " 012 " keyword then for IE be correlated with arrange the system failure, comprise the system failure that " 013 " keyword is then arranged for associations, comprise " 014 " keyword then for the fault of conventional sweep, comprise " 015 " keyword then to break down for shortcut, comprise " 016 " keyword then for the fault of registration table, comprise " 017 " keyword then for the fault of popular software rubbish.
Wherein in an embodiment, the system message obtained from the progress feedback of described social networking application by the process of described auxiliary client is included:
The function address for processing the hash function judging the system failure of the process from described social networking application is called by the process of described auxiliary client;
Acquisition approach is generated according to described function address;
Corresponding data base is loaded according to described acquisition approach;
Inquire about described data base, to obtain the system message fed back from the carrying out of described social networking application.
Wherein in an embodiment, described method also includes:
Judge whether the abort situation at system failure place is in the critical positions of system;
If being in critical positions, then it is high-risk fault by described fault definition;
And take limit priority that described high-risk fault is processed.
In the present embodiment, if this system failure occurs in central processing unit, then judge that the described system failure occurs in register cell, I/O interface unit, control unit also occur from arithmetic element, if occurring in register cell, then according to judge be which kind of depositor is to determine whether high-risk fault, if occurring in arithmetic element, then judgement is high-risk fault and is decided to be limit priority.
Wherein in an embodiment, described method also includes:
Obtain the random delay time length within the scope of default prolongation time span, and perform the one in following fault handling steps according to described random delay time length:
Generate patch file, fault leak is processed;
Or, scanning system file rubbish, file rubbish is cleaned;
Or, clear up registration table.
The described default prolongation time can be 0.5s, 0.1 second or other time, described fault handling steps carries out the selection performed according to priority, and limit priority then generates patch file and leak is processed, if other, relief scanning system garbage files, or cleaning mark information.
A second aspect of the present invention provides a kind of device system failure reported to the police by social networking application, and described device includes:
Set up module 100, set up the communication connection of the process of assistance application and the process of described social networking application;
Acquisition module 200, for obtaining the system message of the progress feedback from described social networking application by the process of described assistance application;
Extraction module 300, for extracting the message field of described system message, according to the implication of described message field to judge whether system malfunctions;
Judge module 400, if for judging system malfunctions, then sends the I/O request needing to carry out reporting to the police by interface unit to central processing unit.
Wherein in an embodiment, described extraction module includes:
Generate unit, generate the message comprising described system message;
Traversal Unit, is used for traveling through described message, the message field of extraction system message;
First judging unit, it is judged that whether described message field includes the keyword of fault;
Second judging unit, is yes for judged result, then judge it is the system failure or software fault according to described keyword.
Wherein in an embodiment, described acquisition module includes:
Call unit, calls the function address for processing the hash function judging the system failure of the process from described social networking application by the process of described auxiliary client;
Generate unit, for generating acquisition approach according to described function address;
Loading unit, for loading corresponding data base according to according to described acquisition approach;
Inquire about described data base, to obtain the system message fed back from the carrying out of described social networking application.
Wherein in an embodiment, described device also includes:
Position judging module, for judging whether the abort situation at system failure place is in the critical positions of system;
Definition module, if for being in critical positions, is then high-risk fault by described fault definition;
Processing module, is used for taking limit priority that described high-risk fault is processed.
Wherein in an embodiment, described device also includes:
Postpone to perform processing module, for obtaining the random delay time length within the scope of default prolongation time span, and perform the one in following steps according to described random delay time length:
Generate patch file, fault leak is processed;
Or, scanning system file rubbish, file rubbish is cleaned;
Or, clear up registration table.
The invention provides a kind of method system failure reported to the police by social networking application, described method includes: set up the communication connection of the process of assistance application and the process of described social networking application;The system message of the progress feedback from described social networking application is obtained by the process of described assistance application;Extract the message field of described system message, according to the implication of described message field to judge whether system malfunctions;If judgement system malfunctions, then sent the I/O request needing to carry out reporting to the police to central processing unit by interface unit.The present invention obtains the system message of the progress feedback of the social networking application being currently running by assistance application, content according to this system message judges whether system breaks down thus causing the fault of this ongoing social networking application, by judging that content that social networking application reports an error is thus learning the system failure.
Above operation logic of the present invention being described in detail, the explanation of above-mentioned operation logic is only intended to help to understand method and the core concept thereof of the present invention;Simultaneously for one of ordinary skill in the art, according to the thought of the present invention, all will change in specific embodiments and applications, in sum, this specification content should not be construed as limitation of the present invention.

Claims (10)

1. the method system failure reported to the police by social networking application, it is characterised in that described method includes:
Set up the communication connection of the process of assistance application and the process of described social networking application;
The system message of the progress feedback from described social networking application is obtained by the process of described assistance application;
Extract the message field of described system message, according to the implication of described message field to judge whether system malfunctions;
If judgement system malfunctions, then sent the I/O request needing to carry out reporting to the police to central processing unit by interface unit.
2. a kind of method system failure reported to the police by social networking application according to claim 1, it is characterised in that extract the message field of described system message, include with the step judging whether system malfunctions according to the implication of described message field:
Generate the message comprising described system message;
Travel through described message, the message field of extraction system message;
Judge whether described message field includes the keyword of fault;
If so, then judge it is the system failure or software fault according to described keyword.
3. a kind of method system failure reported to the police by social networking application according to claim 1, it is characterised in that the system message obtained from the progress feedback of described social networking application by the process of described auxiliary client is included:
The function address for processing the hash function judging the system failure of the process from described social networking application is called by the process of described auxiliary client;
Acquisition approach is generated according to described function address;
Corresponding data base is loaded according to described acquisition approach;
Inquire about described data base, to obtain the system message fed back from the carrying out of described social networking application.
4. a kind of method system failure reported to the police by social networking application according to claim 1, it is characterised in that described method also includes:
Judge whether the abort situation at system failure place is in the critical positions of system;
If being in critical positions, then it is high-risk fault by described fault definition;
And take limit priority that described high-risk fault is processed.
5. a kind of method system failure reported to the police by social networking application according to claim 1, it is characterised in that described method also includes:
Obtain the random delay time length within the scope of default prolongation time span, and perform the one in following fault handling steps according to described random delay time length:
Generate patch file, fault leak is processed;
Or, scanning system file rubbish, file rubbish is cleaned;
Or, clear up registration table.
6. the device system failure reported to the police by social networking application, it is characterised in that described device includes:
Set up module, set up the communication connection of the process of assistance application and the process of described social networking application;
Acquisition module, for obtaining the system message of the progress feedback from described social networking application by the process of described assistance application;
Extraction module, for extracting the message field of described system message, according to the implication of described message field to judge whether system malfunctions;
Judge module, if for judging system malfunctions, then sends the I/O request needing to carry out reporting to the police by interface unit to central processing unit.
7. a kind of device system failure reported to the police by social networking application according to claim 6, it is characterised in that described extraction module includes:
Generate unit, generate the message comprising described system message;
Traversal Unit, is used for traveling through described message, the message field of extraction system message;
First judging unit, it is judged that whether described message field includes the keyword of fault;
Second judging unit, is yes for judged result, then judge it is the system failure or software fault according to described keyword.
8. a kind of device system failure reported to the police by social networking application according to claim 6, it is characterised in that described acquisition module includes:
Call unit, calls the function address for processing the hash function judging the system failure of the process from described social networking application by the process of described auxiliary client;
Generate unit, for generating acquisition approach according to described function address;
Loading unit, for loading corresponding data base according to according to described acquisition approach;
Inquire about described data base, to obtain the system message fed back from the carrying out of described social networking application.
9. a kind of device system failure reported to the police by social networking application according to claim 6, it is characterised in that described device also includes:
Position judging module, for judging whether the abort situation at system failure place is in the critical positions of system;
Definition module, if for being in critical positions, is then high-risk fault by described fault definition;
Processing module, is used for taking limit priority that described high-risk fault is processed.
10. a kind of device system failure reported to the police by social networking application according to claim 6, it is characterised in that described device also includes:
Postpone to perform processing module, for obtaining the random delay time length within the scope of default prolongation time span, and perform the one in following steps according to described random delay time length:
Generate patch file, fault leak is processed;
Or, scanning system file rubbish, file rubbish is cleaned;
Or, clear up registration table.
CN201610128906.0A 2016-03-08 2016-03-08 Method and device for alarming system fault through social application Pending CN105808411A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610128906.0A CN105808411A (en) 2016-03-08 2016-03-08 Method and device for alarming system fault through social application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610128906.0A CN105808411A (en) 2016-03-08 2016-03-08 Method and device for alarming system fault through social application

Publications (1)

Publication Number Publication Date
CN105808411A true CN105808411A (en) 2016-07-27

Family

ID=56467794

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610128906.0A Pending CN105808411A (en) 2016-03-08 2016-03-08 Method and device for alarming system fault through social application

Country Status (1)

Country Link
CN (1) CN105808411A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109547446A (en) * 2018-11-29 2019-03-29 武汉滴滴网络科技有限公司 A kind of social networking system based on Internet of Things

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102981943A (en) * 2012-10-29 2013-03-20 新浪技术(中国)有限公司 Method and system for monitoring application logs
CN103902399A (en) * 2012-12-28 2014-07-02 华为技术有限公司 Software system repair processing method and software system repair processing device
CN104268055A (en) * 2014-09-01 2015-01-07 腾讯科技(深圳)有限公司 Program exception monitoring method and device
CN104679710A (en) * 2013-11-28 2015-06-03 中国科学院沈阳自动化研究所 Software fault quick recovery method for semiconductor production line transportation system
CN105045708A (en) * 2015-09-02 2015-11-11 上海斐讯数据通信技术有限公司 Method and system for processing running errors of software
CN105204969A (en) * 2014-06-30 2015-12-30 腾讯科技(深圳)有限公司 Abnormal log processing method and abnormal log processing device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102981943A (en) * 2012-10-29 2013-03-20 新浪技术(中国)有限公司 Method and system for monitoring application logs
CN103902399A (en) * 2012-12-28 2014-07-02 华为技术有限公司 Software system repair processing method and software system repair processing device
CN104679710A (en) * 2013-11-28 2015-06-03 中国科学院沈阳自动化研究所 Software fault quick recovery method for semiconductor production line transportation system
CN105204969A (en) * 2014-06-30 2015-12-30 腾讯科技(深圳)有限公司 Abnormal log processing method and abnormal log processing device
CN104268055A (en) * 2014-09-01 2015-01-07 腾讯科技(深圳)有限公司 Program exception monitoring method and device
CN105045708A (en) * 2015-09-02 2015-11-11 上海斐讯数据通信技术有限公司 Method and system for processing running errors of software

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109547446A (en) * 2018-11-29 2019-03-29 武汉滴滴网络科技有限公司 A kind of social networking system based on Internet of Things

Similar Documents

Publication Publication Date Title
EP2839406B1 (en) Detection and prevention of installation of malicious mobile applications
CN110380917B (en) Control method and device of federal learning system, terminal equipment and storage medium
US20140259167A1 (en) Behavior based application blacklisting
CN105045708A (en) Method and system for processing running errors of software
WO2019034095A1 (en) Software processing method and apparatus, electronic device and computer-readable storage medium
CN102957673B (en) A kind of processing method of information, equipment and system
WO2014205721A1 (en) Fault processing method, device and system
CN110896362B (en) Fault detection method and device
CN106453309B (en) Security audit method and PC terminal
CN105430195A (en) Data transmission method
CN108494749B (en) Method, device and equipment for disabling IP address and computer readable storage medium
US11244266B2 (en) Incident response assisting device
US10423789B2 (en) Identification of suspicious system processes
CN105808411A (en) Method and device for alarming system fault through social application
CN113495825A (en) Line alarm processing method and device, electronic equipment and readable storage medium
CN105868632B (en) Method and device for intercepting and releasing DHCP (dynamic host configuration protocol)
CN111783082A (en) Process tracing method, device, terminal and computer readable storage medium
CN111367934A (en) Data consistency checking method, device, server and medium
CN105763365A (en) Method and device for processing anomaly
US11314870B1 (en) Auto-containment of potentially vulnerable applications
CN104992113A (en) Method and device for detecting whether privacy content of website is exposed, and cloud monitoring system
CN105787359A (en) Course guarding method and device
CN107872493B (en) Information processing method, terminal and server
CN111262846B (en) Control method of bus controller, bus controller and readable storage medium
CN109842587B (en) Method and device for monitoring system safety

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160727

WD01 Invention patent application deemed withdrawn after publication