CN111757091B - Method and device for maintaining equipment through hardware interface - Google Patents

Method and device for maintaining equipment through hardware interface Download PDF

Info

Publication number
CN111757091B
CN111757091B CN201910237777.2A CN201910237777A CN111757091B CN 111757091 B CN111757091 B CN 111757091B CN 201910237777 A CN201910237777 A CN 201910237777A CN 111757091 B CN111757091 B CN 111757091B
Authority
CN
China
Prior art keywords
hardware interface
signal
configuration
equipment
signals
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
Application number
CN201910237777.2A
Other languages
Chinese (zh)
Other versions
CN111757091A (en
Inventor
潘胜军
王光利
张敏敏
吴利明
曹博涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Uniview Technologies Co Ltd
Original Assignee
Zhejiang Uniview Technologies 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 Zhejiang Uniview Technologies Co Ltd filed Critical Zhejiang Uniview Technologies Co Ltd
Priority to CN201910237777.2A priority Critical patent/CN111757091B/en
Publication of CN111757091A publication Critical patent/CN111757091A/en
Application granted granted Critical
Publication of CN111757091B publication Critical patent/CN111757091B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/002Diagnosis, testing or measuring for television systems or their details for television cameras

Abstract

The invention discloses a method and a device for maintaining equipment through a hardware interface. The hardware interface of the multiplexing equipment can be superposed with configuration signals to realize equipment maintenance under the condition of normal use, and the problem that extra cables are needed for long-distance maintenance of the equipment is solved, so that the maintainability of the equipment is improved, the wiring difficulty of the equipment is reduced, and the maintenance cost of the equipment is reduced.

Description

Method and device for maintaining equipment through hardware interface
Technical Field
The invention belongs to the technical field of equipment maintenance, and particularly relates to a method and a device for equipment maintenance through a hardware interface.
Background
Video monitoring is an important component of a safety precaution system, and is widely applied to many occasions due to intuition, accuracy, timeliness and rich information content. In recent years, with the rapid development of computers, networks, image processing and transmission technologies, the popularization trend of video monitoring is more and more obvious. A large number of cameras exist in a video monitoring system, point positions of the cameras are often very complex in actual installation environment, and some cameras are higher in installation and located at the top of an installation pole, so that field maintenance and debugging are not convenient to carry out.
However, the camera is prone to hang-up due to software failure. The equipment hang-up means that the equipment cannot effectively interact with the equipment due to the fact that communication interfaces such as a network interface and the like are abnormal due to software abnormality in the actual use process, at the moment, the minimum system of the equipment can still operate, but the equipment cannot normally work when viewed from the surface due to interface failure. When the device hangs up, the device may not be accessible through IP. Under the condition that general equipment is hung up, can resume through resumeing default configuration or outage restart, and the pole of need is usually debugged when this type of phenomenon appears in the actual engineering, and some high altitude positions need professional climbing equipment to resume default configuration function more.
In the prior art, for the phenomenon of device hang-up, a reset button is generally integrated, and when a configuration problem occurs or the device hang-up occurs, operations such as configuration recovery and device restart can be performed by pressing the reset button. The operation of restoring the default configuration can also be performed on the operation interface through the IP access device. However, since the reset button is integrated in the device, it requires field operation, cannot perform remote control, has a high recovery cost, and requires a large amount of manpower and material resources for maintaining the device. When the device is accessed through the IP address to perform the recovery operation, if the device is abnormal in the IP layer, the device cannot be accessed, and thus the recovery operation cannot be performed.
Disclosure of Invention
The invention aims to provide a method and a device for maintaining equipment through a hardware interface, which are used for multiplexing the hardware interface of the equipment, realizing the maintenance of the equipment and reducing the maintenance cost.
In order to achieve the purpose, the technical scheme of the invention is as follows:
a method for device maintenance over a hardware interface, comprising:
when equipment maintenance is needed, a configuration signal is superposed on a hardware interface of the maintained equipment;
and the maintained equipment receives the configuration signal on the hardware interface, analyzes the configuration signal and executes corresponding equipment maintenance operation according to the analyzed configuration signal.
Further, the configuration signal is a periodic signal, the device to be maintained receives the configuration signal on the hardware interface, analyzes the configuration signal, and executes a corresponding device maintenance operation according to the analyzed configuration signal, including:
and counting the received periodic signals, and executing corresponding maintenance operation according to the counting result.
Further, the hardware interface runs a working signal, and the superimposing a configuration signal on the hardware interface of the device to be maintained includes:
and when the hardware interface is a single line, the configuration signal amplitude is smaller than the working signal amplitude.
Further, the executing the corresponding device maintenance operation according to the parsed configuration signal further includes:
and after the configuration signal is analyzed, timing, and if the analysis result of the configuration signal is kept unchanged after timing is finished, executing corresponding equipment maintenance operation.
The invention also provides a device for maintaining equipment through a hardware interface, which comprises:
the signal generating unit is used for superposing configuration signals on a hardware interface of the maintained equipment when equipment maintenance is required;
and the analysis unit is used for receiving the configuration signal on the hardware interface, analyzing the configuration signal and executing corresponding equipment maintenance operation according to the analyzed configuration signal.
Further, the configuration signal is a periodic signal, the parsing unit receives the configuration signal on the hardware interface, parses the configuration signal, and executes a corresponding device maintenance operation according to the parsed configuration signal, and executes the following operations:
and counting the received periodic signals, and executing corresponding maintenance operation according to the counting result.
Further, a working signal runs on the hardware interface, the signal generation unit superimposes a configuration signal on the hardware interface of the device to be maintained, and the following operations are performed:
and when the hardware interface is a single line, the configuration signal amplitude is smaller than the working signal amplitude.
Further, the parsing unit executes a corresponding device maintenance operation according to the parsed configuration signal, and further executes the following operations:
and after the configuration signal is analyzed, timing, and if the analysis result of the configuration signal is kept unchanged after timing is finished, executing corresponding equipment maintenance operation.
The method and the device for maintaining the equipment through the hardware interface multiplex the hardware interface of the equipment, so that the equipment maintenance can be realized by superposing configuration signals under the condition of normal use, and the problem that extra cables are needed for long-distance maintenance of the equipment is solved, thereby improving the maintainability of the equipment, reducing the wiring difficulty of the equipment and reducing the maintenance cost of the equipment.
Drawings
FIG. 1 is a flowchart of a method for performing device maintenance via a hardware interface according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of an apparatus for performing device maintenance through a hardware interface according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a parsing unit structure according to an embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The method and the device for maintaining the equipment through the hardware interface are suitable for all equipment with the hardware interface, and the hardware interface (hardware interface) of the equipment refers to a connection mode between two pieces of hardware equipment. The hardware interface includes both a physical interface and a logical data transfer protocol. The types of hardware interfaces are very many, such as USB interface, Ethernet interface (internet interface), PCI interface, etc., which are not listed here. The device can transmit the working signal through the hardware interface to realize the communication with other devices, for example, the network port transmits the network signal, the switching value interface transmits the switching signal, etc.
In one embodiment, as shown in fig. 1, there is provided a method for device maintenance through a hardware interface, including:
when equipment maintenance is needed, a configuration signal is superposed on a hardware interface of the maintained equipment;
and the maintained equipment receives the configuration signal on the hardware interface, analyzes the configuration signal and executes corresponding equipment maintenance operation according to the analyzed configuration signal.
In a practical application environment, when a device in a system (for example, a camera in a video monitoring system) is hung up, the device needs to be maintained, for example, the device is restarted, the default configuration is restored, and the like. When the installation position (point position) of the camera is higher, if the camera is installed on the outer wall of a house or a special fixing rod, a maintainer cannot operate a reset button conveniently, and power-off restarting is not convenient. Devices often have a hardware interface to which they may be conveniently connected for operation. For example, the camera has a hardware interface (which may be a wired network port or a wireless network port), and maintenance personnel can connect to the hardware interface without touching the camera. The embodiment performs the maintenance operation by using the characteristic of the hardware interface that the connection is convenient.
When the device is hung up, the device itself can sense the device, the maintainer can also sense the device through the network management device, and can also sense the device through the opposite device interconnected with the devices, and as to how to sense the phenomenon of the device hanging up, the technical personnel in the field can obtain the device through various prior art means, and the details are not repeated here.
In this embodiment, after the hang-up phenomenon of the device is sensed, it is considered that device maintenance is required, that is, operations such as restarting or recovering the default configuration are required. At this time, the configuration signal is superimposed on the hardware interface of the device.
Taking a camera as an example, the camera is often installed on a wall or a fixed rod of a house, and the existing camera is connected to a network through a network cable or wirelessly. When a camera hangs up, it needs to be restarted or the default configuration restored.
At the moment, maintenance personnel superpose configuration signals on the hardware interface, and the camera receives the configuration signals on the hardware interface and analyzes the configuration signals. It should be noted that the configuration signal may be a restart signal, or a restore default configuration (i.e., reset) signal, or a power-down signal, etc.
After the camera analyzes the configuration signal, corresponding equipment maintenance operation is performed according to the analyzed configuration signal, for example, a restart operation, a reset operation, a power-off operation, or the like is performed.
Specifically, the configuration signal may be sent by using a protocol supported by the maintained device according to the difference between the maintained devices, and the maintained device can receive and analyze the configuration signal.
In a specific embodiment, the configuration signal is a periodic signal, and after receiving the periodic signal, the device to be maintained counts the received periodic signal, and performs the corresponding maintenance operation according to the counting result. The number of transmitted periodic signals (number of periods) is different for different configuration signals, and the device to be maintained decides what operation to perform according to the number of received periodic signals. For example, if the number of the counted periodic signals is 50, it is considered as a reset operation; if the number of the periodic signals counted is 100, the operation is considered to be restarted. It should be understood that the present embodiment is not limited to the kind of configuration signal, and the corresponding configuration signal may be set for different maintenance operations.
In a specific embodiment, depending on the hardware interface, when the configuration signal is superimposed on the hardware interface, the interference of the configuration signal with the working signal running on the hardware interface should be avoided. In order to accurately identify the configuration signal, in this embodiment, when the hardware interface is a single line, the amplitude of the configuration signal is smaller than that of the working signal. If it is a differential line, there is no such limitation.
It will be readily appreciated that the configuration signal amplitude is less than the operating signal amplitude in order to avoid interference with the operating signal. Preferably, the configuration signal amplitude is less than 1/10 of the operating signal amplitude. The proportion is only a relatively good scheme, does not form a hard data requirement, and can be adjusted according to specific actual needs.
In one embodiment, as shown in fig. 2, the present application further provides an apparatus for performing device maintenance through a hardware interface, including:
the signal generating unit is used for superposing configuration signals on a hardware interface of the maintained equipment when equipment maintenance is required;
and the analysis unit is used for receiving the configuration signal on the hardware interface, analyzing the configuration signal and executing corresponding equipment maintenance operation according to the analyzed configuration signal.
For specific limitations of the apparatus for performing device maintenance through the hardware interface, reference may be made to the above limitations of the method for performing device maintenance through the hardware interface, which are not described herein again. The units in the above device for performing equipment maintenance through hardware interfaces may be wholly or partially implemented through software, hardware and a combination thereof. The units can be embedded in a hardware form or independent of a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
The memory and the processor are electrically connected, directly or indirectly, to enable transmission or interaction of data. For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The memory stores a computer program that can be executed on the processor, and the processor executes the computer program stored in the memory, thereby implementing the network topology layout method in the embodiment of the present invention.
The Memory may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like. The memory is used for storing programs, and the processor executes the programs after receiving the execution instructions.
The processor may be an integrated circuit chip having data processing capabilities. The Processor may be a general-purpose Processor including a Central Processing Unit (CPU), a Network Processor (NP), and the like. The various methods, steps and logic blocks disclosed in embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The signal generating unit of the embodiment may be a single handheld device, and the analyzing unit may be integrated in the maintained device. During maintenance, the signal generating unit is connected to a hardware interface of the maintained equipment, for example, when the hardware interface is a wired network port, the signal generating unit is connected with the maintained equipment through a network cable; when the hardware interface is a wireless network interface, such as WIFI, 4G, etc., the signal generating unit is wirelessly connected with the maintained device.
In a specific embodiment, the working signal is a first function of the hardware interface, for example, the network port transmits a network signal, the switching value transmits a switching signal, and the configuration signal is a second function carried on a circuit of the hardware interface. The signal generating unit generates a configuration signal and superimposes the configuration signal on a hardware interface to be sent, the analysis unit is shown in fig. 3, the configuration signal can reach the amplifier through the filter circuit, a periodic signal is formed at the end of the amplifier, so that the counter is driven to count, and when the counter is full, a group of I/O signals can be output to the maintained equipment, so that the maintained equipment is informed to perform corresponding maintenance operation. In addition, after the corresponding maintenance operation is performed by the maintained device, the counter is reset through another set of I/O2.
To exclude interference with the counter, a specific value may be set to trigger I/O1, e.g., 1010, 1101, and a duration may be set inside the device being maintained to exclude counter counting results due to false triggering. In the above description, the counter result may be considered a password, and the issue of I/O1 may be triggered only if the password is correct and remains for a certain amount of time. Of course, multiple sets of codes may be provided, so as to implement different maintenance operations such as resetting, powering off, restarting, etc. on the multiple codes.
In this embodiment, a duration is set inside the device to be maintained, that is, the parsing unit further sets a timer, and performs timing after parsing the configuration signal, and when the timing is completed, if the configuration signal parsing result remains unchanged, the corresponding device maintenance operation is performed.
For example, if the counting result of the counter is 1010, the timer starts to operate, and if the duration time set by the timer is 2 seconds, the counting is completed (the timer counts for 2 seconds), the counting result is not changed, and is maintained as 1010, the analysis result is determined to be valid, and the corresponding equipment maintenance operation is started, so that the counting result of the counter caused by false triggering is eliminated.
The configuration signal may be generated after the working signal is abnormal, or may be generated according to the operation requirement of the operator when the working signal is normal. This embodiment is preferably generated after an abnormality occurs in the operation signal, so that no disturbance is generated when the first function operates.
In a specific embodiment, the signal generating unit is a signal generator, which is capable of generating the configuration signal. If a counter cipher is involved, a periodic signal corresponding to the number of periodic signals may be generated. The signal generating unit can be simply imagined as a switch which, when activated, is able to generate a corresponding number of periodic signals.
In the actual use scene, when equipment hangs down, the function of net gape is invalid, can't log in equipment and resume, when needing hardware to switch to default configuration, can resume by the device of this embodiment to the equipment of being maintained at the eminence, and need not rent the expensive professional equipment of ascending a height to resume, convenient maintenance.
The signal generation unit in this embodiment is configured to generate a configuration signal and superimpose the configuration signal on the hardware interface, and the configuration signal transmission may be completed through a wireless network, including but not limited to WIFI, 4G, and the like, thereby implementing hardware interface multiplexing of wireless remote control.
It is easy to understand that the above embodiments only show the technical solutions of hardware implementation. The device for maintaining the equipment through the hardware interface can be realized through a logic chip and software. For example, wireless connection with the maintained device is realized through a mobile phone, then a configuration signal is sent, and after the maintained device receives the configuration signal, a control processor of the maintained device serves as an analysis unit to perform analysis on the configuration signal, which is not described herein again.
According to the technical scheme, the plurality of communication protocols are carried on the hardware interface, so that multiplexing of the protocols on a hardware level is achieved, for example, multiplexing of 485 signals and different frequency protocols on the same line is achieved. Therefore, the application range is wide, the maintenance of various devices is supported, and the maintenance cost is reduced.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (6)

1. A method for performing equipment maintenance through a hardware interface is characterized in that the method for performing equipment maintenance through the hardware interface comprises the following steps:
when equipment maintenance is needed, superimposing configuration signals on a hardware interface of the maintained equipment, wherein the hardware interface runs with working signals, the configuration signals are periodic signals, different configuration signals are provided, and the number of the sent periodic signals is different;
the maintained equipment receives the configuration signal on the hardware interface, analyzes the periodic signal, counts the periodic signal and executes corresponding equipment maintenance operation according to the counting result.
2. The method of claim 1, wherein the superimposing a configuration signal on the hardware interface of the device to be maintained comprises:
and when the hardware interface is a single line, the configuration signal amplitude is smaller than the working signal amplitude.
3. The method of claim 1, wherein the analyzing periodic signals, counting the periodic signals, and performing corresponding device maintenance operations according to the counting result comprises:
and after the configuration signal is analyzed, timing is carried out, and if the counting result is kept unchanged after timing is finished, the corresponding equipment maintenance operation is executed.
4. An apparatus for performing device maintenance through a hardware interface, the apparatus comprising:
the system comprises a signal generating unit, a processing unit and a processing unit, wherein the signal generating unit is used for superposing configuration signals on a hardware interface of equipment to be maintained when the equipment is required to be maintained, the hardware interface runs with working signals, the configuration signals are periodic signals and different configuration signals, and the number of the sent periodic signals is different;
and the analysis unit is used for receiving the configuration signal on the hardware interface, analyzing the periodic signal, counting the periodic signal and executing corresponding equipment maintenance operation according to the counting result.
5. The apparatus for performing device maintenance through a hardware interface according to claim 4, wherein a working signal is run on the hardware interface, and the signal generating unit superimposes a configuration signal on the hardware interface of the device to be maintained to perform the following operations:
and when the hardware interface is a single line, the configuration signal amplitude is smaller than the working signal amplitude.
6. The apparatus of claim 4, wherein the parsing unit parses out the periodic signal, counts the periodic signal, and performs the corresponding device maintenance operation according to the counting result, and performs the following operations:
and after the configuration signal is analyzed, timing is carried out, and if the counting result is kept unchanged after timing is finished, the corresponding equipment maintenance operation is executed.
CN201910237777.2A 2019-03-27 2019-03-27 Method and device for maintaining equipment through hardware interface Active CN111757091B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910237777.2A CN111757091B (en) 2019-03-27 2019-03-27 Method and device for maintaining equipment through hardware interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910237777.2A CN111757091B (en) 2019-03-27 2019-03-27 Method and device for maintaining equipment through hardware interface

Publications (2)

Publication Number Publication Date
CN111757091A CN111757091A (en) 2020-10-09
CN111757091B true CN111757091B (en) 2022-05-13

Family

ID=72671679

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910237777.2A Active CN111757091B (en) 2019-03-27 2019-03-27 Method and device for maintaining equipment through hardware interface

Country Status (1)

Country Link
CN (1) CN111757091B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104104519A (en) * 2013-04-01 2014-10-15 中兴通讯股份有限公司 Power off restart method, device and system
CN104768180A (en) * 2014-12-31 2015-07-08 中兴仪器(深圳)有限公司 Communication device with self-reset function and communication system
CN105657232A (en) * 2016-03-21 2016-06-08 浙江宇视科技有限公司 Restoring method and device for default setting of video camera

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104104519A (en) * 2013-04-01 2014-10-15 中兴通讯股份有限公司 Power off restart method, device and system
CN104768180A (en) * 2014-12-31 2015-07-08 中兴仪器(深圳)有限公司 Communication device with self-reset function and communication system
CN105657232A (en) * 2016-03-21 2016-06-08 浙江宇视科技有限公司 Restoring method and device for default setting of video camera

Also Published As

Publication number Publication date
CN111757091A (en) 2020-10-09

Similar Documents

Publication Publication Date Title
CN110380907B (en) Network fault diagnosis method and device, network equipment and storage medium
CN103812726A (en) Automated testing method and device for data communication equipment
CN108255646A (en) A kind of self-healing method of industrial control program failure based on heartbeat detection
CN102571498B (en) Fault injection control method and device
CN103544096A (en) Method and system for feeding back information in case of operational failure of Android terminal
CN106952464A (en) Intelligent data acqusition system and acquisition method
CN104765288B (en) Power distribution unit
CN105528273A (en) A server host hardware monitoring method and device and an electronic apparatus
CN108345533A (en) A kind of application program adjustment method, equipment and server
CN103096038B (en) The method for supervising of the fusion video monitoring system of multi-protocol video watch-dog access
CN111088998B (en) Coal mine central station monitoring system testing method and device and substation simulation system
CN104243230A (en) Method and device for obtaining monitoring data of Linux server
CN110780918A (en) Middleware container processing method and device, electronic equipment and storage medium
CN111757091B (en) Method and device for maintaining equipment through hardware interface
CN109766197A (en) A kind of 4G module stability working method based on android system
CN105336061A (en) Indoor anti-theft processing method, system and wireless access point
CN105306289A (en) Method and device for improving reliability of multi-module devices, and client terminal device
CN104486122A (en) Router abnormality recovery system and method based on watchdog
US20080285461A1 (en) Method for remotely monitoring system
CN101964731B (en) Method and device for monitoring data link
CN116137603A (en) Link fault detection method and device, storage medium and electronic device
CN101136756A (en) Electric self-checking method, system and BMC chip on network long-range control host machine
CN108388228B (en) Synchronous debugging method and device for multi-channel embedded control system
CN106482742A (en) The acquisition methods of meter step data and device
CN104753993A (en) Method for monitoring server and monitoring device

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