Self-diagnosis method, device, system and program product of cellular equipment

By using the communication link between the gateway and the management platform to obtain log information in the self-diagnosis system of cellular equipment, and combining the first and second log information for fault location, the problem of low fault location efficiency in the prior art is solved, and more efficient fault location and system operation and maintenance stability are achieved.

CN120050688APending Publication Date: 2025-05-27SHENZHEN HONGDIAN TECH CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510199797.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-21
Publication Date
2025-05-27

AI Technical Summary

Technical Problem

In the prior art, when abnormalities occur in embedded cellular equipment, it is difficult to quickly and accurately distinguish equipment problems and business problems, resulting in low fault positioning efficiency and affecting system operation and maintenance stability.

Method used

By introducing a gateway, a first management platform and a second management platform in the self-diagnosis system of the cellular device, the communication link between these platforms is used to obtain the gateway's log information, and fault location is performed in combination with the first log information and the second log information.

Benefits of technology

When an abnormality occurs on the first management platform, it is possible to effectively integrate the log information of the gateway and the log information determined by the first management platform for fusion and positioning, improve the accuracy and speed of fault positioning, and improve the stability of system operation and maintenance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120050688A_ABST
    Figure CN120050688A_ABST
Patent Text Reader

Abstract

The invention relates to the field of Internet of Things, in particular to a self-diagnosis method, device and system for cellular equipment and a program product. The system for self-diagnosis of the cellular equipment comprises a gateway, a first management platform and a second management platform. The method comprises the following steps: the first management platform monitors abnormal first log information; acquiring second log information of the gateway through the second management platform according to a communication link between the first management platform and the second management platform; and the fault of the cellular equipment is positioned according to the first log information and the second log information, so that the accuracy of the determined problem can be effectively improved, the problem can be positioned more quickly, and the operation and maintenance stability of the system is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet of Things, and in particular to a self-diagnosis method, device, system and program product for cellular devices. Background Art

[0002] In the field of Internet of Things, cellular devices (or cellular wireless transmission devices) are widely used for communication connections of Internet of Things applications. In general, Internet of Things applications work around the clock, are unattended, and require reliable network connections. Therefore, a stable cellular communication network and the ability to quickly and accurately locate operational problems of cellular devices are particularly important for Internet of Things systems.

[0003] However, in the current equipment fault diagnosis method, the equipment problem is usually located based on the key operation logs of the core functions. When an embedded cellular device is abnormal, the key operation logs are stored to determine the on-site equipment problem, but it cannot effectively distinguish between equipment problems and business problems, which is not conducive to quickly and accurately locating problems and improving the stability of system operation and maintenance. Summary of the invention

[0004] In view of this, embodiments of the present application provide a self-diagnosis method, apparatus, system, and program product for a cellular device to solve the problems in the prior art.

[0005] A first aspect of an embodiment of the present application provides a self-diagnosis method for a cellular device, characterized in that a system for performing self-diagnosis of a cellular device comprises a gateway, a first management platform, a second management platform, and a storage device, wherein the storage device is used to store log information of the gateway, the gateway is connected to the first management platform, the gateway is connected to the second management platform, the first management platform is connected to the second management platform, and the method comprises:

[0006] The first management platform detects abnormal first log information;

[0007] According to the communication link between the first management platform and the second management platform, obtaining second log information of the gateway through the second management platform;

[0008] The fault of the cellular device is located according to the first log information and the second log information.

[0009] In combination with the first aspect, in a first possible implementation manner of the first aspect, the first management platform is an application management platform, and the second management platform is a device management platform;

[0010] Locating the fault of the cellular device according to the first log information and the second log information includes:

[0011] When the first log information includes a timeout of the gateway responding to a collection instruction of the application management platform, and the second log information includes a gateway abnormality, determining that the fault of the cellular device is a gateway abnormality fault;

[0012] When the first log information includes that the gateway responds to the collection instruction timeout, and the second log information of the device management platform includes that the gateway is normal, the application management platform retrieves the second log information including the business log of the gateway through the device management platform, and locates the fault according to the business log.

[0013] In combination with the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, locating the fault according to the service log includes:

