CN112907913A - Detection method, device and equipment of electronic equipment and storage medium - Google Patents

Detection method, device and equipment of electronic equipment and storage medium Download PDF

Info

Publication number
CN112907913A
CN112907913A CN202110178913.2A CN202110178913A CN112907913A CN 112907913 A CN112907913 A CN 112907913A CN 202110178913 A CN202110178913 A CN 202110178913A CN 112907913 A CN112907913 A CN 112907913A
Authority
CN
China
Prior art keywords
threshold value
target device
value
attribute value
service
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110178913.2A
Other languages
Chinese (zh)
Inventor
凌松
唐丽丽
刘毅
张�林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202110178913.2A priority Critical patent/CN112907913A/en
Publication of CN112907913A publication Critical patent/CN112907913A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms
    • G08B21/182Level alarms, e.g. alarms responsive to variables exceeding a threshold
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a detection method, a device, equipment and a storage medium of electronic equipment, wherein the method comprises the following steps: acquiring an attribute value of a target device in electronic equipment to be detected; acquiring a service threshold value corresponding to the attribute value of the target device; and responding to the attribute value exceeding the service threshold value, and outputting prompt information, wherein the prompt information is used for prompting the target device to be replaced. The scheme can preventively replace the target device with the attribute value exceeding the service threshold value in advance, and can avoid the problems of data loss and the like caused by faults.

Description

