[go: up one dir, main page]

CN119767128A - Fault repairing method of 4G camera and 4G camera - Google Patents

Fault repairing method of 4G camera and 4G camera Download PDF

Info

Publication number
CN119767128A
CN119767128A CN202411881481.1A CN202411881481A CN119767128A CN 119767128 A CN119767128 A CN 119767128A CN 202411881481 A CN202411881481 A CN 202411881481A CN 119767128 A CN119767128 A CN 119767128A
Authority
CN
China
Prior art keywords
cpu
repair
storage area
multiplexer
camera
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202411881481.1A
Other languages
Chinese (zh)
Inventor
陈康
梁选勤
余毅鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHENZHEN TIANSHITONG TECHNOLOGY CO LTD
Original Assignee
SHENZHEN TIANSHITONG TECHNOLOGY CO LTD
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHENZHEN TIANSHITONG TECHNOLOGY CO LTD filed Critical SHENZHEN TIANSHITONG TECHNOLOGY CO LTD
Priority to CN202411881481.1A priority Critical patent/CN119767128A/en
Publication of CN119767128A publication Critical patent/CN119767128A/en
Pending legal-status Critical Current

Links

Landscapes

  • Studio Devices (AREA)

Abstract

本发明公开了一种4G摄像机的故障修复方法与4G摄像机,包括:通过第二CPU检测第一CPU输出信号,如果异常,第二CPU改变多路复用器的通断状态,多路复用器令第一CPU与第二存储区域连通并读取第二存储区域的修复引导程序,并从服务器获取修复固件;第二CPU改变多路复用器的通断状态,多路复用器令第一CPU与第一存储区域连通;第一CPU将修复固件写入第一存储区域,随后读取第一存储区域,并运行修复固件,完成修复。本发明的4G摄像机的故障修复方法与4G摄像机能够实现设备的自动化修复、增强设备对电源故障的应对能力、提高设备的故障检测与响应能力、减少设备的故障停机时间,保障用户体验。

The present invention discloses a fault repair method of a 4G camera and a 4G camera, comprising: detecting a first CPU output signal through a second CPU, if abnormal, the second CPU changes the on-off state of a multiplexer, the multiplexer connects the first CPU to a second storage area and reads a repair boot program of the second storage area, and obtains a repair firmware from a server; the second CPU changes the on-off state of the multiplexer, the multiplexer connects the first CPU to a first storage area; the first CPU writes the repair firmware to the first storage area, then reads the first storage area, and runs the repair firmware to complete the repair. The fault repair method of a 4G camera and the 4G camera of the present invention can realize automatic repair of equipment, enhance the equipment's ability to cope with power failures, improve the equipment's fault detection and response capabilities, reduce equipment failure downtime, and ensure user experience.

Description

Fault repairing method of 4G camera and 4G camera
Technical Field
The invention relates to the field of network cameras, in particular to a fault repairing method of a 4G camera and the 4G camera.
Background
In 4G webcam (IPC) applications, devices are typically installed in an outdoor environment to facilitate monitoring and data acquisition. However, the power supply of an outdoor environment is often not stable enough, especially in the case of solar powered applications, fluctuations in voltage may cause unexpected power loss of the device during firmware upgrades. The power failure phenomenon can cause the equipment to enter a hanging dead state and cannot be started normally, so that the usability and user experience of the equipment are seriously affected.
The conventional network camera repairing method generally relies on manual intervention, which is not only tedious for equipment distributed in remote areas, but also causes the prolongation of equipment downtime, thereby affecting the monitoring continuity and the data integrity. In addition, because the power supply in the outdoor environment is unstable, the existing dual-backup firmware mechanism and automatic restarting mechanism can suffer from power failure in the firmware upgrading process, so that firmware is damaged or equipment cannot be started normally, sudden power supply problems cannot be effectively solved, the prior art is relatively simple in fault detection, generally depends on a self-checking or timing starting mode of the equipment, lacks of real-time monitoring and judging of the system state, cannot find and handle serious problems such as equipment hanging and dead in time, and in addition, in the existing recovery scheme, the firmware recovery process often needs longer time, and particularly, long service interruption can be caused when the firmware is restarted or downloaded again from the backup firmware.
Therefore, developing an automatic self-repairing scheme of a network camera can stably and rapidly automatically recover functions when equipment fails, and the technical problem to be solved is urgent.
Disclosure of Invention
The present invention aims to solve at least one of the technical problems existing in the prior art. Therefore, the invention provides a fault repairing method of a 4G camera, which can realize automatic self-repairing of the 4G camera device, enhance the coping capability of power faults, improve the fault detection and response capability and shorten the firmware recovery time.
The invention also provides a 4G camera applied to the fault repairing method of the 4G camera.
The invention further provides electronic equipment applied to the fault repairing method of the 4G camera.
The invention also provides a computer readable storage medium applied to the fault repairing method of the 4G camera.
The fault repairing method of the 4G camera is applied to the 4G camera, wherein the 4G camera comprises a network camera, a 4G module and a server, the network camera comprises a first CPU, a first storage area and a multiplexer, the 4G module comprises a second storage area and a second CPU, a repairing guide program is stored in the second storage area, repairing firmware is stored in the server, the first CPU is electrically connected with the input end of the multiplexer, the first storage area is electrically connected with the first output end of the multiplexer, the second storage area is electrically connected with the second output end of the multiplexer, the second CPU is electrically connected with the control end of the multiplexer, the first CPU is electrically connected with the second CPU, and the second CPU is in communication connection with the server;
the fault repairing method of the 4G camera comprises the following steps:
If the second CPU detects that the output signal of the first CPU is abnormal, the second CPU changes the on-off state of the multiplexer, and the multiplexer enables the first CPU to be communicated with the second storage area;
The first CPU reads the repair bootstrap program of the second storage area and acquires the repair firmware from the server;
the second CPU changes the on-off state of the multiplexer, and the multiplexer enables the first CPU to be communicated with the first storage area;
The first CPU writes the repair firmware into the first storage area;
And the first CPU reads the first storage area and runs the repair firmware to finish repair.
According to some embodiments of the invention, the first CPU reads the repair program of the second storage area and acquires the repair firmware from the server, including:
The network camera is powered on again;
The second storage area judges the model of the current control chip;
If the second storage area identifies that the current control chip is the first CPU, allowing the first CPU to run the repair bootstrap program of the second storage area;
according to the repair boot program, the first CPU acquires the repair firmware from the server.
According to some embodiments of the invention, the 4G module further comprises a wireless cellular chip, the second CPU is electrically connected with the wireless cellular chip, and the wireless cellular chip is in communication connection with the server;
The first CPU obtaining the repair firmware from the server according to the repair boot program, including:
The first CPU controls the second CPU through the USB port according to the repair bootstrap program, so that the second CPU controls the wireless cellular chip to download the repair firmware from the server;
The first CPU controls the second CPU to acquire the repair firmware from the wireless cellular chip according to the repair bootstrap;
And the first CPU controls the first CPU to acquire the repair firmware from the second CPU according to the repair bootstrap program.
According to some embodiments of the invention, the first CPU controlling the second CPU to acquire the repair firmware from the wireless cellular chip according to the repair boot program includes:
And the first CPU controls the second CPU to acquire the repair firmware from the wireless cellular chip according to the repair bootstrap program, and downloads the repair firmware into the RAM of the second CPU.
According to some embodiments of the invention, the first CPU controlling the first CPU to obtain the repair firmware from the second CPU according to the repair boot program includes:
the first CPU controls the first CPU and the second CPU to execute serial communication according to the repair bootstrap program;
And the first CPU downloads the repair firmware in the RAM of the second CPU into the RAM of the first CPU through the serial port communication.
According to some embodiments of the invention, if the second CPU detects the PWM signal abnormality, the second CPU changes an on-off state of the multiplexer, and the multiplexer communicates the first CPU with the second storage area, including:
And the second CPU continuously detects the PWM signal, if the second CPU detects that the PWM signal is lost, the second CPU changes the on-off state of the multiplexer, and the multiplexer enables the first CPU to be communicated with the second storage area.
According to some embodiments of the invention, the first CPU reads the first storage area and runs the repair firmware to complete repair, including:
The network camera is powered on again;
And the first CPU reads and runs the repair firmware of the first storage area to finish repair.
The 4G camera comprises a network camera, a 4G module and a server, wherein the network camera comprises a first CPU, a first storage area and a multiplexer, the 4G module comprises a second storage area and a second CPU, a repair guide program is stored in the second storage area, repair firmware is stored in the server, the first CPU is electrically connected with the input end of the multiplexer, the first storage area is electrically connected with the first output end of the multiplexer, the second storage area is electrically connected with the second output end of the multiplexer, the second CPU is electrically connected with the control end of the multiplexer, the first CPU is electrically connected with the second CPU, the second CPU is in communication connection with the server, and the 4G camera is used for achieving the steps of the fault repair method of the 4G camera.
An electronic device according to an embodiment of a third aspect of the present invention includes:
one or more processors;
A memory;
One or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, which when executed by the processors implement the steps of the method of fault restoration of a 4G camera as claimed in any one of claims 1-7.
A computer readable storage medium according to an embodiment of the fourth aspect of the present invention, on which a computer program is stored, is characterized in that the computer program, when being executed by a processor, implements the steps of the method for repairing a fault of a 4G camera as in any of the above embodiments.
The 4G camera fault repairing method at least has the following beneficial effects that repairing firmware is stored in the second storage area of the 4G module of the 4G camera, when the 4G camera equipment is dead, power-off or abnormal in function, the storage area read by the first CPU is automatically switched, the repairing firmware stored in the second storage area is read, and manual intervention is not needed in the whole process, so that the automatic self repairing function of the equipment is realized, and the complexity and time cost of equipment maintenance are obviously reduced. The input port of the multiplexer is connected with the first CPU, and the two output ports are respectively connected with the first storage area and the second storage area, so that a hardware switching mechanism of the storage area is realized based on the multiplexer, and when the equipment encounters the condition of unstable voltage, the equipment can still perform self-repair through repair firmware in the second storage area of the 4G module, thereby reducing the firmware damage risk possibly caused by power failure and enhancing the coping capacity of power failure. The second CPU of the 4G module is used for detecting the output signal state of the first CPU of the network camera, so that whether the equipment is in a hanging state or not is judged, a self-repairing program can be accurately and rapidly started, faults are timely solved, normal operation of the equipment is ensured, and fault detection and response capacity of the equipment are improved. The method also optimizes the whole firmware recovery flow, so that the firmware updating and recovering process is more efficient, the firmware recovery time can be shortened to the greatest extent, the equipment downtime is reduced, and the user experience is ensured.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
The invention is further described with reference to the accompanying drawings and examples, in which:
FIG. 1 is a flowchart illustrating the overall steps of a method for repairing a fault of a 4G camera according to an embodiment of the present invention;
FIG. 2 is a block diagram of a 4G camera according to an embodiment of the present invention;
fig. 3 is a detailed flowchart of a fault repairing method of the 4G camera according to an embodiment of the present invention.
Reference numerals are a network camera 100, a first CPU 110, a first storage area 120, a multiplexer 130, a 4G module 200, a second CPU 210, a second storage area 220, a wireless cellular chip 230, and a server 300.
Detailed Description
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative only and are not to be construed as limiting the invention.
In the description of the present invention, it should be understood that references to orientation descriptions such as upper, lower, front, rear, left, right, etc. are based on the orientation or positional relationship shown in the drawings, are merely for convenience of description of the present invention and to simplify the description, and do not indicate or imply that the apparatus or elements referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus should not be construed as limiting the present invention.
In the description of the present invention, the meaning of a number is one or more, the meaning of a number is two or more, and greater than, less than, exceeding, etc. are understood to exclude the present number, and the meaning of a number is understood to include the present number. The description of the first and second is for the purpose of distinguishing between technical features only and should not be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated or implicitly indicating the precedence of the technical features indicated.
In the description of the present invention, unless explicitly defined otherwise, terms such as arrangement, installation, connection, etc. should be construed broadly and the specific meaning of the terms in the present invention can be reasonably determined by a person skilled in the art in combination with the specific contents of the technical scheme.
In the description of the present invention, the descriptions of the terms "one embodiment," "some embodiments," "illustrative embodiments," "examples," "specific examples," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The fault repairing method for the 4G camera and the 4G camera according to the embodiments of the present invention are described in detail below with reference to fig. 1 to 3.
Referring to fig. 1 and 2, the invention provides a fault repairing method of a 4G camera, which is applied to the 4G camera, wherein the 4G camera comprises a network camera 100 (IPC), a 4G module 200 and a server 300, wherein the network camera 100 comprises a first CPU110 (CPU 1), a first storage area 120 (FLASH a) and a multiplexer 130 (MUX), the 4G module comprises a second storage area 220 (FLASH B) and a second CPU210 (CPU 2), the second storage area 220 stores a repairing guide program, the server 300 stores repairing firmware, the first CPU110 is electrically connected with an input end of the multiplexer 130, the first storage area 120 is electrically connected with a first output end of the multiplexer 130, the second storage area 220 is electrically connected with a second output end of the multiplexer 130, the second CPU210 is electrically connected with a control end of the multiplexer 130, the first CPU110 is electrically connected with the second CPU210, and the second CPU210 is in communication connection with the server 300;
the fault repairing method of the 4G camera comprises the following steps:
S100, if the second CPU 210 detects that the output signal of the first CPU 110 is abnormal, the second CPU 210 changes the on-off state of the multiplexer 130, and the multiplexer 130 enables the first CPU 110 to be communicated with the second storage area 220;
S200, the first CPU 110 reads the repair boot program of the second storage area 220 and acquires repair firmware from the server 300;
S300, the second CPU 210 changes the on-off state of the multiplexer 130, and the multiplexer 130 enables the first CPU 110 to be communicated with the first storage area 120;
s400, the first CPU 110 writes the repair firmware into the first storage area 120;
s500, the first CPU 110 reads the first storage area 120 and runs the repair firmware to finish repair.
Specifically, in this embodiment, the method for repairing a 4G camera fault provided by the present invention is applied to a 4G camera as shown in fig. 2, where the 4G camera is composed of a network camera 100, a 4G module 200 and a remote server 300, the network camera 100 includes a first CPU110 (CPU 1), a first storage area 120 (FLASH a) and a multiplexer 130 (MUX), the 4G module includes a second storage area 220 (FLASH B) and a second CPU210 (CPU 2), the second storage area 220 stores a repair boot program, the server 300 stores repair firmware, the first CPU110 is electrically connected to an input end of the multiplexer 130 through an IO port, the first storage area 120 is electrically connected to a first output end of the multiplexer 130, the second storage area 220 is electrically connected to a second output end of the multiplexer 130, the second CPU210 is electrically connected to a control end of the multiplexer 130 through an IO port, the first CPU110 is electrically connected to the second CPU210 through a USB data line, and the second CPU210 is wirelessly connected to the server 300 through a wireless communication module 230 inside the 4G cellular chip 200.
Referring to fig. 3, the specific flow of the fault repairing method of the 4G camera in this embodiment is shown in the left side, in which the operation flow of the network camera 100 is shown in the right side, in which the operation flow of the 4G module 200 is shown in the right side, when the network camera 100 is powered on normally, the initial on-off state of the multiplexer 130 is that the first CPU110 is connected to the first storage area 120, that is, the CPU1 is connected to the data line and the control line of the FLASH a, and reads the firmware operation of the FLASH a in the first storage area 120, and simultaneously outputs a PWM signal to the second CPU 210 (CPU 2) in the 4G module, the second CPU 210 detects the PWM signal output by the first CPU110 in real time, and if the second CPU 210 detects that the PWM signal is abnormal, for example, the PWM pulse in the signal is lost for more than one minute, it is determined that the working state of the first CPU110 is abnormal, that the network camera 100 is suspended, then the second CPU outputs a control signal to the multiplexer 130MUX in the network camera 100, so that the first CPU110 is connected to the second storage area 220, that the CPU1 is connected to the FLASH B and the control line is above the control line S100; after the connection between the first CPU110 and the second storage area 220 is completed, the first CPU110 is powered on again and reset, and the first CPU110 reads the firmware of the second storage area 220FLASH B to run, the second storage area 220 determines whether the current main control chip is the chip of the network camera 100 through the internal program, that is, the first CPU110, if no, the first CPU110 that is currently in the main control second storage area 220 is allowed to start and call the repair guidance program stored in the second storage area 220, the repair guidance program can guide the first CPU110 to output the control signal to the second CPU 210, the second CPU 210 is controlled to download and acquire the repair firmware from the remote server 300 through the wireless cellular 230, and the repair firmware is transferred to the first CPU110, after the first CPU110 acquires the complete repair firmware from the second CPU 210, the repair firmware is stored in the RAM inside the first CPU110, which is step S200, then the second CPU 210 controls the multiplexer 130 again to change the on-off state of the multiplexer, so that the first CPU resumes the connection with the first storage area 120, which is step S300, then the first CPU110 transfers the repair firmware in the internal RAM thereof to the first storage area 120, which is step S400, finally the first CPU110 is powered on again, and the repair firmware and other working programs of the first storage area 120 are read by normal operation, so that the repair of the device is completed, which is step S500, and all the steps are re-executed when the device fails again.
The repair firmware is stored in the second storage area of the 4G module of the 4G camera, and when the 4G camera equipment is dead, power-off or abnormal in function, the storage area read by the first CPU is automatically switched, the repair firmware stored in the second storage area is read, and the whole process is free from manual intervention, so that the automatic self-repair function of the equipment is realized, and the complexity and time cost of equipment maintenance are remarkably reduced. The input port of the multiplexer is connected with the first CPU, and the two output ports are respectively connected with the first storage area and the second storage area, so that a hardware switching mechanism of the storage area is realized based on the multiplexer, and when the equipment encounters the condition of unstable voltage, the equipment can still perform self-repair through repair firmware in the second storage area of the 4G module, thereby reducing the firmware damage risk possibly caused by power failure and enhancing the coping capacity of power failure. The second CPU of the 4G module is used for detecting the output signal state of the first CPU of the network camera, so that whether the equipment is in a hanging state or not is judged, a self-repairing program can be accurately and rapidly started, faults are timely solved, normal operation of the equipment is ensured, and fault detection and response capacity of the equipment are improved. The method also optimizes the whole firmware recovery flow, so that the firmware updating and recovering process is more efficient, the firmware recovery time can be shortened to the greatest extent, the equipment downtime is reduced, and the user experience is ensured.
Referring to fig. 1 and 3, further, in some embodiments of the present invention, step S200, the first CPU 110 reads the repair program of the second storage area 220 and acquires repair firmware from the server 300, includes:
(2.1) the network camera 100 is powered up again;
(2.2) the second storage area 220 judges the model of the current control chip;
(2.3) if the second storage area 220 identifies that the current control chip is the first CPU 110, allowing the first CPU 110 to run the repair boot program of the second storage area 220;
(2.4) according to the repair boot program, the first CPU 110 acquires repair firmware from the server 300.
Specifically, in this embodiment, after the connection between the first CPU110 and the second storage area 220 is completed, the first CPU110 is powered on again and reset, and the first CPU110 reads the firmware of the second storage area 220FLASH B to run, the second storage area 220 determines, through an internal program, whether the current main control chip is the chip of the network camera 100, that is, the first CPU110, if it is determined that the current main control chip is correct, the first CPU110 that is currently main controlling the second storage area 220 is allowed to start and call a repair boot program that runs the internal memory of the second storage area 220, and the repair boot program can guide the first CPU110 to output a control signal to the second CPU 210, control the second CPU 210 to download and obtain repair firmware from the remote server 300 through the wireless cellular 230, and transmit the repair firmware to the first CPU110, and after the first CPU110 obtains the complete repair firmware from the second CPU 210, store it into the RAM inside the first CPU 110. By judging whether the main control chip of the current second storage area 220 is the chip of the network camera 100, and then judging whether the chip is allowed to run the repair guidance program, the problem that when the second CPU 210 of the 4G module 200 is reading the second storage area normally, the repair guidance program in the second storage area 220 is wrongly run, and thus a program error is caused is prevented, that is, the second storage area 220 includes both the 4G module program used when the second CPU 210 is running normally and the repair guidance program which needs to be invoked when the device is abnormal, when the device is running normally, the repair guidance program cannot be invoked by the second CPU 210 wrongly, and only when the device is abnormal, the repair guidance program can be invoked by the first CPU110 to run.
Referring to fig. 1 and 2, further, in some embodiments of the present invention, the 4G module 200 further includes a wireless cellular chip 230, the second CPU 210 is electrically connected to the wireless cellular chip 230, and the wireless cellular chip 230 is communicatively connected to the server 300;
Step (2.4) according to the repair boot program, the first CPU 110 acquires repair firmware from the server 300, including:
(2.4.1) the first CPU 110 controlling the second CPU 210 through the USB port according to the repair boot program, causing the second CPU 210 to control the wireless cellular chip 230 to download the repair firmware from the server 300;
(2.4.2) the first CPU 110 controlling the second CPU 210 to acquire repair firmware from the wireless cellular chip 230 according to the repair boot program;
(2.4.3) the first CPU 110 controls the first CPU 110 to acquire the repair firmware from the second CPU 210 according to the repair boot program.
Further, in some embodiments of the present invention, step (2.4.2) the first CPU 110 controls the second CPU 210 to acquire repair firmware from the wireless cellular chip 230 according to the repair boot procedure, including:
the first CPU 110 controls the second CPU 210 to acquire repair firmware from the wireless cellular chip 230 according to the repair boot program, and downloads the repair firmware into the RAM of the second CPU 210.
Further, in some embodiments of the present invention, step (2.4.3) the first CPU 110 controls the first CPU 110 to obtain the repair firmware from the second CPU 210 according to the repair boot program, including:
The first CPU 110 controls the first CPU 110 and the second CPU 210 to perform serial communication according to the repair boot program;
the first CPU 110 downloads the repair firmware in the RAM of the second CPU 210 to the RAM of the first CPU 110 through serial port communication.
Further, in some embodiments of the present invention, step S100, if the second CPU 210 detects that the output signal of the first CPU 110 is abnormal, the second CPU 210 changes the on-off state of the multiplexer 130, and the multiplexer 130 enables the first CPU 110 to communicate with the second memory area 220, comprising:
The second CPU 210 performs persistence detection on the output signal of the first CPU 110, and if the second CPU 210 detects that the output signal of the first CPU 110 is lost, the second CPU 210 changes the on-off state of the multiplexer 130, and the multiplexer 130 enables the first CPU 110 to communicate with the second storage area 220.
Specifically, in this embodiment, the second CPU 210 may continuously detect the PWM signal or other signals output by the first CPU 110, if the pulse loss of the PWM signal exceeds one minute, it is determined that the working state of the first CPU 110 is abnormal, then the second CPU 210 changes the on-off state of the multiplexer 130, the multiplexer 130 makes the first CPU 110 communicate with the second storage area 220, and when the 4G camera device is dead, power-off or abnormal in function, the storage area read by the first CPU is automatically switched, and repair firmware stored in the second storage area is read, so that manual intervention is not required in the whole process, thereby realizing the automatic self-repair function of the device, and significantly reducing the complexity and time cost of device repair.
Further, in some embodiments of the present invention, step S500, the first CPU 110 reads the first storage area 120 and runs the repair firmware to complete the repair, including:
(5.1) the network camera 100 is powered up again;
(5.2) the first CPU 110 reads and runs the repair firmware of the first storage area 120, completing the repair.
Referring to fig. 2, the invention further provides a 4G camera, which comprises a network camera 100, a 4G module 200 and a server 300, wherein the network camera 100 comprises a first CPU 110, a first storage area 120 and a multiplexer 130, the 4G module 200 comprises a second storage area 220 and a second CPU 210, the second storage area 220 stores a repair guidance program, the server 300 stores repair firmware, the first CPU 110 is electrically connected with an input end of the multiplexer 130, the first storage area 120 is electrically connected with a first output end of the multiplexer 130, the second storage area 220 is electrically connected with a second output end of the multiplexer 130, the second CPU 210 is electrically connected with a control end of the multiplexer 130, the first CPU 110 is electrically connected with the second CPU 210, the second CPU 210 is in communication connection with the server 300, and the 4G camera is used for realizing the steps of the fault repair method of the 4G camera according to any one of the embodiments above.
The invention also provides an electronic device, comprising:
one or more processors;
A memory;
one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, which when executed by the processors implement the steps of the method for fault restoration of a 4G camera as in any of the embodiments described above.
The present invention also proposes a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the method for repairing a fault of a 4G camera as in any of the above embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, and the program may be stored in a computer readable storage medium. In the context of the present invention, the computer-readable medium may be considered to be tangible and non-transitory. Non-limiting examples of non-transitory tangible computer readable media include non-volatile memory circuits (e.g., flash memory circuits, erasable programmable read-only memory circuits, or masked read-only memory circuits), volatile memory circuits (e.g., static random access memory circuits or dynamic random access memory circuits), magnetic storage media (e.g., analog or digital magnetic tape or hard disk drives), and optical storage media (e.g., CDs, DVDs, or blu-ray discs), among others. Program code for carrying out methods of the present invention may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
Moreover, although operations are depicted in a particular order, this should be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. In certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the invention. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single implementation. Conversely, various features that are described in the context of a single implementation can also be implemented in multiple implementations separately or in any suitable subcombination.
The embodiments of the present invention have been described in detail with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge of one of ordinary skill in the art without departing from the spirit of the present invention. Furthermore, embodiments of the invention and features of the embodiments may be combined with each other without conflict.

