CN114244681B - Equipment connection fault early warning method and device, storage medium and electronic equipment - Google Patents

Equipment connection fault early warning method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN114244681B
CN114244681B CN202111569883.4A CN202111569883A CN114244681B CN 114244681 B CN114244681 B CN 114244681B CN 202111569883 A CN202111569883 A CN 202111569883A CN 114244681 B CN114244681 B CN 114244681B
Authority
CN
China
Prior art keywords
early warning
target
parameter
value
mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111569883.4A
Other languages
Chinese (zh)
Other versions
CN114244681A (en
Inventor
王勇钦
赖祖宏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202111569883.4A priority Critical patent/CN114244681B/en
Publication of CN114244681A publication Critical patent/CN114244681A/en
Application granted granted Critical
Publication of CN114244681B publication Critical patent/CN114244681B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0604Management of faults, events, alarms or notifications using filtering, e.g. reduction of information by using priority, element types, position or time
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • H04L43/0829Packet loss
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application discloses a device connection fault early warning method, a device, a storage medium and electronic equipment, and relates to the technical field of Internet of things, wherein the method comprises the following steps: receiving router signal intensity and packet loss rate uploaded by target equipment; acquiring offline times of the target equipment in a target time period, and acquiring target early warning parameters; calculating based on the target early warning parameter, the router signal strength, the packet loss rate and the offline times to obtain an early warning value; and determining an early warning mode of the target equipment according to the early warning value, and executing fault early warning operation corresponding to the early warning mode. The method and the device can improve the reliability of equipment connection fault early warning.

Description

Equipment connection fault early warning method and device, storage medium and electronic equipment
Technical Field
The application relates to the technical field of the internet of things, in particular to a device connection fault early warning method and device, a storage medium and electronic equipment.
Background
Along with the development of the Internet of things, various equipment layers are endless, various faults are necessarily existed under the existence of a large number of equipment, and the method has important significance for timely early warning of the faults of the equipment. At present, the device connection fault early warning mode is usually based on a fixed early warning mode, so that the fault is frequently misreported and missed, and early warning cannot be reliably performed.
Disclosure of Invention
The embodiment of the application provides a scheme which can improve the reliability of equipment connection fault early warning.
The embodiment of the application provides the following technical scheme:
according to one embodiment of the application, a device connection fault early warning method includes: receiving router signal intensity and packet loss rate uploaded by target equipment; acquiring offline times of the target equipment in a target time period, and acquiring target early warning parameters; calculating based on the target early warning parameter, the router signal strength, the packet loss rate and the offline times to obtain an early warning value; and determining an early warning mode of the target equipment according to the early warning value, and executing fault early warning operation corresponding to the early warning mode.
In some embodiments of the present application, the target early warning parameters include a first parameter, a second parameter, and a third parameter; the calculating based on the target early warning parameter, the router signal strength, the packet loss rate and the offline times to obtain an early warning value comprises the following steps: multiplying the offline times with the first parameter to obtain a first value; summing the router signal strength and the second parameter to obtain an adjustment value; multiplying the adjustment value by the third parameter to obtain a second value; and carrying out summation processing on the first value, the second value and the packet loss rate to obtain the early warning value.
In some embodiments of the present application, the first parameter is less than 1, the second parameter is greater than 1, and the third parameter is less than 0.1.
In some embodiments of the present application, the determining the early warning mode of the target device according to the early warning value includes: and if the early warning value is larger than a first preset threshold value and smaller than a second preset threshold value, determining that the early warning mode of the target equipment is a first mode, wherein the first mode refers to the early warning mode when the target equipment has a suspected fault.
In some embodiments of the present application, the determining the early warning mode of the target device according to the early warning value includes: if the pre-warning values corresponding to the target devices in the preset number are larger than a second preset threshold, determining that the pre-warning mode of the target devices is a second mode, wherein the second mode refers to the pre-warning mode when a server or a network connected with the target devices has a fault suspicion.
In some embodiments of the present application, the target early warning parameters include a first parameter, a second parameter, and a third parameter, the first parameter is less than 1, the second parameter is greater than 1, the third parameter is less than 0.1, the first predetermined threshold is equal to 1, and the second predetermined threshold is equal to 3.
In some embodiments of the present application, the method further comprises: acquiring history early warning information corresponding to the target equipment, wherein the history early warning information comprises early warning mode record information and history equipment use data when the target equipment carries out fault early warning in history; acquiring current equipment use data of the target equipment; and adopting a pre-trained early warning model, and carrying out prediction processing based on the early warning mode record information, the historical equipment use data and the current equipment use data to obtain the predicted target early warning parameters, the first preset threshold and the second preset threshold.
According to one embodiment of the present application, a device connection failure early warning apparatus includes: the receiving module is used for receiving the router signal strength and the packet loss rate uploaded by the target equipment; the acquisition module is used for acquiring the offline times of the target equipment in the target time period and acquiring target early warning parameters; the calculation module is used for carrying out calculation processing based on the target early warning parameter, the router signal strength, the packet loss rate and the online times to obtain an early warning value; and the early warning module is used for determining an early warning mode of the target equipment according to the early warning value and executing fault early warning operation corresponding to the early warning mode.
In some embodiments of the present application, the target early warning parameters include a first parameter, a second parameter, and a third parameter; the computing module comprises: the first calculating unit is used for multiplying the offline times and the first parameter to obtain a first value; the second calculation unit is used for carrying out summation processing on the router signal strength and the second parameter to obtain an adjustment value; the third calculation unit is used for multiplying the adjustment value by the third parameter to obtain a second value; and the fourth calculation unit is used for carrying out summation processing on the first value, the second value and the packet loss rate to obtain the early warning value.
In some embodiments of the present application, the first parameter is less than 1, the second parameter is greater than 1, and the third parameter is less than 0.1.
In some embodiments of the present application, the early warning module includes a first determining unit configured to: and if the early warning value is larger than a first preset threshold value and smaller than a second preset threshold value, determining that the early warning mode of the target equipment is a first mode, wherein the first mode refers to the early warning mode when the target equipment has a suspected fault.
In some embodiments of the present application, the early warning module includes a second determining unit configured to: if the pre-warning values corresponding to the target devices in the preset number are larger than a second preset threshold, determining that the pre-warning mode of the target devices is a second mode, wherein the second mode refers to the pre-warning mode when a server or a network connected with the target devices has a fault suspicion.
In some embodiments of the present application, the target early warning parameters include a first parameter, a second parameter, and a third parameter, the first parameter is less than 1, the second parameter is greater than 1, the third parameter is less than 0.1, the first predetermined threshold is equal to 1, and the second predetermined threshold is equal to 3.
In some embodiments of the present application, the apparatus further comprises an update calculation module for: acquiring history early warning information corresponding to the target equipment, wherein the history early warning information comprises early warning mode record information and history equipment use data when the target equipment carries out fault early warning in history; acquiring current equipment use data of the target equipment; and adopting a pre-trained early warning model, and carrying out prediction processing based on the early warning mode record information, the historical equipment use data and the current equipment use data to obtain the predicted target early warning parameters, the first preset threshold and the second preset threshold.
According to another embodiment of the present application, a storage medium has stored thereon a computer program which, when executed by a processor of a computer, causes the computer to perform the method described in the embodiments of the present application.
According to another embodiment of the present application, an electronic device may include: a memory storing a computer program; and the processor reads the computer program stored in the memory to execute the method according to the embodiment of the application.
In the embodiment of the application, the router signal strength and the packet loss rate uploaded by the target equipment are received; acquiring offline times of the target equipment in a target time period, and acquiring target early warning parameters; calculating based on the target early warning parameter, the router signal strength, the packet loss rate and the offline times to obtain an early warning value; and determining an early warning mode of the target equipment according to the early warning value, and executing fault early warning operation corresponding to the early warning mode.
In this way, based on the router signal strength, the packet loss rate, the offline times of the target equipment and the target early warning parameters, the early warning value is calculated, and the corresponding early warning mode is determined according to the early warning value to execute the fault early warning operation, so that most fault conditions can be flexibly and effectively treated, the fault conditions of false report and missing report are effectively reduced, and the reliability of equipment connection fault early warning is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 shows a schematic diagram of a system to which embodiments of the present application may be applied.
Fig. 2 shows a flow chart of a device connection failure early warning method according to one embodiment of the present application.
Fig. 3 shows a block diagram of a device connection failure warning apparatus according to one embodiment of the present application.
Fig. 4 shows a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
In the following description, specific embodiments of the present application will be described with reference to steps and symbols performed by one or more computers, unless otherwise indicated. Thus, these steps and operations will be referred to in several instances as being performed by a computer, which as referred to herein performs operations that include processing units by the computer that represent electronic signals that represent data in a structured form. This operation transforms the data or maintains it in place in the memory system of the computer, which may be reconfigured or otherwise altered in ways well known to those skilled in the art. The data structure maintained by the data is the physical location of the memory, which has specific characteristics defined by the data format. However, the principles of the present application are described in the foregoing text and are not meant to be limiting, and one skilled in the art will recognize that various steps and operations described below may also be implemented in hardware.
Fig. 1 shows a schematic diagram of a system 100 to which embodiments of the present application may be applied. As shown in fig. 1, system 100 may include a server 101 and a device 102. The device 102 may be any computer device such as a computer, a cell phone, a smart watch, a home appliance, etc. The server 101 may be a server cluster or a cloud server, etc. In one example, device 102 is an internet of things device and server 101 is a cloud server.
In one implementation of the present example, the server 101 may: receiving router signal strength and packet loss rate uploaded by a target device (which may be device 102); acquiring offline times of the target equipment in a target time period, and acquiring target early warning parameters; calculating based on the target early warning parameter, the router signal strength, the packet loss rate and the offline times to obtain an early warning value; and determining an early warning mode of the target equipment according to the early warning value, and executing fault early warning operation corresponding to the early warning mode.
Fig. 2 schematically illustrates a flow chart of a device connection failure early warning method according to one embodiment of the present application. The execution subject of the device connection failure warning method may be any device, such as the server 101 shown in fig. 1.
As shown in fig. 2, the device connection failure early warning method may include steps S210 to S240.
Step S210, receiving router signal intensity and packet loss rate uploaded by target equipment;
step S220, acquiring offline times of target equipment in a target time period, and acquiring target early warning parameters;
step S230, calculating and processing based on the target early warning parameter, the router signal strength, the packet loss rate and the offline times to obtain an early warning value;
step S240, determining an early warning mode of the target device according to the early warning value, and executing a fault early warning operation corresponding to the early warning mode.
The router signal strength is that of the router signal, and the target device determines the router signal strength of the router connected with the target device, for example, the target device can acquire the router signal strength of the current connection through an RTK open source library. The packet loss rate is the ratio of the packet loss number of the lost data packet to the packet sending number of the sent data set, and the device can call the bottom interface to take the packet sending number and the packet loss number to divide so as to obtain the packet loss rate.
The target device may upload the router signal strength and packet loss rate to the processing device of the early warning platform (e.g., server 101 shown in fig. 1) via a specific interface (e.g., mqtt topic interface).
The login server (such as the processing device of the early warning platform) of the target device or the target device can record the offline times of the target device, so that the processing device can collect the offline times in a target time period from the record, the target time period can be specified according to the requirement, and the offline times can be the online times and the offline times of the target device.
The processing device can acquire target early warning parameters designated by a user or calculated in real time, wherein the target early warning parameters are calculated parameters for calculating early warning values.
The processing device can calculate and process according to a preset early warning value calculation strategy based on the target early warning parameter, the router signal strength, the packet loss rate and the offline times to obtain an early warning value, wherein the early warning value is used for determining an early warning mode.
The early warning modes can indicate the failure early warning operation modes, each early warning mode corresponds to one failure early warning operation, and each early warning mode can respectively correspond to different equipment failure conditions.
In this way, based on the steps S210 to S240, the calculation of the early warning value based on the router signal strength, the packet loss rate, the offline times and the target early warning parameters of the target device can be realized, the corresponding early warning mode is determined according to the early warning value to execute the fault early warning operation, most of fault conditions can be flexibly and effectively treated, the fault conditions of false report and missing report are effectively reduced, and the reliability of the equipment connection fault early warning is improved.
The specific procedure of each step performed when the device connection failure warning is performed is described below.
In step S210, the router signal strength and the packet loss rate uploaded by the target device are received.
The router signal strength is that of the router signal, and the target device determines the router signal strength of the router connected with the target device, for example, the target device can acquire the router signal strength of the current connection through an RTK open source library. The packet loss rate is the ratio of the packet loss number of the lost data packet to the packet sending number of the sent data set, and the device can call the bottom interface to take the packet sending number and the packet loss number to divide so as to obtain the packet loss rate.
The target device may upload the router signal strength and packet loss rate to the processing device of the early warning platform (e.g., server 101 shown in fig. 1) via a specific interface (e.g., mqtt topic interface).
In step S220, the offline times of the target device in the target time period are collected, and the target early warning parameters are obtained.
The login server (such as the processing device of the early warning platform) of the target device or the target device can record the offline times of the target device, so that the processing device can collect the offline times in a target time period from the record, the target time period can be specified according to the requirement, and the offline times can be the online times and the offline times of the target device.
In step S230, calculation processing is performed based on the target early warning parameter, the router signal strength, the packet loss rate and the offline frequency, so as to obtain an early warning value.
The processing device can calculate and process according to a preset early warning value calculation strategy based on the target early warning parameter, the router signal strength, the packet loss rate and the offline times to obtain an early warning value, wherein the early warning value is used for determining an early warning mode.
In one embodiment, the target early warning parameters include a first parameter, a second parameter, and a third parameter; step S230, performing calculation processing based on the target early warning parameter, the router signal strength, the packet loss rate and the offline frequency to obtain an early warning value, including:
multiplying the offline times with the first parameter to obtain a first value; summing the router signal strength and the second parameter to obtain an adjustment value; multiplying the adjustment value by the third parameter to obtain a second value; and carrying out summation processing on the first value, the second value and the packet loss rate to obtain the early warning value.
The offline frequency is x, the router signal strength is d, the packet loss rate is L%, the first parameter is c1, the second parameter is c2, the third parameter is c3, and the early warning value is I, i=x×c1+ (c2+d) ×c3+L%.
In one embodiment, the first parameter is less than 1, the second parameter is greater than 1, and the third parameter is less than 0.1.
Further, in one embodiment, the first parameter is equal to 0.3, the second parameter is equal to 70, and the third parameter is equal to 0.05. At this time, i=x 0.3+ (70+d) 0.05+l%.
In step S240, an early warning mode of the target device is determined according to the early warning value, and a fault early warning operation corresponding to the early warning mode is executed.
The early warning modes can indicate the failure early warning operation modes, each early warning mode corresponds to one failure early warning operation, and each early warning mode can respectively correspond to different equipment failure conditions.
In one embodiment, step S240, the determining the early warning mode of the target device according to the early warning value includes: and if the early warning value is larger than a first preset threshold value and smaller than a second preset threshold value, determining that the early warning mode of the target equipment is a first mode, wherein the first mode refers to the early warning mode when the target equipment has a suspected fault.
And determining a first mode when the early warning value is larger than a first preset threshold value and smaller than a second preset threshold value, wherein the first mode refers to an early warning mode when the target equipment has a fault suspicion, namely, the early warning operation when the target equipment has the fault suspicion can be executed in the first mode, and the applicant finds that the situation when the target equipment has the fault suspicion can be effectively treated.
In one embodiment, step S240, determining the early warning mode of the target device according to the early warning value includes: if the pre-warning values corresponding to the target devices in the preset number are larger than a second preset threshold, determining that the pre-warning mode of the target devices is a second mode, wherein the second mode refers to the pre-warning mode when a server or a network connected with the target devices has a fault suspicion.
The preset number can be specified according to actual conditions, if the pre-warning value corresponding to the preset number of target devices is larger than a second preset threshold value, a second mode is determined, wherein the second mode refers to a pre-warning mode when a server or a network connected with the target devices has a fault suspicion, namely, when the second mode is adopted, the fault pre-warning operation can be executed when the server or the network has the fault suspicion, and the applicant finds that the situation when the server or the network has the fault suspicion can be effectively solved.
In one embodiment, the target early warning parameters include a first parameter, a second parameter and a third parameter, the first parameter is less than 1, the second parameter is greater than 1, the third parameter is less than 0.1, the first predetermined threshold is equal to 1, and the second predetermined threshold is equal to 3. In this way, extremely accurate pre-warning can be achieved.
In one embodiment, the method further comprises: acquiring history early warning information corresponding to the target equipment, wherein the history early warning information comprises early warning mode record information and history equipment use data when the target equipment carries out fault early warning in history; acquiring current equipment use data of the target equipment; and adopting a pre-trained early warning model, and carrying out prediction processing based on the early warning mode record information, the historical equipment use data and the current equipment use data to obtain the predicted target early warning parameters, the first preset threshold and the second preset threshold.
The target device records information of an early warning mode when performing fault early warning in history, namely, records information of an early warning mode corresponding to fault early warning operation performed by the target device before the current early warning processing time, and can record the information by the processing device in a time-designated time period. The historical device usage data, that is, the device usage data of the target device before the current early warning processing time, may be device usage data of a specified period of time, where the device usage data, for example, the device application parameter service and the device CPU resource consumption data, etc., may belong to the same period of time as the early warning mode record information.
And recording an information sample and a historical equipment use data sample in advance in an early warning mode, taking the information sample and the historical equipment use data sample as input data of an early warning model based on machine learning, and training by taking target early warning parameters corresponding to the sample, a first preset threshold value and a second preset threshold value as expected output to obtain the early warning model trained in advance.
And (3) inputting the pre-trained pre-warning model into the pre-trained pre-warning model by adopting the pre-trained pre-warning model, wherein the pre-warning model record information, the historical equipment use data and the current equipment use data can output the target pre-warning parameter, the first preset threshold and the second preset threshold which are currently calculated and predicted in real time.
In this way, the target early warning parameter, the first preset threshold value and the second preset threshold value can be continuously updated based on the historical data, so that the early warning effect is further improved.
In order to facilitate better implementation of the device connection fault early-warning method provided by the embodiment of the application, the embodiment of the application also provides a device connection fault early-warning device based on the device connection fault early-warning method. The meaning of the noun is the same as that in the equipment connection fault early warning method, and specific implementation details can be referred to the description in the method embodiment. Fig. 3 shows a block diagram of a device connection failure warning apparatus according to one embodiment of the present application.
As shown in fig. 3, the device connection fault early-warning apparatus 300 may include a receiving module 310, an acquisition module 320, a calculation module 330, and an early-warning module 340.
The receiving module 310 may be configured to receive the router signal strength and the packet loss rate uploaded by the target device; the acquisition module 320 may be configured to acquire offline times of the target device in a target period, and acquire target early warning parameters; the calculation module 330 may be configured to perform calculation processing based on the target early warning parameter, the router signal strength, the packet loss rate, and the online frequency, so as to obtain an early warning value; the early warning module 340 may be configured to determine an early warning mode of the target device according to the early warning value, and execute a fault early warning operation corresponding to the early warning mode.
In some embodiments of the present application, the target early warning parameters include a first parameter, a second parameter, and a third parameter; the computing module 330 includes: the first calculating unit is used for multiplying the offline times and the first parameter to obtain a first value; the second calculation unit is used for carrying out summation processing on the router signal strength and the second parameter to obtain an adjustment value; the third calculation unit is used for multiplying the adjustment value by the third parameter to obtain a second value; and the fourth calculation unit is used for carrying out summation processing on the first value, the second value and the packet loss rate to obtain the early warning value.
In some embodiments of the present application, the first parameter is less than 1, the second parameter is greater than 1, and the third parameter is less than 0.1.
In some embodiments of the present application, the early warning module 340 includes a first determining unit configured to: and if the early warning value is larger than a first preset threshold value and smaller than a second preset threshold value, determining that the early warning mode of the target equipment is a first mode, wherein the first mode refers to the early warning mode when the target equipment has a suspected fault.
In some embodiments of the present application, the early warning module 340 includes a second determining unit, configured to: if the pre-warning values corresponding to the target devices in the preset number are larger than a second preset threshold, determining that the pre-warning mode of the target devices is a second mode, wherein the second mode refers to the pre-warning mode when a server or a network connected with the target devices has a fault suspicion.
In some embodiments of the present application, the target early warning parameters include a first parameter, a second parameter, and a third parameter, the first parameter is less than 1, the second parameter is greater than 1, the third parameter is less than 0.1, the first predetermined threshold is equal to 1, and the second predetermined threshold is equal to 3.
In some embodiments of the present application, the apparatus further comprises an update calculation module for: acquiring history early warning information corresponding to the target equipment, wherein the history early warning information comprises early warning mode record information and history equipment use data when the target equipment carries out fault early warning in history; acquiring current equipment use data of the target equipment; and adopting a pre-trained early warning model, and carrying out prediction processing based on the early warning mode record information, the historical equipment use data and the current equipment use data to obtain the predicted target early warning parameters, the first preset threshold and the second preset threshold.
In this way, based on the device connection fault early-warning apparatus 300, at least the router signal strength, the packet loss rate, the offline times and the target early-warning parameter calculation early-warning value can be realized, the corresponding early-warning mode is determined according to the early-warning value to execute the fault early-warning operation, most of fault conditions can be flexibly and effectively treated, the situations of false report and missing report fault are effectively reduced, and the reliability of the device connection fault early-warning is improved.
It should be noted that although in the above detailed description several modules or units of a device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functions of two or more modules or units described above may be embodied in one module or unit, in accordance with embodiments of the present application. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
In addition, the embodiment of the application further provides an electronic device, which may be a terminal or a server, as shown in fig. 4, which shows a schematic structural diagram of the electronic device according to the embodiment of the application, specifically:
the electronic device may include one or more processing cores 'processors 401, one or more computer-readable storage media's memory 402, power supply 403, and input unit 404, among other components. Those skilled in the art will appreciate that the electronic device structure shown in fig. 4 is not limiting of the electronic device and may include more or fewer components than shown, or may combine certain components, or may be arranged in different components. Wherein:
the processor 401 is a control center of the electronic device, connects various parts of the entire computer device using various interfaces and lines, and performs various functions of the computer device and processes data by running or executing software programs and/or modules stored in the memory 402, and calling data stored in the memory 402, thereby performing overall monitoring of the electronic device. Optionally, processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user page, an application program, etc., and the modem processor mainly processes wireless communication. It will be appreciated that the modem processor described above may not be integrated into the processor 401.
The memory 402 may be used to store software programs and modules, and the processor 401 executes various functional applications and data processing by executing the software programs and modules stored in the memory 402. The memory 402 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data created according to the use of the computer device, etc. In addition, memory 402 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.
The electronic device further comprises a power supply 403 for supplying power to the various components, preferably the power supply 403 may be logically connected to the processor 401 by a power management system, so that functions of managing charging, discharging, and power consumption are performed by the power management system. The power supply 403 may also include one or more of any of a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
The electronic device may further comprise an input unit 404, which input unit 404 may be used for receiving input digital or character information and generating keyboard, mouse, joystick, optical or trackball signal inputs in connection with user settings and function control.
Although not shown, the electronic device may further include a display unit or the like, which is not described herein. In particular, in this embodiment, the processor 401 in the electronic device loads executable files corresponding to the processes of one or more computer programs into the memory 402 according to the following instructions, and the processor 401 executes the computer programs stored in the memory 402, so as to implement the functions in the foregoing embodiments of the present application, where the processor 401 may perform the following steps:
receiving router signal intensity and packet loss rate uploaded by target equipment; acquiring offline times of the target equipment in a target time period, and acquiring target early warning parameters; calculating based on the target early warning parameter, the router signal strength, the packet loss rate and the offline times to obtain an early warning value; and determining an early warning mode of the target equipment according to the early warning value, and executing fault early warning operation corresponding to the early warning mode.
In some embodiments of the present application, the target early warning parameters include a first parameter, a second parameter, and a third parameter; the processor 401 may perform calculation processing based on the target early warning parameter, the router signal strength, the packet loss rate, and the offline frequency, so as to obtain an early warning value, where: multiplying the offline times with the first parameter to obtain a first value; summing the router signal strength and the second parameter to obtain an adjustment value; multiplying the adjustment value by the third parameter to obtain a second value; and carrying out summation processing on the first value, the second value and the packet loss rate to obtain the early warning value.
In some embodiments of the present application, the first parameter is less than 1, the second parameter is greater than 1, and the third parameter is less than 0.1.
In some embodiments of the present application, when determining the early warning mode of the target device according to the early warning value, the processor 401 may execute: and if the early warning value is larger than a first preset threshold value and smaller than a second preset threshold value, determining that the early warning mode of the target equipment is a first mode, wherein the first mode refers to the early warning mode when the target equipment has a suspected fault.
In some embodiments of the present application, when determining the early warning mode of the target device according to the early warning value, the processor 401 may execute: if the pre-warning values corresponding to the target devices in the preset number are larger than a second preset threshold, determining that the pre-warning mode of the target devices is a second mode, wherein the second mode refers to the pre-warning mode when a server or a network connected with the target devices has a fault suspicion.
In some embodiments of the present application, the target early warning parameters include a first parameter, a second parameter, and a third parameter, the first parameter is less than 1, the second parameter is greater than 1, the third parameter is less than 0.1, the first predetermined threshold is equal to 1, and the second predetermined threshold is equal to 3.
In some embodiments of the present application, the processor 401 may perform: acquiring history early warning information corresponding to the target equipment, wherein the history early warning information comprises early warning mode record information and history equipment use data when the target equipment carries out fault early warning in history; acquiring current equipment use data of the target equipment; and adopting a pre-trained early warning model, and carrying out prediction processing based on the early warning mode record information, the historical equipment use data and the current equipment use data to obtain the predicted target early warning parameters, the first preset threshold and the second preset threshold.
It will be appreciated by those of ordinary skill in the art that all or part of the steps of the various methods of the above embodiments may be performed by a computer program, or by computer program control related hardware, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, the present embodiments also provide a storage medium having stored therein a computer program that can be loaded by a processor to perform the steps of any of the methods provided by the embodiments of the present application.
Wherein the storage medium may include: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
Since the computer program stored in the storage medium may perform any of the steps in the method provided in the embodiment of the present application, the beneficial effects that can be achieved by the method provided in the embodiment of the present application may be achieved, which are detailed in the previous embodiments and are not described herein.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains.
It will be understood that the present application is not limited to the embodiments that have been described above and shown in the drawings, but that various modifications and changes can be made without departing from the scope thereof.

Claims (7)

1. A device connection failure early warning method, comprising:
receiving router signal intensity and packet loss rate uploaded by target equipment;
acquiring offline times of the target equipment in a target time period, and acquiring target early warning parameters, wherein the target early warning parameters comprise a first parameter, a second parameter and a third parameter;
calculating based on the target early warning parameter, the router signal strength, the packet loss rate and the offline times to obtain an early warning value;
determining an early warning mode of the target equipment according to the early warning value, and executing fault early warning operation corresponding to the early warning mode;
the calculating based on the target early warning parameter, the router signal strength, the packet loss rate and the offline times to obtain an early warning value comprises the following steps:
multiplying the offline times with the first parameter to obtain a first value; summing the router signal strength and the second parameter to obtain an adjustment value; multiplying the adjustment value by the third parameter to obtain a second value; summing the first value, the second value and the packet loss rate to obtain the early warning value;
the determining the early warning mode of the target device according to the early warning value comprises the following steps:
if the early warning value is larger than a first preset threshold value and smaller than a second preset threshold value, determining an early warning mode of the target equipment to be a first mode, wherein the first mode refers to an early warning mode when the target equipment has a suspected fault;
if the pre-warning values corresponding to the target devices in the preset number are larger than a second preset threshold, determining that the pre-warning mode of the target devices is a second mode, wherein the second mode refers to the pre-warning mode when a server or a network connected with the target devices has a fault suspicion.
2. The method of claim 1, wherein the first parameter is less than 1, the second parameter is greater than 1, and the third parameter is less than 0.1.
3. The method of claim 1, wherein the target pre-warning parameters include a first parameter less than 1, a second parameter greater than 1, and a third parameter less than 0.1, the first predetermined threshold being equal to 1, the second predetermined threshold being equal to 3.
4. The method according to claim 1, wherein the method further comprises:
acquiring history early warning information corresponding to the target equipment, wherein the history early warning information comprises early warning mode record information and history equipment use data when the target equipment carries out fault early warning in history;
acquiring current equipment use data of the target equipment;
and adopting a pre-trained early warning model, and carrying out prediction processing based on the early warning mode record information, the historical equipment use data and the current equipment use data to obtain the predicted target early warning parameters, the first preset threshold and the second preset threshold.
5. A device connection failure warning apparatus, comprising:
the receiving module is used for receiving the router signal strength and the packet loss rate uploaded by the target equipment;
the acquisition module is used for acquiring offline times of the target equipment in a target time period and acquiring target early warning parameters, wherein the target early warning parameters comprise a first parameter, a second parameter and a third parameter;
the calculation module is configured to perform calculation processing based on the target early warning parameter, the router signal strength, the packet loss rate and the offline frequency to obtain an early warning value, and includes: multiplying the offline times with the first parameter to obtain a first value; summing the router signal strength and the second parameter to obtain an adjustment value; multiplying the adjustment value by the third parameter to obtain a second value; summing the first value, the second value and the packet loss rate to obtain the early warning value;
the early warning module is used for determining an early warning mode of the target equipment according to the early warning value and executing fault early warning operation corresponding to the early warning mode, and the early warning mode of the target equipment is determined according to the early warning value, and comprises the following steps: if the early warning value is larger than a first preset threshold value and smaller than a second preset threshold value, determining an early warning mode of the target equipment to be a first mode, wherein the first mode refers to an early warning mode when the target equipment has a suspected fault; if the pre-warning values corresponding to the target devices in the preset number are larger than a second preset threshold, determining that the pre-warning mode of the target devices is a second mode, wherein the second mode refers to the pre-warning mode when a server or a network connected with the target devices has a fault suspicion.
6. A storage medium having stored thereon a computer program which, when executed by a processor of a computer, causes the computer to perform the method of any of claims 1 to 4.
7. An electronic device, comprising: a memory storing a computer program; a processor reading a computer program stored in a memory to perform the method of any one of claims 1 to 4.
CN202111569883.4A 2021-12-21 2021-12-21 Equipment connection fault early warning method and device, storage medium and electronic equipment Active CN114244681B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111569883.4A CN114244681B (en) 2021-12-21 2021-12-21 Equipment connection fault early warning method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111569883.4A CN114244681B (en) 2021-12-21 2021-12-21 Equipment connection fault early warning method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN114244681A CN114244681A (en) 2022-03-25
CN114244681B true CN114244681B (en) 2023-08-01

Family

ID=80760244

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111569883.4A Active CN114244681B (en) 2021-12-21 2021-12-21 Equipment connection fault early warning method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN114244681B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115001943B (en) * 2022-05-27 2024-03-22 深圳小湃科技有限公司 Equipment fault identification method, equipment and storage medium based on big data

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009042867A (en) * 2007-08-07 2009-02-26 Fujitsu Ten Ltd Network system, recording device, and electronic control device
CN102970771A (en) * 2012-11-20 2013-03-13 西安大唐电信有限公司 Signal detection and acquisition method and system based on wireless sensor network
CN103648113A (en) * 2013-12-24 2014-03-19 山东润谱通信工程有限公司 Indoor wireless network fault autonomous detection and positioning method
CN104486790A (en) * 2014-12-31 2015-04-01 郭辉 Wireless communication network fault detecting method and device
CN105703934A (en) * 2014-11-28 2016-06-22 亿阳信通股份有限公司 PON network fault diagnosis method and apparatus for household broadband service
CN109951858A (en) * 2017-12-21 2019-06-28 深圳Tcl新技术有限公司 Network optimized approach, intelligent terminal and storage medium based on WIFI communication
CN109981328A (en) * 2017-12-28 2019-07-05 中国移动通信集团陕西有限公司 A kind of fault early warning method and device
CN110535710A (en) * 2019-09-09 2019-12-03 锐捷网络股份有限公司 Remote diagnosis method and system, the network equipment and Cloud Server of the network equipment
WO2020048047A1 (en) * 2018-09-03 2020-03-12 平安科技(深圳)有限公司 System fault warning method, apparatus, and device, and storage medium
CN112185070A (en) * 2020-09-11 2021-01-05 珠海格力电器股份有限公司 Fault early warning method, storage medium and electronic equipment
CN112583617A (en) * 2019-09-29 2021-03-30 广东美的制冷设备有限公司 Fault determination method, server, control terminal and storage medium
CN112702184A (en) * 2019-10-23 2021-04-23 中国电信股份有限公司 Fault early warning method and device and computer-readable storage medium
CN112888007A (en) * 2020-12-30 2021-06-01 美的集团股份有限公司 Method and device for diagnosing off-line reason of device and storage medium
CN112993519A (en) * 2021-02-07 2021-06-18 惠州Tcl移动通信有限公司 Intelligent terminal antenna and signal enhancement control method
WO2021227615A1 (en) * 2020-05-14 2021-11-18 华为技术有限公司 Method for improving call quality, and terminal
CN113747482A (en) * 2020-05-29 2021-12-03 中国移动通信集团湖南有限公司 Method, system and terminal equipment for detecting and analyzing service network

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8160571B2 (en) * 2008-10-06 2012-04-17 Root Wireless, Inc. Mobile device and method for collecting location based user quality data
KR101723984B1 (en) * 2017-01-31 2017-04-06 (주)그립 Device and Method for Controlling Internet of Things Device
US11018958B2 (en) * 2017-03-14 2021-05-25 Tupl Inc Communication network quality of experience extrapolation and diagnosis

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009042867A (en) * 2007-08-07 2009-02-26 Fujitsu Ten Ltd Network system, recording device, and electronic control device
CN102970771A (en) * 2012-11-20 2013-03-13 西安大唐电信有限公司 Signal detection and acquisition method and system based on wireless sensor network
CN103648113A (en) * 2013-12-24 2014-03-19 山东润谱通信工程有限公司 Indoor wireless network fault autonomous detection and positioning method
CN105703934A (en) * 2014-11-28 2016-06-22 亿阳信通股份有限公司 PON network fault diagnosis method and apparatus for household broadband service
CN104486790A (en) * 2014-12-31 2015-04-01 郭辉 Wireless communication network fault detecting method and device
CN109951858A (en) * 2017-12-21 2019-06-28 深圳Tcl新技术有限公司 Network optimized approach, intelligent terminal and storage medium based on WIFI communication
CN109981328A (en) * 2017-12-28 2019-07-05 中国移动通信集团陕西有限公司 A kind of fault early warning method and device
WO2020048047A1 (en) * 2018-09-03 2020-03-12 平安科技(深圳)有限公司 System fault warning method, apparatus, and device, and storage medium
CN110535710A (en) * 2019-09-09 2019-12-03 锐捷网络股份有限公司 Remote diagnosis method and system, the network equipment and Cloud Server of the network equipment
CN112583617A (en) * 2019-09-29 2021-03-30 广东美的制冷设备有限公司 Fault determination method, server, control terminal and storage medium
CN112702184A (en) * 2019-10-23 2021-04-23 中国电信股份有限公司 Fault early warning method and device and computer-readable storage medium
WO2021227615A1 (en) * 2020-05-14 2021-11-18 华为技术有限公司 Method for improving call quality, and terminal
CN113747482A (en) * 2020-05-29 2021-12-03 中国移动通信集团湖南有限公司 Method, system and terminal equipment for detecting and analyzing service network
CN112185070A (en) * 2020-09-11 2021-01-05 珠海格力电器股份有限公司 Fault early warning method, storage medium and electronic equipment
CN112888007A (en) * 2020-12-30 2021-06-01 美的集团股份有限公司 Method and device for diagnosing off-line reason of device and storage medium
CN112993519A (en) * 2021-02-07 2021-06-18 惠州Tcl移动通信有限公司 Intelligent terminal antenna and signal enhancement control method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于无线数据业务智能优化系统算法的研究与应用;陈若炜;覃文;张鹏;程乔;;广西通信技术(第03期);全文 *

Also Published As

Publication number Publication date
CN114244681A (en) 2022-03-25

Similar Documents

Publication Publication Date Title
CN111611478B (en) Information recommendation method and device and electronic equipment
CN114244681B (en) Equipment connection fault early warning method and device, storage medium and electronic equipment
CN112801434A (en) Method, device, equipment and storage medium for monitoring performance index health degree
CN116258484B (en) Method, device, terminal equipment and medium for generating predictive operation and maintenance scheme of equipment
CN107871088B (en) Information processing method, device, terminal and computer readable storage medium
CN113031983A (en) Intelligent software upgrading method and device based on deep reinforcement learning
CN111198754A (en) Task scheduling method and device
CN110955438A (en) Method, device and equipment for monitoring performance of small program and storage medium
CN117236805B (en) Power equipment control method, device, electronic equipment and computer readable medium
CN111045912B (en) AI application performance evaluation method, device and related equipment
CN114034972B (en) Intelligent cable fault determining method and device based on image data
CN115309735A (en) Big data cleaning method and device, computer equipment and storage medium
CN114116275A (en) Terminal abnormity repairing method and device, storage medium and electronic equipment
CN114647509A (en) Memory cleaning method and device, storage medium and electronic equipment
CN114090054A (en) Intelligent equipment upgrading method and device, storage medium and electronic equipment
CN117196745A (en) Information prompting method and device, storage medium and electronic equipment
CN116016291A (en) Monitoring method and device of system cluster, storage medium, electronic equipment and product
CN115756773B (en) Task scheduling method, device, electronic equipment and storage medium
CN111325278B (en) Image processing method, device and storage medium
CN116841704A (en) Service processing method, device, electronic equipment and computer readable storage medium
CN117407213A (en) System regulation and control method and device, storage medium and electronic equipment
CN114647494A (en) Process control method and device, storage medium and electronic equipment
CN114328094A (en) Equipment exception information processing method and device, storage medium and electronic equipment
CN114625543A (en) Memory management method and device, storage medium and electronic equipment
CN114995972A (en) Application program management method and device, readable medium, electronic equipment and product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant