CN104660992B - Video goes offline reconnecting system and method - Google Patents
Video goes offline reconnecting system and method Download PDFInfo
- Publication number
- CN104660992B CN104660992B CN201510059492.6A CN201510059492A CN104660992B CN 104660992 B CN104660992 B CN 104660992B CN 201510059492 A CN201510059492 A CN 201510059492A CN 104660992 B CN104660992 B CN 104660992B
- Authority
- CN
- China
- Prior art keywords
- reconnection
- video
- task
- unit
- message
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims description 13
- 238000012806 monitoring device Methods 0.000 claims abstract description 51
- 238000012544 monitoring process Methods 0.000 claims abstract description 37
- 238000011161 development Methods 0.000 claims abstract description 11
- 238000004321 preservation Methods 0.000 claims abstract description 4
- 238000011084 recovery Methods 0.000 description 10
- 230000018109 developmental process Effects 0.000 description 9
- 238000004891 communication Methods 0.000 description 7
- 230000002159 abnormal effect Effects 0.000 description 6
- 238000013461 design Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000009825 accumulation Methods 0.000 description 2
- 238000000151 deposition Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000000605 extraction Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000036301 sexual development Effects 0.000 description 1
- 239000000725 suspension Substances 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Landscapes
- Closed-Circuit Television Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
Description
Claims (3)
- The reconnecting system 1. a kind of video goes offline, it is characterised in that including:Message monitoring unit, timing reconnection unit, task scheduling Unit and task executing units;The message monitoring unit, for receiving message that video development SDK sends and being parsed, when the message received is net During network preview failed message, then produce and the scheduler task of a preservation device numbering is sent to task scheduling unit, by task The scheduling unit monitoring device numbering that will go offline is put into and treated in preview queue;When the message received is alarm reconnection success message, Then produce the scheduler task of an execution video reconnection and be sent to task scheduling unit;The timing reconnection unit, for periodically performing video reconnection task, reconnection schedule information is sent to task scheduling Unit, so as to which all monitoring devices treated in preview queue of task scheduling unit are carried out into reconnection operation;Timing reconnection unit It is controlled by and treats preview queue, treat that preview queue is changed into sky from non-NULL described in task scheduling unit, then pause timing weight Even unit, is changed into non-NULL from idle running, then starts this timing reconnection unit;The task scheduling unit, for receiving video reconnection requests and judging the request whether comprising monitoring device numbering; If comprising, from treating to inquire about whether include this monitoring device numbering in preview queue, if being not present, terminate this subtask, if In the presence of then by task delivery task executing units progress video reconnection operation corresponding to video reconnection requests;If not including, traversal Preview queue is treated, the corresponding reconnection of each monitoring device numbering is extracted and counts, if reconnection counts the threshold value for exceeding defined, Then ignore current monitor device numbering and continue traversal and treat preview queue, if reconnection is counted not less than threshold value, reconnection is counted Add 1 and the video reconnection requests for being accompanied with current monitor device numbering be sent to task executing units, repeat this operation until Treat that the numbering of all devices in preview queue has traveled through completion;The task executing units, for carrying out video reconnection operation after receiving video reconnection requests;Judge generated operation As a result, if video reconnection fails, this subtask is terminated, if video reconnection success, from treating to delete this video in preview queue Device numbering simultaneously terminates this subtask.
- The reconnection method 2. a kind of video goes offline, it is characterised in that comprise the steps:Step S101, message monitoring unit receive the message that video development SDK is reported;Step S102, when what is received is network preview failed message, message monitoring unit obtained from the message corresponding to fall Line monitoring device is numbered and is sent to task scheduling unit, and the task scheduling unit monitoring device numbering that will go offline is put into and treats preview team In row;Step S103, when what is received is alarm reconnection success message, message monitoring unit inquires corresponding from the message Monitoring device numbering;And the video reconnection requests for being accompanied with monitoring device numbering are sent to task scheduling unit;Step S104, task scheduling unit receive video reconnection requests and judge that the request bag is numbered containing monitoring device;Step S105, task scheduling unit is from treating to inquire about whether include this monitoring device numbering in preview queue, if being not present, Terminate this subtask, if in the presence of by task delivery task executing units progress video reconnection behaviour corresponding to video reconnection requests Make;Step S106, task executing units judge generated operating result, if video reconnection fails, terminate this subtask, If video reconnection success, deleted from when preview queue this video equipment numbering and to the end of this subtask;During above-mentioned steps S101~S106 is carried out, following steps are carried out simultaneously:Step S201, treat that preview queue is changed into sky from non-NULL described in task scheduling unit, then suspend timing reconnection list Member, it is changed into non-NULL from idle running, then starts this timing reconnection unit;Reconnection schedule information is sent to task scheduling unit, so as to All monitoring devices treated in preview queue of task scheduling unit are subjected to reconnection operation;Step S202, timing reconnection unit Periodically video reconnection requests are sent to task scheduling unit;Step S203, task scheduling unit receive video reconnection requests and judge not including device numbering in the request;Step S204, task scheduling unit traversal treat preview queue, extract the corresponding reconnection of each monitoring device numbering and count, If reconnection counts the threshold value for exceeding defined, ignore current monitor device numbering and continue traversal and treat preview queue, if weight Even count not less than threshold value, then by reconnection, count is incremented and sends the video reconnection requests for being accompanied with current monitor device numbering To task executing units, this operation is repeated until treating that the numbering of all devices in preview queue has traveled through completion;Step S205, task executing units carry out video reconnection operation after receiving video reconnection requests;Step S206, task executing units judge generated operating result, if video reconnection fails, terminate this subtask, If video reconnection success, deleted from when preview queue this video equipment numbering and to the end of this subtask.
- The reconnection method 3. video as claimed in claim 2 goes offline, it is characterised in thatThreshold value in step S204 takes 3 or 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510059492.6A CN104660992B (en) | 2015-02-04 | 2015-02-04 | Video goes offline reconnecting system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510059492.6A CN104660992B (en) | 2015-02-04 | 2015-02-04 | Video goes offline reconnecting system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104660992A CN104660992A (en) | 2015-05-27 |
CN104660992B true CN104660992B (en) | 2018-01-19 |
Family
ID=53251625
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510059492.6A Active CN104660992B (en) | 2015-02-04 | 2015-02-04 | Video goes offline reconnecting system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104660992B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105338314B (en) * | 2015-10-28 | 2018-04-06 | 上海斐讯数据通信技术有限公司 | Video cloud platform control method and system under a kind of radio network conditions |
CN111240859A (en) * | 2020-01-07 | 2020-06-05 | 北京达佳互联信息技术有限公司 | Data processing method, device, server and storage medium |
CN112948600B (en) * | 2021-01-26 | 2023-06-02 | 四川天翼网络股份有限公司 | High-performance multi-protocol audio and video storage system |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101056202A (en) * | 2007-05-31 | 2007-10-17 | 武汉虹信通信技术有限责任公司 | A method for realizing the multi-task polling in the network management monitoring system |
CN101562357A (en) * | 2009-05-22 | 2009-10-21 | 北京佳讯飞鸿电气股份有限公司 | Method for realizing quick response to faults of electric power system |
CN101951391A (en) * | 2010-04-13 | 2011-01-19 | 杭州海康威视***技术有限公司 | Method, device and system for remotely upgrading monitoring equipment |
CN102595099A (en) * | 2012-02-14 | 2012-07-18 | 北京交通大学 | Cognitive-technology-based video data synthesis method |
CN103067740A (en) * | 2012-12-31 | 2013-04-24 | 浙江元亨通信技术股份有限公司 | Trouble intelligent detecting method for video surveillance device and detecting system thereof |
CN103686157A (en) * | 2013-12-25 | 2014-03-26 | 乐视网信息技术(北京)股份有限公司 | Method and system for providing alarm in cloud transcoding |
CN103761157A (en) * | 2014-01-21 | 2014-04-30 | 国家电网公司 | Method for implementing system fault-tolerant mechanism on basis of multitask patrol strategy |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130215745A1 (en) * | 2012-02-16 | 2013-08-22 | Broadcom Corporation | Dynamic buffer management in high-throughput wireless systems |
-
2015
- 2015-02-04 CN CN201510059492.6A patent/CN104660992B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101056202A (en) * | 2007-05-31 | 2007-10-17 | 武汉虹信通信技术有限责任公司 | A method for realizing the multi-task polling in the network management monitoring system |
CN101562357A (en) * | 2009-05-22 | 2009-10-21 | 北京佳讯飞鸿电气股份有限公司 | Method for realizing quick response to faults of electric power system |
CN101951391A (en) * | 2010-04-13 | 2011-01-19 | 杭州海康威视***技术有限公司 | Method, device and system for remotely upgrading monitoring equipment |
CN102595099A (en) * | 2012-02-14 | 2012-07-18 | 北京交通大学 | Cognitive-technology-based video data synthesis method |
CN103067740A (en) * | 2012-12-31 | 2013-04-24 | 浙江元亨通信技术股份有限公司 | Trouble intelligent detecting method for video surveillance device and detecting system thereof |
CN103686157A (en) * | 2013-12-25 | 2014-03-26 | 乐视网信息技术(北京)股份有限公司 | Method and system for providing alarm in cloud transcoding |
CN103761157A (en) * | 2014-01-21 | 2014-04-30 | 国家电网公司 | Method for implementing system fault-tolerant mechanism on basis of multitask patrol strategy |
Also Published As
Publication number | Publication date |
---|---|
CN104660992A (en) | 2015-05-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103685459B (en) | Distributed system, server computer, distributed management server and failure prevention method | |
CN104536809B (en) | A kind of distributed timing task scheduling system based on client, server system | |
CN105677477B (en) | Method and device for optimizing application program resources and electronic equipment | |
US10545807B2 (en) | Method and system for acquiring parameter sets at a preset time interval and matching parameters to obtain a fault scenario type | |
CN104461786B (en) | The restoration methods of android system and the recovery system of android system | |
CN106201844B (en) | A kind of log collecting method and device | |
CN110581852A (en) | Efficient mimicry defense system and method | |
CN104660992B (en) | Video goes offline reconnecting system and method | |
CN104598369B (en) | The software supervision method and apparatus realized in a mobile device | |
CN112527879B (en) | Kafka-based real-time data extraction method and related equipment | |
CN105095008B (en) | A kind of distributed task scheduling fault redundance method suitable for group system | |
CN109274531A (en) | Data acquisition equipment method for restarting, system and computer readable storage medium | |
CN107870948A (en) | Method for scheduling task and device | |
US11294740B2 (en) | Event to serverless function workflow instance mapping mechanism | |
CN103475696A (en) | System and method for monitoring state of cloud computing cluster server | |
CN101610188A (en) | Sip server restoring method of service process fault and sip server | |
CN105553726A (en) | System and method for fault processing of home gateway equipment | |
CN102769533A (en) | Data processing method and data processing device | |
CN106549967A (en) | A kind of IEC104 stipulations analysis system and methods based on event-driven mechanism | |
CN112084087A (en) | Industrial equipment state monitoring and operation and maintenance management method and system | |
CN104243192B (en) | Fault handling method and system | |
CN105069029B (en) | A kind of real-time ETL system and method | |
CN103517292B (en) | Mobile terminal information reporting method and apparatus | |
CN104731683B (en) | A kind of method and system of mobile phone EMS memory monitoring | |
CN103024058A (en) | Method and system for invoking web services |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
ASS | Succession or assignment of patent right |
Owner name: INST OF MICROELECTRONICS, C. A. S Free format text: FORMER OWNER: JIANGSU INTERNET OF THINGS RESEARCH + DEVELOMENT CO., LTD. Effective date: 20150624 |
|
C41 | Transfer of patent application or patent right or utility model | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20150624 Address after: 100029 Beijing city Chaoyang District Beitucheng West Road No. 3 Applicant after: Institute of Microelectronics of the Chinese Academy of Sciences Address before: 214135 Jiangsu New District of Wuxi City Linghu Road No. 200 China Sensor Network International Innovation Park building C Applicant before: JIANGSU R & D CENTER FOR INTERNET OF THINGS |
|
C41 | Transfer of patent application or patent right or utility model | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20160112 Address after: 214135 Jiangsu Wuxi District Road No. 200 China Linghu Sensor Network International Innovation Park C building 10 floor Applicant after: JIANGSU ZHONGKE YILIAN COMMUNICATION TECHNOLOGY Co.,Ltd. Address before: 100029 Beijing city Chaoyang District Beitucheng West Road No. 3 Applicant before: Institute of Microelectronics of the Chinese Academy of Sciences |
|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
PP01 | Preservation of patent right |
Effective date of registration: 20230905 Granted publication date: 20180119 |
|
PP01 | Preservation of patent right | ||
PD01 | Discharge of preservation of patent |
Date of cancellation: 20240119 Granted publication date: 20180119 |
|
PD01 | Discharge of preservation of patent |