Claims (10)

1. The fault repairing method for the 4G camera is characterized by being applied to the 4G camera, wherein the 4G camera comprises a network camera, a 4G module and a server, the network camera comprises a first CPU, a first storage area and a multiplexer, the 4G module comprises a second storage area and a second CPU, a repairing guide program is stored in the second storage area, repairing firmware is stored in the server, the first CPU is electrically connected with the input end of the multiplexer, the first storage area is electrically connected with the first output end of the multiplexer, the second storage area is electrically connected with the second output end of the multiplexer, the second CPU is electrically connected with the control end of the multiplexer, the first CPU is electrically connected with the second CPU, and the second CPU is in communication connection with the server;
the fault repairing method of the 4G camera comprises the following steps:
If the second CPU detects that the output signal of the first CPU is abnormal, the second CPU changes the on-off state of the multiplexer, and the multiplexer enables the first CPU to be communicated with the second storage area;
The first CPU reads the repair bootstrap program of the second storage area and acquires the repair firmware from the server;
the second CPU changes the on-off state of the multiplexer, and the multiplexer enables the first CPU to be communicated with the first storage area;
The first CPU writes the repair firmware into the first storage area;
And the first CPU reads the first storage area and runs the repair firmware to finish repair.
2. The method of repairing a malfunction of a 4G camera according to claim 1, wherein the first CPU reads the repair program of the second storage area and acquires the repair firmware from the server, comprising:
The network camera is powered on again;
The second storage area judges the model of the current control chip;
If the second storage area identifies that the current control chip is the first CPU, allowing the first CPU to run the repair bootstrap program of the second storage area;
according to the repair boot program, the first CPU acquires the repair firmware from the server.
3. The method for repairing a fault of a 4G camera according to claim 2, wherein the 4G module further comprises a wireless cellular chip, the second CPU is electrically connected with the wireless cellular chip, and the wireless cellular chip is in communication connection with the server;
The first CPU obtaining the repair firmware from the server according to the repair boot program, including:
The first CPU controls the second CPU through the USB port according to the repair bootstrap program, so that the second CPU controls the wireless cellular chip to download the repair firmware from the server;
The first CPU controls the second CPU to acquire the repair firmware from the wireless cellular chip according to the repair bootstrap;
And the first CPU controls the first CPU to acquire the repair firmware from the second CPU according to the repair bootstrap program.
4. The method according to claim 3, wherein the first CPU controlling the second CPU to acquire the repair firmware from the wireless cellular chip according to the repair boot program, comprises:
And the first CPU controls the second CPU to acquire the repair firmware from the wireless cellular chip according to the repair bootstrap program, and downloads the repair firmware into the RAM of the second CPU.
5. The method according to claim 4, wherein the first CPU controlling the first CPU to acquire the repair firmware from the second CPU according to the repair boot program, comprises:
the first CPU controls the first CPU and the second CPU to execute serial communication according to the repair bootstrap program;
And the first CPU downloads the repair firmware in the RAM of the second CPU into the RAM of the first CPU through the serial port communication.
6. The method for repairing a fault of a 4G camera according to claim 1, wherein if the second CPU detects that the first CPU output signal is abnormal, the second CPU changes an on-off state of the multiplexer, and the multiplexer communicates the first CPU with the second storage area, comprising:
And the second CPU continuously detects the output signal of the first CPU, if the second CPU detects that the output signal of the first CPU is lost, the second CPU changes the on-off state of the multiplexer, and the multiplexer enables the first CPU to be communicated with the second storage area.
7. The method of fault remediation of a 4G camera of claim 1 wherein the first CPU reads the first storage area and runs the remediation firmware to complete remediation, comprising:
The network camera is powered on again;
And the first CPU reads and runs the repair firmware of the first storage area to finish repair.
8. A4G camera is characterized by comprising a network camera, a 4G module and a server, wherein the network camera comprises a first CPU, a first storage area and a multiplexer, the 4G module comprises a second storage area and a second CPU, a repair guide program is stored in the second storage area, repair firmware is stored in the server, the first CPU is electrically connected with the input end of the multiplexer, the first storage area is electrically connected with the first output end of the multiplexer, the second storage area is electrically connected with the second output end of the multiplexer, the second CPU is electrically connected with the control end of the multiplexer, the first CPU is electrically connected with the second CPU, the second CPU is in communication connection with the server, and the 4G camera is used for achieving the steps of the fault repair method of the 4G camera according to any one of claims 1-7.
9. An electronic device, comprising:
one or more processors;
A memory;
One or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, which when executed by the processors implement the steps of the method of fault restoration of a 4G camera as claimed in any one of claims 1-7.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method for fault restoration of a 4G camera according to any of claims 1-7.
CN202411881481.1A 2024-12-19 2024-12-19 Fault repairing method of 4G camera and 4G camera Pending CN119767128A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411881481.1A CN119767128A (en) 2024-12-19 2024-12-19 Fault repairing method of 4G camera and 4G camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411881481.1A CN119767128A (en) 2024-12-19 2024-12-19 Fault repairing method of 4G camera and 4G camera

