Remote operation and maintenance method, device and computer equipment for low-power equipment
By switching communication cards and establishing operation and maintenance links when low-power devices are offline, the remote operation and maintenance delay problem caused by low-power devices being unable to automatically initiate fault diagnosis requests is solved, and efficient remote operation and maintenance and low-impact self-container are achieved Restoration measures.
Patent Information
- Application Number
- CN202411698974.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-26
- Publication Date
- 2025-02-18
- Estimated Expiration
- 2044-11-26
AI Technical Summary
The existing technology of low-power devices cannot automatically initiate fault diagnosis requests, which leads to failures being discovered after a period of time, and there is a problem of remote operation and maintenance delay.
When the self-recovery measures for offline low-power devices fail, obtain the device's log, switch the first communication card to the second communication card, establish an operation and maintenance link with the cloud platform through the base station, transmit operation and maintenance requests and logs, and return to the settings Set operation and maintenance time. Switch back to the first communication card before reaching the operation and maintenance time to initiate self-recovery measures. If it fails, switch back to the second communication card for remote repair.
The operation and maintenance link established through the second communication card promptly transmits operation and maintenance requests and logs, improving the timeliness of remote operation and maintenance, and switching to the first communication card before reaching the operation and maintenance time to initiate self-recovery measures, reducing the need for users Business impact.
Smart Images