[0014] When the service log includes that the cellular network status of the gateway is normal and the communication link of the lower computer shows a timeout or error, it is determined that the communication between the gateway and the lower computer is faulty;

[0015] Alternatively, when the service log includes a data format exception or a memory exception, determining that the gateway has an internal fault;

[0016] Alternatively, when the service log includes a TCP connection exception or a TCP connection network timeout, it is determined that there is a communication failure between the gateway and the device management platform.

[0017] In combination with the first aspect, in a third possible implementation manner of the first aspect, the first management platform is a device management platform, and the second management platform is an application management platform;

[0018] According to the communication link between the first management platform and the second management platform, obtaining second log information of the gateway through the second management platform includes:

[0019] When the device management platform loses connection with the gateway, querying the application management platform whether the service of the gateway is normal;

[0020] When the service of the gateway is normal, calling the second log information of the gateway, the second log information includes the device log information of the gateway and the service log information obtained by the application management platform;

[0021] Locating the fault of the cellular device according to the first log information and the second log information includes:

[0022] The faults located by the first log information and the second log information are determined according to the pre-trained first fault localization model.

[0023] In combination with the first aspect, in a fourth possible implementation manner of the first aspect, the log information includes at least one of startup log information, initialization log information, wireless test log information, peripheral interface log information, and application application log information.

[0024] In combination with any one of the first aspect to the fourth aspect of the first aspect, in a fifth possible implementation manner of the first aspect, the storage device includes an external storage device and a local storage device, and before obtaining the second log information of the gateway through the second management platform, the method further includes:

[0025] The gateway stores log information of the log management system of the gateway according to the storage policy that the external storage device takes precedence over the local storage device.

[0026] In combination with the fifth possible implementation manner of the first aspect, in a sixth possible implementation manner of the first aspect, after the gateway stores the log information of the log management system of the gateway according to the storage policy that the external storage device takes precedence over the local storage device, the method further includes:

[0027] Detecting whether the log information is abnormal;

[0028] When there is an abnormality in the log information, the abnormal log information is transmitted to the first management platform or the second management platform.

[0029] A second aspect of an embodiment of the present application provides a self-diagnosis device for a cellular device. The system for performing self-diagnosis of a cellular device includes a gateway, a first management platform, a second management platform, and a storage device. The storage device is used to store log information of the gateway. The gateway is connected to the first management platform, the gateway is connected to the second management platform, and the first management platform is connected to the second management platform. The method includes:

[0030] An abnormality monitoring unit, used for detecting abnormal first log information by the first management platform;

[0031] a log information acquisition unit, configured to acquire second log information of the gateway through the second management platform according to a communication link between the first management platform and the second management platform;

[0032] A fault locating unit is used to locate the fault of the cellular device according to the first log information and the second log information.

[0033] A third aspect of an embodiment of the present application provides a self-diagnosis system for a cellular device, 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 self-diagnosis system for the cellular device implements a method as described in any one of the first aspects.

[0034] A fourth aspect of the embodiments of the present application provides a computer program product, which, when executed on a computer, enables the computer to execute the method in the first aspect or its various implementations.

[0035] A fifth aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method described in any one of the first aspects are implemented.

[0036] The sixth aspect of the embodiment of the present application provides a chip for implementing the methods in each implementation of the first aspect. Specifically, the chip includes: a processor for calling and running a computer program from a memory, so that a device equipped with the chip executes the method in the first aspect or its implementation.

[0037] The beneficial effects of the embodiments of the present application compared with the prior art are as follows: the first management platform and the second management platform of the self-diagnosis system of the cellular device in the embodiments of the present application can obtain the log information of the gateway. When the first management platform detects abnormal first log information, the second log information of the gateway is obtained through the second management platform, and the fault is located according to the first log information and the second log information. When an abnormality occurs on the first management platform, the second log information of the gateway and the first log information determined by the first management platform can still be effectively integrated for fusion positioning, which can effectively improve the accuracy of the determined problem, thereby locating the problem more quickly and improving the stability of system operation and maintenance. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0039] Figure 1 It is a schematic diagram of an implementation scenario of a self-diagnosis method for a cellular device provided in an embodiment of the present application;

