CN115037832B - Data processing method and electronic equipment - Google Patents

Data processing method and electronic equipment Download PDF

Info

Publication number
CN115037832B
CN115037832B CN202210943015.6A CN202210943015A CN115037832B CN 115037832 B CN115037832 B CN 115037832B CN 202210943015 A CN202210943015 A CN 202210943015A CN 115037832 B CN115037832 B CN 115037832B
Authority
CN
China
Prior art keywords
value
time interval
electronic device
time
user
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
CN202210943015.6A
Other languages
Chinese (zh)
Other versions
CN115037832A (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.)
Honor Device Co Ltd
Original Assignee
Honor Device 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 Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202210943015.6A priority Critical patent/CN115037832B/en
Publication of CN115037832A publication Critical patent/CN115037832A/en
Application granted granted Critical
Publication of CN115037832B publication Critical patent/CN115037832B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • 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/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
    • 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/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons

Abstract

The application provides a data processing method and electronic equipment, and relates to the technical field of terminals. The problem of when the old people of solitary residence is unexpected, outwards seek help inconvenient is solved. The specific scheme is as follows: acquiring the weight corresponding to each time interval in a plurality of time intervals; the weight is determined by the times of receiving user operation by the first equipment in each time interval; the method comprises the steps that user operation is not detected in a first time interval, a first warning value is adjusted to be low by utilizing a first weight corresponding to the first time interval, and the first warning value is used for evaluating whether an owner of first equipment needs to send a help seeking signal or not; the user operation is not detected in the second time interval, and the first warning value is continuously reduced by utilizing the second weight corresponding to the second time interval; detecting user operation in a second time interval, and restoring the first alarm value to a preset initial value; and when the first alarm value is less than or equal to the first set threshold value, sending first reminding information to the second equipment, wherein the first reminding information indicates that the owner of the first equipment is seeking help.

Description