Figure CN119211981B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a remote operation and maintenance method, device and computer equipment for low-power consumption equipment. Background Art
[0002] With the coverage of power equipment, low-power devices of solar cellular have become popular. However, version updates of network equipment such as base stations and core networks, aging of equipment components, and updates and iterations of equipment software versions may all lead to network failures of low-power devices. If low-power devices do not have a backup network, once their network is offline, they become information islands, and maintenance personnel can only go to the site for operation and maintenance, which greatly reduces the efficiency of operation and maintenance and increases the cost of operation and maintenance.
[0003] The current fault diagnosis scheme is: receive the fault diagnosis request initiated by the operation and maintenance object through the low-power device, the fault diagnosis request includes the terminal identification code; perform fault diagnosis on the terminal corresponding to the terminal identification code and output the diagnosis information. The disadvantage of this scheme is that the low-power device cannot automatically initiate the fault diagnosis request, resulting in the fault being discovered after a period of time, and there is a problem of remote operation and maintenance delay.
[0004] There is currently no effective solution to the problem of remote operation and maintenance delays in related technologies. Summary of the invention
[0005] In this embodiment, a remote operation and maintenance method, apparatus and computer equipment for a low-power device are provided to solve the problem of remote operation and maintenance delay in the related art.
[0006] In a first aspect, a remote operation and maintenance method for a low-power device is provided in this embodiment, which is applicable to a remote operation and maintenance system; the remote operation and maintenance system includes a low-power device, a base station, and a cloud platform; a communication module of the low-power device is connected to the cloud platform through the base station; the communication module has a first communication card and a second communication card built in; the method includes:
[0007] When the self-recovery measure of the low-power device offline fails, obtaining the log of the low-power device; and switching the first communication card to the second communication card, and establishing an operation and maintenance link through the connection between the base station and the cloud platform;
[0008] Transmitting the operation and maintenance request and the log to the cloud platform through the operation and maintenance link, and returning the set operation and maintenance time;
[0009] Before the operation and maintenance time arrives, switch to the first communication card and start the self-recovery measure; if the self-recovery measure is successful, end the remote operation and maintenance;
[0010] If the self-recovery measure fails and the operation and maintenance time is reached, the second communication card is switched back to remotely repair the low-power device through the operation and maintenance link.
[0011] In some of the embodiments, the self-recovery measure is:
[0012] Obtaining recovery configuration information of the low-power device;
[0013] Based on the soft reset and soft start in the recovery configuration information, corresponding recovery actions are performed alternately.
[0014] In some embodiments, the method further comprises:
[0015] Forwarding the operation and maintenance request and the log to the terminal of the operation and maintenance object through the cloud platform in the form of email, SMS and operation and maintenance APP notification;
[0016] Based on the log, an operation and maintenance time and a repair plan are determined, and the operation and maintenance time is returned to the low-power consumption device.
[0017] In some of the embodiments, determining the operation and maintenance time includes:
[0018] Reserving one or more of the operation and maintenance times from the operation and maintenance APP of the terminal;
[0019] Or, setting the operation and maintenance time according to the delay time;
[0020] Or, adjust the operation and maintenance time set last time.
[0021] In some embodiments, the method further comprises:
[0022] When the low-power device supports dual-SIM single standby, the first communication card is registered with the first operator network and dials by default; the second communication card is in an unpowered state;
[0023] Or, when the low-power device supports dual-SIM dual-standby, the first communication card is registered to the first operator network and dials by default; the second communication card is registered to the second first operator network and is on standby.
[0024] In some embodiments, the method further comprises:
[0025] Determine whether a streaming request from the cloud platform is received;
[0026] If the streaming request is not received, the system enters a low power consumption mode and maintains a heartbeat connection with the cloud platform;
[0027] If the stream pulling request is received, the low-power consumption device is awakened to obtain offline configuration information; and whether the low-power consumption device is offline is determined according to the offline configuration information.
[0028] In some embodiments, determining whether the low-power consumption device is offline according to the offline configuration information includes:
[0029] Determine whether the low power offline detection enable is turned on;
[0030] If it is enabled, confirm whether the first communication card is online based on the maximum offline timeout in the offline configuration information;
[0031] If the first communication card is online, the low-power consumption device is online;
[0032] If the first communication card is not online, self-recovery measures are performed.
[0033] In a second aspect, a remote operation and maintenance device for a low-power device is provided in this embodiment, which is applicable to a remote operation and maintenance system; the remote operation and maintenance system comprises a low-power device, a base station and a cloud platform; a communication module of the low-power device is connected to the cloud platform through the base station; the communication module has a first communication card and a second communication card built in; the device comprises: a construction module, a transmission module, a self-recovery module and a repair module;
[0034] The construction module is used to obtain the log of the low-power device when the self-recovery measure of the low-power device offline fails; and switch the first communication card to the second communication card, and establish an operation and maintenance link through the connection between the base station and the cloud platform;
[0035] The transmission module is used to transmit the operation and maintenance request and the log to the cloud platform through the operation and maintenance link, and return the set operation and maintenance time;
[0036] The self-recovery module is used to switch to the first communication card and start the self-recovery measure before the operation and maintenance time is reached; if the self-recovery measure is successful, the remote operation and maintenance is terminated;
[0037] The repair module is used to switch back to the second communication card if the self-recovery measure fails and the operation and maintenance time is reached, and to remotely repair the low-power consumption device through the operation and maintenance link.
[0038] In a third aspect, a computer device is provided in this embodiment, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the remote operation and maintenance method of the low-power device described in the first aspect is implemented.
[0039] In a fourth aspect, a storage medium is provided in this embodiment, on which a computer program is stored, and when the program is executed by a processor, the remote operation and maintenance method of the low-power device described in the first aspect is implemented.
[0040] Compared with the related art, the remote operation and maintenance method, device and computer equipment of the low-power device provided in this embodiment obtains the log of the low-power device when the self-recovery measure of the low-power device offline fails; and switches the first communication card to the second communication card, and establishes an operation and maintenance link with the cloud platform through the base station; transmits the operation and maintenance request and log to the cloud platform through the operation and maintenance link, and returns the set operation and maintenance time; before the operation and maintenance time arrives, switches to the first communication card and starts the self-recovery measure; if the self-recovery measure is successful, the remote operation and maintenance is ended; if the self-recovery measure fails and the operation and maintenance time arrives, switches back to the second communication card, and remotely repairs the low-power device through the operation and maintenance link, which solves the problem of remote operation and maintenance delay in the related art, and transmits the operation and maintenance request and log in time through the operation and maintenance link established by the second communication card to improve the timeliness of remote operation and maintenance, and before the operation and maintenance time arrives, switches to the first communication card to start the self-recovery measure to reduce the impact on user services.
[0041] Details of one or more embodiments of the present application are set forth in the following drawings and description to make other features, objects, and advantages of the present application more readily apparent. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0043] Figure 1 It is a structural block diagram of a remote operation and maintenance system provided by an embodiment of the present application;
[0044] Figure 2 is a structural block diagram of a low-power consumption device provided by an embodiment of the present application;
[0045] Figure 3 This is a flow chart of a remote operation and maintenance method for a low-power device provided by an embodiment of the present application;
[0046] Figure 4 is a flow chart of a self-recovery measure provided by an embodiment of the present application;
[0047] Figure 5 This is a flow chart of a remote operation and maintenance method for a low-power device provided by a preferred embodiment of the present application;
[0048] Figure 6This is a structural block diagram of a remote operation and maintenance device for low-power consumption equipment provided in one embodiment of the present application.
[0049] In the figure: 10, low-power device; 20, cloud platform; 30, terminal; 210, construction module; 220, transmission module; 230, self-recovery module; 240, repair module. DETAILED DESCRIPTION
[0050] In order to more clearly understand the purpose, technical solutions and advantages of the present application, the present application is described and illustrated below in conjunction with the accompanying drawings and embodiments.
[0051] Unless otherwise defined, the technical terms or scientific terms involved in this application shall have the general meaning understood by people with general skills in the technical field to which this application belongs. The words "one", "a", "the", "these" and the like in this application do not indicate a quantitative limitation, and they may be singular or plural. The terms "include", "comprise", "have" and any variants thereof involved in this application are intended to cover non-exclusive inclusions; for example, a process, method and system, product or device comprising a series of steps or modules (units) is not limited to the listed steps or modules (units), but may include unlisted steps or modules (units), or may include other steps or modules (units) inherent to these processes, methods, products or devices. The words "connect", "connected", "coupled" and the like involved in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The "multiple" involved in this application refers to two or more. "And / or" describes the association relationship of associated objects, indicating that there may be three relationships, for example, "A and / or B" may mean: A exists alone, A and B exist at the same time, and B exists alone. Generally, the character " / " indicates that the objects associated with each other are in an "or" relationship. The terms "first", "second", "third", etc. in this application are only used to distinguish similar objects and do not represent a specific ordering of the objects.
[0052] The method embodiment provided in this embodiment can be executed in a remote operation and maintenance system. Figure 1 1 is a hardware structure block diagram of the remote operation and maintenance system of the remote operation and maintenance method of the low-power device 10 of this embodiment. Figure 1 As shown, the remote operation and maintenance system may include one or more ( Figure 1 Only one is shown in the figure) low-power device 10, base station and cloud platform 20; the communication module of low-power device 10 is connected to cloud platform 20 through the base station; the communication module has a first communication card and a second communication card built in. It can be understood by ordinary technicians in this field that Figure 1The structure shown is for illustration only and does not limit the structure of the above system. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.
[0053] Among them, Figure 2 As shown, the low-power device 10 includes a processor, an image acquisition module, a power management module, a power supply, a solar charging module and a communication module. The processor is connected to the image acquisition module, the power management module and the communication module respectively, and executes various functional applications and data processing by running the stored computer program, that is, realizing the above method. The processor can also process integrated video services. The image acquisition module is connected to the power management module for collecting video data. The solar charging module is used to charge the power supply. The power management module is connected to the power supply for controlling the power supply of the processor and other modules and receiving the wake-up signal of the communication module. Among them, the communication module is built-in with a first communication card and a second communication card, and the low-power device 10 supports dual-card single standby or dual-card dual standby. Among them, the communication module can be a 2G, 3G, 4G and / or 5G module for outputting a wake-up signal in the wake-up mode and transmitting video data to the cloud platform 20; and maintaining a heartbeat connection with the cloud platform 20 in the sleep mode. After the low-power device 10 is powered on, each module is initialized first. Initialization is to perform the initialization work of the communication module, the image acquisition module and other modules in sequence.
[0054] Among them, the remote operation and maintenance system also includes a terminal 30 and a timer; it can be a mobile terminal, a fixed terminal or a portable terminal, such as a mobile phone, a unit, a device, a multimedia computer, a multimedia tablet, an Internet node, a communicator, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a personal communication system (PCS) device, a personal navigation device, a personal digital assistant (PDA), an audio / video player, a digital camera / camcorder, a positioning device, a television receiver, a radio broadcast receiver, an e-book device, a gaming device or any combination thereof, including accessories and peripherals of these devices or any combination thereof. An operation and maintenance APP can be installed on the terminal. The timer can be a PTC timer, and its RTC timer is set in the processor for waking up the low-power device 10 at a fixed time.
[0055] The low-power device 10 is divided into a sleep mode and a working mode. In the sleep mode, the communication module and the cloud platform 20 maintain a heartbeat connection. In the wake-up mode, a wake-up signal is output. The RTC timer will continue to work regardless of the mode. In the working mode, the low-power device 10 and other modules all work normally.
[0056] In this embodiment, a remote operation and maintenance method for a low-power device is provided. Figure 3is a flow chart of the remote operation and maintenance method of the low-power device of this embodiment. Figure 3 As shown, the process includes the following steps:
[0057] Step S210, when the self-recovery measure of the low-power device offline fails, obtain the log of the low-power device; and switch the first communication card to the second communication card, and establish an operation and maintenance link through the connection between the base station and the cloud platform;
[0058] Step S220: Transmit the operation and maintenance request and log to the cloud platform through the operation and maintenance link, and return the set operation and maintenance time;
[0059] Step S230, before the operation and maintenance time arrives, switch to the first communication card and start the self-recovery measure; if the self-recovery measure is successful, end the remote operation and maintenance;
[0060] Step S240: If the self-recovery measure fails and the operation and maintenance time has arrived, the second communication card is switched back to remotely repair the low-power device through the operation and maintenance link.
[0061] It should be noted that the first communication card in the low-power device is the default access card. The communication module enables the first communication card and builds a service link with the cloud platform through the base station to transmit interactive data such as video data through the service link. The second communication card in the low-power device is dedicated to operation and maintenance and will only be enabled when the self-recovery measures of the power-consuming device offline fail. The second communication card does not need to be registered with a specific operator (that is, no authentication process is required), it only needs to be able to connect to the cloud platform to send operation and maintenance related information, which can reduce operation and maintenance costs.
[0062] There are multiple ways to judge the offline and self-recovery measures of low-power devices; offline detection includes but is not limited to abnormal heartbeat connection, low-power devices only send or cloud platform offline detection, etc. Self-recovery measures include but are not limited to low-power devices only send self-recovery according to their pre-configured recovery configuration information, and the cloud platform sends recovery configuration information to low-power devices to enable them to recover themselves. There are no restrictions on the offline and self-recovery measures of low-power devices.
[0063] During the operation of the low-power device, a corresponding log is generated; when the self-recovery measures of the low-power device offline fail, the log of the low-power device is obtained; the first communication card is switched to the second communication card to enable the second communication card; the communication module is connected to the cloud platform through the base station to build an operation and maintenance link. Thus, the operation and maintenance request and log can be transmitted to the cloud platform in a timely manner through the operation and maintenance link to improve the timeliness of remote operation and maintenance. In other embodiments, in order to avoid log loss, the obtained log can be saved, such as saved in the memory of the processor.
[0064] After the operation and maintenance request and log are transmitted to the cloud platform, the low-power device will wait for the return of the operation and maintenance time; after receiving the operation and maintenance time, the timer will be set according to the operation and maintenance time. The operation and maintenance time is the time for operating and maintaining low-power devices, which means that when the operation and maintenance time is reached, the low-power device will be repaired and maintained. Prior to this, the deactivation of the first communication card will affect the normal operation of the user's business; in order to reduce this impact, it will be switched back to the first communication card and the self-recovery measures will be started; if the self-recovery measures are successful, it means that the low-power device has been running normally online, so the remote operation and maintenance can be ended; the message of the successful recovery can be notified to the operation and maintenance object. If the self-recovery measures fail and fail all the time, and the operation and maintenance time is reached, it will switch back to the second communication card, and remotely repair the low-power device through the operation and maintenance link, thereby completing the remote operation and maintenance. In other embodiments, the self-recovery measures can also stop after running a preset number of times, waiting for the operation and maintenance time to arrive.
[0065] In the related art, the fault diagnosis scheme is: receiving the fault diagnosis request initiated by the operation and maintenance object through the low-power device, the fault diagnosis request includes the terminal identification code; performing fault diagnosis on the terminal corresponding to the terminal identification code, and outputting the diagnosis information. The disadvantage of this scheme is that the low-power device cannot automatically initiate the fault diagnosis request, resulting in the fault being discovered after a period of time, and there is a problem of remote operation and maintenance delay. In the present embodiment, when the self-recovery measures of the low-power device offline fail, the log of the low-power device is obtained; and the first communication card is switched to the second communication card, and an operation and maintenance link is established with the cloud platform through the base station; the operation and maintenance request and log are transmitted to the cloud platform through the operation and maintenance link, and the set operation and maintenance time is returned; before the operation and maintenance time arrives, switch to the first communication card, and start the self-recovery measures; if the self-recovery measures are successful, the remote operation and maintenance is ended; if the self-recovery measures fail and the operation and maintenance time arrives, switch back to the second communication card, and remotely repair the low-power device through the operation and maintenance link, which solves the problem of remote operation and maintenance delay in the related technology, and transmits the operation and maintenance request and log in time through the operation and maintenance link established by the second communication card to improve the timeliness of remote operation and maintenance, and before the operation and maintenance time arrives, switch to the first communication card to start the self-recovery measures to reduce the impact on user services.
[0066] The following is a detailed description of each of the above steps:
[0067] In some of the embodiments, Figure 4 As shown, the self-recovery measures are:
[0068] Step S410, obtaining recovery configuration information of the low power consumption device;
[0069] Step S420: Based on the soft reset and soft start in the recovery configuration information, corresponding recovery actions are alternately performed.
[0070] Specifically, the recovery configuration information of the low power consumption device is pre-configured, which includes soft reset and soft start; it can be considered that the recovery measure corresponding to the soft reset of the recovery configuration information is a soft reset recovery action; the recovery measure corresponding to the soft start of the recovery configuration information is a soft start recovery action.
[0071] The specific process of the self-recovery measure is as follows:
[0072] Get the recovery configuration information of the low-power device and determine whether the recovery measure is a soft reset or a soft start. For example, if the recovery configuration information is a soft reset, then the recovery action of the soft reset is performed this time; after executing the self-recovery measure, update the recovery configuration information (update to soft start) for the next wake-up self-recovery measure. If the recovery action of the soft reset fails; the low-power device sleeps until it is awakened next time (the wake-up time can be set to 5 minutes, which can be set according to the application scenario); at this time, the wake-up time can be reported to the application (operation and maintenance APP) through an event, and then the application notifies the processor of the next wake-up time. The processor sets the wake-up time to the timer and controls the relevant modules to sleep and enter the low-power mode. When the wake-up time arrives, the processor powers on and wakes up the relevant modules. When it detects that it is offline, it reads the recovery configuration information (soft start) and executes the recovery action of the soft start; after executing the self-recovery measure, update the recovery configuration information (update to soft reset), so that the recovery actions of soft reset and soft restart are performed alternately. In other embodiments, there is no restriction on the order of soft start and soft recovery.
[0073] Through this embodiment, based on the soft reset and soft start in the recovery configuration information, the corresponding recovery actions are executed alternately, which can restore the network disconnection problem caused by incorrect configuration on the network side or temporary arrears of the communication card in the shortest time, thereby improving the repair efficiency.
[0074] In some of the embodiments, the remote operation and maintenance method of the low-power device further includes the following steps:
[0075] Forward the operation and maintenance requests and logs to the terminals of the operation and maintenance objects through the cloud platform via email, SMS and operation and maintenance APP notifications;
[0076] Based on the logs, the operation and maintenance time and repair plan are determined, and the operation and maintenance time is returned to the low-power device.
[0077] Specifically, after receiving the operation and maintenance request, the cloud platform forwards the log and operation and maintenance request to the terminal of the operation and maintenance object through various methods such as email, SMS and operation and maintenance APP notification to notify the operation and maintenance object. After receiving the operation and maintenance request notification, the operation and maintenance object analyzes the log and obtains the repair plan; at the same time, the operation and maintenance time is set through the operation and maintenance APP.
[0078] Among them, the repair plan includes but is not limited to: program upgrade or Web configuration, etc. Then, after obtaining the operation and maintenance time and the repair plan, the operation and maintenance time can be returned to the low-power device, so that the low-power device can remotely repair the low-power device according to the repair plan during the operation and maintenance time.
[0079] Through this embodiment, a more efficient, fast and more user-friendly notification and appointment mechanism is provided; when there is an operation and maintenance demand, the cloud platform can notify the operation and maintenance object through multiple channels such as email, SMS and operation and maintenance APP, thereby reducing the operation and maintenance cost.
[0080] In some of the embodiments, determining the operation and maintenance time includes the following steps:
[0081] Book one or more maintenance times from the terminal's maintenance app;
[0082] Or, set the operation and maintenance time according to the delay time;
[0083] Or, adjust the operation and maintenance time set last time.
[0084] Specifically, the operation and maintenance time can be determined in a variety of ways, including but not limited to reserving one or more operation and maintenance times from the terminal's operation and maintenance APP, setting the operation and maintenance time according to the delay time, and adjusting the last set operation and maintenance time.
[0085] Among them, the operation and maintenance time can be reserved through the operation and maintenance APP, and multiple time points can be reserved, such as 12:00, 12:30, 14:00, etc. If necessary, the operation and maintenance time can also be set according to the delay time through the operation and maintenance APP. If necessary, the operation and maintenance time can also be adjusted through the operation and maintenance APP. The cloud platform will notify the adjusted operation and maintenance time after the low-power device logs in to the cloud platform next time, so that the low-power device can receive the new operation and maintenance time.
[0086] Through this embodiment, the operation and maintenance time is determined in a variety of ways, which is convenient to use and significantly improves the operation and maintenance efficiency.
[0087] In some of the embodiments, the remote operation and maintenance method of the low-power device further includes the following steps:
[0088] When the low-power device supports dual-SIM single standby, the first communication card is registered with the first operator network and dials by default; the second communication card is in an unpowered state;
[0089] Or, when the low-power device supports dual-SIM dual-standby, by default the first communication card registers the first operator network and dials; the second communication card registers the second first operator network and stands by.
[0090] Specifically, the low-power device supports dual-card single standby or dual-card dual standby. Dual-card single standby means that the first communication card is registered with the first operator network and dials by default; the second communication card is in an unpowered state. Dual-card dual standby means that the first communication card is registered with the first operator network and dials by default; the second communication card is registered with the second first operator network and is on standby. The first communication card may be SIM card 1; the second communication card may be SIM card 2. In other words: SIM card 1 is in working state, the communication module builds a service link with the cloud platform through the base station, and transmits interactive data such as video data through the service link. At this time, SIM card 2 is not powered on or on standby. SIM card 2 is powered on and activated. At this time, the communication module builds an operation and maintenance link with the cloud platform through the base station, and transmits operation and maintenance related data through the operation and maintenance link. In other embodiments, SIM card 1 and SIM card 2 can be interchangeable, and there is no restriction on this.
[0091] Through this embodiment, the low-power consumption device supports multiple card holding modes, thereby improving applicable scenarios.
[0092] In some of the embodiments, the remote operation and maintenance method of the low-power device further includes the following steps:
[0093] Determine whether a streaming request from the cloud platform has been received;
[0094] If no streaming request is received, it enters low-power mode and maintains a heartbeat connection with the cloud platform;
[0095] If a stream pull request is received, the low-power device is awakened to obtain offline configuration information; and whether the low-power device is offline is determined based on the offline configuration information.
[0096] Specifically, the stream pull request from the cloud platform indicates that the cloud platform requests video data from the low-power device; when there is a stream pull request, the low-power device will be awakened. The low-power device first determines whether it has received the stream pull request from the cloud platform; if it has not received the stream pull request, it enters low-power mode, maintains a heartbeat connection with the cloud platform, and periodically sends heartbeat packets to the cloud platform through the base station, and the cloud platform replies to the heartbeat packet through the base station. If a stream pull request is received, the low-power device is awakened to obtain offline configuration information related to offline detection, and determine whether the low-power device is offline based on the offline configuration information.
[0097] Through this embodiment, the energy loss of low-power consumption equipment is reduced.
[0098] In some of the embodiments, determining whether the low-power consumption device is offline according to the offline configuration information includes the following steps:
[0099] Determine whether the low power offline detection enable is turned on;
[0100] If it is enabled, confirm whether the first communication card is online based on the maximum offline timeout in the offline configuration information;
[0101] If the first communication card is online, the low-power device is online;
[0102] If the first communication card is not online, self-recovery measures are performed.
[0103] Specifically, the offline configuration information includes but is not limited to the processor wake-up interval, offline detection mode (normal power consumption or low power consumption), maximum offline timeout, low power offline detection enable, etc. If the information in the offline configuration information indicates that the low power offline detection enable is not turned on, then the process ends. If it is turned on, based on the maximum offline timeout in the offline configuration information, confirm whether the first communication card is online; if the first communication card is still online before the maximum offline timeout is reached, the low power device is online and starts to transmit video data; if the first communication card is still not online after the maximum offline timeout is reached, it is considered that the first communication card is not online, and self-recovery measures are taken to self-recover the first communication card alternately through soft reset (switching RF) and soft restart (module power-on restart).
[0104] Through this embodiment, if self-recovery measures are performed offline after waking up, the energy consumption of the low-power device is further reduced and the operating time is increased.
[0105] The present embodiment is described and illustrated below through preferred embodiments.
[0106] Figure 5 is a preferred flow chart of the remote operation and maintenance method of the low-power device of this embodiment, such as Figure 5 As shown, the remote operation and maintenance method of the low-power device includes the following steps:
[0107] 1. The low-power device is powered on and initialized. 2. The low-power device is dual-SIM dual-standby. SIM card 1 registers the first operator network and dials; SIM card 2 is only registered. The terminal initiates a stream pull request and transmits the stream pull request to the low-power device through the cloud platform. 3. Determine whether the stream pull request from the cloud platform is received. 4. If no stream pull request is received, maintain a heartbeat connection with the cloud platform. 5. If a stream pull request is received, wake up the low-power device and obtain offline configuration information; determine whether the low-power device is offline based on the offline configuration information; 6. If the low-power device is not offline, transmit the video stream to the terminal. 7. If the low-power device is offline, perform self-recovery measures. 8. Determine whether the recovery actions of soft reset and soft restart have been executed once, or it is offline. 9. Obtain logs and save them to SD card or eMMC. 10. Switch to SIM card 2 to initiate dialing, and transmit the operation and maintenance request and logs to the terminal through the base station and cloud platform. 11. Analyze the logs and schedule the operation and maintenance time (multiple time points are possible). 12. Return the operation and maintenance time to the low-power device. 13. Save the operation and maintenance time, and set the most recent operation and maintenance time to the RTC timer. 14. Before the operation and maintenance time arrives, switch to SIM card 1 and start the self-recovery measures; if the self-recovery measures are successful, end the remote operation and maintenance (send and receive operation and maintenance notifications to the terminal). 15. If the self-recovery measures fail and the operation and maintenance time arrives, switch back to SIM card 1 to initiate dialing, log in to the device to send a remote operation and maintenance notification. 16. Determine whether the remote operation and maintenance notification is received; if not, return to 13. If received, start remote operation and maintenance.
[0108] The above preferred implementation scheme solves the problem of low operation and maintenance efficiency and high operation and maintenance costs caused by the need for personnel to go to the site to locate the network failure. In addition, by taking self-recovery measures before the operation and maintenance time, it can not only meet the remote operation and maintenance needs in a timely manner, but also try to self-recover to solve the problem of business link disconnection to the greatest extent. It also provides a more efficient, fast and more humane notification and appointment mechanism; when there is an operation and maintenance demand, the cloud platform can notify the operation and maintenance object through multiple channels such as email, SMS and operation and maintenance APP, thereby reducing the operation and maintenance cost.
[0109] It should be noted that the steps shown in the above process or the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0110] In this embodiment, a remote operation and maintenance device for a low-power device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and will not be repeated hereafter. The terms "module", "unit", "subunit", etc. used below may implement a combination of software and / or hardware for a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0111] Figure 6 is a structural block diagram of the remote operation and maintenance device of the low-power device of this embodiment, such as Figure 6 As shown, the device includes: a construction module 210, a transmission module 220, a self-recovery module 230 and a repair module 240;
[0112] The construction module 210 is used to obtain the log of the low-power device when the self-recovery measure of the low-power device offline fails; and switch the first communication card to the second communication card, and establish an operation and maintenance link through the connection between the base station and the cloud platform;
[0113] The transmission module 220 is used to transmit the operation and maintenance request and log to the cloud platform through the operation and maintenance link, and return the set operation and maintenance time;
[0114] The self-recovery module 230 is used to switch to the first communication card and start the self-recovery measure before the operation and maintenance time arrives; if the self-recovery measure is successful, the remote operation and maintenance is terminated;
[0115] The repair module 240 is used to switch back to the second communication card and remotely repair the low-power device through the operation and maintenance link if the self-recovery measure fails and the operation and maintenance time arrives.
[0116] In some of the embodiments, the self-recovery measure is: obtaining recovery configuration information of the low-power consumption device;
[0117] Based on the soft reset and soft start in the recovery configuration information, corresponding recovery actions are performed alternately.
[0118] In some of the embodiments, the remote operation and maintenance apparatus for low-power consumption equipment further includes: a notification module;
[0119] The notification module is used to forward the operation and maintenance requests and logs to the terminals of the operation and maintenance objects through the cloud platform in the form of emails, text messages, and operation and maintenance APP notifications;
[0120] Based on the logs, the operation and maintenance time and repair plan are determined, and the operation and maintenance time is returned to the low-power device.
[0121] In some of the embodiments, the notification module is further used to schedule one or more operation and maintenance times from the operation and maintenance APP of the terminal;
[0122] Or, set the operation and maintenance time according to the delay time;
[0123] Or, adjust the operation and maintenance time set last time.
[0124] In some of the embodiments, the remote operation and maintenance apparatus for low-power consumption equipment further includes: a selection module;
[0125] A selection module is used for, when the low-power device supports dual-SIM single standby, registering the first communication card with the first operator network and dialing by default; and the second communication card is in an unpowered state;
[0126] Or, when the low-power device supports dual-SIM dual-standby, by default the first communication card registers the first operator network and dials; the second communication card registers the second first operator network and stands by.
[0127] In some of the embodiments, the remote operation and maintenance device for low-power consumption equipment further includes: a judgment module;
[0128] A judgment module is used to judge whether a streaming request from the cloud platform has been received;
[0129] If no streaming request is received, it enters low-power mode and maintains a heartbeat connection with the cloud platform;
[0130] If a stream pull request is received, the low-power device is awakened to obtain offline configuration information; and whether the low-power device is offline is determined based on the offline configuration information.
[0131] In some of the embodiments, the determination module is further used to determine whether the low power offline detection enable is turned on;
[0132] If it is enabled, confirm whether the first communication card is online based on the maximum offline timeout in the offline configuration information;
[0133] If the first communication card is online, the low-power device is online;
[0134] If the first communication card is not online, self-recovery measures are performed.
[0135] It should be noted that the above modules can be functional modules or program modules, and can be implemented by software or hardware. For modules implemented by hardware, the above modules can be located in the same processor; or the above modules can be located in different processors in any combination.
[0136] In this embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0137] Optionally, the computer device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0138] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:
[0139] S1, when the self-recovery measures of the low-power device offline fail, obtain the log of the low-power device; and switch the first communication card to the second communication card, and establish an operation and maintenance link through the connection between the base station and the cloud platform;
[0140] S2, transmits the operation and maintenance request and logs to the cloud platform through the operation and maintenance link, and returns the set operation and maintenance time;
[0141] S3, before the operation and maintenance time arrives, switch to the first communication card and start the self-recovery measure; if the self-recovery measure is successful, end the remote operation and maintenance;
[0142] S4: If the self-recovery measure fails and the operation and maintenance time has arrived, the second communication card is switched back to remotely repair the low-power device through the operation and maintenance link.
[0143] It should be noted that the specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementation modes, and will not be repeated in this embodiment.
[0144] In addition, in combination with the remote operation and maintenance method of the low-power device provided in the above embodiment, a storage medium can also be provided in this embodiment to implement. The storage medium stores a computer program; when the computer program is executed by the processor, any remote operation and maintenance method of the low-power device in the above embodiment is implemented.
[0145] It should be noted that the information and data involved in this application are all authorized by the user or fully authorized by all parties and will be used legally.
[0146] It should be understood that the specific embodiments described herein are only used to explain the application, rather than to limit it. Based on the embodiments provided in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the protection scope of this application.
[0147] Obviously, the drawings are only some examples or embodiments of the present application. For ordinary technicians in the field, the present application can also be applied to other similar situations based on these drawings without creative work. In addition, it is understandable that although the work done in this development process may be complicated and lengthy, for ordinary technicians in the field, certain changes in design, manufacturing or production based on the technical content disclosed in this application are only conventional technical means and should not be regarded as insufficient content disclosed in this application.
[0148] The term "embodiment" in this application refers to a specific feature, structure or characteristic described in conjunction with the embodiment that can be included in at least one embodiment of the present application. The appearance of this phrase in various locations in the specification does not necessarily mean the same embodiment, nor does it mean that it is mutually exclusive with other embodiments and is independent or optional. It is clearly or implicitly understood by those of ordinary skill in the art that the embodiments described in this application can be combined with other embodiments without conflict.
[0149] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of patent protection. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the scope of protection of the present application. Therefore, the scope of protection of the present application shall be subject to the attached claims.
Claims
1. A remote operation and maintenance method for low-power consumption equipment, characterized in that: Applicable to remote operation and maintenance system; the remote operation and maintenance system includes low-power consumption equipment, base stations and cloud platforms; The communication module of the low-power device is connected to the cloud platform through the base station; The communication module has a first communication card and a second communication card built in; the method comprises: When the self-recovery measure of the low-power device offline fails, obtaining the log of the low-power device; and switching the first communication card to the second communication card, and establishing an operation and maintenance link through the connection between the base station and the cloud platform; Transmitting the operation and maintenance request and the log to the cloud platform through the operation and maintenance link, and returning the set operation and maintenance time; Before the operation and maintenance time arrives, switch to the first communication card and start the self-recovery measure; if the self-recovery measure is successful, end the remote operation and maintenance; If the self-recovery measure fails and the operation and maintenance time is reached, the second communication card is switched back to remotely repair the low-power device through the operation and maintenance link.
2. The remote operation and maintenance method of low-power consumption equipment according to claim 1, characterized in that: The self-recovery measures are: Obtaining recovery configuration information of the low-power device; Based on the soft reset and soft start in the recovery configuration information, corresponding recovery actions are performed alternately.
3. The remote operation and maintenance method of low-power consumption equipment according to claim 1, characterized in that: The method further comprises: Forwarding the operation and maintenance request and the log to the terminal of the operation and maintenance object through the cloud platform in the form of email, SMS and operation and maintenance APP notification; Based on the log, an operation and maintenance time and a repair plan are determined, and the operation and maintenance time is returned to the low-power consumption device.
4. The remote operation and maintenance method of low-power consumption equipment according to claim 3, characterized in that: Determine the operation and maintenance time, including: Reserving one or more of the operation and maintenance times from the operation and maintenance APP of the terminal; Or, setting the operation and maintenance time according to the delay time; Or, adjust the operation and maintenance time set last time.
5. The remote operation and maintenance method of low-power consumption equipment according to claim 1, characterized in that: The method further comprises: When the low-power device supports dual-SIM single standby, the first communication card is registered with the first operator network and dials by default; the second communication card is in an unpowered state; Or, when the low-power device supports dual-SIM dual-standby, by default the first communication card registers the first operator network and dials; the second communication card registers the second operator network and stands by.
6. The remote operation and maintenance method of low-power consumption equipment according to claim 1, characterized in that: The method further comprises: Determine whether a streaming request from the cloud platform is received; If the streaming request is not received, the system enters a low power consumption mode and maintains a heartbeat connection with the cloud platform; If the stream pulling request is received, the low-power consumption device is awakened to obtain offline configuration information; and whether the low-power consumption device is offline is determined according to the offline configuration information.
7. The remote operation and maintenance method of low-power consumption equipment according to claim 6, characterized in that: Determining whether the low-power consumption device is offline according to the offline configuration information includes: Determine whether the low power offline detection enable is turned on; If it is enabled, confirm whether the first communication card is online based on the maximum offline timeout in the offline configuration information; If the first communication card is online, the low-power consumption device is online; If the first communication card is not online, self-recovery measures are performed.
8. A remote operation and maintenance device for low-power consumption equipment, characterized in that: Applicable to a remote operation and maintenance system; the remote operation and maintenance system comprises a low-power device, a base station and a cloud platform; the communication module of the low-power device is connected to the cloud platform through the base station; The communication module has a first communication card and a second communication card built in; the device includes: a construction module, a transmission module, a self-recovery module and a repair module; The construction module is used to obtain the log of the low-power device when the self-recovery measure of the low-power device offline fails; and switch the first communication card to the second communication card, and establish an operation and maintenance link through the connection between the base station and the cloud platform; The transmission module is used to transmit the operation and maintenance request and the log to the cloud platform through the operation and maintenance link, and return the set operation and maintenance time; The self-recovery module is used to switch to the first communication card and start the self-recovery measure before the operation and maintenance time is reached; if the self-recovery measure is successful, the remote operation and maintenance is terminated; The repair module is used to switch back to the second communication card if the self-recovery measure fails and the operation and maintenance time is reached, and to remotely repair the low-power consumption device through the operation and maintenance link.
9. A computer device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps of the remote operation and maintenance method for a low-power device according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the remote operation and maintenance method of a low-power device according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Method and apparatus for maintaining multiple communication channels
CN105451254A
Remote operation and maintenance management method and device, equipment and storage medium
CN118300967A