[0040] Figure 2 It is a schematic diagram of the implementation flow of a log storage method when a gateway is powered on provided in an embodiment of the present application;

[0041] Figure 3 This is a log storage process diagram after a gateway is started up, provided in an embodiment of the present application;

[0042] Figure 4 It is a schematic diagram of the implementation flow of a self-diagnosis method for a cellular device provided in an embodiment of the present application;

[0043] Figure 5 is a schematic diagram of a self-diagnosis device for a cellular device provided in an embodiment of the present application;

[0044] Figure 6 It is a schematic diagram of a self-diagnosis system for a cellular device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0045] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0046] In order to illustrate the technical solution described in this application, a specific embodiment is provided below for illustration.

[0047] In the field of IoT, cellular devices (also called cellular wireless transmission devices) are key components for realizing IoT communication connections and are widely used in various IoT scenarios. These devices usually need to operate 24 / 7, unattended, and rely on reliable network connections to ensure stable data transmission. Therefore, the stability of the cellular communication network and the ability to quickly and accurately locate cellular device operation problems are crucial to the efficient operation of the IoT system.

[0048] However, existing equipment fault diagnosis methods have certain limitations. These methods usually rely on key operation logs of core functions to locate equipment problems. When an embedded cellular device has an abnormality, although the key operation logs can be stored to determine the on-site equipment problem, this method is not conducive to effectively distinguishing equipment problems from business problems. This makes it difficult to quickly and accurately locate the root cause of the problem in actual operation and maintenance, thus affecting the overall operation and maintenance efficiency and stability of the system.

[0049] To solve the above problems, the present application embodiment proposes a self-diagnosis method for a cellular device. Figure 1The figure is a schematic diagram of the implementation scenario of the method. The implementation scenario includes a device management platform (DMP in English, the full name is Device Management Platform in English), an application management platform (AMP in English, the full name is Application Management Platform in English), a gateway (GW in English, the full name is Gateway in English) and a storage device. Among them, the device management platform and the application management platform can push information to each other, the device management platform and the gateway can communicate through HMP (Human Monitor Protocol), and the application management platform and the gateway can communicate through TCP protocol, MQTT protocol or GB28281 protocol.

[0050] The gateway may include a peripheral interface, which may include at least one of an RJ45 interface, an RS232 interface, an RS485 interface, a USB interface, and a TF card interface. Among them, the RJ45 interface, the RS232 interface, and the RS485 interface can be used to access serial terminals such as IoT devices so that the IoT devices can be connected to the network through the gateway, or can also be connected to a lower computer, and the lower computer includes a camera and a PC. The USB interface and the TF card interface can be used to access external storage devices, including U disks, TF cards, etc. The application can be encrypted through an external storage device. In addition, the gateway may also include a wireless communication module, and the network is accessed through the wireless communication module. The wireless communication module may include a Wifi module, a 4G module, or a 5G module. After the gateway is connected to the network, the gateway can transmit data to the device management platform or the application management platform according to different needs. For example, data such as device status information, device attribute data, and device operation log data can be transmitted to the device management platform. Data such as business data, analysis data, control instruction feedback data, and application logs are transmitted to the application management platform.

[0051] The application management platform and the device management platform can communicate through the API to conduct joint analysis of faults, thereby obtaining more accurate fault location results.

[0052] The log information in the embodiment of the present application may include at least one of startup log information, initialization log information, wireless test log information, peripheral interface log information, application application log information and other log information.

[0053] The startup log may include boot startup log information and kernel startup log information, and the initialization log information may include the initialization log information of the gateway. Figure 2In the log information storage diagram when the gateway is started, when the gateway is started, the startup log information and the initialization log information can be stored locally, that is, stored locally in the gateway. After the gateway is started, it can be detected whether the gateway is connected to the network. If the gateway is connected to the network, the startup log information and the initialization log information can be sent to the device management platform. If the gateway is not connected to the network, the log information can be exported through an external storage device, including the export of the startup log information and the initialization log information, so that the log information can be effectively saved in the event of a power outage.