Detection method, device and equipment of electronic equipment and storage medium
Technical Field
The present invention relates generally to the field of electronic technologies, and in particular, to a method, an apparatus, a device, and a storage medium for detecting an electronic device.
Background
With the development of technology, electronic devices such as mobile phones and tablet computers are very popular electronic products. During the use of the above-mentioned electronic devices, various problems may arise, such as: abnormal downloaded data, severe jamming, etc. The current industry judges the fault by repairing or replacing the mobile phone or the fault unit through a fault detection method after the fault occurs.
However, when after the above-mentioned failure has occurred, the data in the memory may not be completely retained during the after-sales repair, resulting in the loss of data for the user.
Disclosure of Invention
In view of the above-mentioned drawbacks and deficiencies of the prior art, it is desirable to provide a method, an apparatus, a device and a storage medium for detecting an electronic device.
In a first aspect, the present invention provides a method for detecting an electronic device, where the method includes:
acquiring an attribute value of a target device in electronic equipment to be detected;
acquiring a service threshold value corresponding to the attribute value of the target device;
and responding to the attribute value exceeding the service threshold value, and outputting prompt information for prompting the target device to be replaced.
In some embodiments, the attribute values of the target device are used to quantify the usage status of the target device;
the attribute value satisfies at least one or more conditions including:
the attribute value changes unidirectionally along with the service time of the target device;
the attribute value is irreversible along with the use time change of the target device;
the attribute value is in an unmodifiable state;
the acquisition state of the attribute value is not influenced by the system acquisition authority state of the electronic equipment to be detected.
In some embodiments, the service threshold value is determined by:
determining a life threshold value of a target device;
under the condition that the service life threshold value meets the convergence condition, determining the service threshold value of the target device according to the converged service life threshold value and the service life coefficient corresponding to the target device;
wherein the life coefficient is used as a weight coefficient for characterizing the life threshold value of the target device.
In some embodiments, determining the lifetime threshold of the target device comprises:
acquiring an initial life threshold value of a target device;
and determining the initial life threshold value as a life threshold value.
In some embodiments, determining the lifetime threshold of the target device comprises:
when the electronic equipment is in a fault state, acquiring an attribute value of a target device through a debugging bridge ADB;
under the condition that the attribute values meet the updating conditions, counting the number of the electronic devices meeting the updating conditions;
determining the attribute value as a service life threshold value under the condition that the number reaches a preset number threshold value;
wherein, the updating condition is that the attribute value falls into a preset threshold value interval.
In some embodiments, the lifetime threshold value meeting the convergence criterion is determined by:
determining an activation time of the electronic device;
under the condition that the activation time exceeds a first preset time threshold, acquiring an updating state of a service life threshold;
and if the service life threshold value is in an un-updated state within a preset time period, determining that the service life threshold value meets the convergence condition.
In a second aspect, the present invention provides a detection apparatus for an electronic device, the apparatus comprising:
the first acquisition module is used for acquiring the attribute value of a target device in the electronic equipment to be detected;
the second acquisition module is used for acquiring a service threshold value corresponding to the attribute value of the target device;
and the output module is used for responding to the attribute value exceeding the service threshold value and outputting prompt information, and the prompt information is used for prompting the replacement of the target device.
In some embodiments, the attribute values of the target device are used to quantify the usage status of the target device;
the attribute value satisfies at least one or more conditions including:
the attribute value changes unidirectionally along with the service time of the target device;
the attribute value is irreversible along with the use time change of the target device;
the attribute value is in an unmodifiable state;
the acquisition state of the attribute value is not influenced by the system acquisition authority state of the electronic equipment to be detected.
In some embodiments, the apparatus further comprises a third determining module to:
determining a life threshold value of a target device;
under the condition that the service life threshold value meets the convergence condition, determining the service threshold value of the target device according to the converged service life threshold value and the service life coefficient corresponding to the target device;
wherein the life coefficient is used as a weight coefficient for characterizing the life threshold value of the target device.
In some embodiments, the third determination module is further to:
acquiring an initial life threshold value of a target device;
and determining the initial life threshold value as a life threshold value.
In some embodiments, the third determination module is further to:
when the electronic equipment is in a fault state, acquiring an attribute value of a target device through a debugging bridge ADB;
under the condition that the attribute values meet the updating conditions, counting the number of the electronic devices meeting the updating conditions;
determining the attribute value as a service life threshold value under the condition that the number reaches a preset number threshold value;
wherein, the updating condition is that the attribute value falls into a preset threshold value interval.
In some embodiments, the apparatus further comprises a fourth determining module to:
determining an activation time of the electronic device;
under the condition that the activation time exceeds a first preset time threshold, acquiring an updating state of a service life threshold;
and if the service life threshold value is in an un-updated state within a preset time period, determining that the service life threshold value meets the convergence condition.
In a third aspect, the present invention provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the computer program to implement the method for detecting the electronic device according to the first aspect.
In a fourth aspect, the invention provides a readable storage medium having stored thereon a computer program which, when executed by a processor, implements the detection method of the electronic device according to the first aspect.
The scheme obtains an attribute value of a target device and a service threshold value corresponding to the attribute value, outputs prompt information in response to the fact that the attribute value exceeds the service threshold value for prompting the replacement of the target device, can output the prompt information through the detection method so as to prompt maintenance personnel to actively replace the target device prompting the replacement, can preventively replace the target device with the attribute value exceeding the service threshold value in advance, and accordingly avoids the problems of data loss and the like caused by faults.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
fig. 1 is a schematic application scenario diagram of a detection method of an electronic device according to an exemplary embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a detection method of an electronic device according to an exemplary embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a detection apparatus of an electronic device according to an exemplary embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present disclosure.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings.
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the drawings described above, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described are capable of operation in sequences other than those illustrated or otherwise described herein.
Moreover, the terms "comprises," "comprising," and any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or modules is not necessarily limited to those steps or modules explicitly listed, but may include other steps or modules not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
In the process of research, the applicant finds that faults occur probably when the use times of certain devices in the electronic equipment reach or are close to the corresponding service life thresholds, and when the faults occur, a user goes to an after-sales network to detect the faults and then carries out maintenance or replacement after the faults are detected. In other words, the fault must be identified and subsequently repaired or replaced if it has already occurred. However, at this time, phenomena such as data loss of the mobile phone, abnormal data turning, abnormal downloaded data, dead halt of the mobile phone, and restart of the mobile phone may occur, and the user experience is not good.
In order to avoid the situation that data is lost due to abnormality of the electronic equipment and then the fault is detected, the application provides the detection method of the electronic equipment, which can be used for carrying out preventive replacement on some devices in the electronic equipment in advance, namely when the electronic equipment of a user breaks down and is taken to an after-sales outlet for maintenance, a maintenance worker can detect other devices except the faulty device in the electronic equipment so as to judge whether the other devices need to be replaced.
It should be noted that, according to the detection method for the electronic device provided in the present application, the electronic device may be a portable computer, a desktop computer, a mobile phone, a tablet computer, a wearable electronic device such as a smart bracelet, VR (Virtual Reality) glasses, AR (Augmented Reality) glasses, or a television, and the disclosure does not limit this. The following embodiments take an electronic device as an example of a mobile phone.
In the present application, the devices that are replaced in advance preventively in the electronic device are usually high-value materials or some modules in the high-value materials, that is, materials with higher values, it should be noted that, because the values of the high-value materials may be different in different electronic devices, for example, when the value of the electronic device itself is higher, the value of the high-value materials may be relatively higher, for example, the high-value materials may be materials above 100 yuan, for example, when the value of the electronic device itself is lower, the value of the high-value materials may be relatively lower, for example, the high-value materials may be materials below 100 yuan, and therefore, the specific values of the high-value materials are not limited in this disclosure. It should be noted that, the device for detecting whether replacement needs to be prevented in advance in the present application is exemplified by high-value materials and some modules in the high-value materials.
Illustratively, the high-value material in the mobile phone includes, but is not limited to, a UFS (Universal Flash Storage) Flash memory, an eMMC (Embedded multimedia Media Card) Flash memory, a battery, and a camera device, and the module of the high-value material in the mobile phone includes, but is not limited to, a motor and a shutter in the camera device.
In the research process, the applicant finds that some high-value materials can be quantified quantitatively through big data tracking and industry investigation experience, and have limitation and constraint of read-write times (different devices, different manufacturers and different types of materials have different threshold times). When the number of times of use of the relevant devices in the mobile phone reaches or approaches to the corresponding life threshold value, abnormality occurs with a high probability. Through research and verification, for example, when the memory class material reaches the corresponding life threshold value, exception including but not limited to download data exception, data loss, severe stuck, and exception restart may occur. For example, when a motor or a shutter in a camera device reaches or approaches its corresponding life threshold, it is likely that a failure such as the camera failing to open or the camera going back will occur. For example, when the number of full charge and discharge cycles of the battery reaches the corresponding life threshold, the standby time is reduced, and the battery is in a false charge state.
Referring to fig. 1, an application scenario diagram of a detection method for an electronic device when a user mobile phone 102 goes to an after-sales website for maintenance is shown.
As shown in fig. 1, when the user mobile phone 102 goes to an after-sale website for maintenance, a maintenance person connects the user mobile phone 102 to the website computer 100 through a USB (universal serial bus) data line, and then connects and communicates the website computer 100 and the mobile phone 102 through a debugging bridge. For example, the computer 100 may be connected to the mobile phone 102 by using an ADB (Android Debug Bridge), and other connection manners may also be used to enable the computer 100 to communicate with the mobile phone 102, which is not limited in this disclosure.
After the mobile phone 102 is connected to the computer 100 through the debug bridge ADB, a detection tool installed in the computer 100 can read the attribute values of high-value materials in the mobile phone 102. The detection tool can be used for executing the detection method of the electronic equipment provided by the application.
It should be noted that the detection method of the electronic device provided in the present application may also be executed at a server, and the present disclosure does not limit this.
Referring to fig. 2, a flowchart illustrating a detection method of an electronic device according to an embodiment of the present application is shown.
As shown in fig. 2, a method for detecting an electronic device may include:
s210, acquiring an attribute value of a target device in the electronic equipment to be detected;
s220, acquiring a service threshold value corresponding to the attribute value of the target device;
and S230, responding to the attribute value exceeding the service threshold value, and outputting prompt information, wherein the prompt information is used for prompting the replacement of the target device.
Specifically, the electronic device to be detected takes a mobile phone as an example, and the mobile phone to be detected can be a mobile phone with a fault of a user and a mobile phone to be taken to an after-sale website for maintenance. The mobile phone comprises at least one target device, the target device generally refers to high-value materials in the mobile phone or some modules in the high-value materials, for example, the high-value materials in the mobile phone may include a UFS flash memory, an eMMC flash memory, a battery, a camera device, and the like, and some components in the high-value materials may include a motor (which may refer to a lifting motor of an ejection camera), a shutter, and the like in the camera device.
If the device with the fault of the mobile phone is a high-value material or some modules in the high-value material, the attribute value of the target device in the electronic equipment to be detected can be obtained, and the method not only comprises the step of obtaining the attribute value of the target device with the fault, but also comprises the step of obtaining the attribute values of other target devices. If the device with the fault of the mobile phone is not a high-value material or some modules in the high-value material, the attribute value of a target device in the electronic equipment to be detected can be obtained, the step can comprise obtaining the attribute values of all the target devices, and can also comprise obtaining the attribute value of a specific target device in the electronic equipment to be detected.
The attribute value of the target device is used for quantifying the use state of the target device; each target device may include at least one attribute value. Each attribute value may be continuously one-way larger or continuously one-way smaller.
In one embodiment, the attribute values satisfy at least one or more conditions including:
the attribute value changes unidirectionally along with the service time of the target device;
the attribute value is irreversible along with the use time change of the target device;
the attribute value is in an unmodifiable state;
the acquisition state of the attribute value is not influenced by the system acquisition authority state of the electronic equipment to be detected.
Specifically, the one-way variation of the attribute value with the usage time of the target device may include one-way continuously becoming larger or one-way continuously becoming smaller with the usage time of the target device. Note that, in general, the attribute value is continuously increased in one direction with the use time of the target device, and the following embodiment exemplifies that the attribute value is continuously increased in one direction with the use time of the target device. With continued use by the user, the change in the attribute values is irreversible. To ensure the authenticity of the data, the attribute values are authentic and cannot be modified. The attribute value can be read by the external device in a state where the system authority of the operating system of the electronic device is not acquired. The obtaining state of the attribute value is not influenced by the system obtaining authority state of the electronic device to be detected, and particularly the attribute value can be obtained when the system authority of the operating system of the electronic device to be detected is not obtained. The state that the system authority of the operating system of the electronic device to be detected is not acquired refers to the condition that the operating system is not ROOT (generally referred to as an android system)/jail-bar (generally referred to as an IOS operating system).
The attribute value of the UFS flash memory or the eMMC flash memory may include the number of full erase/write operations on the UFS flash memory or the eMMC flash memory, and in general, the attribute value of the UFS flash memory or the eMMC flash memory is incremented by one for each full erase/write operation of the UFS flash memory or the eMMC flash memory, or the total number of full erase/write operations of the UFS flash memory or the eMMC flash memory may be preset, and the attribute value of the UFS flash memory or the eMMC flash memory is decremented by one for each full erase/write operation of the UFS flash memory or the eMMC flash memory.
The attribute value of the battery may include the number of full charge and discharge cycles, and the like, and in general, the attribute value of the battery is increased by one every time the battery is fully charged and discharged, or the total number of full charge and discharge cycles of the battery may be preset, and the attribute value of the battery is decreased by one every time the battery is fully charged and discharged.
The attribute value of the motor in the camera device may include the number of times of lifting, and the attribute value of the shutter in the camera device may include the number of times of shutter actions, and the like, in general, the motor is lowered once per liter, the attribute value of the motor is increased by one, or the total number of times of lifting of the motor can be preset, and the motor is lowered once per liter, and the attribute value of the motor is decreased by one; similarly, the attribute value of the shutter may be increased by one per operation of the shutter in a normal case, or the total number of times the shutter can be operated may be set in advance, and the attribute value of the shutter may be decreased by one per operation of the shutter.
The service threshold value can be understood as a critical value for whether to actively and preventively replace high-value materials of the mobile phone.
For different target devices, different attribute values correspond to different service threshold values, and the service threshold values corresponding to the same attribute value may also differ due to different manufacturers and different models. Any service threshold value may be stored in the computer 100 of the after-sales node, may also be stored in other independent media having a storage function, may also be stored in a server, and the like.
And comparing the acquired attribute values of all target devices in the mobile phone with the service threshold values respectively corresponding to the attribute values, and outputting prompt information when the attribute value of a certain target device is greater than the corresponding service threshold value, wherein the prompt information is used for prompting the replacement of the target device. It should be noted that the prompt information may be displayed on a display screen of the computer 100, or may be played and prompted by a playing device of the computer 100, which is not limited in this disclosure.
If the mobile phone is in the maintenance period, after-sale network maintenance personnel actively and non-compensation preventive replacement is carried out on the target device which prompts replacement. If the handset is not under warranty, after-sales network maintenance personnel can ask the user whether to perform a paid preventive replacement.
In this embodiment, the attribute values of the target devices in the electronic device to be detected and the corresponding service threshold values are read, and in response to the attribute values exceeding the service threshold values, prompt information is output to prompt replacement of the target devices.
In one embodiment, the service threshold value is determined by:
determining a life threshold value of a target device;
under the condition that the service life threshold value meets the convergence condition, determining the service threshold value of the target device according to the converged service life threshold value and the service life coefficient corresponding to the target device;
wherein the life coefficient is used as a weight coefficient for characterizing the life threshold value of the target device.
Specifically, the lifetime threshold refers to a critical value of whether a high-value material or some modules in the high-value material are faulty or not.
The lifetime threshold value may be determined according to an initial setting, may also be determined according to a large amount of experimental data, and may also be determined by other manners, which is not limited in this disclosure.
The service life threshold value meeting the convergence condition means that the service life threshold value tends to be stable and is not updated any more.
The service life coefficient corresponding to the high-value material or some modules in the high-value material can be obtained by calculation according to the annual after-sales cost, the operation cost, the experience value and the like. It should be noted that the life factor is greater than a first preset value, and the first preset value is set according to an actual requirement, for example, the first preset value is 1.
The service threshold of the target device is determined according to the lifetime coefficient and the lifetime threshold, for example, the product of the lifetime coefficient and the lifetime threshold may be used as the service threshold of the device, that is, the service threshold is equal to the lifetime threshold × the lifetime coefficient. It can be seen from the above formula that the smaller the life factor, the smaller the service threshold, the smaller the threshold for replacing the high-value material or some modules in the high-value material for the user, that is, when some modules in the high-value material or the high-value material of the user's mobile phone can be used normally, the after-sale network will actively replace some modules in the high-value material or the high-value material for the user, which will increase the replacement cost of the supplier. However, when the life factor is larger, the service threshold value is larger, the threshold value for replacing the high-value material or some modules in the high-value material for the user is larger, that is, when the high-value material or some modules in the high-value material of the user mobile phone have a use failure risk, the after-sales website still does not actively replace some modules in the high-value material or the high-value material for the user, so that the experience degree of the user is reduced. Considering the replacement cost of a supplier and the experience degree of a user, the value range of the service life coefficient can be set to be 1.1-1.2.
In this embodiment, the service threshold of the target device is determined by the converged life threshold and the life coefficient corresponding to the target device, so that the experience of the user can be provided on the basis of ensuring the replacement cost of the provider.
In some embodiments, determining the lifetime threshold value of the target device may comprise:
acquiring an initial life threshold value of a target device;
and determining the initial life threshold value as a life threshold value.
Specifically, the initial life threshold of the target device refers to a reference value in a specification of the target device provided by a supplier, and the initial life threshold may be stored in the computer 100 of an after-sale website, may also be stored in another independent medium having a storage function, and may also be stored in a server, and the disclosure is not limited thereto. For example, if the number of full charge/discharge cycles of the battery in the device specification provided by the supplier is 500, the 500 times is the initial life threshold of the battery, that is, the life threshold of the battery is 500 times.
And determining the acquired initial life threshold value as a life threshold value.
In order to obtain a more accurate life threshold, the life threshold of the target device may be determined by learning training.
In one embodiment, determining the lifetime threshold value of the target device may further comprise:
when the electronic equipment is in a fault state, acquiring an attribute value of a target device through a debugging bridge ADB;
under the condition that the attribute values meet the updating conditions, counting the number of the devices to be detected which meet the updating conditions;
determining the attribute value as a service life threshold value under the condition that the number reaches a preset number threshold value;
wherein, the updating condition is that the attribute value falls into a preset threshold value interval.
Specifically, the electronic device in this embodiment may refer to an electronic device that has a fault in a past historical time period of the electronic device to be detected and is taken to an after-sales website to report the fault in the past historical time period.
When the mobile phone of the user fails and is subjected to fault repair in an after-sales network, the target device subjected to fault repair by the user is maintained or replaced, and the like. And then, the maintenance personnel obtain the attribute values of the other high-value materials of the mobile phone except the target device reporting the fault through the ADB.
The preset threshold interval may be a threshold value, a lifetime threshold value, and the threshold value is a threshold value for determining whether the obtained attribute value is noise data, where the noise data is an attribute value of non-uniformity (large tolerance) of a certain device or an attribute value with large deviation of subjective feeling of an individual (special case) user, that is, an attribute value with large variation compared with the current lifetime threshold value. The threshold value can be set according to actual requirements. Assuming that the initial life threshold of the battery (i.e. the number of full charge and discharge cycles of the battery) is 500 times, the threshold may be set to 490 times, and the preset threshold interval is [490,500 ].
For example, the threshold value of the full charge-discharge cycle number of the battery is 490 times, and if the read battery attribute value is 200 times and is less than 490 times, the battery attribute value is considered as noise data, and the data is rejected.
When the attribute value meets the condition that the attribute value falls into a preset threshold interval, counting the number of the electronic equipment meeting the updating condition, and determining the attribute value as a service life threshold when the number reaches a preset number threshold; when the attribute value does not meet the condition that the attribute value falls into the preset threshold interval (namely the attribute value does not fall into the preset threshold interval), the attribute value is taken as noise data and is not counted.
It will be appreciated that for data accuracy, a predetermined number of threshold samples may be taken when determining whether to update the lifetime threshold.
The preset number threshold is a critical value for judging whether the number of the mobile phones of which the attribute values meet the updating conditions reaches the threshold value for determining the attribute values as the service life threshold values. The number of attribute values satisfying the update condition may be counted in a counting manner. The preset number threshold may be set according to actual requirements, and for example, the preset number threshold may be set to 10. That is, when the number of the mobile phones with the attribute values meeting the updating conditions reaches 10, the attribute values are determined as the service life threshold values, the counter is cleared and counting is restarted, and if the number of the mobile phones with the attribute values meeting the updating conditions does not reach 10, the service life threshold values are not updated.
For example, the fault reported by the user is a battery fault of the mobile phone, and it is assumed that the initial life threshold of the battery (i.e., the number of full charge and discharge cycles of the battery) is 500 times, and the corresponding preset threshold interval is [490,500] times. And (3) reading the full charge-discharge cycle number of the battery by a maintenance worker, if the read full charge-discharge cycle number of the battery is 495 times and 495 times falls in a preset threshold value interval [490,500], adding 1 to a counter for counting the number of the electronic equipment, and if the counter reaches 10, updating the service life threshold value of the battery to 495 times. If the number of the counters does not reach 10 within a preset time (the preset time can be set according to actual requirements, for example, 6 months, and the starting point of the time can be counted by the time when the mobile phone is on the market), the attribute value is considered as a noise value, and the life threshold value of the battery is not updated. And if the read full charge-discharge cycle number of the battery is 480 times and 480 does not fall into a preset threshold value interval [490,500], not updating the service life threshold value. And if the read full charge-discharge cycle number of the battery is 510, and 510 does not fall into a preset threshold value interval [490,500], not updating the service life threshold value.
When the life threshold of the battery is updated to 495 times, the corresponding threshold interval may become [485,495] times.
When the fault reported by the user is not the battery fault of the mobile phone but any other high-value material fault, and the number of full charge-discharge cycles of the battery read by the maintenance personnel is 490, the battery is considered to be 490 as a normal value.
In this embodiment, under the condition that the attribute value satisfies the update condition, the number of electronic devices satisfying the update condition is counted; determining the attribute value as a service life threshold value under the condition that the number reaches a preset number threshold value; the service life threshold value obtained through learning training is more accurate.
The life threshold value meeting the convergence condition means that the life threshold value is not updated within a preset time period.
In one embodiment, the lifetime threshold value satisfying the convergence condition may be determined by:
determining an activation time of the electronic device;
under the condition that the activation time exceeds a first preset time threshold, acquiring an updating state of a service life threshold;
and if the service life threshold value is in an un-updated state within a preset time period, determining that the service life threshold value meets the convergence condition.
Specifically, the activation time of the electronic device refers to the time when the user activates the mobile phone, or refers to the time when the mobile phone is on the market, that is, the default mobile phone is activated after the mobile phone is on the market.
The first preset time threshold may be set according to actual requirements, for example, the first preset time threshold may be 6 months.
The preset time period can be set according to actual requirements, and the duration of the preset time period is less than that of the first preset time threshold. For example, the preset time period may be 4 weeks.
After the mobile phone is on the market for 6 months, if the service life threshold values of the high-value materials or some modules in the high-value materials are not updated for 4 weeks continuously, the current service life threshold values are considered to be stable, namely the current service life threshold values meet the convergence conditions, the current service life threshold values are determined as final service life threshold values, and the final service life threshold values are not updated.
In some possible embodiments, the property value of the target device is inversely related to the lifetime of the target device; the correlation coefficient of the negative correlation is greater than a first coefficient threshold
Specifically, the attribute value of the target device is inversely related to the service life of the target device as follows: the attribute values become larger and larger with the use time of the target device, and the service life of the target device becomes smaller and smaller.
The correlation coefficient is used for representing the correlation between the attribute value of the high-value material or some modules in the high-value material and the service life of the high-value material or some modules in the high-value material. The first coefficient threshold may be set according to time requirements, for example, the first coefficient threshold may be 70%.
Fig. 3 is a schematic structural diagram of a detection apparatus 300 of an electronic device according to an embodiment of the present invention. As shown in fig. 3, the apparatus may implement the method shown in fig. 2, and the apparatus may include:
a first obtaining module 310, configured to obtain an attribute value of a target device in an electronic device to be detected;
a second obtaining module 320, configured to obtain a service threshold value corresponding to the attribute value of the target device;
and the output module 330 is configured to output prompt information in response to the attribute value exceeding the service threshold value, where the prompt information is used to prompt replacement of the target device.
Optionally, the attribute value of the target device is used for quantifying the use state of the target device;
the attribute value satisfies at least one or more conditions including:
the attribute value changes unidirectionally along with the service time of the target device;
the attribute value is irreversible along with the use time change of the target device;
the attribute value is in an unmodifiable state;
the acquisition state of the attribute value is not influenced by the system acquisition authority state of the electronic equipment to be detected.
Optionally, the apparatus further includes a third determining module, configured to:
determining a life threshold value of a target device;
under the condition that the service life threshold value meets the convergence condition, determining the service threshold value of the target device according to the converged service life threshold value and the service life coefficient corresponding to the target device;
wherein the life coefficient is used as a weight coefficient for characterizing the life threshold value of the target device.
Optionally, the third determining module is further configured to:
acquiring an initial life threshold value of a target device;
and determining the initial life threshold value as a life threshold value.
Optionally, the third determining module is further configured to:
when the electronic equipment is in a fault state, acquiring an attribute value of a target device through a debugging bridge ADB;
under the condition that the attribute values meet the updating conditions, counting the number of the electronic devices meeting the updating conditions;
determining the attribute value as a service life threshold value under the condition that the number reaches a preset number threshold value;
wherein, the updating condition is that the attribute value falls into a preset threshold value interval.
Optionally, the apparatus further includes a fourth determining module, configured to:
determining an activation time of the electronic device;
under the condition that the activation time exceeds a first preset time threshold, acquiring an updating state of a service life threshold;
and if the service life threshold value is in an un-updated state within a preset time period, determining that the service life threshold value meets the convergence condition.
The detection apparatus of the electronic device provided in this embodiment may implement the embodiments of the method, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. As shown in fig. 4, a schematic structural diagram of an electronic device 400 suitable for implementing an embodiment of the present application is shown.
As shown in fig. 4, the electronic apparatus 400 includes a Central Processing Unit (CPU)401 that can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)402 or a program loaded from a storage section 408 into a Random Access Memory (RAM) 403. In the RAM 403, various programs and data necessary for the operation of the device 400 are also stored. The CPU 401, ROM 402, and RAM 403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
The following components are connected to the I/O interface 405: an input section 406 including a keyboard, a mouse, and the like; an output section 407 including a display device such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 408 including a hard disk and the like; and a communication section 409 including a network interface card such as a LAN card, a modem, or the like. The communication section 409 performs communication processing via a network such as the internet. A driver 410 is also connected to the I/O interface 406 as needed. A removable medium 411 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 410 as necessary, so that a computer program read out therefrom is mounted into the storage section 408 as necessary.
In particular, the process described above with reference to fig. 1 may be implemented as a computer software program, according to an embodiment of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program tangibly embodied on a machine-readable medium, the computer program comprising program code for performing the detection method of the electronic device described above. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 409, and/or installed from the removable medium 411.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units or modules described in the embodiments of the present application may be implemented by software or hardware. The described units or modules may also be provided in a processor. The names of these units or modules do not in some cases constitute a limitation of the unit or module itself.
As another aspect, the present application also provides a storage medium, which may be the storage medium contained in the foregoing device in the above embodiment; or may be a storage medium that exists separately and is not assembled into the device. The storage medium stores one or more programs that are used by one or more processors to execute the detection method described in the electronic device of the present application.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by a person skilled in the art that the scope of the invention as referred to in the present application is not limited to the embodiments with a specific combination of the above-mentioned features, but also covers other embodiments with any combination of the above-mentioned features or their equivalents without departing from the inventive concept. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (14)