Data processing method and electronic equipment
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a data processing method and an electronic device.
Background
Solitary is the current lifestyle of most elderly people. However, the old people live alone have a lot of hidden troubles, for example, the old people fall down accidentally at home and are unattended while falling ill accidentally. In some scenarios, the elderly people living alone may need to operate a device (e.g., a mobile phone) with communication capabilities to contact a designated person if an accident occurs at home, thereby seeking help. However, most of the time, when the old people fall down or get ill, the mobile phone is inconvenient to operate, even the mobile phone can not be contacted, so that the best time for asking for help of the old people living alone is delayed.
Disclosure of Invention
The embodiment of the application provides a data processing method and electronic equipment, which are used for improving the man-machine interaction efficiency of the electronic equipment for assisting a user to seek help and improving the intelligent degree of the electronic equipment.
In order to achieve the above purpose, the embodiment of the present application adopts the following technical solutions:
in a first aspect, an application embodiment provides a data processing method applied to a first device, where the method includes: acquiring the weight corresponding to each time interval in a plurality of time intervals; the first equipment receives at least one user operation in each time interval within a preset time length before the current moment; the weight is determined by the number of times the first device receives user operations within a corresponding time interval.
If user operation is detected in the second time interval, the first warning value is restored to a preset initial value; and when the first alarm value is smaller than or equal to a first set threshold value, sending first reminding information to second equipment, wherein the first reminding information indicates that the owner of the first equipment is seeking help.
For example, the first device may periodically obtain the weight corresponding to each time interval. For example, at a given point in time of each day, the weight of each time interval is determined once. As another example, the weights of the time intervals may be determined once for each time point. In the above embodiment, the weight of each time interval is determined by the number of times the first device receives the user operation in each time interval, that is, the weight represents the probability of the user using the first device in each time interval to some extent. For example, a higher weight indicates a higher probability of the user using the first device during the time interval, and a lower weight indicates a lower probability of the user using the first device during the time interval. Of course, the weights of different time intervals may be different or the same. In addition, each time the weight is determined, the first device may determine the weight of each time interval based on a user operation within a preset time period before the current time (e.g., a specified time point of the day). Thus, as the user habits change, the weights in the same time interval also change.
In addition, during the operation of the first device, if the first device does not detect the user operation in the time interval, the first device adjusts the weight corresponding to the time interval to lower a first alarm value, and the first alarm value is used for evaluating whether the owner of the first device needs to send out a help signal or not. For example, the plurality of time intervals include a first time interval and a second time interval, and the first time interval is before the second time interval. And if the user operation is not detected in the first time interval, the first warning value is reduced by using the first weight corresponding to the first time interval. And if no user operation is detected in a second time interval, continuously reducing the first warning value by using a second weight corresponding to the second time interval.
Of course, if the user operation is detected within the second time interval, the first alarm value is restored to the preset initial value. In this way, when the first alarm value is less than or equal to the first set threshold value, first reminding information is sent to the second device, and the first reminding information indicates that the owner of the first device is seeking help.
Therefore, even if the habit of the user changes, the first equipment can accurately distinguish whether the behavior of the owner is abnormal or not, and timely ask for help from the owner to the outside, so that the man-machine interaction efficiency of asking for help from the outside is improved, and the intelligent degree of the first equipment is also improved.
In some possible embodiments, obtaining the weight corresponding to each of the plurality of time intervals includes: counting first operations corresponding to each time interval, wherein the first operations are user operations of which the operation time belongs to the corresponding time interval, and the operation time is received by the first equipment within a preset time length before the current time; when the times of the first operation belong to a first numerical value interval, determining the weight value of the corresponding time interval as a first set value; when the times of the first operation belong to a second numerical value interval, determining the weight value of the corresponding time interval as a second set value; the second value interval is different from the first value interval, and the first set value and the second set value are also different.
In some possible embodiments, if the first warning value is a preset initial value before the first warning value is adjusted down by the first weight, the first warning value is a difference between the preset initial value and the first weight after the first warning value is adjusted down by the first weight.
In some possible embodiments, the method further comprises: and under the condition that a second operation is detected and the operation time of the second operation does not belong to the plurality of time intervals, restoring the first alarm value to the preset initial value, and determining a third time interval, wherein the third time interval comprises the operation time corresponding to the second operation.
In the above embodiment, the first device may continuously learn the time period of the frequently-used first device newly added by the user in a manner of newly adding the time interval.
In some possible embodiments, the method further comprises: determining that a third operation corresponds to the first time interval if the third operation is received and the operation time of the third operation belongs to the second time interval.
In some possible embodiments, after continuing to lower the first warning value by using the second weight corresponding to the second time interval, the method further includes: and when the first alarm value is greater than a first set threshold value and less than a second set threshold value, displaying a reminding message for guiding a user to interact with the first equipment.
In the embodiment, through proper guiding operation, the user is instructed to interact with the first device once, so that the situation that the first device is not used for a long time and the user mistakenly triggers to ask for help outwards is avoided. That is, the first device may recognize a scenario in which the user has behavioral capabilities to use the first device but has not used the first device for a long time. Therefore, the situation that the user needs to seek help outwards by misjudgment is avoided.
In some possible embodiments, before sending the first reminder information to the second device, the method further includes: sending a query request to third equipment, wherein the third equipment and the electronic equipment belong to the same local area network; receiving an inquiry response fed back by the third device, wherein the inquiry response comprises first information, and the first information comprises an operation record of a user for the third device and corresponding recording time; and determining that the recording time of the operation records does not belong to a first time interval, wherein the first time interval is a time interval containing the first time interval and a second time interval.
In the embodiment, the first device can identify the scene that the user uses other devices but does not use the first device, thereby avoiding the false triggering of seeking help outwards and improving the early warning intelligence degree of the first device.
In a second aspect, an application embodiment provides an electronic device comprising one or more processors and memory; the memory coupled to the processor, the memory for storing computer program code, the computer program code comprising computer instructions, which, when executed by the one or more processors, cause the one or more processors to perform:
acquiring the weight corresponding to each time interval in a plurality of time intervals; the electronic equipment receives at least one user operation in each time interval within a preset time length before the current moment; the weight is determined by the times of receiving user operation by the electronic equipment in the corresponding time interval; the plurality of time intervals includes a first time interval and a second time interval, the first time interval being prior to the second time interval;
if no user operation is detected in the first time interval, reducing the first warning value by using a first weight corresponding to the first time interval, wherein the first warning value is used for evaluating whether the owner of the electronic equipment needs to send a help-seeking signal;
if no user operation is detected in the second time interval, continuously reducing the first warning value by using a second weight corresponding to the second time interval;
if the user operation is detected in the second time interval, the first warning value is restored to a preset initial value;
and when the first alarm value is smaller than or equal to a first set threshold value, sending first reminding information to second equipment, wherein the first reminding information indicates that the owner of the electronic equipment is seeking help.
In some embodiments, the one or more processors are further configured to perform:
counting first operations corresponding to each time interval, wherein the first operations are user operations received by the electronic equipment within a preset time before the current time, and the operation time belongs to the corresponding time interval;
when the times of the first operation belong to a first numerical value interval, determining the weight value of the corresponding time interval as a first set value;
when the times of the first operation belong to a second numerical value interval, determining the weight value of the corresponding time interval as a second set value; the second value interval is different from the first value interval, and the first set value and the second set value are also different.
In some embodiments, if the first warning value is a preset initial value before the first warning value is reduced by the first weight, the first warning value is a difference between the preset initial value and the first weight after the first warning value is reduced by the first weight.
In some embodiments, the one or more processors are further configured to perform:
and under the condition that a second operation is detected and the operation time of the second operation does not belong to the plurality of time intervals, restoring the first alarm value to the preset initial value, and determining a third time interval, wherein the third time interval comprises the operation time corresponding to the second operation.
In some embodiments, the one or more processors are further configured to perform:
determining that a third operation corresponds to the first time interval if the third operation is received and the operation time of the third operation belongs to the second time interval.
In some embodiments, the one or more processors are further configured to perform:
after continuing to lower the first warning value by using the second weight corresponding to the second time interval, the method further includes:
and when the first alarm value is greater than a first set threshold value and less than a second set threshold value, displaying a reminding message for guiding a user to interact with the electronic equipment.
In some embodiments, before sending the first reminder information to the second device, the one or more processors are further configured to:
sending a query request to a third device, wherein the third device and the electronic device belong to the same local area network;
receiving a query response fed back by the third device, wherein the query response comprises first information, and the first information comprises an operation record and corresponding recording time of a user for the third device;
and determining that the recording time of the operation records does not belong to a first time interval, wherein the first time interval is a time interval containing the first time interval and a second time interval.
In a third aspect, a computer storage medium provided in an embodiment of the present application includes computer instructions, which, when executed on an electronic device, cause the electronic device to perform the method described in the first aspect and possible embodiments thereof.
In a fourth aspect, the present application provides a computer program product for causing an electronic device to perform the method of the first aspect and its possible embodiments when the computer program product runs on the electronic device.
It should be understood that the electronic device, the computer storage medium and the computer program product are all applied to the corresponding method provided above, and therefore, the beneficial effects achieved by the electronic device, the computer storage medium and the computer program product can refer to the beneficial effects in the corresponding method provided above, and are not described herein again.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram illustrating interaction between a user and an electronic device according to an embodiment of the present application;
fig. 3 is a second schematic view illustrating interaction between a user and an electronic device according to an embodiment of the present application;
fig. 4 is a third schematic view of interaction between a user and an electronic device according to an embodiment of the present application;
FIG. 5 is a fourth schematic view illustrating interaction between a user and an electronic device according to an embodiment of the present application;
FIG. 6 is one of exemplary diagrams for creating behavior hotspots provided by embodiments of the present application;
FIG. 7 is a second exemplary diagram of behavior hotspot creation provided by embodiments of the present application;
FIG. 8 is a third exemplary diagram of behavior hotspot creation provided by embodiments of the present application;
FIG. 9 is a fourth example diagram of behavior hotspot creation provided by embodiments of the present application;
fig. 10 is a flowchart of a data processing method according to an embodiment of the present application;
fig. 11 is one of exemplary graphs showing changes in the first warning value provided in the embodiment of the present application;
fig. 12 is a second exemplary graph of a variation of the first warning value according to the embodiment of the present application;
fig. 13 is an exemplary diagram of a display interface of an electronic device according to an embodiment of the present application;
FIG. 14 is a diagram illustrating an example of interaction between an electronic device and other devices provided by an embodiment of the present application;
FIG. 15 is a diagram illustrating an example of a scenario provided by an embodiment of the present application;
fig. 16 is a second exemplary view of a scenario provided by the embodiment of the present application;
fig. 17 is a schematic composition diagram of a chip system according to an embodiment of the present application.
Detailed Description
In the following, the terms "first", "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present embodiment, "a plurality" means two or more unless otherwise specified.
With the advance to the aging society, the aging degree of the population is continuously deepened. In other words, the number of elderly people in the society will increase. After retirement, most of the elderly will choose to live on this lifestyle alone. However, the old people live alone has many hidden dangers, for example, the old people are difficult to self-rescue in the case of accidental falling, accidental illness and the like, and the old people are difficult to actively and externally connect for seeking help.
In order to solve the above problem, an embodiment of the present application provides a data processing method, which is applied to an electronic device commonly used by a user. The data processing method is used for learning the use habit of the user on the electronic equipment and then identifying whether the user needs to assist in seeking help from the outside or not by utilizing the use habit of the user. Through the active identification mode, the electronic equipment sends help seeking information to the outside under the scene that the user needs to seek help through the electronic equipment. Like this, can promote electronic equipment's intelligent early warning ability, improve solitary old man's safety problem.
The electronic device is illustratively a desktop computer, a tablet computer, a smart watch, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a Personal Digital Assistant (PDA), an Augmented Reality (AR) device, a Virtual Reality (VR) device, and the like, and the embodiment of the present application is not particularly limited to a specific form of the electronic device.
Please refer to fig. 1, which is a schematic structural diagram of an electronic device 100 according to an embodiment of the present disclosure. As shown in fig. 1, the electronic device 100 may include: the mobile terminal includes a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identity Module (SIM) card interface 195, and the like.
The sensor module 180 may include a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.
It is to be understood that the illustrated structure of the present embodiment does not constitute a specific limitation to the electronic apparatus 100. In other embodiments, electronic device 100 may include more or fewer components than shown, or combine certain components, or split certain components, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors.
The controller may be a neural center and a command center of the electronic device 100. The controller can generate an operation control signal according to the instruction operation code and the time sequence signal to finish the control of instruction fetching and instruction execution.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
It should be understood that the interface connection relationship between the modules illustrated in the present embodiment is only an exemplary illustration, and does not limit the structure of the electronic device 100. In other embodiments, the electronic device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The electronic device 100 implements display functions via the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like.
The electronic device 100 may implement a shooting function through the ISP, the camera 193, the video codec, the GPU, the display 194, the application processor, and the like.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, electronic device 100 may include N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. Applications such as intelligent recognition of the electronic device 100 can be implemented by the NPU, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The following describes implementation details of an embodiment of the present application, taking a mobile phone as an example of a commonly used electronic device of a user:
in some embodiments, the electronic device applying the data processing method has an intelligent early warning function. Under the condition that the intelligent early warning function is started, the electronic equipment can judge whether the user behavior accords with the use habit of the user according to the actual use condition of the equipment, and therefore whether the user is assisted to seek help outwards can be evaluated. In some embodiments, the electronic device may automatically turn on the smart warning function when it is determined that the owner's age exceeds a specified age, for example, when it is determined that the owner is over 60 years old. In other embodiments, the electronic device may turn on the intelligent warning function in response to a user operating the system configuration interface. That is, the user may manually start the intelligent early warning function, and the process of manually starting the intelligent early warning function by the user may refer to the process of enabling other functions (e.g., the intelligent assistant function) in the system setting by the user, which is not described herein again.
In some embodiments, after the smart warning function is enabled, the electronic device (also referred to as a first device) may record the interaction between the user and the electronic device, also referred to as user operation. For example, any interaction operation between the user and the electronic device, the electronic device may record a trigger event corresponding to the operation and a time point corresponding to the trigger event in response to the operation of the user.
Illustratively, the operation may be an operation of a hardware button on the electronic device by a user. For example, as shown in fig. 2, the electronic device is provided with a power switch button, such as switch button 201. In a case where the user presses the switch button 201, the switch button 201 generates an indication message for instructing the electronic device to start or turn on the screen. In addition, the indication information is a signaling generated by the interactive action trigger of the user, and the electronic device can also recognize that the user currently performs the interactive operation with the electronic device according to the indication information. In this way, the electronic device may also create an event record accordingly. Creating an event record as described above may also be referred to as the electronic device detecting a triggering event. The trigger event also corresponds to a point in time (i.e., a system time at which the indication information is generated).
Still illustratively, the above operation may also be an operation by a user on a display screen of the electronic device. It is understood that the display screen may include a touch panel. When a user contacts the display screen, the electric signal output by the touch panel can be changed, so that the electronic equipment can sense the operation (such as sliding operation, clicking operation and the like) of the user on the display screen according to the change of the electric signal output by the touch panel. For example, as shown in fig. 3, when a user clicks the display screen or touches the display screen, the electronic device may detect a change in an electrical signal output by the touch panel, determine that a trigger event is detected based on the change, and record a time point (system time when the change in the electrical signal occurs) corresponding to the trigger event.
Still further exemplarily, the operation may also be an action of the user instructing the electronic device to unlock. For example, when a user aims a front camera of the electronic device at a face, the front camera may collect facial feature data. After determining that the front-facing camera collects the facial feature data of the owner, the electronic device may determine that the user performs an operation indicating unlocking, and correspondingly, the electronic device may determine that a trigger event is detected. Of course, the process of unlocking the electronic device by the user using the fingerprint or the iris is the same as the above. For another example, as shown in fig. 4, when the user performs an action indicating unlocking on the display screen of the electronic device (e.g., slides on an unlocking area displayed on the electronic device), the electronic device may determine that the user performs an operation indicating unlocking, correspondingly determine that a trigger event is detected, and record a time point corresponding to the trigger event (e.g., a system time for completing unlocking).
Still illustratively, the operation may also be an action of instructing the electronic device to connect with another device. The connection may be a wired connection, or a wireless (bluetooth, wiFi, hotspot, etc.) connection. Taking a wired connection as an example, when the electronic device detects that the wired interface is connected to another device (e.g., a level value of the wired interface changes), the electronic device may determine that the user performs an operation indicating that the electronic device is connected to another device, and correspondingly determine that a trigger event is detected. Taking bluetooth connection as an example, as shown in fig. 5, when the electronic device detects that bluetooth connection is established with the bluetooth headset, it may be determined that the user performs an operation of instructing the electronic device to connect with the bluetooth headset, and accordingly it is determined that a trigger event is detected.
Of course, the above is merely an example, and the electronic device detects other operations of the user instruction interaction, and may also correspondingly determine that one trigger event is detected, and correspondingly record a time point of the trigger event (an operation time of the user operation corresponding to the trigger event).
In some embodiments, after the electronic device is powered on, a trigger event corresponding to each operation of the user may be continuously detected. In this way, the electronic device can learn the usage habits of the user according to the detected trigger event and the corresponding time point.
Illustratively, the electronic device may create a behavior hotspot according to the detected trigger event and the corresponding point in time. The behavior hotspot is a hotspot in the time dimension, and in brief, the behavior hotspot is a time interval, and in some examples, the time interval and the behavior hotspot may be used interchangeably. In addition, at least one trigger event corresponds to the time interval, for example, the time point of the at least one trigger event belongs to the time interval. In addition, each trigger event detected by the electronic device has a corresponding behavior hotspot.
As one implementation, the electronic device may pre-configure the length of the behavior hotspots, e.g., a single behavior hotspot length of 10 minutes. In a scenario where the electronic device records a first trigger event, for example, when a user performs an operation indicating activation of a new machine, the electronic device determines that a trigger event, referred to as trigger event 1, is detected in response to the operation of the user. The electronic device may create a behavior hotspot 1 in accordance with a time point 1 of a first trigger event 1.
For example, the electronic device may determine the time point 1 as a start point of the behavior hotspot 1, and determine 10 minutes after the time point 1 as the behavior hotspot 1. For example, if the time point 1 is 8.
For another example, the electronic device may further determine a time interval with a length of 10 minutes by taking the time point 1 of the trigger event 1 as a center, and the time interval may be referred to as a behavior hot zone 1. For example, as shown in fig. 6, when the time point 1 of the trigger event 1 is 8. After the behavior hotspot 1 is established, the electronic device may associate a trigger event 1 with the behavior hotspot 1.
In a scenario where the electronic device records the ith trigger event (e.g., trigger event 2, trigger event 3, etc.), the electronic device may first determine whether the trigger event belongs to an established behavior hotspot. Where i may be a positive integer greater than 1.
If trigger event 2 belongs to an established behavioral hotspot, for example, as shown in fig. 7, time point 2 of trigger event 2 is 8:04, belonging to the established behavior hotspot 1, then the trigger event 2 is associated with the behavior hotspot 1 without creating a new behavior hotspot.
If the trigger event 3 does not belong to an established behavior hotspot, for example, as shown in fig. 8, the created behavior hotspot includes a behavior hotspot 1, and the time point 3 of the trigger event 3 is 9:15, not belonging to the established behavior hotspot 1, the electronic device may newly create a behavior hotspot, for example, a time interval with 9. There is an association between the above-mentioned trigger event 3 and the behavior hotspot 2. In addition, the time point corresponding to the trigger event does not belong to the created behavior hot zone, so the user operation corresponding to the trigger event may be referred to as a second operation, and the behavior hot zone newly created in response to the second operation may also be referred to as a third time interval, where the third time interval includes the operation time corresponding to the second operation.
Of course, the time point corresponding to the trigger event belongs to the created behavior hotspot, such as belongs to the behavior hotspot 2, then the user operation corresponding to the trigger event may be referred to as a third operation, and the third operation may be bound to the behavior hotspot 1.
In some embodiments, while the trigger events are continuously recorded, the electronic device may also continuously update the behavior hotspots, such as adding a behavior hotspot, updating the trigger events associated with the behavior hotspot. In addition, in a scene that a behavior hotspot (for example, referred to as a behavior hotspot a) needs to be newly created by the trigger event a, if the created behavior hotspot and an existing behavior hotspot (for example, referred to as a behavior hotspot b) have a partial overlap with each other with the time point of the trigger event a as the center, a time interval which is adjacent to the behavior hotspot b, does not overlap, and includes the time point corresponding to the trigger event a is taken as the behavior hotspot a, and of course, the length of the time interval is also 10 minutes.
In some embodiments, the electronic device may determine the weight values corresponding to the respective behavior hot regions according to the trigger events corresponding to the respective behavior hot regions. Wherein the weight value is used to indicate how frequently a trigger event occurs in a behavior hotspot. In other words, to some extent, the weight value corresponding to the behavior hotspot can represent the habit of the user using the electronic device in the time dimension. For example, if the frequency of trigger events in a behavior hotspot is high (i.e., the weight value of the behavior hotspot is high), this indicates that the user has a relatively frequent interaction with the electronic device in the behavior hotspot, i.e., the user has a habit of using the electronic device in the behavior hotspot. For another example, if the frequency of trigger events in the behavior hotspot is low (i.e., the weight value of the behavior hotspot is low), this indicates that the user has less interaction with the electronic device in the behavior hotspot, i.e., the habit of using the electronic device in the behavior hotspot is not obvious.
As an implementation manner, the electronic device determines a weight value corresponding to the behavior hot zone in the following manner:
firstly, the electronic device counts each behavior hotspot in turn, and within a specified number of days, the number of corresponding trigger events, that is, the number of times of the first operation detected by the electronic device within each behavior hotspot (or referred to as a time interval). Wherein the specified number of days includes the current day and a number of consecutive days prior to the current day. Additionally, the specified number of days may be referred to within a preset time period before the current time.
For example, the specified number of days is specified to be 7 days, and the day is 7 month 13 days, then the specified number of days may include 7 months of 7 days of 13 days, 7 months of 12 days, 7 months of 11 days, 7 months of 10 days, 7 months of 9 days, 7 months of 8 days, 7 months of 7 days.
For example, as shown in fig. 9, on the same day (7 months and 13 days), the electronic device records that the trigger event 12 corresponds to the behavior hot zone 1. On day 7, 12, the electronic device did not record the trigger event corresponding to the behavior hotspot 1. On day 7, month 11, the electronic device records that trigger event 9, trigger event 10, and trigger event 11 correspond to behavior hotspot 1. On day 7, month 10, the electronic device records that the trigger event 8 corresponds to the behavior hotspot 1. In 7 months and 9 days, the electronic equipment records a trigger event 6, and the trigger event 7 corresponds to the behavior hotspot 1. On day 7, 8, the electronic device did not record the trigger event corresponding to the behavior hotspot 1. On 7 months and 7 days, the electronic device records that the trigger event 5, the trigger event 2 and the trigger event 1 correspond to the behavior hotspot 1. That is, within a given number of days, the behavior hotspot 1 corresponds to 10 triggering events.
And then, converting the number of the trigger events corresponding to each behavior hot zone into the weight value of the behavior hot zone according to a preset rule.
For example, the preset rule may be a correspondence relationship between different numbers of trigger events and different weight values. For example, in the case that the specified number of days is 7 days, when the number of trigger events of the behavior hot area is less than a first threshold (e.g., 5), a weight value of 1 (e.g., 0) is assigned. The behavior hot zone has a corresponding weight value of 2 (e.g., 0.2) when the number of trigger events is not less than a first threshold and less than a second threshold (e.g., 30). The behavior hot zone has a weight value of 3 (e.g., 0.3) when the number of trigger events is not less than the second threshold and is less than a third threshold (e.g., 60). When the number of trigger events for the behavior hot zone is not less than the third threshold, a weight value of 4 (e.g., 0.5) is assigned. The first threshold is smaller than a second threshold, and the second threshold is smaller than a third threshold. The first threshold, the second threshold, and the third threshold may be empirical values, and of course, when the number of specified days is different, the corresponding first threshold, second threshold, and third threshold may also be different. In addition, the weight value 4 is greater than the weight value 3, the weight value 3 is greater than the weight value 2, and the weight value 3 is greater than the weight value 1.
In summary, in the above example, the electronic device may be divided into a plurality of value intervals in advance, for example, four value intervals, i.e., a value interval smaller than the first threshold, a value interval not smaller than the first threshold and smaller than the second threshold, a value interval not smaller than the second threshold and smaller than the third threshold, and a value interval not smaller than the third threshold.
In some examples, among the plurality of value intervals, if one of the value intervals is referred to as a first value interval, another value interval is referred to as a second value interval. In addition, each value interval corresponds to a set value, and the set values of different value intervals may be different, for example, the set value corresponding to the value interval "smaller than the first threshold" is a weight value 1, the set value corresponding to the value interval "not smaller than the first threshold and smaller than the second threshold" is a weight value 2, the set value corresponding to the value interval "not smaller than the second threshold and smaller than the third threshold" is a weight value 3, and the set value corresponding to the value interval "not smaller than the third threshold" is a weight value 4. The set value corresponding to the first numerical range may be a first set value, and the set value corresponding to the second numerical range may be a second set value.
In some embodiments, the electronic device may also update the weight values for the various behavior hotspots on a daily basis. Illustratively, the way to update the weight values of the behavior hotspots is: and re-acquiring the corresponding trigger event number of the behavior hot area within the specified number of days. And then, according to the number of the newly acquired trigger events, determining the updated weight value of each behavior hot area by using the preset rule.
Of course, the "behavior hotspots obtained each day may have different numbers of corresponding trigger events within a given number of days". It is understood that the number of trigger events counted on day 7/month and day 13 is the trigger events recorded by the electronic device between day 7/month and day 13, and the number of trigger events counted on day 7/month and day 14 is the trigger events recorded by the electronic device between day 7/month and day 8 to day 7/month and day 14. Therefore, the weight value of the behavior hotspot can change along with the change of the habit of the user using the electronic equipment, and the electronic equipment also realizes the continuous learning of the habit of the user using the electronic equipment.
In some embodiments, the electronic device may learn the habit of the user using the electronic device in the above manner. After learning the habit of the user using the electronic device, the electronic device may analyze whether the user is abnormal or not by using the learned habit of the user. For example, during the time period of the commonly used electronic device, no interaction between the user and the electronic device occurs (i.e., the electronic device does not record the trigger event), which may indicate that the user is unexpected. At this time, the electronic device may assist the user to ask for help, for example, to send help information to a pre-designated third-party device.
In some embodiments, as shown in fig. 10, the data processing method may include the following steps:
s101, the electronic equipment continuously detects the trigger event.
In some embodiments, after the electronic device is powered on, the electronic device determines whether a trigger event is detected by detecting whether a user performs an operation indicating interaction (e.g., touching a display screen, indicating unlocking, clicking a key, connecting to another device, etc.). That is, the electronic device may determine that a trigger event is detected every time a trigger event is recorded in response to a user operation.
In some embodiments, each time the electronic device detects a trigger event, the electronic device may update the corresponding behavior hotspot or newly create the corresponding behavior hotspot, and the specific implementation process refers to the description in the foregoing embodiments. If the electronic device does not detect a trigger event for a long time, particularly within the behavior hotspot, the process may proceed to S102.
S102, under the condition that the trigger event is not detected in the behavior hot area, the electronic equipment updates the first warning value by using the weight value corresponding to the behavior hot area.
The first warning value may correspond to an initial value, and the initial value may be preset, and therefore, may also be referred to as a preset initial value. In some embodiments, the initial value may be the sum of weight value 1, weight value 2, weight value 3, and weight value 4, or may be greater than the sum of weight value 1, weight value 2, weight value 3, and weight value 4. In addition, the first warning value can be used for representing whether the interaction situation between the user and the electronic equipment conforms to the habit of the user. In other words, the value of the first warning value may vary. The smaller the value of the first warning value is, the larger the deviation between the current equipment use condition of the user and the habit of the user is indicated.
In some embodiments, in a case that no trigger event is detected in the behavior hotspot, the electronic device may reduce a value of the first alert value by using a weight value corresponding to the behavior hotspot, for example, subtract the weight value corresponding to the behavior hotspot on the basis of the first alert value to obtain an updated first alert value. In addition, the user uses the electronic device at any time point, that is, the electronic device immediately returns the first alert value to the initial value when detecting the trigger event at any time point.
For example, as shown in fig. 11, the weight value of the behavior hot zone 1 (also referred to as a first time interval) is a first weight value (e.g., 0.2), the weight value of the behavior hot zone 2 (also referred to as a second time interval) is a second weight value (e.g., 0.3), the weight value of the behavior hot zone 3 is a third weight value (e.g., 0.5), and the initial value of the first alert value is 1. If the electronic device's system time elapsed is a hot zone 1 (i.e., 7 to 8. Next, the electronic device does not detect a trigger event during any of 8. In this scenario, the electronic device subtracts the second weight value from the first alert value (i.e., 0.8), so as to obtain an updated first alert value of 0.5. Next, the electronic device also does not detect a trigger event during 9. In this scenario, the electronic device subtracts the third weight value from the first alert value (that is, 0.5), so as to obtain an updated first alert value of 0.
It can be seen that, in the case where the system time of the electronic device passes through a plurality of consecutive behavior hotspots, and no trigger event is detected, it can be determined that the user does not use the electronic device during the period of frequent use of the electronic device. In this scenario, the first warning value will gradually become smaller. When the first alarm value meets the preset condition, the electronic device can judge that the possibility of accidents of the user exists.
In the embodiment of the present application, the electronic device evaluates whether the first alert value satisfies a preset condition according to a magnitude relationship between the first value (also referred to as a first set threshold) and the first alert value. It will be appreciated that the first value may be an empirical value less than the initial value, for example, the first value may be 0. When the updated first warning value is not greater than the first value, the electronic device may determine that the first warning value satisfies the preset condition, so that the process may enter S104. When the updated first warning value is greater than the first value, the electronic device may determine that the first warning value does not satisfy the preset condition, and thus, the process may proceed to S103.
In addition, a difference between the initial value and the first value is larger than any one of a weight value 1, a weight value 2, and a weight value 3. Therefore, under the condition that the trigger event is not detected in a single behavior hot zone, only the difference value between the first warning value and the first value is reduced, and the condition that the user is judged accidentally is avoided, so that the fault tolerance for identifying whether the user is accidentally caused is improved.
And S103, after the first warning value is updated to a second value, if a trigger event is detected, the electronic equipment restores the first warning value to an initial value, wherein the value of the second value is between the first value and the initial value of the first warning value.
In some embodiments, after updating the first warning value, if the value of the first warning value is between the first value and the initial value, that is, if the updated first warning value is greater than the first value and less than the initial value, it may be determined that the first warning value is updated to the second value. On this premise, if a trigger event is detected, the electronic device restores the value of the first warning value to an initial value.
For example, the electronic device may detect a trigger event within the behavior hotspot or may detect a trigger event during a time period outside the behavior hotspot, and then, in response to detecting the trigger event, the electronic device may restore the first alert value to the initial value.
In some embodiments, after the first alert value is updated to the second value, if the electronic device still does not detect the trigger event, after the next behavior hotspot passes, the electronic device continues to subtract the weight value corresponding to the next behavior hotspot based on the first alert value.
For example, as shown in fig. 12, the weight value of the behavior hotspot 1 is a first weight value (e.g., 0.2), the weight value of the behavior hotspot 2 is a second weight value (e.g., 0.3), the weight value of the behavior hotspot 3 is a third weight value (e.g., 0.5), and the initial value of the first alert value is 1. If the electronic device's system time elapsed is a hot zone 1 (i.e., 7 to 8. Next, between time 8. Next, the electronic device also does not detect a trigger event during the behavior hotspot 2 (i.e., 9. In this scenario, the electronic device subtracts the second weight value from the first alert value (i.e., 1), so as to obtain an updated first alert value of 0.7. Next, the electronic device also does not detect a trigger event during 9. In this scenario, the electronic device subtracts the third weight value from the first alert value (i.e., 0.7), so as to obtain an updated first alert value of 0.2.
In other embodiments, if the electronic device is not used by the user for a long period of time, i.e., the electronic device does not detect a trigger event through a plurality of behavioral hotspots in succession, the first alert value is continuously decreased until it is not greater than the first value. Thus, as shown in fig. 10, the method may further include:
and S104, when the updated first warning value is not greater than a first value, the electronic equipment alarms, wherein the first value is smaller than an initial value of the first warning value.
In some embodiments, the manner in which the electronic device alerts may be: the electronic device transmits help seeking information to a specified device (second device). The help seeking information comprises owner information of the electronic equipment. In this way, the designated device can respond to the help seeking information to remind, and thus, the help seeking information can be called as first reminding information. For example, the designated device may display warning information for prompting that an owner of the electronic device may be in an accident. If the specified equipment can perform voice broadcast, the voice broadcast can also be used for prompting that the owner of the electronic equipment possibly has an accident.
And S105, when the trigger event is detected, restoring the first alarm value to an initial value.
In some embodiments, after the electronic device alerts, the electronic device continues to detect whether a triggering event has occurred. If the electronic device detects a trigger event, the electronic device may restore the first alert value to an initial value. In some embodiments, the electronic device may detect a trigger event within the behavioral hotspot or during a time period outside the behavioral hotspot, and then may return the first alert value to the initial value in response to detecting the trigger event.
Before the first alert value is not greater than the first value and is not restored to the initial value, the electronic device may no longer update the first alert value with the weight value of the behavior hot zone. Of course, after the electronic device detects the trigger event and restores the first alert value to the initial value, the electronic device may continue to update the first alert value according to the method provided in the above embodiment, in case that no trigger event is detected.
In some embodiments, the electronic device may limit the number of alerts, for example, three alerts may be made a day. In this way, the electronic device alarms only in the case that the first alarm value is not greater than the first value in the last three occurrences of the day.
In some possible embodiments, when the updated first alert value is not less than the first value and the difference between the first alert value and the first value is less than the set threshold, the electronic device may check whether the user has a condition for normal use of the device. Alternatively, the electronic device may check whether the user has a condition for normal use of the device, in case the first alert value is not smaller than the first value and smaller than the second set threshold.
When it is determined that the user has the condition for normally using the device, the user is instructed that the user can normally use the device, but does not actively use the device. In this scenario, the electronic device may restore the first alert value to the initial value. Thus, the occurrence of false alarms is avoided. The set threshold may be an empirical value, for example, the set threshold may be half the difference between the initial value and the first value.
As one implementation, an electronic device may guide a user to interact with the electronic device. And determining that the interactive operation actually exists between the user and the electronic equipment within the specified time length after the electronic equipment is guided, and judging that the user has the condition of normally using the equipment currently. The specified time period may be an empirical value, and may be 5 minutes, for example.
Illustratively, as shown in fig. 13, the electronic device may display push information (also known as a reminder message). The push information may be any message. For example, the application message may correspond to an application program commonly enabled in the electronic device. For another example, the message may still be in an unread state in the electronic device.
Within a specified duration after the electronic device displays the push information, if the user performs an operation of interacting with the device (e.g., clicking a display screen), the electronic device may record a corresponding trigger event in response to the operation, that is, the electronic device may determine that the trigger event is detected. In this way, the electronic device determines that the user currently has the condition for normally using the device, and correspondingly, the electronic device may restore the first alert value to the initial value.
As yet another example, the electronic device may also automatically illuminate the display screen. If the user makes an operation to interact with the device (e.g., presses a power switch button) within a specified time period after the display screen is lit, the electronic device may record a corresponding trigger event in response to the operation, i.e., the electronic device may determine that the trigger event is detected. In this way, the electronic device may determine that the user currently has a condition for normally using the device, and correspondingly, the electronic device may restore the first alert value to the initial value.
In addition, in some embodiments, the electronic device does not need to create a corresponding behavior hotspot for the trigger event even if it is detected within the specified duration. Of course, in other possible embodiments, the electronic device needs to create a corresponding behavior hot zone for the electronic device when detecting the trigger event at any time, and this is not limited in this embodiment.
In other embodiments, after determining that the first alarm value is not greater than the first value, the electronic device may further determine whether an alarm is required in conjunction with the user's usage of another device (third device) before actually alarming. The other equipment can be household appliances such as an intelligent television, an intelligent air conditioner and an intelligent refrigerator. In addition, the other devices are in the same local area network as the electronic device.
Taking the other device as a smart television as an example, as shown in fig. 14, after the updated first alarm value is not greater than the first value, the electronic device may send query information (also referred to as a query request) to the smart television.
Wherein, the query information includes a query time interval. The query period is a period in which the electronic device does not detect a triggering event. In addition, the first warning value changes from the initial value to be less than the first value within the inquiry period. That is, the query period may include a number of behavioral hotspots that have not detected a trigger event and are adjacent. For example, in the scenario shown in fig. 11, where the first value is 0, the query period may be a period between 7 and 10. As another example, in the scenario shown in fig. 12, in the case where the first value is 0.3, the query time period may be a time period between 9 and 10. It should be noted here that during 7.
After the intelligent television receives the query information, the user operation record matched with the query time interval can be searched in response to the query information. The user operation record may be a record in which a user sends a control instruction (a power-on instruction, a channel switching instruction, a power-off instruction) to the smart television, and each record corresponds to a timestamp, which may indicate system time at which the smart television receives the control instruction. When the timestamp of the user operation record belongs to the query time interval, determining that the user operation record is matched with the query time interval.
After inquiring the user operation record matched with the inquiring period, the intelligent television sends an inquiring response 1 to the electronic equipment. The query response 1 indicates that the user has interacted with the smart television within the query period. In this scenario, the electronic device may restore the first alert value to the initial value in response to the inquiry response 1, and determine not to perform the alarm.
After the matched user operation record is not inquired, the intelligent television sends an inquiry response 2 to the electronic equipment. The query response 2 indicates that the user has no interaction with the smart tv during the query period. In this scenario, the electronic device may determine that an alarm may be performed in response to query response 2.
In some scenarios, the user may forget the location of the electronic device, which may result in the electronic device not being used normally in the behavior hot area. In this scenario, the electronic device may also send assistance information to other devices having a display screen after determining that the first alert value is not greater than the first value. In this way, the other device that receives the assistance information may display a prompt message in response to the assistance information. The prompting message is used for inquiring whether the user needs to assist the alarm. And within a set time length after the prompt message is displayed, if other equipment receives an operation that a user indicates to cancel, sending a query response 3 to the electronic equipment. The electronic device may restore the first alert value to the initial value and determine not to perform the alarm in response to the inquiry response 3.
The following describes a scenario that an electronic device (e.g., a mobile phone) may face during actual operation:
one of the exemplary scenarios: the old user meets the accident at home, and electronic equipment just can help old user to seek help to the external world voluntarily. For example, as shown in fig. 15, during 8. When the length of the behavior hot zone preconfigured in the mobile phone is 10 minutes, the behavior hot zones do not overlap, the initial value of the first warning value is 1, and the first value is 0, the mobile phone can determine the behavior hot zone 4 (8. If the mobile phone passes the statistical trigger event, the weight value of the behavior hot zone 4 is determined to be 0.3, the weight value of the behavior hot zone 5 is determined to be 0.5, and the weight value of the behavior hot zone 6 is determined to be 0.2. Thus, assuming that the elderly user has fallen in the morning 7, between the behavior hotspot 4 to the behavior hotspot 6, i.e., 8 to 8. In this scenario, help seeking information may be sent to the designated device, so that the designated device may display "something may be unexpected at present, go to view".
Exemplary second scenario: the old user has no accident, for example, during the period from 8. In this scenario, the mobile phone may perform analysis in combination with the user operation records of other devices. For example, an elderly user does not use a handset during periods 8. Thus, as shown in fig. 16, if the elderly user has used the smart tv within the query period (8 to 8.
Exemplary three scenarios: no surprise occurred to the elderly user, for example, during the period of 8. In this scenario, the handset may guide the user to interact. For example, the preset threshold value of the mobile phone is 0.5, and then the mobile phone does not detect a trigger event between the behavior hotspot 4 and the behavior hotspot 5 (8. Thus, within a specified time, if the old user clicks a display screen, instructs to unlock the mobile phone or presses a power switch key, even if the old user is in a range from 8: and the mobile phone is not used actively during the period of 30, and the mobile phone does not send help seeking information to the specified equipment for the moment.
Four of the exemplary scenarios: the old user has no accident, for example, the old user forgets the placement position of the mobile phone during the period from 8. In this scenario, after the system time reaches 8, the handset may request other devices (including the smart tv) to collaboratively ask the user whether to ask for help from outside. The smart television can display a prompt window. The prompt window may display the text "whether help needs to be asked outward".
If the smart television cancels the display prompt window in response to the operation that the user indicates cancellation within the set time (e.g., 1 minute), the mobile phone does not send help seeking information to the specified device for the moment. The operation of the user indicating cancellation may be an operation of the user indicating selection of a "cancel" control.
Of course, other devices besides the smart television may also display the prompt window. Therefore, within the set duration, any other device cancels the display prompt window in response to the user operation, and the mobile phone can not send help seeking information to the specified device for the moment.
In addition, if no other device cancels the display prompt window within a set time (e.g., 1 minute), the mobile phone sends help seeking information to the specified device.
An embodiment of the present application further provides an electronic device, which may include: a memory and one or more processors. The memory is coupled to the processor. The memory is for storing computer program code comprising computer instructions. The processor, when executing the computer instructions, may cause the electronic device to perform the steps performed by the handset in the embodiments described above. Of course, the electronic device includes, but is not limited to, the above-described memory and one or more processors.
The embodiment of the present application further provides a chip system, which can be applied to the terminal device in the foregoing embodiment. As shown in FIG. 17, the system-on-chip includes at least one processor 2201 and at least one interface circuit 2202. The processor 2201 may be a processor in the electronic device described above. The processor 2201 and the interface circuit 2202 may be interconnected by wires. The processor 2201 may receive and execute computer instructions from the memory of the electronic device described above via the interface circuit 2202. The computer instructions, when executed by the processor 2201, may cause the electronic device to perform the steps performed by the cell phone in the embodiments described above. Of course, the chip system may further include other discrete devices, which is not specifically limited in this embodiment of the present application.
In some embodiments, as will be apparent to those skilled in the art from the foregoing description of the embodiments, for convenience and simplicity of description, only the above division of each functional module is used for illustration, and in practical applications, the above function allocation may be performed by different functional modules as needed, that is, the internal structure of the apparatus may be divided into different functional modules to perform all or part of the above described functions. For the specific working processes of the system, the apparatus and the unit described above, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described here again.
Each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or make a contribution to the prior art, or all or part of the technical solutions may be implemented in the form of a software product stored in a storage medium and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a processor to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: flash memory, removable hard drive, read only memory, random access memory, magnetic or optical disk, and the like.
The above description is only a specific implementation of the embodiments of the present application, but the scope of the embodiments of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the embodiments of the present application should be covered by the scope of the embodiments of the present application. Therefore, the protection scope of the embodiments of the present application shall be subject to the protection scope of the claims.

Claims (9)

1. A data processing method, applied to a first device, the method comprising:
acquiring the weight corresponding to each time interval in a plurality of time intervals; the first equipment receives at least one user operation in each time interval within a preset time length before the current moment; the weight is determined by the number of times the first device receives user operation within a corresponding time interval; the plurality of time intervals includes a first time interval and a second time interval, the first time interval being prior to the second time interval;
if no user operation is detected in the first time interval, reducing a first warning value by using a first weight corresponding to the first time interval, wherein the first warning value is used for evaluating whether the owner of the first device needs to send a help-seeking signal;
if no user operation is detected in the second time interval, continuously reducing the first warning value by using a second weight corresponding to the second time interval;
if the user operation is detected in the second time interval, the first warning value is restored to a preset initial value;
and when the first alarm value is smaller than or equal to a first set threshold value, sending first reminding information to second equipment, wherein the first reminding information indicates that the owner of the first equipment is seeking help.
2. The method of claim 1, wherein obtaining the weight for each of the plurality of time intervals comprises:
counting first operations corresponding to each time interval, wherein the first operations are user operations of which the operation time belongs to the corresponding time interval, and the operation time is received by the first equipment within a preset time length before the current time;
when the times of the first operation belong to a first numerical value interval, determining the weight value of the corresponding time interval as a first set value;
when the times of the first operation belong to a second numerical value interval, determining the weight value of the corresponding time interval as a second set value; the second value interval is different from the first value interval, and the first set value and the second set value are also different.
3. A method according to claim 1 or 2, wherein if the first alarm value is a preset initial value before the first alarm value is reduced by the first weight, the first alarm value is the difference between the preset initial value and the first weight after the first alarm value is reduced by the first weight.
4. The method of claim 1, further comprising:
and under the condition that a second operation is detected and the operation time of the second operation does not belong to the plurality of time intervals, restoring the first alarm value to the preset initial value, and determining a third time interval, wherein the third time interval comprises the operation time corresponding to the second operation.
5. The method of claim 1, further comprising:
determining that a third operation corresponds to the first time interval if the third operation is received and the operation time of the third operation belongs to the second time interval.
6. The method according to claim 1, wherein after continuing to lower the first alert value by the second weight corresponding to the second time interval, the method further comprises:
and when the first warning value is greater than a first set threshold value and less than a second set threshold value, displaying a reminding message for guiding a user to interact with the first equipment.
7. The method of claim 1, wherein prior to sending the first reminder information to the second device, the method further comprises:
sending a query request to third equipment, wherein the third equipment and the first equipment belong to the same local area network;
receiving an inquiry response fed back by the third device, wherein the inquiry response comprises first information, and the first information comprises an operation record of a user for the third device and corresponding recording time;
and determining that the recording time of the operation records does not belong to a first time interval, wherein the first time interval is a time interval containing the first time interval and a second time interval.
8. An electronic device, characterized in that the electronic device comprises one or more processors and memory; the memory coupled with the processor, the memory for storing computer program code, the computer program code comprising computer instructions, which when executed by the one or more processors, cause the one or more processors to perform the method of any of claims 1-7.
9. A computer storage medium comprising computer instructions that, when executed on an electronic device, cause the electronic device to perform the method of any of claims 1-7.
CN202210943015.6A 2022-08-08 2022-08-08 Data processing method and electronic equipment Active CN115037832B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210943015.6A CN115037832B (en) 2022-08-08 2022-08-08 Data processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210943015.6A CN115037832B (en) 2022-08-08 2022-08-08 Data processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN115037832A CN115037832A (en) 2022-09-09
CN115037832B true CN115037832B (en) 2022-12-16

Family

ID=83130211

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210943015.6A Active CN115037832B (en) 2022-08-08 2022-08-08 Data processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN115037832B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2636908A1 (en) * 2007-07-12 2009-01-12 Research In Motion Limited System and method for portable power source management
CN102708658A (en) * 2012-05-23 2012-10-03 陶雨 Automatic alarming device for unusual conditions of daily routine of empty nest elderly and alarming method
CN105872219A (en) * 2016-03-29 2016-08-17 乐视控股(北京)有限公司 Emergency information sending method and device, and mobile phone
CN105915682A (en) * 2016-06-27 2016-08-31 深圳市嘉兰图设计股份有限公司 Alarm clock with alarm function and an emergency alarm method employing the alarm clock
CN106453894A (en) * 2016-10-12 2017-02-22 重庆蓝岸通讯技术有限公司 Method for sensing whether communication device is forgotten or not
CN107360330A (en) * 2017-08-31 2017-11-17 努比亚技术有限公司 Method for early warning and mobile terminal
CN108470426A (en) * 2018-03-29 2018-08-31 李雪菲 Method, apparatus, system and the equipment of discovering device user's exception
CN109413633A (en) * 2018-11-28 2019-03-01 深圳市南和移动通信科技股份有限公司 A kind of safety protecting method, mobile terminal and storage medium
CN109922206A (en) * 2018-12-03 2019-06-21 阿里巴巴集团控股有限公司 It is a kind of for the intelligent alarm method, apparatus of mobile phone and including its system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8855289B2 (en) * 2010-01-19 2014-10-07 Microsoft Corporation Automated callback reminder

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2636908A1 (en) * 2007-07-12 2009-01-12 Research In Motion Limited System and method for portable power source management
CN102708658A (en) * 2012-05-23 2012-10-03 陶雨 Automatic alarming device for unusual conditions of daily routine of empty nest elderly and alarming method
CN105872219A (en) * 2016-03-29 2016-08-17 乐视控股(北京)有限公司 Emergency information sending method and device, and mobile phone
CN105915682A (en) * 2016-06-27 2016-08-31 深圳市嘉兰图设计股份有限公司 Alarm clock with alarm function and an emergency alarm method employing the alarm clock
CN106453894A (en) * 2016-10-12 2017-02-22 重庆蓝岸通讯技术有限公司 Method for sensing whether communication device is forgotten or not
CN107360330A (en) * 2017-08-31 2017-11-17 努比亚技术有限公司 Method for early warning and mobile terminal
CN108470426A (en) * 2018-03-29 2018-08-31 李雪菲 Method, apparatus, system and the equipment of discovering device user's exception
CN109413633A (en) * 2018-11-28 2019-03-01 深圳市南和移动通信科技股份有限公司 A kind of safety protecting method, mobile terminal and storage medium
CN109922206A (en) * 2018-12-03 2019-06-21 阿里巴巴集团控股有限公司 It is a kind of for the intelligent alarm method, apparatus of mobile phone and including its system

Also Published As

Publication number Publication date
CN115037832A (en) 2022-09-09

Similar Documents

Publication Publication Date Title
US20220044043A1 (en) Integrated circuit and sensor data processing method
CN104899029A (en) Screen control method and apparatus
CN113778663B (en) Scheduling method of multi-core processor and electronic equipment
CN112650405B (en) Interaction method of electronic equipment and electronic equipment
CN111988493B (en) Interaction processing method, device, equipment and storage medium
CN107783790B (en) Terminal awakening method and device
WO2021213151A1 (en) Display control method and wearable device
CN111984347A (en) Interaction processing method, device, equipment and storage medium
EP4199488A1 (en) Voice interaction method and electronic device
CN114283793A (en) Voice wake-up method, device, electronic equipment, medium and program product
CN115037832B (en) Data processing method and electronic equipment
CN107861605B (en) Data processing method and device
CN116132740A (en) Energy saving method and device for video watching equipment, video watching equipment and readable storage medium
CN112929491B (en) Application program starting method and related device
CN115543500B (en) Window processing method and electronic equipment
CN113256238B (en) Reminding method and device and electronic equipment
CN105988560B (en) Application starting method and device
CN110149444B (en) Message reminding method and device, storage medium and electronic equipment
CN112580543A (en) Behavior recognition method, system and device
CN115550732B (en) Method for preventing addiction to video, electronic device and storage medium
CN116052376B (en) Remote monitoring method and terminal equipment
CN116027919B (en) Touch screen control method, electronic device, chip and storage medium
CN117320051A (en) Modem detection method and device, readable storage medium and chip
CN117119238A (en) Equipment control method and device, storage medium and electronic equipment
CN117277489A (en) Robot charging control method, device, 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
GR01 Patent grant
GR01 Patent grant