[0054] After the gateway is powered on, it enters the boot and kernel startup stages. In the initialization stage, environment variables are loaded, functions are pulled up, interfaces are mounted, etc. In order to accurately monitor the stability of the system, the log information of the gateway startup is stored and monitored. If the startup log information determines that the startup speed is slower than normal, or other abnormalities occur during the startup, it can be obtained remotely through the device management platform after the gateway is restored or the startup is completed, or exported and analyzed locally through the network port / serial port / USB port, etc.

[0055] After the gateway is started, Figure 3 In the log information storage process diagram shown, the log management system in the gateway obtains the device log information and business log information of the gateway. When it is detected that the gateway is connected to an external storage device, the device log information and business log information are stored in the external storage device of the gateway. If the gateway is not connected to an external storage device, the log information, including the device log information and the business log information, can be stored in the local storage device of the gateway. When the log information is stored in the local storage device, the frequency of writing log data to the local storage device can be increased by polling the memory size when the memory usage is high to reduce the amount of log information cached in the memory; or, a batch write operation of the log information can be triggered to free up memory space. If the memory usage is low, the frequency of writing log information to the local storage can be reduced to avoid frequent disk I / O operations affecting system performance.

[0056] After the log information is stored, it can be detected whether there is an abnormality in the log information. If there is an abnormality, the log information with the abnormality can be sent to the management platform, including sending the abnormal device log information to the device management platform and sending the abnormal business log information to the application management platform. If there is no abnormality in the log information, it can be stored locally on the gateway and can be used for the device management platform and the application management platform to call.

[0057] After the device is initialized, the gateway can be connected to the external storage device. After the internal system functions are running normally, the log management system will also be running. The core application of the log management system is to manage the logs of all functional units in the gateway, perform statistics according to the time unit function, and read the log information according to the predetermined storage rules and the predetermined reading rules. The reading rules can include active log push and passive log storage reading according to the difference in log levels.

[0058] For example, the log level can include full log level, business log level and exception log level. Among them, the full-time level log information is used to store all the operation status of the gateway from startup to power-off. The business log level log information is used to store the core business communication content log, such as the channel data transmission of the data transmission unit (DTU), the operation status and data status of the container application (DOCKER APP), etc. Abnormal log level: system log with abnormal fields. Business alarm log, etc.

[0059] Log information of different levels can be stored according to pre-set storage priorities.

[0060] For example, the storage priority can be: First, the log management system will determine the best log storage condition. The best log storage condition is the external storage device of the gateway, and then it is stored in the local storage device of the gateway, and then it is stored in the management platform. External storage devices can include USB flash drives, TF cards, and customer lower-level computer storage, etc. USB flash drives and TF cards belong to the content of the gateway interface department, and logs can be directly stored in USB flash drives and TF cards through the log management system. Lower-level computer logs need to be transmitted based on the southbound unified interface protocol. For example, between the serial port device in the gateway and the Ethernet device, the log information monitored by the gateway can be transmitted to the lower-level computer through TCP / IP. When the log management system detects that the various functions of the system have abnormal log information output, the stored abnormal log information can be sent to the device management platform or application management platform according to the current network situation, or stored in the local storage device of the gateway.

[0061] After the gateway establishes a link with the built-in northbound protocol and the management platform, it regularly packages and compresses the log information stored in the gateway and transmits it to the northbound management platform in a scheduled manner or according to the size of the log data packet (that is, only one of the time and size needs to be met to trigger active reporting).

[0062] In the passive upload mode, the management platform can issue log information acquisition instructions, and the log information can be reported on demand according to the instructions.

[0063] The wireless test log information may include the operating status information of the modem (moden), Wifi module, and Wan module, the operating performance information of the modem (moden), Wifi module, and Wan module, and the network judgment key log information of the modem (moden), Wifi module, and Wan module.

[0064] The peripheral device interface log information may include interface connection status log information and peripheral device operation status management log information.

[0065] The application log information may include application running status detection information and application running data packet information.

[0066] Other log information may include VPN log information and time synchronization log information.

[0067] In addition, the gateway in the embodiment of the present application can also determine whether the device management platform is running normally through the device management platform application. If the device management platform is running normally, the log information of the device management platform application can be stored locally in the gateway. If the device management platform is not running normally, the abnormal device log information can be pushed to the AEB (application performance management) platform and stored locally in the gateway.