1. A method for detecting an electronic device, the method comprising:
acquiring an attribute value of a target device in electronic equipment to be detected;
acquiring a service threshold value corresponding to the attribute value of the target device;
and responding to the attribute value exceeding the service threshold value, and outputting prompt information, wherein the prompt information is used for prompting the target device to be replaced.
2. The method of claim 1, wherein the property value of the target device is used to quantify a usage status of the target device;
the attribute value at least satisfies one or more conditions including:
the attribute value changes unidirectionally with the use time of the target device;
the attribute value is irreversible as a function of the age of the target device;
the attribute value is in a non-modifiable state;
and the acquisition state of the attribute value is not influenced by the system acquisition permission state of the electronic equipment to be detected.
3. The method of claim 1, wherein the service threshold value is determined by:
determining a life threshold value of the target device;
determining the service threshold value of the target device according to the service threshold value after convergence and a service coefficient corresponding to the target device under the condition that the service threshold value meets a convergence condition;
wherein the lifetime coefficient is used as a weighting coefficient for characterizing the lifetime threshold value of the target device.
4. The method of claim 3, wherein the determining the lifetime threshold value of the target device comprises:
acquiring an initial life threshold value of the target device;
and determining the initial life threshold value as the life threshold value.
5. The method of claim 3 or 4, wherein the determining the lifetime threshold value of the target device comprises:
when the electronic equipment is in a fault state, acquiring the attribute value of the target device through a debugging bridge ADB;
counting the number of the electronic devices meeting the updating condition under the condition that the attribute values meet the updating condition;
determining the attribute value as the life threshold value under the condition that the number reaches a preset number threshold value;
and updating the attribute value according to the updating condition, wherein the updating condition is that the attribute value falls into a preset threshold value interval.
6. The method of claim 3, wherein the lifetime threshold value satisfying the convergence criterion is determined by:
determining an activation time of the electronic device;
under the condition that the activation time exceeds a first preset time threshold, acquiring the updating state of the service life threshold;
and if the service life threshold value is in an unrefreshed state in a preset time period, determining that the service life threshold value meets a convergence condition.
7. An apparatus for detecting an electronic device, the apparatus comprising:
the first acquisition module is used for acquiring the attribute value of a target device in the electronic equipment to be detected;
the second acquisition module is used for acquiring a service threshold value corresponding to the attribute value of the target device;
and the output module is used for responding to the attribute value exceeding the service threshold value and outputting prompt information, and the prompt information is used for prompting the replacement of the target device.
8. The apparatus of claim 7, wherein the property value of the target device is used to quantify a usage status of the target device;
the attribute value at least satisfies one or more conditions including:
the attribute value changes unidirectionally with the use time of the target device;
the attribute value is irreversible as a function of the age of the target device;
the attribute value is in a non-modifiable state;
and the acquisition state of the attribute value is not influenced by the system acquisition permission state of the electronic equipment to be detected.
9. The apparatus of claim 7, further comprising a third determining module configured to:
determining a life threshold value of the target device;
determining the service threshold value of the target device according to the service threshold value after convergence and a service coefficient corresponding to the target device under the condition that the service threshold value meets a convergence condition;
wherein the lifetime coefficient is used as a weighting coefficient for characterizing the lifetime threshold value of the target device.
10. The apparatus of claim 9, wherein the third determining module is further configured to:
acquiring an initial life threshold value of the target device;
and determining the initial life threshold value as the life threshold value.
11. The apparatus of claim 9 or 10, wherein the third determining module is further configured to:
when the electronic equipment is in a fault state, acquiring the attribute value of the target device through a debugging bridge ADB;
counting the number of the electronic devices meeting the updating condition under the condition that the attribute values meet the updating condition;
determining the attribute value as the life threshold value under the condition that the number reaches a preset number threshold value;
and updating the attribute value according to the updating condition, wherein the updating condition is that the attribute value falls into a preset threshold value interval.
12. The apparatus of claim 9, further comprising a fourth determining module configured to:
determining an activation time of the electronic device;
under the condition that the activation time exceeds a first preset time threshold, acquiring the updating state of the service life threshold;
and if the service life threshold value is in an unrefreshed state in a preset time period, determining that the service life threshold value meets a convergence condition.
13. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the detection method of the electronic device according to any of claims 1-6 when executing the program.
14. A readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method of detection of an electronic device according to any one of claims 1 to 6.
CN202110178913.2A 2021-02-09 2021-02-09 Detection method, device and equipment of electronic equipment and storage medium Pending CN112907913A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110178913.2A CN112907913A (en) 2021-02-09 2021-02-09 Detection method, device and equipment of electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110178913.2A CN112907913A (en) 2021-02-09 2021-02-09 Detection method, device and equipment of electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112907913A true CN112907913A (en) 2021-06-04

