CN108024090A - A kind of abnormal localization method and device for video monitoring platform - Google Patents
A kind of abnormal localization method and device for video monitoring platform Download PDFInfo
- Publication number
- CN108024090A CN108024090A CN201610944992.2A CN201610944992A CN108024090A CN 108024090 A CN108024090 A CN 108024090A CN 201610944992 A CN201610944992 A CN 201610944992A CN 108024090 A CN108024090 A CN 108024090A
- Authority
- CN
- China
- Prior art keywords
- processing unit
- exception information
- function
- abnormal
- exception
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
An embodiment of the present invention provides a kind of abnormal localization method and device for video monitoring platform, the described method includes:Receive the exception information set that the processing unit transparent transmission that unit is connected is initiated with the function;The exception information produced in the exception information set comprising the processing unit being each abnormal;The exception information that bottom processing unit in the processing unit being abnormal is produced is added in the exception information set, and the exception information set is pass-through to the processing unit of last layer, the exception information that the processing unit of last layer is produced is added in the exception information set, and the exception information set is pass-through to again to the processing unit of last layer, until the exception information set is pass-through to the function initiates unit;The identification information and error code of the processing unit included based on each exception information, determine the object processing unit being abnormal.The embodiment of the present invention can improve the efficiency that video monitoring platform positions extremely.
Description
Technical field
The present invention relates to video technique field, more particularly to a kind of abnormal localization method for video monitoring platform and
Device.
Background technology
In video monitoring platform, any function is all by " a function Chain of Responsibility " specifically participated in by multiple objects
Complete.The structure of function Chain of Responsibility initiates unit and sequentially connected multiple object (objects as shown in Figure 1, it includes function
1st, object 2 and object 3).Wherein, function, which initiates unit, can receive user's request, and corresponding finger is requested to generate according to user
Order, and the instruction of generation is handed down to corresponding object and is handled.Each object all relies on lower floor's object interface, lower floor's object
Service is provided for upper strata object.Also, each object is a processing unit with specific function, such as storage management list
Member, distribution of media unit etc..It can cause function different extremely since there are multiple objects, any one object in function Chain of Responsibility
Often, therefore, when there is dysfunction, it is necessary to search and position abnormal point.
The abnormal mode of existing positioning mainly includes following two:The mode of sequential search and returning an object value error code
Mode.The mode of sequential search is since the object of the superiors, searches and positions successively along " function Chain of Responsibility ".Search
During need first to determine the object that function Chain of Responsibility participates in, then searched and fixed by analysis with searching object daily record step by step
Position is abnormal.But this mode is for the more demanding of operating personnel, do not require nothing more than its can analytic function " function Chain of Responsibility "
The object of participation, also requires it object daily record can be analyzed in order, from log recording according to the object being somebody's turn to do in " function Chain of Responsibility "
Middle extraction exception information, judges whether abnormal related to this.Therefore, the mode of sequential search is complicated, and applicability is relatively low.
The mode of returning an object value error code is to produce error code by the object being abnormal, and is passed successively to upper strata object
Pass.But for each object, when which receives the error code that lower floor's object is sent, which can be stored in certainly
In the daily record of body, without by the error code, to upper strata object transmission, it transmits the error code of itself to upper strata object.For most
The function on upper strata is initiated for unit, can not receive the error code that each object is sent, therefore, it is also desirable to which function initiates unit
Progress order is investigated to complete abnormal positioning.Therefore, how to improve the efficiency that video monitoring platform positions extremely becomes one urgently
Problem to be solved.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of abnormal localization method and device for video monitoring platform, with
Improve the efficiency that video monitoring platform positions extremely.Concrete technical scheme is as follows:
In a first aspect, an embodiment of the present invention provides a kind of abnormal localization method for video monitoring platform, it is applied to
In any function Chain of Responsibility of the video monitoring platform the superiors function initiate unit, the function Chain of Responsibility further include to
A few processing unit, the described method includes:
Receive the exception information set that the processing unit transparent transmission that unit is connected is initiated with the function;The exception information collection
The exception information produced in conjunction comprising the processing unit being each abnormal;The mark that the exception information includes processing unit is believed
Breath and error code;
The exception information set is pass-through to function and initiates unit in the following way:In the processing unit being abnormal
In the exception information that is produced of bottom processing unit be added in the exception information set, and by the exception information
Set is pass-through to the processing unit of last layer, and the exception information that the processing unit of last layer is produced is added to the abnormal letter
In breath set, and the exception information set is pass-through to again to the processing unit of last layer, until by the exception information set
It is pass-through to the function and initiates unit;
The identification information and error code of the processing unit included based on each exception information, are determined at the target that is abnormal
Manage unit.
Further, the identification information and error code of the processing unit included based on each exception information, determines hair
Raw abnormal object processing unit, including:
Identify the error code that each exception information includes, and be determined for compliance with the target exception where the error code of preset condition
Information;
Processing unit corresponding to the identification information that the target exception information includes is determined as object processing unit.
Further, further included in the exception information that the processing unit produces:Error description information and type identification;
The method further includes:
The error description information and type identification included according to the exception information of the object processing unit, output are different
Normal reason prompt message.
Further, further included in the exception information that the processing unit produces:Function Identification;It is described to be believed based on each exception
The identification information and error code for the processing unit that breath includes, determine the object processing unit being abnormal, including:
It will be determined as the first middle exception information including the exception information that predetermined function identifies;
The identification information and error code of the processing unit included based on each first middle exception information, determine to be abnormal
Object processing unit.
Further, further included in the exception information that the processing unit produces:Timestamp, the timestamp are the place
Manage the time that unit produces exception information;The identification information and mistake of the processing unit included based on each exception information
Code, determines the object processing unit being abnormal, including:
Exception information of the timestamp in the range of the scheduled time is determined as the second middle exception information;
The identification information and error code of the processing unit included based on each second middle exception information, determine to be abnormal
Object processing unit.
Further, the exception information set of processing unit transparent transmission that the reception is connected with function initiation unit it
Afterwards, the method further includes:
When the function that the function Chain of Responsibility is completed is video playing, the exception information set received is passed through into video
Bit stream is to taking stream client.
Second aspect, an embodiment of the present invention provides a kind of abnormal positioner for video monitoring platform, is applied to
In any function Chain of Responsibility of the video monitoring platform the superiors function initiate unit, the function Chain of Responsibility further include to
A few processing unit, described device include:
Receiving module, the exception information set for the processing unit transparent transmission that unit is connected is initiated for receiving with the function;
The exception information produced in the exception information set comprising the processing unit being each abnormal;The exception information includes place
Manage the identification information and error code of unit;
The exception information set is pass-through to function and initiates unit in the following way:In the processing unit being abnormal
In the exception information that is produced of bottom processing unit be added in the exception information set, and by the exception information
Set is pass-through to the processing unit of last layer, and the exception information that the processing unit of last layer is produced is added to the abnormal letter
In breath set, and the exception information set is pass-through to again to the processing unit of last layer, until by the exception information set
It is pass-through to the function and initiates unit;
Determining module, for the identification information and error code of the processing unit included based on each exception information, determines hair
Raw abnormal object processing unit.
Further, the determining module, including:
Identify submodule, the error code included for identifying each exception information, and be determined for compliance with the mistake of preset condition
Target exception information where code;
First determination sub-module, processing unit corresponding to identification information for the target exception information to be included are true
It is set to object processing unit.
Further, further included in the exception information that the processing unit produces:Error description information and type identification;
Described device further includes:
Output module, for the error description information and class included according to the exception information of the object processing unit
Type identifies, output abnormality reason prompt message.
Further, further included in the exception information that the processing unit produces:Function Identification;The determining module, bag
Include:
Second determination sub-module, for abnormal letter among first will to be determined as including the exception information that predetermined function identifies
Breath;
3rd determination sub-module, for the identification information of processing unit that is included based on each first middle exception information and
Error code, determines the object processing unit being abnormal.
Further, further included in the exception information that the processing unit produces:Timestamp, the timestamp are the place
Manage the time that unit produces exception information;The determining module, including:
4th determination sub-module, it is different among second for exception information of the timestamp in the range of the scheduled time to be determined as
Normal information;
5th determination sub-module, for the identification information of processing unit that is included based on each second middle exception information and
Error code, determines the object processing unit being abnormal.
Further, described device further includes:
Transport module, when the function for being completed when the function Chain of Responsibility is video playing, by the exception information collection
Conjunction is transferred to by video code flow takes stream client.
An embodiment of the present invention provides a kind of abnormal localization method and device for video monitoring platform, the method bag
Include:Receive the exception information set that the processing unit transparent transmission that unit is connected is initiated with the function;In the exception information set
The exception information produced comprising the processing unit being each abnormal;The identification information of the exception information including processing unit and
Error code;The exception information set is pass-through to function and initiates unit in the following way:In the processing unit being abnormal
In the exception information that is produced of bottom processing unit be added in the exception information set, and by the exception information
Set is pass-through to the processing unit of last layer, and the exception information that the processing unit of last layer is produced is added to the abnormal letter
In breath set, and the exception information set is pass-through to again to the processing unit of last layer, until by the exception information set
It is pass-through to the function and initiates unit;The identification information and error code of the processing unit included based on each exception information, are determined
The object processing unit being abnormal.
In the embodiment of the present invention, each processing unit can be produced in the function Chain of Responsibility of video monitoring platform exception
Information is added in exception information set, and the exception information is combined to the processing unit for being pass-through to last layer, so that function
The exception information set of the exception information produced including each processing unit being abnormal can be received by initiating unit, and
And function initiation unit can position the object processing unit being abnormal according to the corresponding exception information of each processing unit,
Therefore, it is possible to improve the efficiency that video monitoring platform positions extremely.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is attached drawing needed in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, without creative efforts, can be with
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the structure diagram of function Chain of Responsibility;
Fig. 2 is a kind of flow chart of abnormal localization method for video monitoring platform provided in an embodiment of the present invention;
Fig. 3 is a kind of another flow of abnormal localization method for video monitoring platform provided in an embodiment of the present invention
Figure;
Fig. 4 is a kind of structural representation of abnormal positioner for video monitoring platform provided in an embodiment of the present invention
Figure;
Fig. 5 is that a kind of another structure of abnormal positioner for video monitoring platform provided in an embodiment of the present invention is shown
It is intended to.
Embodiment
In order to improve the efficiency that video monitoring platform positions extremely, an embodiment of the present invention provides one kind to be used for video monitoring
The abnormal localization method and device of platform.
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other without making creative work
Embodiment, belongs to the scope of protection of the invention.
It should be noted that in the case where there is no conflict, the feature in embodiment and embodiment in the present invention can phase
Mutually combination.Below with reference to the accompanying drawings and the present invention will be described in detail in conjunction with the embodiments.
In order to improve the efficiency that video monitoring platform positions extremely, an embodiment of the present invention provides one kind to be used for video monitoring
The abnormal localization method process of platform, the function for the superiors in any function Chain of Responsibility of video monitoring platform initiate unit
In, which includes at least one processing unit.As shown in Fig. 2, the process comprises the following steps:
S201, receives the exception information set that the processing unit transparent transmission that unit is connected is initiated with function;The exception information
The exception information produced in set comprising the processing unit being each abnormal;The exception information includes the mark of processing unit
Information and error code.
Wherein, exception information set can be pass-through to function in the following way and initiate unit:At the place being abnormal
The exception information that bottom processing unit in reason unit is produced is added in the exception information set, and will be described different
Normal information aggregate is pass-through to the processing unit of last layer, described in the exception information that the processing unit of last layer is produced is added to
In exception information set, and the exception information set is pass-through to again to the processing unit of last layer, until abnormal believing described
Breath set is pass-through to the function and initiates unit.
In video monitoring platform, any function is all completed by a function Chain of Responsibility.Function Chain of Responsibility can be with
Function including the superiors initiates unit, and the function initiates each processing unit of unit lower floor.Wherein, each processing is single
Member is dependent on the processing unit of its lower floor, and lower floor's processing unit provides service for upper strata processing unit.When any one processing unit
When being abnormal (e.g., the exception caused by hardware problem or programming problem), since it cannot be the place on upper strata again
Reason unit continues offer service, and therefore, each processing unit on its upper strata can be abnormal.
In practical applications, it is abnormal although having multiple processing units, due to the exception of upper strata processing unit
It is typically extremely caused by lower floor's processing unit, upper strata processing unit be not itself there occurs exception, therefore, as long as finding
The processing unit of root exception occurs, it is possible to solved the problems, such as the processing unit, function Chain of Responsibility is recovered normal work
Make.
In embodiments of the present invention, in order to fast and accurately position the processing unit of generation root exception, respectively it is abnormal
Processing unit can produce corresponding exception information respectively, exception information is added in same exception information set,
And exception information set is pass-through to function and initiates unit, function is initiated unit according to the corresponding abnormal letter of each processing unit
Breath, to position the object processing unit being abnormal.
In embodiments of the present invention, the processing can be included at least for each processing unit, its exception information produced
The identification information and error code of unit.Also, when each processing unit produces error code, existing method, this hair can be used
It is bright that this is not construed as limiting.
Specifically, the exception information that the bottom processing unit in the processing unit being abnormal can be produced adds
Enter into exception information set, and the exception information set is pass-through to the processing unit of last layer, the processing unit of last layer
The exception information produced is added in the exception information set, and the exception information set is pass-through to again to the place of last layer
Manage unit, each processing unit is by the exception information itself produced addition exception information set, and by the exception information collection
Close and carry out transparent transmission, until the exception information set is pass-through to function initiates unit.
Therefore, in embodiments of the present invention, function, which initiates unit, can receive the different of coupled processing unit transparent transmission
Normal information aggregate, also, the exception information that each processing unit being abnormal produces is contained in the exception information set.
S202, the identification information and error code of the processing unit included based on each exception information, determines what is be abnormal
Object processing unit.
Function initiates the processing unit being each the abnormal generation that unit receives coupled processing unit transparent transmission
Exception information after, the identification information and error code of the processing unit that can be included based on each exception information, determine occur it is different
Normal object processing unit.Wherein, the identification information of each processing unit can be ID (Identity, the identity of each processing unit
Identification number), or other are capable of the information of unique mark each processing unit, such as 0023,0022,0020.Believed by each mark
Breath, can position its corresponding processing unit.
It is appreciated that being directed to each processing unit, its Exception Type occurred is different, and the error code of generation is also different.Example
Such as, for equipment connection error and for taking loss to lose both exceptions, corresponding error code is also different.
Therefore, in embodiments of the present invention, function initiates the error code that unit can include according to each exception information, comes
Determine the object processing unit being abnormal.
Specifically, function, which initiates unit, can identify the error code that each exception information includes, and be determined for compliance with default bar
Target exception information where the error code of part, processing corresponding to the identification information that then target exception information can be included
Unit is determined as object processing unit.
For example, function, which initiates unit, can pre-save the corresponding error code of various possible root abnormal conditions, when connecing
After receiving the exception information that each processing unit being abnormal produces, each exception information can be directed to, what is pre-saved
The error code that each exception information includes is searched in error code;If found, the place for producing the exception information may indicate that
It may be the processing unit that root exception occurs to manage unit, and function, which initiates unit, can be determined as the exception information target exception
Information;If do not found, may indicate that the processing unit for producing the exception information may not be the place that root exception occurs
Unit is managed, function, which initiates unit, to be determined as target exception information by the exception information.
After determining target exception information, function initiates the mark that unit can further include according to target exception information
Information, determines processing unit corresponding to the identification information, and then the processing unit is determined as object processing unit.
An embodiment of the present invention provides a kind of abnormal localization method for video monitoring platform, the work(of video monitoring platform
Can each processing unit can be produced in Chain of Responsibility exception information be added in exception information set, and by the exception information
With reference to the processing unit for being pass-through to last layer, can be received including each processing being abnormal so that function initiates unit
The exception information set for the exception information that unit produces, also, function initiation unit can be corresponding different according to each processing unit
Normal information positions the object processing unit being abnormal, therefore, it is possible to improve the efficiency that video monitoring platform positions extremely.
Further, in embodiments of the present invention, in the exception information produced for each processing unit, the processing unit
It can also include:Function Identification.Above-mentioned Function Identification can be that the function Chain of Responsibility that each processing unit is formed performs a work(
The identification information of energy.When function initiates unit for same function or different functions initiation multiple funcall, send out every time
The corresponding Function Identification of funcall risen is different.Unit is initiated when function to call for any subfunction, determines corresponding work(
After identifying, function, which initiates unit, to be handed down to each processing unit by the Function Identification.That is, for same subfunction
The each processing unit called, its corresponding Function Identification are identical.
For example, when function initiates a unit distribution of media function of initiation, the corresponding function mark of the distribution of media function
Knowing can be 0001;When function, which initiates unit, initiates another secondary distribution of media function, the corresponding function of distribution of media function
Mark can be 0002;When function, which initiates unit, initiates primary video acquisition function, the corresponding function of video acquisition function
Mark can be 0003;When function, which initiates unit, initiates another secondary video acquisition function, the corresponding work(of video acquisition function
It can be 0004 etc. that can identify.
In practical applications, due to there may be concurrent business, function initiates unit to receive each processing single
After the exception information of member, in order to improve the accuracy positioned extremely, it can determine to belong to the exception that same subfunction is called first
Information.
Specifically, when function initiation unit detects dysfunction, it can obtain the corresponding work(of the function being abnormal
Can mark.In this case, can be according to each exception information after function initiation unit receives the exception information of each processing unit
The Function Identification included, will be determined as the first middle exception information including the exception information that predetermined function identifies.That is,
First middle exception information is that possible cause the corresponding exception information of processing unit of subfunction exception.
After determining the first middle exception information, function initiates what unit can be included based on each first middle exception information
The identification information and error code of processing unit, determine the object processing unit being abnormal.
Specifically, it is determined that the method for object processing unit can be essentially identical with the method described in step S202, herein
Repeat no more.
When function, which initiates unit, detects dysfunction, the function mark that can be included first according to each exception information
Know, determine the first middle exception information corresponding to the identification information of function with being abnormal, it is then different further according to the first centre
Normal information determines object processing unit, it is possible to increase the accuracy positioned extremely.
In another implementation, in order to improve the accuracy positioned extremely, function initiates unit can also be according to each
The time that the exception information of processing unit produces determines the second middle exception information, and according to the second middle exception information come really
Set the goal processing unit.
It is appreciated that in same subfunction invoked procedure, the time that each processing unit produces exception information should be one
In a definite time range.Such as, above-mentioned time range can be that function initiates unit and initiates time of the subfunction to detecting
Period between the time of dysfunction.
Therefore, in embodiments of the present invention, may be used also in the exception information produced for each processing unit, the processing unit
With including:Timestamp, i.e. processing unit produce the time of exception information.
In this case, function, which initiates unit, can be determined as exception information of the timestamp in the range of the scheduled time the
Two middle exception informations.The above-mentioned scheduled time, which may range from function, initiates unit and initiates time of the subfunction to detecting work(
Period between time that can be abnormal.
After function initiation unit determines the second middle exception information, it can be included based on each second middle exception information
The identification information and error code of processing unit, determine the object processing unit being abnormal.
Specifically, it is determined that the method for object processing unit can be identical with the method described in step S202, herein no longer
Repeat.
When function, which initiates unit, detects dysfunction, the timestamp that can be included first according to each exception information,
Determine second middle exception information of the timestamp in the range of the scheduled time, then determine mesh further according to the second middle exception information
Mark processing unit, it is possible to increase the accuracy positioned extremely.
Further, in embodiments of the present invention, when function initiation unit receives the exception information of processing unit transparent transmission
After set, it may determine that whether the function that current function Chain of Responsibility is completed is video playing, if so, in order to avoid in visitor
There is blank screen in family end, exception information set can be transferred to by video code flow and take stream client.Further, client can
To parse exception information, abnormal cause is shown for user.Therefore, user can direct Wrong localization reason, strengthen user experience.
Further, as shown in figure 3, the abnormal localization method provided in an embodiment of the present invention for video monitoring platform,
It can also include:
S203, the error description information included according to the exception information of the object processing unit and type identification,
Output abnormality reason prompt message.
In embodiments of the present invention, can also be wrapped in the exception information produced for each processing unit, the processing unit
Include:Error description information and type identification.Error description information is abnormal such as can be equipment connection error, take stream mistake
Description information;Type identification can be the type of each processing unit, and the type can be:Storage management, distribution of media etc..
In embodiments of the present invention, after function, which initiates unit, determines the object processing unit being abnormal, in order to use
Family can be directed to object processing unit and solve exception, and function initiates unit can be with output abnormality reason prompt message.
Specifically, function initiates the error description information that unit can include according to the exception information of object processing unit
And type identification, output abnormality reason prompt message.For example, when the abnormal cause prompt message of output is:Storage management list
During element device connection error, may indicate that it is that there occurs equipment connection error for MMU memory management unit.At this time, user can be directed to and be somebody's turn to do
Processing unit, checks that its equipment connects, and is repaired for its equipment connection error.
It can be believed in the present solution, function initiates unit according to the error description that the exception information of object processing unit includes
Breath and type identification, output abnormality reason prompt message, therefore, user can be according to abnormal cause prompt messages, for mesh
Processing unit is marked to repair the exception of its generation.
For example, in the primary video acquisition process of video monitoring platform, when function initiates three processing under unit
When unit is abnormal, function initiates the exception information set that unit receives can be as shown in the table:
Wherein, A, B and C are respectively the type identification of each processing unit, wherein, A can be to take stream, and B is distribution of media, C
For storage management;0023rd, 0022 and 0020 be respectively each processing unit identification information;0001 function of being called for the subfunction
Mark;2015-10-10.12:08:08.543、2015-10-10.12:08:08.320 and 2015-10-10.12:08:07.035
The respectively corresponding timestamp of each processing unit;0X02a, 0X03d and 0X7da are respectively the error code of each processing unit;Take stream
Mistake and the error description information that equipment connection error is respectively each processing unit.
After function, which initiates unit, receives the exception information set, it can be positioned according to the error code of each processing unit
The object processing unit being abnormal is the corresponding processing unit of 0X7da error codes, and the identification information of the processing unit is 0020.
Also, function initiates unit can be different according to the error description information of the object processing unit and type identification output
Normal reason prompt message, for example, the abnormal cause prompt message can be:Memory management processes unit connection error.
Corresponding to above method embodiment, the embodiment of the present invention additionally provides corresponding device embodiment.
Fig. 4 is a kind of abnormal positioner for video monitoring platform provided in an embodiment of the present invention, applied to described
The function of the superiors initiates unit in any function Chain of Responsibility of video monitoring platform, and the function Chain of Responsibility further includes at least one
A processing unit, described device include:
Receiving module 410, the exception information collection for the processing unit transparent transmission that unit is connected is initiated for receiving with the function
Close;The exception information produced in the exception information set comprising the processing unit being each abnormal;The exception information bag
Include the identification information and error code of processing unit;
The exception information set is pass-through to function and initiates unit in the following way:In the processing unit being abnormal
In the exception information that is produced of bottom processing unit be added in the exception information set, and by the exception information
Set is pass-through to the processing unit of last layer, and the exception information that the processing unit of last layer is produced is added to the abnormal letter
In breath set, and the exception information set is pass-through to again to the processing unit of last layer, until by the exception information set
It is pass-through to the function and initiates unit;
Determining module 420, for the identification information and error code of the processing unit included based on each exception information, is determined
The object processing unit being abnormal.
An embodiment of the present invention provides a kind of abnormal positioner for video monitoring platform, the work(of video monitoring platform
Can each processing unit can be produced in Chain of Responsibility exception information be added in exception information set, and by the exception information
With reference to the processing unit for being pass-through to last layer, can be received including each processing being abnormal so that function initiates unit
The exception information set for the exception information that unit produces, also, function initiation unit can be corresponding different according to each processing unit
Normal information positions the object processing unit being abnormal, therefore, it is possible to improve the efficiency that video monitoring platform positions extremely.
Further, the determining module 420, including:
Identify submodule (not shown), the error code included for identifying each exception information, and be determined for compliance with pre-
If the target exception information where the error code of condition;
First determination sub-module (not shown), the identification information for the target exception information to be included correspond to
Processing unit be determined as object processing unit.
Further, further included in the exception information that the processing unit produces:Error description information and type identification;
As shown in figure 5, described device further includes:
Output module 430, for the error description information that is included according to the exception information of the object processing unit with
And type identification, output abnormality reason prompt message.
Further, further included in the exception information that the processing unit produces:Function Identification;The determining module 420,
Including:
Second determination sub-module (not shown), for first will to be determined as including the exception information that predetermined function identifies
Middle exception information;
3rd determination sub-module (not shown), for the processing unit included based on each first middle exception information
Identification information and error code, determine the object processing unit being abnormal.
Further, further included in the exception information that the processing unit produces:Timestamp, the timestamp are the place
Manage the time that unit produces exception information;The determining module 420, including:
4th determination sub-module (not shown), for exception information of the timestamp in the range of the scheduled time to be determined
For the second middle exception information;
5th determination sub-module (not shown), for the processing unit included based on each second middle exception information
Identification information and error code, determine the object processing unit being abnormal.
Further, described device further includes:
Transport module (not shown), when the function for being completed when the function Chain of Responsibility is video playing, by institute
State exception information set and be transferred to by video code flow and take stream client.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to
Non-exclusive inclusion, so that process, method, article or equipment including a series of elements not only will including those
Element, but also including other elements that are not explicitly listed, or further include as this process, method, article or equipment
Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that
Also there are other identical element in process, method, article or equipment including the key element.
Each embodiment in this specification is described using relevant mode, identical similar portion between each embodiment
Divide mutually referring to what each embodiment stressed is the difference with other embodiment.It is real especially for system
For applying example, since it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method
Part explanation.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all
Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention
It is interior.
Claims (12)
1. a kind of abnormal localization method for video monitoring platform, it is characterised in that applied to the video monitoring platform
The function of the superiors initiates unit in any function Chain of Responsibility, and the function Chain of Responsibility further includes at least one processing unit, institute
The method of stating includes:
Receive the exception information set that the processing unit transparent transmission that unit is connected is initiated with the function;In the exception information set
The exception information produced comprising the processing unit being each abnormal;The identification information of the exception information including processing unit and
Error code;
The exception information set is pass-through to function and initiates unit in the following way:In the processing unit being abnormal
The exception information that bottom processing unit is produced is added in the exception information set, and by the exception information set
The processing unit of last layer is pass-through to, the exception information that the processing unit of last layer is produced is added to the exception information collection
In conjunction, and the exception information set is pass-through to again to the processing unit of last layer, until by the exception information set transparent transmission
Unit is initiated to the function;
The identification information and error code of the processing unit included based on each exception information, determine the target processing list being abnormal
Member.
2. the according to the method described in claim 1, it is characterized in that, processing unit included based on each exception information
Identification information and error code, determine the object processing unit being abnormal, including:
Identify the error code that each exception information includes, and be determined for compliance with the target letter extremely where the error code of preset condition
Breath;
Processing unit corresponding to the identification information that the target exception information includes is determined as object processing unit.
3. according to the method described in claim 1, it is characterized in that, further included in the exception information that the processing unit produces:
Error description information and type identification;The method further includes:
The error description information and type identification included according to the exception information of the object processing unit, output abnormality are former
Because of prompt message.
4. according to the method described in claim 1, it is characterized in that, further included in the exception information that the processing unit produces:
Function Identification;The identification information and error code of the processing unit included based on each exception information, determine what is be abnormal
Object processing unit, including:
It will be determined as the first middle exception information including the exception information that predetermined function identifies;
The identification information and error code of the processing unit included based on each first middle exception information, determine the mesh being abnormal
Mark processing unit.
5. according to the method described in claim 1, it is characterized in that, further included in the exception information that the processing unit produces:
Timestamp, the timestamp produce the time of exception information for the processing unit;It is described to be included based on each exception information
The identification information and error code of processing unit, determine the object processing unit being abnormal, including:
Exception information of the timestamp in the range of the scheduled time is determined as the second middle exception information;
The identification information and error code of the processing unit included based on each second middle exception information, determine the mesh being abnormal
Mark processing unit.
6. according to any methods of claim 1-5, it is characterised in that the reception initiates unit with the function and is connected
Processing unit transparent transmission exception information set after, the method further includes:
When the function that the function Chain of Responsibility is completed is video playing, the exception information set received is passed through into video code flow
It is transferred to and takes stream client.
7. a kind of abnormal positioner for video monitoring platform, it is characterised in that applied to the video monitoring platform
The function of the superiors initiates unit in any function Chain of Responsibility, and the function Chain of Responsibility further includes at least one processing unit, institute
Stating device includes:
Receiving module, the exception information set for the processing unit transparent transmission that unit is connected is initiated for receiving with the function;It is described
The exception information produced in exception information set comprising the processing unit being each abnormal;It is single that the exception information includes processing
The identification information and error code of member;
The exception information set is pass-through to function and initiates unit in the following way:In the processing unit being abnormal
The exception information that bottom processing unit is produced is added in the exception information set, and by the exception information set
The processing unit of last layer is pass-through to, the exception information that the processing unit of last layer is produced is added to the exception information collection
In conjunction, and the exception information set is pass-through to again to the processing unit of last layer, until by the exception information set transparent transmission
Unit is initiated to the function;
Determining module, for the identification information and error code of the processing unit included based on each exception information, determines to occur different
Normal object processing unit.
8. device according to claim 7, it is characterised in that the determining module, including:
Identify submodule, the error code included for identifying each exception information, and be determined for compliance with the error code institute of preset condition
Target exception information;
First determination sub-module, processing unit corresponding to identification information for the target exception information to be included are determined as
Object processing unit.
9. device according to claim 7, it is characterised in that further included in the exception information that the processing unit produces:
Error description information and type identification;Described device further includes:
Output module, for the error description information and type mark included according to the exception information of the object processing unit
Know, output abnormality reason prompt message.
10. device according to claim 7, it is characterised in that further included in the exception information that the processing unit produces:
Function Identification;The determining module, including:
Second determination sub-module, for the first middle exception information will to be determined as including the exception information that predetermined function identifies;
3rd determination sub-module, for the identification information and mistake of the processing unit included based on each first middle exception information
Code, determines the object processing unit being abnormal.
11. device according to claim 7, it is characterised in that further included in the exception information that the processing unit produces:
Timestamp, the timestamp produce the time of exception information for the processing unit;The determining module, including:
4th determination sub-module, for exception information of the timestamp in the range of the scheduled time to be determined as abnormal letter among second
Breath;
5th determination sub-module, for the identification information and mistake of the processing unit included based on each second middle exception information
Code, determines the object processing unit being abnormal.
12. according to any devices of claim 7-11, it is characterised in that described device further includes:
Transport module, when the function for being completed when the function Chain of Responsibility is video playing, the exception information set is led to
Cross video code flow and be transferred to and take stream client.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610944992.2A CN108024090B (en) | 2016-11-02 | 2016-11-02 | Abnormity positioning method and device for video monitoring platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610944992.2A CN108024090B (en) | 2016-11-02 | 2016-11-02 | Abnormity positioning method and device for video monitoring platform |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108024090A true CN108024090A (en) | 2018-05-11 |
CN108024090B CN108024090B (en) | 2020-01-17 |
Family
ID=62070002
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610944992.2A Active CN108024090B (en) | 2016-11-02 | 2016-11-02 | Abnormity positioning method and device for video monitoring platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108024090B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111381576A (en) * | 2018-12-29 | 2020-07-07 | 纳恩博(北京)科技有限公司 | Exception recovery method and device and storage medium |
CN111490885A (en) * | 2019-01-25 | 2020-08-04 | 杭州萤石软件有限公司 | Method for processing equipment error information, electronic equipment and storage medium |
CN112995596A (en) * | 2021-02-18 | 2021-06-18 | 咪咕文化科技有限公司 | Panoramic video transmission method and device, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090122144A1 (en) * | 2007-11-14 | 2009-05-14 | Joel Pat Latham | Method for detecting events at a secured location |
CN202008724U (en) * | 2011-03-11 | 2011-10-12 | 广州市一见电力科技有限公司 | Intelligent video monitoring system |
CN103414916A (en) * | 2013-08-30 | 2013-11-27 | 苏州科达科技股份有限公司 | Fault diagnosis system and method |
US20140368648A1 (en) * | 2006-12-07 | 2014-12-18 | Sensormatic Electronics, LLC | Method and system for video surveillance system motor overcurrent protection |
CN105356594A (en) * | 2011-10-28 | 2016-02-24 | 江苏省电力公司常州供电公司 | Intensive management and control system |
-
2016
- 2016-11-02 CN CN201610944992.2A patent/CN108024090B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140368648A1 (en) * | 2006-12-07 | 2014-12-18 | Sensormatic Electronics, LLC | Method and system for video surveillance system motor overcurrent protection |
US20090122144A1 (en) * | 2007-11-14 | 2009-05-14 | Joel Pat Latham | Method for detecting events at a secured location |
CN202008724U (en) * | 2011-03-11 | 2011-10-12 | 广州市一见电力科技有限公司 | Intelligent video monitoring system |
CN105356594A (en) * | 2011-10-28 | 2016-02-24 | 江苏省电力公司常州供电公司 | Intensive management and control system |
CN103414916A (en) * | 2013-08-30 | 2013-11-27 | 苏州科达科技股份有限公司 | Fault diagnosis system and method |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111381576A (en) * | 2018-12-29 | 2020-07-07 | 纳恩博(北京)科技有限公司 | Exception recovery method and device and storage medium |
CN111490885A (en) * | 2019-01-25 | 2020-08-04 | 杭州萤石软件有限公司 | Method for processing equipment error information, electronic equipment and storage medium |
CN111490885B (en) * | 2019-01-25 | 2023-04-07 | 杭州萤石软件有限公司 | Method for processing equipment error information, electronic equipment and storage medium |
CN112995596A (en) * | 2021-02-18 | 2021-06-18 | 咪咕文化科技有限公司 | Panoramic video transmission method and device, electronic equipment and storage medium |
CN112995596B (en) * | 2021-02-18 | 2023-08-15 | 咪咕文化科技有限公司 | Panoramic video transmission method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108024090B (en) | 2020-01-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8151248B1 (en) | Method and system for software defect management | |
CN110245035A (en) | A kind of link trace method and device | |
CN103198010A (en) | Software testing method, device and system | |
CN103220352B (en) | Terminal, server, file storage system and file storage method | |
CN103441861B (en) | A kind of data record generation method and device | |
CN110188103A (en) | Data account checking method, device, equipment and storage medium | |
CN105787709A (en) | Method of synchronizing multiple system accounts | |
CN104135521A (en) | Method and system of identifying data abnormal values of environment automatic monitoring network | |
CN108024090A (en) | A kind of abnormal localization method and device for video monitoring platform | |
CN107729576A (en) | The management method and system of archives | |
EP3282369A1 (en) | Remote data synchronization method and apparatus for database | |
CN110245145A (en) | Structure synchronization method and apparatus of the relevant database to Hadoop database | |
CN110515827A (en) | Automated testing method, device, computer equipment and storage medium | |
CN107223257A (en) | Method of testing, test server and system | |
CN108508477B (en) | Seismic data acquisition system and method | |
CN106293744A (en) | A kind of application version dynamic switching method and device | |
WO2018031204A1 (en) | Interactive industrial maintenance, testing, and operation procedures | |
CN108446115A (en) | A kind of method and device of code reuse | |
CN107316176A (en) | The control method and device of declaration form processing | |
CN108960758A (en) | Architectural engineering process control management system | |
CN103368970B (en) | A kind of automation safety detection method for network objectives | |
CN102739446A (en) | Method and device for selecting network time protocol (NTP) servers | |
CN106339379A (en) | Website running status monitoring method and device | |
CN113312258A (en) | Interface testing method, device, equipment and storage medium | |
CN113065623A (en) | Prefabricated part storage yard management method and device, computer equipment and storage medium thereof |
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 |