[0068] Figure 4 A schematic diagram of a self-diagnosis method for a cellular device according to an embodiment of the present application is provided. The system for self-diagnosis of a cellular device can be as follows: Figure 1 As shown, the first device may be a device management platform, and the second device may be a service management platform, or the first device may be an application management platform, and the second device may be a device management platform. The method includes:

[0069] In S401, the first management platform detects abnormal first log information.

[0070] The first management platform in the embodiment of the present application may be a device management platform, or may be an application management platform.

[0071] When the first management platform is a device management platform, the first log information of the abnormality detected may include abnormal information that the device management platform loses connection with the gateway. When the first management platform is an application management platform, the first log information of the abnormality detected may include abnormal information that the application management platform loses connection with the gateway.

[0072] In S402, second log information of the gateway is obtained through the second management platform according to the communication link between the first management platform and the second management platform.

[0073] When the device management platform detects the abnormal first log information that the device management platform has lost contact with the gateway, the device management platform can send a service query request to the application management platform based on the communication link between the device management platform and the application management platform to determine whether the service corresponding to the gateway is normal. If the service corresponding to the gateway is normal, it can indicate that the wireless channel of the gateway is normal. The application management platform can actively retrieve the second log information of the gateway. The second log information may include the device log information of the gateway and the service log information obtained by the application management platform. The log information of the gateway includes the status of the gateway and the abnormal log information of the gateway. The service log information obtained by the application management platform includes the service status information and the log information of the service abnormality. The application management platform pushes the second log information to the device management platform.

[0074] When the application management platform detects the abnormal first log information that the application management platform and the gateway have lost contact, it is assumed that the gateway and the application management platform transmit industrial data based on the modbus protocol through the TCP protocol. After the application management platform detects that the data collection issued based on the modbus protocol has timed out, the application management platform may think that there is a problem with the service transmitted based on the modbus protocol, but it cannot be determined whether the cellular disconnection of the gateway caused the TCP disconnection, or the lower computer crashed, causing the lower computer to receive data based on the modbus protocol without replying. Therefore, it is necessary to conduct a comprehensive analysis in combination with the first log information and the second log information.

[0075] In S403, the fault of the cellular device is located according to the first log information and the second log information.

[0076] In the embodiment of the present application, when an abnormal first log information is detected on the device management platform, such as when the device management platform is detected to be disconnected, the device management platform may send a query request to the application management platform based on the communication link between the device management platform and the application management platform to query whether the gateway's business is normal. If the gateway's business is normal, the gateway's second log information is obtained through the application management platform, and the second log information includes the gateway's log information and the gateway's business log information obtained by the application management platform. The first log information and the second log information may be input into a pre-trained first fault location model to determine the faults located by the first log information and the second log information.

[0077] The first fault location model can be trained based on sample data of the determined fault location, and the sample data includes the first log information, the second log information, and the fault location information corresponding to the first log information and the second log information. The first log information and the second log information are input into the first fault location model, so that the model calculates and outputs the fault location information, and the fault location information output by the model is compared with the fault location information in the sample data, and the first fault location model is adjusted according to the deviation between the two, until the deviation between the two meets the preset requirements, thereby completing the training of the first fault location model.

[0078] In the embodiment of the present application, when the application management platform detects abnormal first log information, such as when the business management platform detects that the business data is offline, including missing modbus data, the business management platform can determine whether the cellular device and the gateway are operating normally by communicating with the device management platform. If the communication is normal, the gateway log can be retrieved through the device management platform to analyze the reason why the modbus data inside the cellular device is not transmitted to the application management platform, that is, the gateway log is captured by the device management platform to analyze the fault point. If the device management platform is not online, that is, the device management platform is also offline, the fault point may be the gateway.

[0079] When the first log information includes a gateway collection instruction timeout, and the second log information obtained by the application management platform through the device management platform includes that the gateway is normal, the application management platform can locate the business fault according to the business log through the second log information including the business log of the gateway obtained by the device management platform.

