CN113691676B - Equipment state prompting method and device, storage medium and electronic equipment - Google Patents

Equipment state prompting method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN113691676B
CN113691676B CN202110852362.3A CN202110852362A CN113691676B CN 113691676 B CN113691676 B CN 113691676B CN 202110852362 A CN202110852362 A CN 202110852362A CN 113691676 B CN113691676 B CN 113691676B
Authority
CN
China
Prior art keywords
component
prompt
target
equipment
prompting
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
CN202110852362.3A
Other languages
Chinese (zh)
Other versions
CN113691676A (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 Coolpad Technology Co ltd
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Nanjing Coolpad Software Technology Co Ltd
Original Assignee
Shenzhen Coolpad Technology Co ltd
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Nanjing Coolpad Software 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 Coolpad Technology Co ltd, Yulong Computer Telecommunication Scientific Shenzhen Co Ltd, Nanjing Coolpad Software Technology Co Ltd filed Critical Shenzhen Coolpad Technology Co ltd
Priority to CN202110852362.3A priority Critical patent/CN113691676B/en
Publication of CN113691676A publication Critical patent/CN113691676A/en
Application granted granted Critical
Publication of CN113691676B publication Critical patent/CN113691676B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • 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/24Reminder alarms, e.g. anti-loss alarms
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B7/00Signalling systems according to more than one of groups G08B3/00 - G08B6/00; Personal calling systems according to more than one of groups G08B3/00 - G08B6/00
    • G08B7/06Signalling systems according to more than one of groups G08B3/00 - G08B6/00; Personal calling systems according to more than one of groups G08B3/00 - G08B6/00 using electric transmission, e.g. involving audible and visible signalling through the use of sound and light sources
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • User Interface Of Digital Computer (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the application discloses a device state prompting method, a device, a storage medium and electronic equipment, wherein the method comprises the following steps: when the equipment system is crashed, the working state and the equipment electric quantity corresponding to the contained display component are obtained; determining a target prompting component from a display component and a reference prompting component based on the working state and the equipment electric quantity; the prompt power consumption of the reference prompt component is smaller than that of the display component; and carrying out system crash reminding through the target prompt component. By adopting the embodiment of the application, the power consumption of equipment state prompt can be reduced, and the intelligence of the prompt is improved.

Description

Equipment state prompting method and device, storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a device status prompting method, a device, a storage medium, and an electronic device.
Background
With the rapid development of communication technology, the application scenes of terminal equipment such as mobile phones and computers are wider, and in the actual application process of the terminal equipment, phenomena such as abnormal downtime of a system, operation triggering system kernel faults and the like can be encountered to cause system breakdown of the equipment; for example, when the device system is running, the software or hardware behavior of the terminal device is abnormal, so that the operating system of the terminal device is usually faulty, such as a device system crash phenomenon that functions cannot be normally executed, and frequent crashes occur.
Disclosure of Invention
The embodiment of the application provides a device state prompting method, a device, a storage medium and electronic equipment, wherein the technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a device status prompting method, where the method includes:
when the equipment system is crashed, the working state and the equipment electric quantity corresponding to the contained display component are obtained;
determining a target prompting component from a display component and a reference prompting component based on the working state and the equipment electric quantity; the prompt power consumption of the reference prompt component is smaller than that of the display component;
and carrying out system crash reminding through the target prompt component.
In a second aspect, an embodiment of the present application provides an apparatus status prompting device, where the apparatus includes:
the information acquisition module is used for acquiring the working state and the equipment electric quantity corresponding to the contained display component when the equipment system is crashed;
the component determining module is used for determining a target prompting component from the display component and the reference prompting component based on the working state and the equipment electric quantity; the prompt power consumption of the reference prompt component is smaller than that of the display component;
And the crash reminding module is used for carrying out system crash reminding through the target reminding component.
In a third aspect, embodiments of the present application provide a computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the above-described method steps.
In a fourth aspect, embodiments of the present application provide an electronic device, which may include: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the above-mentioned method steps.
The technical scheme provided by some embodiments of the present application has the beneficial effects that at least includes:
in one or more embodiments of the present application, when a terminal device is in a device system crash, acquiring a working state and a device power corresponding to a display component, and determining a target prompt component from the display component and a reference prompt component based on the working state and the device power; and the prompt power consumption of the reference prompt component is smaller than that of the display component, and then the target prompt component is used for prompting system breakdown. According to the method and the device, the working state of the display component and the equipment electric quantity can be combined, the optimal target prompt component is intelligently determined from the display component and the reference prompt component, the target prompt component is used for prompting, the problem that the prompting effect is poor and the prompting power consumption is large due to the fact that the default crash prompt mode is adopted for prompting is avoided, and the intelligent prompt of system crash based on an actual environment is realized; and the influence of power consumption of the equipment is considered, the crashed site is reserved to the greatest extent, and the stability of the system is ensured.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described 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 is a flow chart of a device status prompting method provided in an embodiment of the present application;
FIG. 2 is a schematic diagram of an interface for crash alerting provided in an embodiment of the present application;
FIG. 3 is a flowchart illustrating another method for prompting a device status according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an apparatus status prompting device according to an embodiment of the present application;
FIG. 5 is a schematic structural view of a component determination module according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
FIG. 7 is a schematic diagram of an operating system and user space provided by an embodiment of the present application;
FIG. 8 is an architecture diagram of the android operating system of FIG. 6;
FIG. 9 is an architecture diagram of the IOS operating system of FIG. 6.
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 one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
In the description of the present application, it should be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In the description of the present application, it is to be understood that the terms "comprise" and "have," and any variations thereof, are intended to cover non-exclusive inclusions, unless otherwise specifically defined and defined. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus. The specific meaning of the terms in this application will be understood by those of ordinary skill in the art in a specific context. Furthermore, in the description of the present application, unless otherwise indicated, "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
The present application is described in detail with reference to specific examples.
In one embodiment, as shown in fig. 1, a device state prompting method is specifically proposed, which can be implemented by a computer program and can be run on a device state prompting device based on von neumann system. The computer program may be integrated in the application or may run as a stand-alone tool class application. The device status prompting apparatus may be a terminal device, including but not limited to: personal computers, tablet computers, handheld devices, vehicle mounted devices, wearable devices, computing devices, or other processing devices connected to a wireless modem, and the like. Terminal devices in different networks may be called different names, for example: a user equipment, an access terminal, a subscriber unit, a subscriber station, a mobile station, a remote terminal, a mobile device, a user terminal, a wireless communication device, a user agent or user equipment, a cellular telephone, a cordless telephone, a terminal device in a 5G network or a future evolution network, etc.
Specifically, the device state prompting method comprises the following steps:
s101: and when the equipment system is crashed, acquiring the working state and the equipment electric quantity corresponding to the contained display component.
In the actual application process of the terminal equipment, the phenomena such as abnormal downtime of the system, operation triggering system kernel faults and the like can be encountered to cause the system breakdown of the equipment, and when the system breakdown of the equipment is caused, the phenomena of the system breakdown of the equipment such as incapability of normally executing functions, frequent halt and the like are caused by the abnormal software or hardware behaviors of the terminal equipment. Furthermore, in practical implementation, various reasons exist for triggering the device system crash, and the risks of causing the device system crash are all existed in the factors of hardware problems, external environment triggering (such as device failure caused by temperature factors), virus Trojan horse and the like.
In a specific embodiment, an operating system carried by the terminal device may establish a monitoring service for device system crash, where the monitoring service may be carried in a system process manner, and the terminal device may monitor an application activity on a daily device system based on the monitoring service, where the monitoring service may monitor the device system crash in real time when a phenomenon such as a system crash is caused by an abnormal system downtime, an operation triggering system kernel fault, or the like.
In a specific embodiment, the terminal device may perform a read operation on the memory, and when the read operation is performed, if the crash mark associated with the device system crash is read in the memory, it may be determined that the device operating system crashes, because the operating system carried by the terminal device generates a corresponding crash mark in the memory when the device system crashes.
In some embodiments, when the terminal device is in a device system crash, in order to implement intelligent prompt for a device state, the working state and the device power corresponding to the included display component may be obtained before the prompt, instead of directly prompting the user in a default crash prompt manner in the related art.
The display component may be an electronic device having a display function of display elements such as characters and patterns on the terminal device. A common display means may be a display screen of the terminal device. In some embodiments, the display component may be part of a terminal device; the display component can also be an independent component relative to the terminal equipment, can be matched with the terminal equipment for use, for example, can be used as an expandable display screen of the terminal equipment, and can be matched with the terminal equipment for use only by establishing communication connection with the terminal equipment.
The reference prompt component can be understood as other electronic devices with information prompt function for users besides the display component, and the reference prompt component can be a vibration motor, an expandable hardware (such as an expandable camera and an expandable screen), a flashlight, a prompt lamp, a microphone and the like. In some embodiments, the reference hint component may be part of a terminal device; the portable terminal device can also be an independent component relative to the terminal device, can be matched with the terminal device for use, for example, can be used as an extensible prompt component (such as an intelligent sound box, an intelligent watch, an intelligent bracelet and other intelligent devices) of the terminal device, and can be matched with the terminal device for use only by establishing communication connection with the terminal device.
The corresponding working states of the display component comprise a normal display state and a fault display state, and when the display component can display pictures, the display component can be generally considered to be in the normal display state; when the display unit cannot perform normal display, for example, cannot perform next frame display, the display unit can be generally considered to be in a display failure state;
the obtaining of the working state of the display component may be that the terminal sends a display detection instruction to the included display component, and the display component performs device display detection in response to the display detection instruction, for example, performs picture pixel detection, so as to determine whether the display component can normally display, and obtain the working state of the current display component.
The device power can be understood as the residual power SOC of the current terminal device, which means the ratio of the available power in the power supply module of the terminal device to the nominal capacity, and is an important monitoring data for realizing battery management of the terminal device, and the terminal device can generally control the working state of the battery according to the SOC value. The remaining capacity of the battery, that is, the state of charge of the battery is reflected, and the representation of the remaining capacity may be in the form of a percentage of the capacity, the remaining capacity, or the like.
In a specific implementation scenario, the terminal device may acquire the current device power by sending a corresponding acquisition instruction according to the state information of the power supply module, and perform analysis processing on the acquired device power based on the acquired state information of the power supply module. If an acquisition instruction is sent out by the method of adb shell dumpsys battery, various state information (such as a charging state, a real-time temperature, a real-time voltage, a real-time current, a residual electric quantity and the like) of the power supply module can be returned through the acquisition instruction, and then the electric quantity of the equipment can be obtained by searching a parameter corresponding to the level (percentage), wherein the electric quantity of the equipment is in the form of the electric quantity percentage.
S102: determining a target prompting component from a display component and a reference prompting component based on the working state and the equipment electric quantity; the prompt power consumption of the reference prompt component is smaller than the prompt power consumption of the display component.
In practical applications, since the display unit displays a screen, the power consumption of the reference display unit, such as a display lamp and a motor, is generally smaller than that of the display unit; in some embodiments, the display unit is capable of displaying a screen, and therefore, the display unit generally displays a presentation effect that is superior to that of the reference presentation unit. In the application, the comprehensive measurement of state prompt can be performed by combining the working state of the display component and the electric quantity of the equipment.
In a specific implementation scenario, after the terminal device obtains the working state corresponding to the display component, when the working state corresponding to the display component is in a normal display state, the terminal device can determine a target prompt component from the display component and the reference prompt component based on the device electric quantity, and the target prompt component is adopted for intelligent prompt; when the working state corresponding to the display part is a fault display state, the display part can not normally display at the moment, and the intelligent prompt can be carried out by adopting the target prompt part based on the reference prompt part as the target prompt part;
Further, if the working state corresponding to the display component is a normal display state, the terminal device may determine a target prompting component from the display component and the reference prompting component based on the dimension of the device electric quantity from the device residual electric quantity;
in a possible embodiment, a power threshold may be set for the power of the device when the display unit is in a normal display state, and the circuit threshold may be understood as a threshold or a threshold value for the power of the device.
When the electric quantity of the equipment is larger than the electric quantity threshold value, the terminal equipment can support to output a corresponding display picture by the display part to prompt at the moment when the electric quantity of the equipment is enough, and the terminal equipment can take the display part as a target prompt part;
when the electric quantity of the equipment is smaller than or equal to the electric quantity threshold, the electric quantity of the terminal equipment is low at the moment, and the terminal equipment can take the reference prompt component as a target prompt component and adopts the reference prompt component to carry out system breakdown prompt.
Optionally, the power threshold may be determined based on a device crash service reservation requirement, and usually after a device system crashes, in order to facilitate analysis of a subsequent crash cause, data information of a device crash field needs to be reserved, where in this scenario, many key information used for device crash analysis is volatile information, and information loss often occurs when the power of the device is low. Based on the method, the determination of the electric quantity threshold can be determined based on the retention requirement of the equipment crash service, the requirement of the retention time dimension is considered through sampling analysis of various crash scenes, and the electric quantity threshold is determined, so that the influence of equipment power consumption is considered, the crash scene is retained to the greatest extent, and the system stability is ensured.
In a specific implementation scenario, when the working state corresponding to the display component is a display fault state, at this time, the display component cannot normally display the work, and the terminal device may use the reference prompt component as the target prompt component, and use the reference prompt component to perform a system crash prompt.
S103: and carrying out system crash reminding through the target prompt component.
Specifically, the target prompting component corresponds to a corresponding preset prompting mode, and the preset prompting rule can be a prompt for displaying the system running through modes such as pictures, characters, audio and the like.
Optionally, if the target prompting component is a display component, the mode of outputting the prompting information by the terminal device may be that a corresponding text prompting notification is loaded on a current display interface, for example, as shown in fig. 2, fig. 2 is an interface schematic diagram of a crash prompting related to the application, the terminal device pushes a prompting message such as "please note that the current system is running and part of functions affect normal use" on a notification bar of a screen display area, the terminal device may also provide a multimedia file for crash prompting on the current display interface to the user, where the multimedia file may include a recovery policy for system running and crash, so that the user may perform system recovery of the terminal device based on the recovery policy, and so on.
Optionally, if the target prompting component is a reference prompting component (microphone, motor, expandable camera), the mode of outputting the crash notification by the terminal device may be output in a voice form, for example: the terminal equipment can broadcast the voice that the current system runs and partial functions affect normal use; may be in the form of a reference cue-motor vibration, for example: the terminal equipment can call an internal vibration motor to prompt at a specific vibration frequency; and the system can also be in the form of a breathing lamp, a flash lamp, a light supplementing lamp and the like on the calling terminal equipment.
It should be noted that, the terminal device outputs a system crash reminding mode in multiple manners, and through setting corresponding crash reminding modes for different types of target reminding components, only the subsequent terminal device needs to call the target reminding component to perform crash reminding after determining the corresponding target reminding component.
May be one or more of the above, and is not particularly limited herein.
In the embodiment of the application, when the terminal equipment is in equipment system breakdown, acquiring a working state and equipment electric quantity corresponding to the contained display component, and determining a target prompt component from the display component and the reference prompt component based on the working state and the equipment electric quantity; and the prompt power consumption of the reference prompt component is smaller than that of the display component, and then the target prompt component is used for prompting system breakdown. According to the method and the device, the working state of the display component and the equipment electric quantity can be combined, the optimal target prompt component is intelligently determined from the display component and the reference prompt component, the target prompt component is used for prompting, the problem that the prompting effect is poor and the prompting power consumption is large due to the fact that the default crash prompt mode is adopted for prompting is avoided, and the intelligent prompt of system crash based on an actual environment is realized; and the influence of power consumption of the equipment is considered, the crashed site is reserved to the greatest extent, and the stability of the system is ensured.
Referring to fig. 3, fig. 3 is a flowchart illustrating another embodiment of a device status prompting method according to the present application. Specific:
s201: when the equipment system is crashed, the working state and the equipment electric quantity corresponding to the contained display component are obtained;
see step S101, and will not be described here.
S202: determining a target prompting component from a display component and a reference prompting component based on the working state and the equipment electric quantity; the prompt power consumption of the reference prompt component is smaller than that of the display component;
see step S102, which is not described here.
S203: when the target prompt component is the reference prompt component, determining a target prompt level from at least one prompt level corresponding to the reference prompt component based on the equipment electric quantity, and controlling the target prompt component to carry out system breakdown prompt by taking the target prompt level as a reference.
The prompting levels correspond to prompting modes of different prompting degrees of the reference prompting component, and the reference prompting component prompts the user with different prompting levels and also has different prompting effects.
In the application, working modes with different prompting effects can be set for the reference prompting component, each working mode corresponds to different prompting levels, and in the practical application process, the situation that the system crashes is faced is considered, so that the analysis of the follow-up crashes is facilitated, and the data information of the equipment crashes on site is required to be reserved to avoid the loss of key information caused by electric quantity. Generally, the higher the prompting effect is, the higher the corresponding power consumption is, based on the prompting effect, the current preferred target prompting level can be comprehensively measured by comprehensively combining the equipment power quantity and the prompting effect corresponding to each prompting level of the reference prompting component, so that the system crash prompting can be carried out based on the preferred target prompting level.
Taking a reference prompt part as a vibration motor as an example, the prompt level corresponds to the working modes of different vibration effects of the vibration motor. Such as a continuous vibration mode type, a short vibration mode type, an intermittent vibration mode type, etc.
Taking a reference prompt component as a microphone as an example, the prompt level corresponds to working modes of different sound production effects of the microphone, and different prompt levels can correspond to the microphone to play different types of prompt tones.
Taking the reference prompt part as a prompt lamp as an example, the indicator lamp can be understood as a light-emitting device such as a breathing lamp, a flash lamp, a light supplementing lamp and the like on the terminal equipment, and the terminal equipment can control the indicator lamp to remind at different prompt levels by calling a program interface corresponding to the indicator lamp. Different prompt levels can specifically set options such as the normal lighting of the prompt lamp, the flickering of the prompt lamp, the color of the prompt lamp and the like, and different prompt levels can specifically set the normal lighting time, the flickering frequency and the like of the prompt lamp.
According to the method and the device, working states of different prompt levels are preset for the reference prompt component, and mapping relations between the prompt levels and the equipment power are pre-established, wherein the mapping relations can be characterized in the forms of a linear table, a relation set and the like. It can be understood that the mapping relation is determined by adopting a mathematical analysis method for pre-collecting sample data in an actual environment, and the mapping relation of prompt levels of the reference prompt component under different equipment electric quantities is established. Based on the mapping relation, the actual application stage can determine the target prompt level based on the mapping relation under the condition that the current equipment electric quantity is acquired, and the terminal equipment only needs to control the target prompt component to carry out system crash prompt by taking the target prompt level as a reference because the target prompt level corresponds to the corresponding working mode of the reference prompt component in advance.
In a specific implementation scenario, taking a reference prompt component as an example of a vibration component, the vibration component may be an electronic device with a vibration function, such as a vibration motor, and the terminal device may determine a target vibration prompt level from at least one vibration prompt level corresponding to the vibration component based on the device power; that is, based on the mapping relation, determining the target vibration prompt level corresponding to the current equipment electric quantity. In practical application, different vibration prompt levels correspond to corresponding vibration working parameters, and the vibration working parameters can be vibration intensity, vibration frequency, vibration duration and the like. And the vibration equipment controls the target prompt component to carry out system crash prompt by adopting vibration working parameters corresponding to the target vibration prompt level.
In some implementation scenarios, when the terminal device is in a system crash scenario, the display component has a higher terminal resource demand and higher display computing power consumption than the reference prompt component, and the display component is usually included in a display failure state with a high probability.
S204: when the target prompt component is the reference prompt component and the reference prompt component is a plurality of reference prompt components, determining the current environment state parameters, and determining the target prompt component from the reference prompt components based on the environment state parameters.
According to some embodiments, the terminal device may be matched with a plurality of reference prompt components, for example, components such as a vibration motor, extensible hardware (such as an extensible camera and an extensible screen), a flashlight, a prompt lamp, a microphone and the like may be simultaneously carried, and in some embodiments, the terminal device may be matched with an independent reference prompt component, that is, the reference prompt component may work independently without assistance of the terminal device, and the reference prompt component may be matched with the terminal device only by establishing communication connection with the terminal device, for example, an intelligent sound box, an intelligent bracelet, an intelligent watch and the like.
Further, as described above, when the number of the reference prompting components is plural, the terminal device may further determine at least one preferred target prompting component at this time, and control the target prompting component to perform a system crash reminder.
Further, different types of reference cues are often better cues in certain environmental scenarios, while cues may be less effective in some environmental scenarios. In the embodiment of the application, the target prompt environment matched with the current environment state can be further determined by combining the environment factors.
In a specific implementation scenario, the terminal device may acquire an environmental status parameter in which the terminal device is currently located, determine an environmental status type of the environment in which the terminal device is currently located based on the environmental status parameter, and further determine the target prompting component.
S2041, determining the type of the environmental state of the current environment based on the environmental state parameter;
the environmental state parameter may be understood as a parameter representing at least one environmental state dimension corresponding to the terminal device, and in practical application, the environmental state parameter may be a time parameter, an environmental position parameter, an environmental noise parameter, an environmental light parameter, an environmental temperature and humidity parameter, and so on.
Specifically, the terminal device may monitor the state of the terminal device in daily use through the included monitoring portion (such as a monitoring module, a monitoring unit, a sensor for monitoring, etc.), further, the terminal device may be provided with a monitoring module for detecting an environmental state, the terminal device may collect external environmental monitoring information (noise, position, etc.) according to the included monitoring module, and the monitoring module may include a distance sensor, a temperature and humidity sensor, an image collector (such as a camera, a thermal imager, a night vision device, etc.), a vibration sensor, etc. for monitoring the external environmental state information.
Further, determining the current environmental state parameter, where the acquiring time of the environmental state parameter may be that when it is determined that the device is in a system crash state, monitoring the state of the terminal device in daily use based on the monitoring portion (such as a monitoring module, a monitoring unit, a sensor for monitoring, etc.) included in the device is started, so as to acquire the environmental state parameter.
Further, determining the current environmental state parameter, where the acquiring time of the environmental state parameter may be that, before determining that the equipment system in the equipment system is in a crash state, when the equipment system of the terminal is in a normal state, there is a scene of acquiring the environmental state parameter by using a service requirement, the terminal equipment records the scene in a memory space as a historical environmental state parameter, and in this application, the historical environmental state parameter and a parameter generation time point corresponding to the historical environmental state parameter may be acquired, and when a time interval between the parameter generation time point and the current time point is within a time threshold range, it is indicated that the confidence coefficient of the historical environmental state parameter is higher, and the historical environmental state parameter may be used as the current environmental state parameter.
Further, when the terminal device measures the environmental state parameters, the terminal device can be based on a plurality of set environmental state measurement items, and each state measurement item corresponds to the environmental state parameter of the corresponding measurement type; such as ambient location parameters, ambient noise parameters, ambient light parameters, ambient temperature and humidity parameters, etc.
The environment state type is distinguished based on the actual application environment, and includes, but is not limited to, an indoor environment state type, an outdoor environment state type, a daytime state type, a night state type, and the like.
In a possible implementation manner, the environment state type can be determined based on the environment state parameters, in a specific implementation manner, an environment state determination model can be trained, a large number of environment state parameter samples created by the actual application of the terminal device are obtained in advance, the environment state parameter samples are input into the environment state determination model for training, the environment state type is output, and the environment state determination model is obtained by training a plurality of environment state parameter samples corresponding to known labeling reference state types.
Specifically, a large amount of sample data is obtained from an actual application environment in advance, environment characteristic information is extracted, the sample data is marked, the environment characteristic information comprises at least one or more fitting of environment position parameters, environment noise parameters, environment light parameters, environment temperature and humidity parameters and the like, and an initial environment state determination model is created. The environmental state determining model may be trained using a large amount of sample data, for example, the environmental state determining model may be implemented based on one or more of LR (logistic regression model), SVM (Support Vector Machine ), decision tree, naive bayes classifier, CNN (Convolutional Neural Network ), RNN (Recurrent Neural Networks, recurrent neural network), and the like, and the training may be performed based on sample data already labeled with a label (labeled reference state type), so as to obtain a trained environmental state determining model.
S2042, determining reminding recommended values of the reference reminding components under the environment state type, and determining target reminding components based on the reminding recommended values.
Specifically, multidimensional measurement is performed in advance for reminding effects of each reference reminding component under different environment state types, recommended values of the reference reminding components under each environment state type are determined, mapping relations among the reference reminding components, the recommended values and the (recommended values) of the different environment state types are established, so that after the current environment state type is determined, reminding recommended values of each reference reminding component under the environment state type can be obtained quickly based on the pre-determined (recommended values) mapping relations, and then target reminding components can be determined based on the recommended values. If the numerical value of the recommended value is the largest, the recommended value is selected as the target prompting component.
Furthermore, the electric quantity of the device and the reminding recommended value can be combined to carry out comprehensive measurement, for example, weighting calculation is carried out based on the electric quantity of the device and the reminding recommended value, comprehensive scores aiming at each reference prompting component are obtained, and the prompting component with the highest score is selected as the target prompting component.
S205: and carrying out system crash reminding through the target prompt component.
See step S103, and will not be described here.
In the embodiment of the application, when the terminal equipment is in equipment system breakdown, acquiring a working state and equipment electric quantity corresponding to the contained display component, and determining a target prompt component from the display component and the reference prompt component based on the working state and the equipment electric quantity; and the prompt power consumption of the reference prompt component is smaller than that of the display component, and then the target prompt component is used for prompting system breakdown. According to the method and the device, the working state of the display component and the equipment electric quantity can be combined, the optimal target prompt component is intelligently determined from the display component and the reference prompt component, the target prompt component is used for prompting, the problem that the prompting effect is poor and the prompting power consumption is large due to the fact that the default crash prompt mode is adopted for prompting is avoided, and the intelligent prompt of system crash based on an actual environment is realized; and the influence of power consumption of the equipment is considered, the crashed site is reserved to the greatest extent, and the stability of the system is ensured.
Fig. 4 is a schematic structural diagram of an apparatus status prompting device according to an embodiment of the present application. The device status presenting apparatus 1 may be implemented as all or part of the user terminal by software, hardware or a combination of both. According to some embodiments, the device status prompting apparatus 1 includes an information acquisition module 11, a component determination module 12, and a crash prompting module 13, specifically configured to:
The information acquisition module 11 is used for acquiring the working state and the equipment electric quantity corresponding to the contained display component when the equipment system is crashed;
a component determining module 12 for determining a target cue component from a display component and a reference cue component based on the operating state and the equipment power; the prompt power consumption of the reference prompt component is smaller than that of the display component;
and the crash reminding module 13 is used for carrying out system crash reminding through the target reminding component.
Alternatively, as shown in fig. 5, the component determining module 12 includes:
a state determining unit 121, configured to determine, when the operation state corresponding to the display unit is a normal display state, a target prompting unit from the display unit and the reference prompting unit based on the device power;
and a component determining unit 122, configured to take the reference prompt component as the target prompt component when the working state corresponding to the display component is a display fault state.
Optionally, the state determining unit 121 is specifically configured to:
when the electric quantity of the equipment is larger than an electric quantity threshold value, the display part is used as a target prompt part;
and when the electric quantity of the equipment is smaller than or equal to an electric quantity threshold value, the reference prompt part is used as a target prompt part.
Optionally, when the target cue element is the reference cue element,
the crash reminding module 13 is specifically configured to:
and determining a target prompt level from at least one prompt level corresponding to the reference prompt component based on the equipment electric quantity, and controlling the target prompt component to carry out system breakdown prompt by taking the target prompt level as a reference.
Optionally, the component determining module 12 is specifically configured to:
the reference prompt component is a vibration component;
determining a target vibration prompt level from at least one vibration prompt level corresponding to the vibration component based on the equipment electric quantity;
the crash reminding module 13 is specifically configured to:
and controlling the target prompt component to carry out system crash prompt by adopting the vibration working parameters corresponding to the target vibration prompt level.
Optionally, when the reference prompt component is a plurality of reference prompt components, the component determining module 12 is specifically configured to:
and determining the current environmental state parameters, and determining a target prompt component from the reference prompt components based on the environmental state parameters.
Optionally, the component determining module 12 is specifically configured to:
Determining the type of the environmental state of the current environment based on the environmental state parameters;
and determining a reminding recommended value of each reference reminding component under the environment state type, and determining a target reminding component based on each reminding recommended value.
It should be noted that, when the device state prompting apparatus provided in the foregoing embodiment executes the device state prompting method, only the division of the foregoing functional modules is used as an example, in practical application, the foregoing functional allocation may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the device state prompting apparatus and the device state prompting method embodiment provided in the foregoing embodiments belong to the same concept, which embody the detailed implementation process in the method embodiment, and are not repeated herein.
The foregoing embodiment numbers of the present application are merely for describing, and do not represent advantages or disadvantages of the embodiments.
In the embodiment of the application, when the terminal equipment is in equipment system breakdown, acquiring a working state and equipment electric quantity corresponding to the contained display component, and determining a target prompt component from the display component and the reference prompt component based on the working state and the equipment electric quantity; and the prompt power consumption of the reference prompt component is smaller than that of the display component, and then the target prompt component is used for prompting system breakdown. According to the method and the device, the working state of the display component and the equipment electric quantity can be combined, the optimal target prompt component is intelligently determined from the display component and the reference prompt component, the target prompt component is used for prompting, the problem that the prompting effect is poor and the prompting power consumption is large due to the fact that the default crash prompt mode is adopted for prompting is avoided, and the intelligent prompt of system crash based on an actual environment is realized; and the influence of power consumption of the equipment is considered, the crashed site is reserved to the greatest extent, and the stability of the system is ensured.
The embodiment of the present application further provides a computer storage medium, where the computer storage medium may store a plurality of instructions, where the instructions are adapted to be loaded by a processor and execute the device status prompting method according to the embodiment shown in fig. 1 to 3, and a specific execution process may refer to a specific description of the embodiment shown in fig. 1 to 3, which is not repeated herein.
The present application further provides a computer program product, where at least one instruction is stored, where the at least one instruction is loaded by the processor and executed by the processor to perform the device status prompting method according to the embodiment shown in fig. 1 to 3, and the specific execution process may refer to the specific description of the embodiment shown in fig. 1 to 3, which is not repeated herein.
Referring to fig. 6, a block diagram of an electronic device according to an exemplary embodiment of the present application is shown. An electronic device in the present application may include one or more of the following components: processor 110, memory 120, input device 130, output device 140, and bus 150. The processor 110, the memory 120, the input device 130, and the output device 140 may be connected by a bus 150.
Processor 110 may include one or more processing cores. The processor 110 utilizes various interfaces and lines to connect various portions of the overall electronic device, perform various functions of the electronic device 100, and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 120, and invoking data stored in the memory 120. Alternatively, the processor 110 may be implemented in at least one hardware form of digital signal processing (digital signal processing, DSP), field-programmable gate array (field-programmable gate array, FPGA), programmable logic array (programmable logic Array, PLA). The processor 110 may integrate one or a combination of several of a central processing unit (central processing unit, CPU), an image processor (graphics processing unit, GPU), and a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for being responsible for rendering and drawing of display content; the modem is used to handle wireless communications. It will be appreciated that the modem may not be integrated into the processor 110 and may be implemented solely by a single communication chip.
The memory 120 may include a random access memory (random Access Memory, RAM) or a read-only memory (ROM). Optionally, the memory 120 includes a non-transitory computer readable medium (non-transitory computer-readable storage medium). Memory 120 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 120 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, which may be an Android (Android) system, including an Android system-based deep development system, an IOS system developed by apple corporation, including an IOS system-based deep development system, or other systems, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like. The storage data area may also store data created by the electronic device in use, such as phonebooks, audiovisual data, chat log data, and the like.
Referring to FIG. 7, the memory 120 may be divided into an operating system space in which the operating system is running and a user space in which native and third party applications are running. In order to ensure that different third party application programs can achieve better operation effects, the operating system allocates corresponding system resources for the different third party application programs. However, the requirements of different application scenarios in the same third party application program on system resources are different, for example, under the local resource loading scenario, the third party application program has higher requirement on the disk reading speed; in the animation rendering scene, the third party application program has higher requirements on the GPU performance. The operating system and the third party application program are mutually independent, and the operating system often cannot timely sense the current application scene of the third party application program, so that the operating system cannot perform targeted system resource adaptation according to the specific application scene of the third party application program.
In order to enable the operating system to distinguish specific application scenes of the third-party application program, data communication between the third-party application program and the operating system needs to be communicated, so that the operating system can acquire current scene information of the third-party application program at any time, and targeted system resource adaptation is performed based on the current scene.
Taking an operating system as an Android system as an example, as shown in fig. 8, a program and data stored in the memory 120 may be stored in the memory 120 with a Linux kernel layer 320, a system runtime library layer 340, an application framework layer 360 and an application layer 380, where the Linux kernel layer 320, the system runtime library layer 340 and the application framework layer 360 belong to an operating system space, and the application layer 380 belongs to a user space. The Linux kernel layer 320 provides the underlying drivers for various hardware of the electronic device, such as display drivers, audio drivers, camera drivers, bluetooth drivers, wi-Fi drivers, power management, and the like. The system runtime layer 340 provides the main feature support for the Android system through some C/c++ libraries. For example, the SQLite library provides support for databases, the OpenGL/ES library provides support for 3D graphics, the Webkit library provides support for browser kernels, and the like. Also provided in the system runtime library layer 340 is a An Zhuoyun runtime library (Android run) which provides mainly some core libraries that can allow developers to write Android applications using the Java language. The application framework layer 360 provides various APIs that may be used in building applications, which developers can also build their own applications by using, for example, campaign management, window management, view management, notification management, content provider, package management, call management, resource management, location management. At least one application program is running in the application layer 380, and these application programs may be native application programs of the operating system, such as a contact program, a short message program, a clock program, a camera application, etc.; and may also be a third party application developed by a third party developer, such as a game-like application, instant messaging program, photo beautification program, etc.
Taking an operating system as an IOS system as an example, the program and data stored in the memory 120 are shown in fig. 9, the IOS system includes: core operating system layer 420 (Core OS layer), core service layer 440 (Core Services layer), media layer 460 (Media layer), and touchable layer 480 (Cocoa Touch Layer). The core operating system layer 420 includes an operating system kernel, drivers, and underlying program frameworks that provide more hardware-like functionality for use by the program frameworks at the core services layer 440. The core services layer 440 provides system services and/or program frameworks required by the application, such as a Foundation (Foundation) framework, an account framework, an advertisement framework, a data storage framework, a network connection framework, a geographic location framework, a sports framework, and the like. The media layer 460 provides an interface for applications related to audiovisual aspects, such as a graphics-image related interface, an audio technology related interface, a video technology related interface, an audio video transmission technology wireless play (AirPlay) interface, and so forth. The touchable layer 480 provides various commonly used interface-related frameworks for application development, with the touchable layer 480 being responsible for user touch interactions on the electronic device. Such as a local notification service, a remote push service, an advertisement framework, a game tool framework, a message User Interface (UI) framework, a User Interface UIKit framework, a map framework, and so forth.
Among the frameworks illustrated in fig. 9, frameworks related to most applications include, but are not limited to: the infrastructure in core services layer 440 and the UIKit framework in touchable layer 480. The infrastructure provides many basic object classes and data types, providing the most basic system services for all applications, independent of the UI. While the class provided by the UIKit framework is a basic UI class library for creating touch-based user interfaces, iOS applications can provide UIs based on the UIKit framework, so it provides the infrastructure for applications to build user interfaces, draw, process and user interaction events, respond to gestures, and so on.
The manner and principle of implementing data communication between the third party application program and the operating system in the IOS system may refer to the Android system, which is not described herein.
The input device 130 is configured to receive input instructions or data, and the input device 130 includes, but is not limited to, a keyboard, a mouse, a camera, a microphone, or a touch device. The output device 140 is used to output instructions or data, and the output device 140 includes, but is not limited to, a display device, a speaker, and the like. In one example, the input device 130 and the output device 140 may be combined, and the input device 130 and the output device 140 are a touch display screen for receiving a touch operation thereon or thereabout by a user using a finger, a touch pen, or any other suitable object, and displaying a user interface of each application program. Touch display screens are typically provided on the front panel of an electronic device. The touch display screen may be designed as a full screen, a curved screen, or a contoured screen. The touch display screen can also be designed to be a combination of a full screen and a curved screen, and a combination of a special-shaped screen and a curved screen, which is not limited in the embodiment of the application.
In addition, those skilled in the art will appreciate that the configuration of the electronic device shown in the above-described figures does not constitute a limitation of the electronic device, and the electronic device may include more or less components than illustrated, or may combine certain components, or may have a different arrangement of components. For example, the electronic device further includes components such as a radio frequency circuit, an input unit, a sensor, an audio circuit, a wireless fidelity (wireless fidelity, wiFi) module, a power supply, and a bluetooth module, which are not described herein.
In the embodiment of the present application, the execution subject of each step may be the electronic device described above. Optionally, the execution subject of each step is an operating system of the electronic device. The operating system may be an android system, an IOS system, or other operating systems, which embodiments of the present application do not limit.
The electronic device of the embodiment of the application may further be provided with a display device, where the display device may be various devices capable of implementing a display function, for example: cathode ray tube displays (cathode ray tubedisplay, CR), light-emitting diode displays (light-emitting diode display, LED), electronic ink screens, liquid crystal displays (liquid crystal display, LCD), plasma display panels (plasma display panel, PDP), and the like. A user may utilize a display device on electronic device 101 to view displayed text, images, video, etc. The electronic device may be a smart phone, a tablet computer, a gaming device, an AR (Augmented Reality ) device, an automobile, a data storage device, an audio playing device, a video playing device, a notebook, a desktop computing device, a wearable device such as an electronic watch, electronic glasses, an electronic helmet, an electronic bracelet, an electronic necklace, an electronic article of clothing, etc.
In the electronic device shown in fig. 6, where the electronic device may be a terminal, the processor 110 may be configured to invoke the network optimization application stored in the memory 120 and specifically perform the following operations:
when the equipment system is crashed, the working state and the equipment electric quantity corresponding to the contained display component are obtained;
determining a target prompting component from a display component and a reference prompting component based on the working state and the equipment electric quantity; the prompt power consumption of the reference prompt component is smaller than that of the display component;
and carrying out system crash reminding through the target prompt component.
In one embodiment, the processor 1001, when executing the determining the target reminder from the display unit and the reference reminder based on the operating state and the device power, specifically performs the following operations:
when the working state corresponding to the display part is a normal display state, determining a target prompting part from the display part and the reference prompting part based on the electric quantity of the equipment;
and when the working state corresponding to the display part is a fault display state, taking the reference prompt part as a target prompt part.
In one embodiment, the processor 1001 determines, when executing the determining, from a display unit and a reference reminder unit, a target reminder unit based on the device power, the display unit to be the target reminder unit when the device power is greater than a power threshold;
and when the electric quantity of the equipment is smaller than or equal to an electric quantity threshold value, the reference prompt part is used as a target prompt part.
In one embodiment, the processor 1001, when executing when the target reminder is the reference reminder,
when the reminding corresponding to the equipment system crash is output through the target reminding component, the following operations are specifically executed:
and determining a target prompt level from at least one prompt level corresponding to the reference prompt component based on the equipment electric quantity, and controlling the target prompt component to carry out system breakdown prompt by taking the target prompt level as a reference.
In one embodiment, when the processor 1001 determines, based on the device power, a target alert level from at least one alert level corresponding to the reference alert component, and controls the target alert component to perform a system crash alert with the target alert level as a reference, the processor specifically performs the following operations:
The reference prompt component is a vibration component;
determining a target vibration prompt level from at least one vibration prompt level corresponding to the vibration component based on the equipment electric quantity;
and controlling the target prompt component to carry out system crash prompt by adopting the vibration working parameters corresponding to the target vibration prompt level.
In one embodiment, when the reference prompting unit is a plurality of reference prompting units, the processor 1001 specifically performs the following operations when performing a system crash reminder through the target prompting unit:
and determining the current environmental state parameters, and determining a target prompt component from the reference prompt components based on the environmental state parameters.
In one embodiment, the processor 1001, when executing the determining a target reminder from the reference reminder based on the environmental status parameters, specifically performs the following operations:
determining the type of the environmental state of the current environment based on the environmental state parameters;
and determining a reminding recommended value of each reference reminding component under the environment state type, and determining a target reminding component based on each reminding recommended value.
In the embodiment of the application, when the terminal equipment is in equipment system breakdown, acquiring a working state and equipment electric quantity corresponding to the contained display component, and determining a target prompt component from the display component and the reference prompt component based on the working state and the equipment electric quantity; and the prompt power consumption of the reference prompt component is smaller than that of the display component, and then the target prompt component is used for prompting system breakdown. According to the method and the device, the working state of the display component and the equipment electric quantity can be combined, the optimal target prompt component is intelligently determined from the display component and the reference prompt component, the target prompt component is used for prompting, the problem that the prompting effect is poor and the prompting power consumption is large due to the fact that the default crash prompt mode is adopted for prompting is avoided, and the intelligent prompt of system crash based on an actual environment is realized; and the influence of power consumption of the equipment is considered, the crashed site is reserved to the greatest extent, and the stability of the system is ensured.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in accordance with the embodiments may be accomplished by way of a computer program stored on a computer readable storage medium, which when executed may comprise the steps of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory, a random access memory, or the like.
The foregoing disclosure is only illustrative of the preferred embodiments of the present application and is not intended to limit the scope of the claims herein, as the equivalent of the claims herein shall be construed to fall within the scope of the claims herein.

Claims (9)

1. A device status prompting method, the method comprising:
when the equipment system is crashed, the working state and the equipment electric quantity corresponding to the contained display component are obtained;
determining a target prompting component from a display component and a reference prompting component based on the working state and the equipment electric quantity; the prompt power consumption of the reference prompt component is smaller than that of the display component;
carrying out system crash reminding through the target prompt component;
Wherein, based on the operating state and the equipment electric quantity, determining a target prompting part from a display part and a reference prompting part, comprises:
when the working state corresponding to the display part is a normal display state, determining a target prompting part from the display part and the reference prompting part based on the electric quantity of the equipment;
the determining the target prompting component from the display component and the reference prompting component based on the equipment electric quantity comprises the following steps:
when the electric quantity of the equipment is larger than an electric quantity threshold value, the display part is used as a target prompt part; the electric quantity threshold value is determined based on equipment crash service reservation requirements;
and when the electric quantity of the equipment is smaller than or equal to an electric quantity threshold value, the reference prompt part is used as a target prompt part.
2. The method of claim 1, wherein the determining a target reminder from a display unit and a reference reminder based on the operating status and the device power, further comprises:
and when the working state corresponding to the display part is a fault display state, taking the reference prompt part as a target prompt part.
3. The method of claim 1, wherein when the target cue element is the reference cue element,
The outputting, by the target prompting component, a reminder corresponding to the device system crash includes:
and determining a target prompt level from at least one prompt level corresponding to the reference prompt component based on the equipment electric quantity, and controlling the target prompt component to carry out system breakdown prompt by taking the target prompt level as a reference.
4. The method of claim 3, wherein the determining, based on the device power, a target hint level from at least one hint level corresponding to the reference hint component, the controlling the target hint component to perform a system crash reminder with reference to the target hint level, comprises:
the reference prompt component is a vibration component;
determining a target vibration prompt level from at least one vibration prompt level corresponding to the vibration component based on the equipment electric quantity;
and controlling the target prompt component to carry out system crash prompt by adopting the vibration working parameters corresponding to the target vibration prompt level.
5. The method of claim 3, wherein when the reference hint component is a plurality of reference hint components, the system crash alerting by the target hint component comprises:
And determining the current environmental state parameters, and determining a target prompt component from the reference prompt components based on the environmental state parameters.
6. The method of claim 5, wherein said determining a target cue part from each of said reference cue parts based on said environmental state parameter comprises:
determining the type of the environmental state of the current environment based on the environmental state parameters;
and determining a reminding recommended value of each reference reminding component under the environment state type, and determining a target reminding component based on each reminding recommended value.
7. A device status prompting apparatus, the apparatus comprising:
the information acquisition module is used for acquiring the working state and the equipment electric quantity corresponding to the contained display component when the equipment system is crashed;
the component determining module is used for determining a target prompting component from the display component and the reference prompting component based on the working state and the equipment electric quantity; the prompt power consumption of the reference prompt component is smaller than that of the display component;
the breakdown reminding module is used for carrying out system breakdown reminding through the target reminding component;
Wherein the component determination module comprises:
the state determining unit is used for determining a target prompting component from the display component and the reference prompting component based on the equipment electric quantity when the working state corresponding to the display component is a normal display state;
the state determining unit is specifically configured to:
when the electric quantity of the equipment is larger than an electric quantity threshold value, the display part is used as a target prompt part; the electric quantity threshold value is determined based on equipment crash service reservation requirements;
and when the electric quantity of the equipment is smaller than or equal to an electric quantity threshold value, the reference prompt part is used as a target prompt part.
8. A computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the method steps of any one of claims 1 to 6.
9. An electronic device, comprising: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps of any of claims 1-6.
CN202110852362.3A 2021-07-27 2021-07-27 Equipment state prompting method and device, storage medium and electronic equipment Active CN113691676B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110852362.3A CN113691676B (en) 2021-07-27 2021-07-27 Equipment state prompting method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110852362.3A CN113691676B (en) 2021-07-27 2021-07-27 Equipment state prompting method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN113691676A CN113691676A (en) 2021-11-23
CN113691676B true CN113691676B (en) 2023-12-29

Family

ID=78578027

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110852362.3A Active CN113691676B (en) 2021-07-27 2021-07-27 Equipment state prompting method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN113691676B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101188824A (en) * 2006-11-15 2008-05-28 明基电通股份有限公司 Communication device and method for reminding the user of information processing status with the display part
CN104881121A (en) * 2015-05-28 2015-09-02 小米科技有限责任公司 Prompting method and device
CN105094536A (en) * 2015-06-30 2015-11-25 联想(北京)有限公司 Information display method and electronic equipment
CN107728838A (en) * 2017-09-28 2018-02-23 努比亚技术有限公司 A kind of terminal display management method, mobile terminal and computer-readable recording medium
KR20180020680A (en) * 2016-08-19 2018-02-28 엘지전자 주식회사 Mobile terminal
CN107786754A (en) * 2017-12-12 2018-03-09 深圳金康特智能科技有限公司 A kind of mobile phone energy-conservation system based on Intelligent worn device
CN107920161A (en) * 2017-10-26 2018-04-17 珠海市魅族科技有限公司 Terminal control method and device, terminal and readable storage medium storing program for executing
CN108063870A (en) * 2017-12-18 2018-05-22 珠海格力电器股份有限公司 A kind of interface display method, device and mobile terminal
CN108063861A (en) * 2017-11-17 2018-05-22 维沃移动通信有限公司 The method, apparatus and mobile terminal that a kind of state is reminded
CN110099174A (en) * 2019-04-29 2019-08-06 努比亚技术有限公司 Charging instruction lamp control method, wearable device and computer readable storage medium
CN111371938A (en) * 2018-12-26 2020-07-03 华为终端有限公司 Fault detection method and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107580143B (en) * 2017-09-30 2019-03-01 维沃移动通信有限公司 A kind of display methods and mobile terminal

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101188824A (en) * 2006-11-15 2008-05-28 明基电通股份有限公司 Communication device and method for reminding the user of information processing status with the display part
CN104881121A (en) * 2015-05-28 2015-09-02 小米科技有限责任公司 Prompting method and device
CN105094536A (en) * 2015-06-30 2015-11-25 联想(北京)有限公司 Information display method and electronic equipment
KR20180020680A (en) * 2016-08-19 2018-02-28 엘지전자 주식회사 Mobile terminal
CN107728838A (en) * 2017-09-28 2018-02-23 努比亚技术有限公司 A kind of terminal display management method, mobile terminal and computer-readable recording medium
CN107920161A (en) * 2017-10-26 2018-04-17 珠海市魅族科技有限公司 Terminal control method and device, terminal and readable storage medium storing program for executing
CN108063861A (en) * 2017-11-17 2018-05-22 维沃移动通信有限公司 The method, apparatus and mobile terminal that a kind of state is reminded
CN107786754A (en) * 2017-12-12 2018-03-09 深圳金康特智能科技有限公司 A kind of mobile phone energy-conservation system based on Intelligent worn device
CN108063870A (en) * 2017-12-18 2018-05-22 珠海格力电器股份有限公司 A kind of interface display method, device and mobile terminal
CN111371938A (en) * 2018-12-26 2020-07-03 华为终端有限公司 Fault detection method and electronic equipment
CN110099174A (en) * 2019-04-29 2019-08-06 努比亚技术有限公司 Charging instruction lamp control method, wearable device and computer readable storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Be more familiar with our enemies and pave the way forward: A review of the roles bugs played in software failures;W. Eric Wong等;Journal of Systems and Software;全文 *
基于物联网的车辆远程监测及预警系统;李正国;林煜;周国友;杨康;谢庆荣;;电子世界(第08期);全文 *

Also Published As

Publication number Publication date
CN113691676A (en) 2021-11-23

Similar Documents

Publication Publication Date Title
CN109034115B (en) Video image recognizing method, device, terminal and storage medium
CN111459586B (en) Remote assistance method, device, storage medium and terminal
CN111124668B (en) Memory release method, memory release device, storage medium and terminal
WO2019047231A1 (en) Touch operation response method and device
CN113163055B (en) Vibration adjusting method and device, storage medium and electronic equipment
CN111918386B (en) Positioning method, positioning device, storage medium and electronic equipment
CN114285936B (en) Screen brightness adjustment method and device, storage medium and terminal
US20230384925A1 (en) Method, terminal for acquiring gesture data, and storage medium
CN117555459A (en) Application group processing method and device, storage medium and electronic equipment
CN113595662B (en) Signal prompting method, device, terminal equipment and storage medium
CN113691676B (en) Equipment state prompting method and device, storage medium and electronic equipment
CN112995562A (en) Camera calling method and device, storage medium and terminal
CN113378895B (en) Classification model generation method and device, storage medium and electronic equipment
CN113450762B (en) Text reading method, text reading device, terminal and storage medium
CN115328725A (en) State monitoring method and device, storage medium and electronic equipment
CN112256354B (en) Application starting method and device, storage medium and electronic equipment
CN113950043B (en) Communication method, device, storage medium and terminal
CN113114849A (en) Alarm clock reminding method and device, storage medium and terminal
CN113010078A (en) Touch method and device, storage medium and electronic equipment
CN113778386B (en) Component generation method and device, storage medium and electronic equipment
CN117591488B (en) File detection method and device, storage medium and electronic equipment
CN113692026B (en) Network connection method, device, terminal and storage medium
CN117354416A (en) Message processing method and device, storage medium and electronic equipment
CN113098859B (en) Webpage page rollback method, device, terminal and storage medium
WO2023273936A1 (en) Wallpaper setting method and apparatus, and storage medium and electronic device

Legal Events

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