Family

ID=76123141

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110178913.2A Pending CN112907913A (en) 2021-02-09 2021-02-09 Detection method, device and equipment of electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112907913A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101826367A (en) * 2009-06-02 2010-09-08 深圳市朗科科技股份有限公司 Method and device for monitoring reliability of semiconductor storage device
US20130067266A1 (en) * 2011-09-09 2013-03-14 Xerox Corporation Fault-based unit replacement
CN106642604A (en) * 2016-12-08 2017-05-10 海信(山东)空调有限公司 Air conditioner fault detection system and method
CN108872762A (en) * 2018-05-02 2018-11-23 Oppo广东移动通信有限公司 Electronic equipment electrical leakage detecting method, device, electronic equipment and storage medium
CN109144811A (en) * 2018-06-29 2019-01-04 维沃移动通信有限公司 A kind of application monitoring method, device and mobile terminal
CN109408328A (en) * 2018-10-08 2019-03-01 郑州云海信息技术有限公司 A kind of monitoring method, device and the equipment of hard disk health status
CN109634767A (en) * 2018-12-06 2019-04-16 北京字节跳动网络技术有限公司 Method and apparatus for detection information
CN112162934A (en) * 2020-09-29 2021-01-01 深圳市时创意电子有限公司 Storage block abnormal wear processing method and device, electronic equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101826367A (en) * 2009-06-02 2010-09-08 深圳市朗科科技股份有限公司 Method and device for monitoring reliability of semiconductor storage device
US20130067266A1 (en) * 2011-09-09 2013-03-14 Xerox Corporation Fault-based unit replacement
CN106642604A (en) * 2016-12-08 2017-05-10 海信(山东)空调有限公司 Air conditioner fault detection system and method
CN108872762A (en) * 2018-05-02 2018-11-23 Oppo广东移动通信有限公司 Electronic equipment electrical leakage detecting method, device, electronic equipment and storage medium
CN109144811A (en) * 2018-06-29 2019-01-04 维沃移动通信有限公司 A kind of application monitoring method, device and mobile terminal
CN109408328A (en) * 2018-10-08 2019-03-01 郑州云海信息技术有限公司 A kind of monitoring method, device and the equipment of hard disk health status
CN109634767A (en) * 2018-12-06 2019-04-16 北京字节跳动网络技术有限公司 Method and apparatus for detection information
CN112162934A (en) * 2020-09-29 2021-01-01 深圳市时创意电子有限公司 Storage block abnormal wear processing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US10496509B2 (en) Systems and methods for event tracking and health assessment of battery-powered information handling systems
US9378015B2 (en) Predicting defects in code
US7757125B2 (en) Defect resolution methodology and data defects quality/risk metric model extension
US20080034258A1 (en) Fault management apparatus, fault management method, fault management program and recording medium recording the same
Bauer Design for reliability: information and computer-based systems
CN110164501B (en) Hard disk detection method, device, storage medium and equipment
CN110471821B (en) Abnormality change detection method, server, and computer-readable storage medium
CN110619210A (en) Simulator detection method and system
CN107992410B (en) Software quality monitoring method and device, computer equipment and storage medium
CN104956373A (en) Determining suspected root causes of anomalous network behavior
CN106682162B (en) Log management method and device
CN106021054A (en) Method and apparatus for testing upgrading and downgrading stability of BMC
CN113837596A (en) Fault determination method and device, electronic equipment and storage medium
CN107679423A (en) Partition integrity inspection method and device
CN114758714A (en) Hard disk fault prediction method and device, electronic equipment and storage medium
CN114020432A (en) Task exception handling method and device and task exception handling system
CN112907913A (en) Detection method, device and equipment of electronic equipment and storage medium
US8843341B2 (en) Method and device for identifying a faulty algorithm
CN116843314A (en) Monitoring terminal operation and maintenance management method, system, equipment and storage medium
US20220222580A1 (en) Deterioration detection method, non-transitory computer-readable storage medium, and information processing device
US11467936B2 (en) Predicting motherboard connector failures
CN115391110A (en) Test method of storage device, terminal device and computer readable storage medium
CN114549193A (en) List screening method, apparatus, device, storage medium and program product
Jacques-Silva et al. Survivability modeling to assess deployment alternatives accounting for rejuvenation
TWI778634B (en) Method for classifying faults, electronic equipment and storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210604

RJ01 Rejection of invention patent application after publication