[0080] Among them, locating a service fault based on the service log may include:

[0081] If the business log content includes that the cellular network status is normal and the lower computer communication link shows timeout or error, it means that the network function between the gateway and the management platform is not faulty, and there is a problem with the communication link between the gateway and the lower computer (such as serial port, network port, etc.).

[0082] If the business log information includes data format anomalies, such as when the gateway processes data and finds that the data format does not meet expectations, it may be that the data is parsed incorrectly or tampered with during data transmission. Or if there is a memory anomaly, such as a problem with the gateway's memory usage, it may be a memory leak, insufficient memory, or memory corruption. Then it can be determined that the gateway has an internal fault.

[0083] If the service log content includes TCP connection abnormalities, that is, there is a problem with the TCP connection between the gateway and the device management platform (DMP), which may be a connection interruption or connection abnormality, or a TCP connection network timeout, that is, the network connection delay between the gateway and the DMP is too high or completely interrupted, then it is determined that the gateway and the device management platform have communication failures.

[0084] Alternatively, in a possible implementation, the embodiment of the present application may also use a pre-trained second fault localization model to calculate the fault localization information corresponding to the first log information and the second log information.

[0085] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0086] Figure 5 A schematic diagram of a self-diagnosis device for a cellular device provided in an embodiment of the present application, wherein the system for performing self-diagnosis of a cellular device comprises a gateway, a first management platform, a second management platform, and a storage device, wherein the storage device is used to store log information of the gateway, the gateway is connected to the first management platform, the gateway is connected to the second management platform, the first management platform is connected to the second management platform, and the device comprises:

[0087] An abnormality monitoring unit 501 is used for detecting abnormal first log information detected by the first management platform;

[0088] The log information obtaining unit 502 is used to obtain the second log information of the gateway through the second management platform according to the communication link between the first management platform and the second management platform;

[0089] The fault locating unit 502 is configured to locate the fault of the cellular device according to the first log information and the second log information.

[0090] Figure 5 The self-diagnostic device of the cellular device shown is Figure 2 The self-diagnosis method of the cellular device shown corresponds to the above.

[0091] Figure 6 Schematic diagram of a self-diagnosis system for a cellular device provided in an embodiment of the present application. Figure 6 As shown, the self-diagnosis system 6 of the cellular device of this embodiment includes: a processor 60, a memory 61, and a computer program 62 stored in the memory 61 and executable on the processor 60, such as a self-diagnosis program of the cellular device. When the processor 60 executes the computer program 62, the steps of the self-diagnosis method embodiments of the above-mentioned cellular device are implemented. Alternatively, when the processor 60 executes the computer program 62, the functions of each module / unit in the above-mentioned device embodiments are implemented.

[0092] Exemplarily, the computer program 62 may be divided into one or more modules / units, which are stored in the memory 61 and executed by the processor 60 to complete the present application. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program 62 in the self-diagnosis system 6 of the cellular device.

[0093] The self-diagnosis system 6 of the cellular device can be a computing device such as a desktop computer, a notebook, a PDA, and a cloud server. The self-diagnosis system of the cellular device can include, but is not limited to, a processor 60 and a memory 61. Those skilled in the art can understand that Figure 6 It is only an example of a self-diagnosis system 6 for a cellular device and does not constitute a limitation on the self-diagnosis system 6 for a cellular device. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the self-diagnosis system for the cellular device may also include input and output devices, network access devices, buses, etc.

[0094] The processor 60 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0095] The memory 61 may be an internal storage unit of the self-diagnosis system 6 of the cellular device, such as a hard disk or memory of the self-diagnosis system 6 of the cellular device. The memory 61 may also be an external storage device of the self-diagnosis system 6 of the cellular device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the self-diagnosis system 6 of the cellular device. Further, the memory 61 may also include both the internal storage unit of the self-diagnosis system 6 of the cellular device and an external storage device. The memory 61 is used to store the computer program and other programs and data required by the self-diagnosis system of the cellular device. The memory 61 may also be used to temporarily store data that has been output or is to be output.

