CN109067623A - A kind of processing method suitable for exception monitoring between not homologous ray - Google Patents

A kind of processing method suitable for exception monitoring between not homologous ray Download PDF

Info

Publication number
CN109067623A
CN109067623A CN201811170644.XA CN201811170644A CN109067623A CN 109067623 A CN109067623 A CN 109067623A CN 201811170644 A CN201811170644 A CN 201811170644A CN 109067623 A CN109067623 A CN 109067623A
Authority
CN
China
Prior art keywords
initial
val
main system
exception monitoring
main
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
CN201811170644.XA
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.)
Shenzhen Elink Smart Co Ltd
Original Assignee
Shenzhen Elink Smart 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 Shenzhen Elink Smart Co Ltd filed Critical Shenzhen Elink Smart Co Ltd
Priority to CN201811170644.XA priority Critical patent/CN109067623A/en
Publication of CN109067623A publication Critical patent/CN109067623A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/04Processing captured monitoring data, e.g. for logfile generation

Abstract

The present invention provides a kind of processing method suitable for exception monitoring between not homologous ray, includes the following steps, S1: presetting main system and carries out communication connection, the slave system of processing failure situation with the main system;S2: an indexed variable is defined when main system initializes and assigns initial value initial_val;And determine that value range is [initial_val-initial_val+1];S3: the range of main system periodic monitor initial value initial_val executes Action1 if going beyond the scope;S4: an initial_val is obtained all at main system in each booting from system, in initial_val of standby preceding all settings;And main system adds 1 when from a system initial_val of every acquisition, subtracts 1 when from a system initial_val of every setting, can accurately be monitored effectively and to the unusual condition between not homologous ray, application effect is prominent.

Description

A kind of processing method suitable for exception monitoring between not homologous ray
[technical field]
It is high, highly reliable suitable that the present invention relates to system exception monitoring method technical field more particularly to a kind of stability Processing method for exception monitoring between not homologous ray.
[background technique]
There is identical platform to combine the not product of homologous ray SOC at present and be related to multi-party communication, specific communication modes are such as Under: serial communication, I2C communication, other or customized communications protocol;
However, can only still guarantee reliable communicating, but not regardless of even if which kind of communication modes is added to various verifications above The case where can guarantee unsuccessfully generation needs to establish absolutely reliable between some systems and can handle Communications failure case to reach The stable purpose of system.
Based on this, those skilled in the art have carried out a large amount of research and development and experiment, from the specific side of the processing of exception monitoring Method part, which is started with, to improve and improves, and achieves preferable achievement.
[summary of the invention]
To overcome the problems of prior art, the present invention provides that a kind of stability is high, highly reliable is suitable for not The processing method of exception monitoring between homologous ray.
The scheme that the present invention solves technical problem is to provide a kind of processing method suitable for exception monitoring between not homologous ray, Include the following steps,
S1: presetting main system and carries out communication connection, the slave system of processing failure situation with the main system;
S2: an indexed variable is defined when main system initializes and assigns initial value initial_val;And determine value range For [initial_val-initial_val+1];
S3: the range of main system periodic monitor initial value initial_val executes Action1 if going beyond the scope;
S4: obtaining an initial_val in each booting from system at main system, in standby preceding all settings one Secondary initial_val;And main system adds 1 when from a system initial_val of every acquisition, is being arranged one from system is every Subtract 1 when secondary initial_val;
S5: the movement Action2 for needing to normally complete from system itself, if Action2 is not completed when occurring abnormal, cause Initial_val can not be set, then trigger main system and execute Action1, reach main system and from the exception monitoring between system;
S6: exception monitoring finishes.
Preferably, it is provided with the monitoring of main system serial ports in the main system, is provided with from system from system serial ports and is monitored.
Compared with prior art, a kind of processing method suitable for exception monitoring between not homologous ray of the present invention passes through pre- first If main system and carrying out communication connection, the slave system of processing failure situation with the main system, and fixed in main system initialization An adopted indexed variable simultaneously assigns initial value initial_val, determines that value range is [initial_val-initial_val+ 1], the range of main system periodic monitor initial value initial_val, executes Action1, from system every if going beyond the scope An initial_val is obtained when secondary booting all from main system, in initial_val of standby preceding all settings;And principal series System adds 1 when from a system initial_val of every acquisition, when from a system initial_val of every setting Subtract 1, the movement Action2 for needing to normally complete from system itself causes not setting if Action2 is not completed when occurring abnormal Initial_val is set, then triggers main system and executes Action1, reaches main system and from the exception monitoring between system, and then is complete The monitoring of pairs of abnormal conditions can effectively and accurately be monitored the unusual condition between not homologous ray, application effect It is prominent.
[Detailed description of the invention]
Fig. 1 is a kind of flow diagram suitable for the processing method of exception monitoring between not homologous ray of the present invention.
[specific embodiment]
To make the purpose of the present invention, technical solution and advantage are more clearly understood, with reference to the accompanying drawings and embodiments, to this Invention is further elaborated.It should be appreciated that specific embodiment described herein is used only for explaining the present invention, not For limiting the invention.
Referring to Fig. 1, a kind of processing method 1 suitable for exception monitoring between not homologous ray of the present invention includes the following steps,
S1: presetting main system and carries out communication connection, the slave system of processing failure situation with the main system;
S2: an indexed variable is defined when main system initializes and assigns initial value initial_val;And determine value range For [initial_val-initial_val+1];
S3: the range of main system periodic monitor initial value initial_val executes Action1 if going beyond the scope;
S4: obtaining an initial_val in each booting from system at main system, in standby preceding all settings one Secondary initial_val;And main system adds 1 when from a system initial_val of every acquisition, is being arranged one from system is every Subtract 1 when secondary initial_val;
S5: the movement Action2 for needing to normally complete from system itself, if Action2 is not completed when occurring abnormal, cause Initial_val can not be set, then trigger main system and execute Action1, reach main system and from the exception monitoring between system;
S6: exception monitoring finishes.
The present invention by main system default first and with the main system carry out communication connection, processing failure situation from being System, and define an indexed variable in main system initialization and assign initial value initial_val, determine that value range is [initial_val-initial_val+1], the range of main system periodic monitor initial value initial_val, if exceeding model Enclose, execute Action1, obtain an initial_val all at main system in each booting from system, it is standby it is preceding all Initial_val is set;And main system adds 1 when from a system initial_val of every acquisition, every from system Subtract 1 when initial_val is set, the movement Action2 for needing to normally complete from system itself, if occur abnormal Action2 do not complete, cause that initial_val can not be arranged, then trigger main system execute Action1, reach main system with from Exception monitoring between system, and then the monitoring to abnormal conditions is completed, it can be effectively and accurately between not homologous ray Unusual condition is monitored, and application effect is prominent.
Preferably, it is provided with the monitoring of main system serial ports in the main system, is provided with from system from system serial ports and is monitored.
Compared with prior art, a kind of processing method 1 suitable for exception monitoring between not homologous ray of the present invention is by first It presets main system and carries out communication connection, the slave system of processing failure situation with the main system, and in main system initialization It defines an indexed variable and assigns initial value initial_val, determine that value range is [initial_val-initial_val+ 1], the range of main system periodic monitor initial value initial_val, executes Action1, from system every if going beyond the scope An initial_val is obtained when secondary booting all from main system, in initial_val of standby preceding all settings;And principal series System adds 1 when from a system initial_val of every acquisition, when from a system initial_val of every setting Subtract 1, the movement Action2 for needing to normally complete from system itself causes not setting if Action2 is not completed when occurring abnormal Initial_val is set, then triggers main system and executes Action1, reaches main system and from the exception monitoring between system, and then is complete The monitoring of pairs of abnormal conditions can effectively and accurately be monitored the unusual condition between not homologous ray, application effect It is prominent.
The embodiments of the present invention described above are not intended to limit the scope of the present invention.It is any in the present invention Spirit and principle within made modifications, equivalent substitutions and improvements etc., should be included in claim protection model of the invention Within enclosing.

Claims (2)

1. a kind of processing method suitable for exception monitoring between not homologous ray, it is characterised in that: include the following steps,
S1: presetting main system and carries out communication connection, the slave system of processing failure situation with the main system;
S2: an indexed variable is defined when main system initializes and assigns initial value initial_val;And determine that value range is [initial_val-initial_val+1];
S3: the range of main system periodic monitor initial value initial_val executes Action1 if going beyond the scope;
S4: obtaining an initial_val in each booting from system at main system, primary in standby preceding all settings initial_val;And main system adds 1 when from a system initial_val of every acquisition, primary from the every setting of system Subtract 1 when initial_val;
S5: the movement Action2 for needing to normally complete from system itself, if Action2 is not completed when occurring abnormal, causing can not Initial_val is set, then triggers main system and executes Action1, reach main system and from the exception monitoring between system;
S6: exception monitoring finishes.
2. a kind of processing method suitable for exception monitoring between not homologous ray as described in claim 1, it is characterised in that: described It is provided with the monitoring of main system serial ports in main system, is provided with from system from system serial ports and is monitored.
CN201811170644.XA 2018-10-09 2018-10-09 A kind of processing method suitable for exception monitoring between not homologous ray Pending CN109067623A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811170644.XA CN109067623A (en) 2018-10-09 2018-10-09 A kind of processing method suitable for exception monitoring between not homologous ray

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811170644.XA CN109067623A (en) 2018-10-09 2018-10-09 A kind of processing method suitable for exception monitoring between not homologous ray