Publications (1)

Publication Number Publication Date
CN119767128A true CN119767128A (en) 2025-04-04

Family

ID=95184347

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202411881481.1A Pending CN119767128A (en) 2024-12-19 2024-12-19 Fault repairing method of 4G camera and 4G camera

Country Status (1)

Country Link
CN (1) CN119767128A (en)

Similar Documents

Publication Publication Date Title
US8713559B2 (en) System and method for updating firmware
CN101281469B (en) Embedded type system and start-up load application method
US20140163716A1 (en) Bridge device, automated production system and method thereof for storage device
US20110099544A1 (en) Information processing apparatus and system setting method
CN100492305C (en) Method and device for fast recovery of computer system
CN112905375A (en) Self-recovery method and device of double-core intelligent ammeter management unit and computer equipment
CN113672306A (en) Method, device, system and medium for recovery from abnormal self-checking of server components
CN118609233A (en) A double insurance operation method and system for preventing system failure
CN119767128A (en) Fault repairing method of 4G camera and 4G camera
EP1185932B1 (en) Method and apparatus for automatically reintegrating a module into a computer system
KR20080023841A (en) Firmware upgrade and damaged firmware automatic recovery system and method
CN108418707B (en) Method for upgrading mutual online backup of double CPLDs in communication system and service veneer
CN118939497B (en) Chip damage judging method and device, electronic equipment, storage medium and product
CN113064095A (en) A kind of electronic equipment fault detection method, device and electronic equipment
JPH07219860A (en) Memory rewrite control method/device
JP3231561B2 (en) Backup memory control method
US11467898B2 (en) Information processing apparatus and method of controlling the same
CN111338456B (en) A method and system for realizing BBU power-down protection
JPH0644144A (en) Semiconductor disk device
CN119376762B (en) A method and circuit for fully automatically upgrading BIOS on Intel platform computers
CN113835971A (en) Monitoring method for abnormal lighting of server backboard and related components
CN111814118A (en) A kind of anti-cracking method and tutoring machine
JP3087650B2 (en) Automatic power recovery method
CN105760314A (en) Method for controlling starting-up screen luminance of system by virtue of EC SCI
CN101114245A (en) External Basic Input/Output System 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