[0096] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0097] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0098] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0099] In the embodiments provided in the present application, it should be understood that the disclosed devices / terminal equipment and methods can be implemented in other ways. For example, the device / terminal equipment embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0100] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0101] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0102] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the process in the above-mentioned embodiment method, and can also be completed by hardware related to computer program instructions. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0103] In addition, an embodiment of the present application also provides a computer program product, which, when executed on a computer, enables the computer to execute the methods in the above-mentioned implementation modes.

[0104] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A self-diagnosis method for a cellular device, characterized in that: A system for performing self-diagnosis of a cellular device includes a gateway, a first management platform, a second management platform, and a storage device, wherein the storage device is used to store log information of the gateway, the gateway is connected to the first management platform, the gateway is connected to the second management platform, the first management platform is connected to the second management platform, and the method includes: The first management platform detects abnormal first log information; According to the communication link between the first management platform and the second management platform, obtaining second log information of the gateway through the second management platform; The fault of the cellular device is located according to the first log information and the second log information.

2. The method according to claim 1, characterized in that The first management platform is an application management platform, and the second management platform is a device management platform; Locating the fault of the cellular device according to the first log information and the second log information includes: When the first log information includes a timeout of the gateway responding to a collection instruction of the application management platform, and the second log information includes a gateway abnormality, determining that the fault of the cellular device is a gateway abnormality fault; When the first log information includes that the gateway responds to the collection instruction timeout, and the second log information of the device management platform includes that the gateway is normal, the application management platform retrieves the second log information including the business log of the gateway through the device management platform, and locates the fault according to the business log.

3. The method according to claim 2, characterized in that Perform fault location according to the service log, including: When the service log includes that the cellular network status of the gateway is normal and the communication link of the lower computer shows a timeout or error, it is determined that the communication between the gateway and the lower computer is faulty; Alternatively, when the service log includes a data format exception or a memory exception, determining that the gateway has an internal fault; Alternatively, when the service log includes a TCP connection exception or a TCP connection network timeout, it is determined that there is a communication failure between the gateway and the device management platform.

4. The method according to claim 1, characterized in that The first management platform is a device management platform, and the second management platform is an application management platform; According to the communication link between the first management platform and the second management platform, obtaining second log information of the gateway through the second management platform includes: When the device management platform loses connection with the gateway, querying the application management platform whether the service of the gateway is normal; When the service of the gateway is normal, calling the second log information of the gateway, the second log information includes the device log information of the gateway and the service log information obtained by the application management platform; Locating the fault of the cellular device according to the first log information and the second log information includes: The faults located by the first log information and the second log information are determined according to the pre-trained first fault localization model.

5. The method according to claim 1, characterized in that: The log information includes at least one of startup log information, initialization log information, wireless test log information, peripheral interface log information and application application log information.

6. The method according to any one of claims 1 to 5, characterized in that: The storage device includes an external storage device and a local storage device. Before obtaining the second log information of the gateway through the second management platform, the method further includes: The gateway stores log information of the log management system of the gateway according to the storage policy that the external storage device takes precedence over the local storage device.

7. The method according to claim 6, characterized in that After the gateway stores the log information of the log management system of the gateway according to the storage policy that the external storage device takes precedence over the local storage device, the method further includes: Detecting whether the log information is abnormal; When there is an abnormality in the log information, the abnormal log information is transmitted to the first management platform or the second management platform.

8. A self-diagnosis device for a cellular device, characterized in that: A system for performing self-diagnosis of a cellular device includes a gateway, a first management platform, a second management platform, and a storage device, wherein the storage device is used to store log information of the gateway, the gateway is connected to the first management platform, the gateway is connected to the second management platform, the first management platform is connected to the second management platform, and the device includes: An abnormality monitoring unit, used for detecting abnormal first log information by the first management platform; a log information acquisition unit, configured to acquire second log information of the gateway through the second management platform according to a communication link between the first management platform and the second management platform; A fault locating unit is used to locate the fault of the cellular device according to the first log information and the second log information.

9. A self-diagnosis system for a cellular device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the self-diagnosis system of the cellular device implements the method according to any one of claims 1 to 7.

10. A computer program product comprising computer program instructions, characterized in that When the computer program is executed, the method according to any one of claims 1 to 7 is performed.