Publications (1)

Publication Number Publication Date
CN109067623A true CN109067623A (en) 2018-12-21

Family

ID=64763624

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811170644.XA Pending CN109067623A (en) 2018-10-09 2018-10-09 A kind of processing method suitable for exception monitoring between not homologous ray

Country Status (1)

Country Link
CN (1) CN109067623A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026715A (en) * 2007-02-09 2007-08-29 四川长虹电器股份有限公司 Circuit working state real-time monitoring method
CN101465997A (en) * 2008-12-29 2009-06-24 深圳创维-Rgb电子有限公司 Display terminal as well as start-up control method and system thereof
CN106021006A (en) * 2016-05-17 2016-10-12 广东欧珀移动通信有限公司 Terminal startup abnormity processing method and terminal
CN108152706A (en) * 2017-12-18 2018-06-12 Tcl移动通信科技(宁波)有限公司 Mobile terminal and power management chip restart detection process method and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026715A (en) * 2007-02-09 2007-08-29 四川长虹电器股份有限公司 Circuit working state real-time monitoring method
CN101465997A (en) * 2008-12-29 2009-06-24 深圳创维-Rgb电子有限公司 Display terminal as well as start-up control method and system thereof
CN106021006A (en) * 2016-05-17 2016-10-12 广东欧珀移动通信有限公司 Terminal startup abnormity processing method and terminal
CN108152706A (en) * 2017-12-18 2018-06-12 Tcl移动通信科技(宁波)有限公司 Mobile terminal and power management chip restart detection process method and storage medium

Similar Documents

Publication Publication Date Title
CN105135615B (en) The adjustment method and device of air conditioner
AU2019348020B2 (en) Secure distributed state estimation for networked microgrids
US10121359B2 (en) Methods and devices for prompting information of a smart socket
US11251652B2 (en) Wireless energy transmission method and device
CN107991571A (en) It is a kind of to detect the abnormal method, apparatus of charging and power supply adaptor
US20150349525A1 (en) Telecommunications equipment, power supply system, and power supply implementation method
CN109565902A (en) A kind of power down process, the method and apparatus for obtaining connection relationship
CN103684792A (en) Safety authentication method for OAM (Operation, Administration and Maintenance) and OAM message sending/receiving device
US20160149422A1 (en) Power cabinet management method and apparatus, and battery management system
CN109067623A (en) A kind of processing method suitable for exception monitoring between not homologous ray
JP2017533678A (en) Scoring method and system for robust verification of configuration actions
CN108173683B (en) Elastic control method and device for cloud application and cloud server
CN107979653B (en) Load balancing method and device
US11088873B2 (en) Gateway devices coupled to connection point device
CN110907716B (en) Method and device for judging voltage deviation isolation effect, power supply system, computer equipment and storage medium
CN111294173A (en) Rate matching method and device
CN112737896B (en) Bandwidth data checking method, device, medium and electronic equipment
JP2016103110A (en) Multiplexing control device
JP6382752B2 (en) REMOTE CONTROL SYSTEM, REMOTE CONTROL METHOD, DISTRIBUTION DEVICE, DISTRIBUTION METHOD, CONTROL DEVICE, CONTROL METHOD, ANALYSIS DEVICE, ANALYSIS METHOD, AND COMPUTER PROGRAM
US11836036B2 (en) Method of detecting faults in intelligent electronic devices
US11212172B2 (en) Techniques for dynamically modifying operational behavior of network devices in a wireless network
CN110707759B (en) Safety and stability control method for wind power high-proportion power grid
JP7411971B1 (en) Power supply system and method
CN105577468B (en) A kind of TCP connection processing method of onboard networks service
KR20220014337A (en) Message processing method and device, electronic equipment, storage medium and computer program

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

Application publication date: 20181221

RJ01 Rejection of invention patent application after publication