CN113824837A - Terminal control method and device, terminal and storage medium - Google Patents
Terminal control method and device, terminal and storage medium Download PDFInfo
- Publication number
- CN113824837A CN113824837A CN202010563894.0A CN202010563894A CN113824837A CN 113824837 A CN113824837 A CN 113824837A CN 202010563894 A CN202010563894 A CN 202010563894A CN 113824837 A CN113824837 A CN 113824837A
- Authority
- CN
- China
- Prior art keywords
- terminal
- state
- preset condition
- vehicle
- unsteady
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 230000001133 acceleration Effects 0.000 claims description 59
- 230000008859 change Effects 0.000 claims description 9
- 230000004438 eyesight Effects 0.000 abstract description 6
- 230000002829 reductive effect Effects 0.000 abstract description 3
- 230000006870 function Effects 0.000 description 8
- 238000004590 computer program Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 7
- 238000004891 communication Methods 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 6
- 230000008569 process Effects 0.000 description 3
- 230000000386 athletic effect Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000000670 limiting effect Effects 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 208000003464 asthenopia Diseases 0.000 description 1
- 238000000354 decomposition reaction Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000036961 partial effect Effects 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
Images
Landscapes
- Telephone Function (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The disclosure provides a control method and device of a terminal, the terminal and a storage medium. The control method of the terminal comprises the following steps: determining whether a terminal meets a preset condition, wherein the preset condition comprises that the use state of the terminal under a bright screen is an unsteady state; and if the terminal meets the preset condition, sending out prompt information. The safety hidden danger is reduced while the eyesight of the user is protected.
Description
Technical Field
The present disclosure relates to the field of intelligent terminal technologies, and in particular, to a terminal control method, an apparatus, a terminal, and a storage medium.
Background
The intelligent terminals such as the mobile phone facilitate the life of users and bring various conveniences to the users, but meanwhile, more and more users increasingly rely on the intelligent terminals such as the mobile phone, and when a lot of users use the intelligent terminals such as the mobile phone on a bumpy vehicle or a walking way, due to the fact that the users are in an unsteady state, the viewpoints are frequently scattered and focused, the vision is damaged, and potential safety hazards are easily generated.
Disclosure of Invention
In order to solve the existing problems, the present disclosure provides a control method and apparatus for a terminal, and a storage medium.
The present disclosure adopts the following technical solutions.
In some embodiments, the present disclosure provides a control method of a terminal, including:
determining whether a terminal meets a preset condition, wherein the preset condition comprises that the use state of the terminal under a bright screen is an unsteady state;
and if the terminal meets the preset condition, sending out prompt information.
In some embodiments, the present disclosure provides a control apparatus of a terminal, including:
the terminal comprises a determining unit, a judging unit and a judging unit, wherein the determining unit is used for determining whether the terminal meets a preset condition, and the preset condition comprises that the using state of the terminal under a bright screen is an unsteady state;
and the prompting unit is used for sending out prompting information if the terminal meets the preset condition.
In some embodiments, the present disclosure provides a terminal comprising:
at least one memory and at least one processor;
the memory is used for storing program codes, and the processor is used for calling the program codes stored in the memory to execute the method.
In some embodiments, the present disclosure provides a storage medium for storing program code for performing the above-described method.
According to the control method of the terminal, the using state of the terminal under the condition of the bright screen is determined, and the prompt message is sent out under the condition that the using state is the unsteady state, so that the potential safety hazard is reduced while the eyesight of a user is protected.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and elements are not necessarily drawn to scale.
Fig. 1 is a control method route chart of a terminal of the embodiment of the present disclosure;
fig. 2 is a block diagram of a control apparatus of a terminal according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that various steps recited in method embodiments of the present disclosure may be performed in parallel and/or in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a" or "an" in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that reference to "one or more" unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
With the popularization of smart terminals such as mobile phones, more and more users frequently use mobile phones in daily life and rely on the mobile phones more and more, and the mobile phones are also used when walking, taking an elevator or taking a bumpy vehicle, but the use of the mobile phones in the unsteady state causes the viewpoints of the users to be frequently scattered and reunited, the eyesight is damaged, and potential safety hazards are easily caused.
In some embodiments of the present disclosure, a method for controlling a terminal is provided, as shown in fig. 1, including:
s11: it is determined whether the terminal satisfies a preset condition,
specifically, in this embodiment, the preset condition includes that the usage state of the terminal in the bright screen is an unsteady state, and when the terminal is in the bright screen, it indicates that the user is using the mobile phone. In this embodiment, the non-steady state includes walking, riding in a bumpy vehicle, and the like, and in this embodiment, the non-steady state may be relative to the steady state, and the steady state may include a constant speed moving state and a static state, for example.
S12: and if the terminal meets the preset condition, sending out prompt information.
In this embodiment, when it is detected that the terminal is in a bright screen and in an unsteady state, it indicates that the user uses the terminal in a state of walking or riding a bumpy vehicle, and the like, the viewpoint of the user may be repeatedly dispersed and refocused, so that rapid eye fatigue may be caused, eyesight may be degraded, health may be damaged, and a potential safety hazard may be easily caused.
According to the method, the using state of the terminal under the bright screen is determined, and the prompt message is sent out under the condition that the using state is the unsteady state, so that the eyesight of a user is protected, and meanwhile potential safety hazards are reduced.
In some optional embodiments, the preset conditions further include: the continuous time length of the use state of the terminal in the non-steady state reaches the first time length. Specifically, for example, when a user sits still indoors to use a mobile phone, the user does not keep a posture to use the mobile phone when using the mobile phone in the steady state, the user often moves the mobile phone in a small range, and the mobile phone is in the non-steady state in the process of moving the mobile phone, but the prompt message should not be sent at this time.
In some embodiments of the present disclosure, the preset conditions further include: the application currently used by the terminal is a non-specified application. Specifically, the applications on the terminal are divided into designated applications and non-designated applications, the designated applications are equivalent to a white list, and when the applications currently used by the terminal are the designated applications, no prompt information is sent out. For example, the designated application may be a motion sensing application, and the motion sensing application is an application that responds by detecting a motion of the user, such as a motion sensing game application or a "shake-and-shake" application, and when the user uses the body sensing application, the terminal is frequently shaken and is in an unstable state, but actually, the terminal cannot indicate that the user is in a state of walking or riding a bumpy vehicle, and the like, that is, the user may be determined by mistake when using the body sensing application. Therefore, in the embodiment, the prompt message can be sent only when the current application is a non-specified application, so that the phenomenon that daily life and work are not changed is avoided, and meanwhile, the mistaken reminding is prevented.
In some embodiments of the present disclosure. And determining whether the use state of the terminal is a non-steady state or not according to the motion data of the terminal. Specifically, various sensors are often added in the terminal, including a motion sensor, a step-counting sensor, a step-measuring sensor, an acceleration sensor and the like, when a user walks or rides a bumpy vehicle, corresponding motion data and acceleration data can be generated, and the movement state of the terminal can be reflected through the data, so that the current use state of the terminal can be determined.
In some embodiments of the present disclosure, determining whether the terminal satisfies a preset condition includes: determining a usage scenario of the terminal, wherein the usage scenario includes: a ride vehicle and an unoccupied vehicle; and determining whether the use state of the terminal in the use scene is an unsteady state. Specifically, when a user takes a vehicle, the user is likely to erroneously detect motion data of the terminal due to movement, and at this time, the user does not actually perform any limb movement, and if the user takes a vehicle that moves at an approximately constant speed, actually, the use state of the terminal is a steady state, and if the user considers that the terminal is in an unsteady state only because the terminal detects the motion data, the user is likely to erroneously remind the user.
In some embodiments of the present disclosure, determining a usage scenario of the terminal includes:
if the change angle of the acceleration direction of the continuous second duration is not larger than a first preset angle and the acceleration value is larger than a first upper limit value, the using scene is a vehicle; specifically, the embodiment may determine whether the user is riding a vehicle, the first upper limit value may be, for example, an acceleration upper limit value of a person during running, and when the acceleration value is not less than the first upper limit value, it indicates that the user is riding a vehicle, but when the user greatly changes the running direction, the acceleration value may exceed the first upper limit value, for example, running to the left side and then running to the right side with full force may cause the acceleration value to exceed the first upper limit value, so to prevent misjudgment of the acceleration value due to direction change, it is necessary that the change angle of the acceleration direction is not greater than a first preset angle for two consecutive periods, that is, the acceleration value is approximately kept moving in one direction, thereby ensuring the accuracy of the determination.
In some embodiments of the present disclosure, determining a usage scenario of the terminal includes: if the moving speed of the terminal is greater than a speed threshold value, the using scene is a vehicle; or if the moving speed of the terminal is not greater than the speed threshold, the usage scene is an unoccupied vehicle. Specifically, the speed threshold in this example may be, for example, an upper speed limit of the person running, and it may be determined that the user is riding in the vehicle when the moving speed of the terminal is greater than the speed threshold.
In some embodiments of the present disclosure, determining whether a usage state of the terminal in the usage scenario is an unsteady state includes:
when the using scene of the terminal is that the vehicle is not used, if the motion data of the effective motion is detected in the third duration, the using state of the terminal is an unsteady state;
or when the use scene of the terminal is that the vehicle is not used, if the number of motion steps detected in the fourth time period is greater than the preset number of steps, the use state of the terminal is an unsteady state.
Specifically, in this embodiment, the above conditions are set to determine whether the user is in a walking state or a static state, whether effective motion is detected continuously for the third time period may be determined by an effective motion sensor in the android system, when effective motion is detected continuously for the third time period, it indicates that the user is in a motion state rather than the terminal being accidentally moved, the detection accuracy of the effective motion sensor in the android is poor, and usually, multiple steps of user movement can only be recognized as one step. In some embodiments, the number of athletic steps may be detected by a step-counting sensor in the android system, the fourth duration may be, for example, 60s, and detecting that the number of athletic steps in the fourth duration is greater than a preset number of steps indicates that the user is in constant motion, rather than moving from one location to another location in the home. In some embodiments, the motion data may also be detected by a pace sensor in the android system, and the fourth time period may be, for example, 60 s. The step counting sensor in android has higher precision than a step counting sensor, but has larger delay (10 seconds at most), the step counting sensor has slightly lower precision than the step counting sensor, but has smaller delay (less than 2 seconds), the step counting sensor or the step counting sensor is selected to determine motion data according to the requirements on precision and delay, and the preset step number when the step counting sensor is selected is larger than the preset step number when the step counting sensor is selected.
In some embodiments of the present disclosure, determining whether a usage state of the terminal in the usage scenario is an unsteady state includes:
when the using scene of the terminal is that the vehicle is taken, if the acceleration value of the terminal in the first direction is greater than the first acceleration value, the acceleration value in the second direction is greater than the second acceleration value and the acceleration value in the third direction is greater than the third acceleration value, determining that the using state of the terminal is an unsteady state;
specifically, the first direction, the second direction and the third direction are perpendicular to each other, the acceleration is a vector, vector decomposition is performed on the obtained acceleration, so that components of the acceleration in the first direction, the second direction and the third direction can be obtained, when a vehicle taken by a user runs stably, even if a certain acceleration is generated, the components of the acceleration in the three directions are not too large, therefore, the acceleration value of the terminal in the first direction is larger than the first acceleration value, the acceleration value of the terminal in the second direction is larger than the second acceleration value, and the acceleration value of the terminal in the third direction is larger than the third acceleration value, so that the use state of the terminal can be determined to be an unsteady state.
In some embodiments of the present disclosure, determining whether the usage state of the terminal is an unsteady state according to the acceleration data of the terminal includes: if the acceleration value of the terminal in the fourth direction is greater than the second upper limit value, determining that the use state of the terminal is an unstable state; or if the change angle of the acceleration direction is larger than the second preset angle in the sixth duration, determining that the use state of the terminal is an unsteady state.
Specifically, in this embodiment, the fourth direction may be any direction, when the acceleration value in the fourth direction is greater than the second upper limit value, it indicates that the speed of the terminal changes very fast, and when the user is in a state of being stationary or moving smoothly, even if a certain acceleration is generated, the acceleration value is small, and the acceleration in any direction is not greater than the second upper limit value, so that when the acceleration value in the fourth direction is greater than the second upper limit value, it may be determined that the usage state of the terminal is in an unstable state. And when the change angle of the acceleration direction in the sixth duration is larger than the second preset angle, the movement direction of the terminal is greatly changed, and at the moment, the terminal is in a motion state, and the motion state is not stable, namely, the terminal is in an unstable state.
As shown in fig. 2, an embodiment of the present disclosure further provides a control device for a terminal, including:
the terminal comprises a determining unit 10, a judging unit and a processing unit, wherein the determining unit is used for determining whether a terminal meets a preset condition, and the preset condition comprises that the using state of the terminal under a bright screen is an unsteady state;
and the prompting unit 20 is used for sending out prompting information if the terminal meets the preset condition.
For the embodiments of the apparatus, since they correspond substantially to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described apparatus embodiments are merely illustrative, wherein the modules described as separate modules may or may not be separate. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The network password updating method and device of the present disclosure are described above based on the embodiments and application examples. In addition, the present disclosure also provides a terminal and a storage medium, which are described below.
Referring now to fig. 3, a schematic diagram of an electronic device (e.g., a terminal device or server) 800 suitable for use in implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 3 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 3, the electronic device 800 may include a processing means (e.g., central processing unit, graphics processor, etc.) 801 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)802 or a program loaded from a storage means 808 into a Random Access Memory (RAM) 803. In the RAM803, various programs and data necessary for the operation of the electronic apparatus 800 are also stored. The processing apparatus 801, the ROM 802, and the RAM803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
Generally, the following devices may be connected to the I/O interface 805: input devices 806 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 807 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, and the like; storage 808 including, for example, magnetic tape, hard disk, etc.; and a communication device 809. The communication means 809 may allow the electronic device 800 to communicate wirelessly or by wire with other devices to exchange data. While fig. 3 illustrates an electronic device 800 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication means 809, or installed from the storage means 808, or installed from the ROM 802. The computer program, when executed by the processing apparatus 801, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to perform the methods of the present disclosure as described above.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
According to one or more embodiments of the present disclosure, there is provided a control method of a terminal, including:
determining whether a terminal meets a preset condition, wherein the preset condition comprises that the use state of the terminal under a bright screen is an unsteady state;
and if the terminal meets the preset condition, sending out prompt information.
According to one or more embodiments of the present disclosure, there is provided a control method of a terminal, where the preset condition further includes:
the continuous time length of the terminal in the unsteady state reaches a first time length;
and/or the presence of a gas in the gas,
and the application currently used by the terminal is a non-specified application.
According to one or more embodiments of the present disclosure, there is provided a control method of a terminal, which determines whether a usage state of the terminal is an unsteady state according to motion data of the terminal.
According to one or more embodiments of the present disclosure, there is provided a control method of a terminal, determining whether the terminal satisfies a preset condition, including:
determining a usage scenario of the terminal, wherein the usage scenario includes: a ride vehicle and an unoccupied vehicle;
and determining whether the use state of the terminal in the use scene is an unsteady state.
According to one or more embodiments of the present disclosure, there is provided a control method of a terminal, determining a usage scenario of the terminal, including:
if the change angle of the acceleration direction of the continuous second duration is not larger than a first preset angle and the acceleration value is larger than a first upper limit value, the using scene is a vehicle; or,
if the moving speed of the terminal is greater than a speed threshold value, the using scene is a vehicle; or,
and if the moving speed of the terminal is not greater than the speed threshold value, the using scene is a vehicle not taken.
According to one or more embodiments of the present disclosure, there is provided a control method of a terminal, determining whether a usage state of the terminal in the usage scenario is an unsteady state, including:
when the using scene of the terminal is that the vehicle is not used, if the motion data of the effective motion is detected in the third duration, the using state of the terminal is an unsteady state;
or,
and when the using scene of the terminal is that the vehicle is not used, if the number of the motion steps detected in the fourth time period is greater than the preset number of steps, the using state of the terminal is an unsteady state.
According to one or more embodiments of the present disclosure, there is provided a control method of a terminal, determining whether a usage state of the terminal in the usage scenario is an unsteady state, including:
when the using scene of the terminal is that a vehicle is taken, if the acceleration value of the terminal in the first direction is greater than a first acceleration value, the acceleration value in the second direction is greater than a second acceleration value and the acceleration value in the third direction is greater than a third acceleration value, determining that the using state of the terminal is an unsteady state;
wherein the first direction, the second direction and the third direction are perpendicular to each other.
According to one or more embodiments of the present disclosure, there is provided a control method of a terminal, which determines whether a usage state of the terminal is an unsteady state according to acceleration data of the terminal, including:
if the acceleration value of the terminal in the fourth direction is greater than a second upper limit value, determining that the use state of the terminal is an unstable state;
or,
and if the change angle of the acceleration direction is larger than a second preset angle within a fifth duration, determining that the service state of the terminal is an unstable state.
According to one or more embodiments of the present disclosure, there is provided a control apparatus of a terminal, including:
the terminal comprises a determining unit, a judging unit and a judging unit, wherein the determining unit is used for determining whether the terminal meets a preset condition, and the preset condition comprises that the using state of the terminal under a bright screen is an unsteady state;
and the prompting unit is used for sending out prompting information if the terminal meets the preset condition.
According to one or more embodiments of the present disclosure, there is provided a terminal including: at least one memory and at least one processor;
wherein the at least one memory is configured to store program code, and the at least one processor is configured to call the program code stored in the at least one memory to perform the method of any one of the above.
According to one or more embodiments of the present disclosure, there is provided a storage medium for storing program code for performing the above-described method.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.
Claims (11)
1. A control method of a terminal, comprising:
determining whether a terminal meets a preset condition, wherein the preset condition comprises that the use state of the terminal under a bright screen is an unsteady state;
and if the terminal meets the preset condition, sending out prompt information.
2. The method for controlling the terminal according to claim 1, wherein the preset condition further comprises:
the using state of the terminal is that the continuous duration of the unsteady state reaches a first duration;
and/or the presence of a gas in the gas,
and the application currently used by the terminal is a non-specified application.
3. The method of claim 1, wherein whether the usage state of the terminal is an unsteady state is determined according to the motion data of the terminal.
4. The method for controlling the terminal according to claim 1, wherein the determining whether the terminal satisfies a preset condition comprises:
determining a usage scenario of the terminal, wherein the usage scenario includes: a ride vehicle and an unoccupied vehicle;
and determining whether the use state of the terminal in the use scene is an unsteady state.
5. The method for controlling the terminal according to claim 4, wherein determining the usage scenario of the terminal comprises:
if the change angle of the acceleration direction of the continuous second duration is not larger than a first preset angle and the acceleration value is larger than a first upper limit value, the using scene is a vehicle; or,
if the moving speed of the terminal is greater than a speed threshold value, the using scene is a vehicle; or,
and if the moving speed of the terminal is not greater than the speed threshold value, the using scene is a vehicle not taken.
6. The method for controlling the terminal according to claim 4, wherein determining whether the usage status of the terminal in the usage scenario is an unsteady status comprises:
when the use scene of the terminal is that the vehicle is not used, if the motion data of the effective motion is detected in the third duration, the use state of the terminal is an unstable state;
or,
and when the using scene of the terminal is that the vehicle is not used, if the motion step number detected in the fourth time period is greater than the preset step number, the using state of the terminal is an unsteady state.
7. The method for controlling the terminal according to claim 4, wherein determining whether the usage status of the terminal in the usage scenario is an unsteady status comprises:
when the using scene of the terminal is that a vehicle is taken, if the acceleration value of the terminal in the first direction is greater than a first acceleration value, the acceleration value in the second direction is greater than a second acceleration value and the acceleration value in the third direction is greater than a third acceleration value, determining that the using state of the terminal is an unsteady state;
wherein the first direction, the second direction and the third direction are perpendicular to each other.
8. The method for controlling the terminal according to claim 3, wherein determining whether the usage state of the terminal is an unsteady state according to the acceleration data of the terminal comprises:
if the acceleration value of the terminal in the fourth direction is greater than a second upper limit value, determining that the use state of the terminal is an unstable state;
or,
and if the change angle of the acceleration direction is larger than a second preset angle within a fifth duration, determining that the service state of the terminal is an unstable state.
9. A control apparatus of a terminal, comprising:
the terminal comprises a determining unit, a judging unit and a judging unit, wherein the determining unit is used for determining whether the terminal meets a preset condition, and the preset condition comprises that the using state of the terminal under a bright screen is an unsteady state;
and the prompting unit is used for sending out prompting information if the terminal meets the preset condition.
10. A terminal, comprising:
at least one memory and at least one processor;
wherein the at least one memory is configured to store program code and the at least one processor is configured to invoke the program code stored in the at least one memory to perform the method of any of claims 1 to 8.
11. A storage medium for storing program code for performing the method of any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010563894.0A CN113824837A (en) | 2020-06-19 | 2020-06-19 | Terminal control method and device, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010563894.0A CN113824837A (en) | 2020-06-19 | 2020-06-19 | Terminal control method and device, terminal and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113824837A true CN113824837A (en) | 2021-12-21 |
Family
ID=78911967
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010563894.0A Pending CN113824837A (en) | 2020-06-19 | 2020-06-19 | Terminal control method and device, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113824837A (en) |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103092605A (en) * | 2012-12-21 | 2013-05-08 | 广东欧珀移动通信有限公司 | Method and device for controlling usage of mobile terminal |
US20150235534A1 (en) * | 2014-02-19 | 2015-08-20 | Xiaomi Inc. | Method for protecting terminal devices and the terminal device thereof |
WO2015197000A1 (en) * | 2014-06-25 | 2015-12-30 | 可牛网络技术(北京)有限公司 | Method and apparatus for controlling hardware state of mobile terminal |
CN106055101A (en) * | 2016-05-26 | 2016-10-26 | 广东欧珀移动通信有限公司 | Anti-addiction prompt method, and device of mobile terminal and mobile terminal |
CN106250149A (en) * | 2016-07-29 | 2016-12-21 | 乐视控股(北京)有限公司 | A kind of based reminding method and terminal |
WO2017088486A1 (en) * | 2015-11-27 | 2017-06-01 | 惠州Tcl移动通信有限公司 | Method and system for giving reminder by mobile terminal |
CN107483718A (en) * | 2017-07-20 | 2017-12-15 | 北京小米移动软件有限公司 | Safety prompt function method, apparatus and storage medium |
CN108052812A (en) * | 2017-11-29 | 2018-05-18 | 努比亚技术有限公司 | A kind of terminal alarms method, terminal and computer readable storage medium |
CN108307074A (en) * | 2018-02-05 | 2018-07-20 | 广东欧珀移动通信有限公司 | Display control method and device, terminal, computer readable storage medium |
CN108566490A (en) * | 2018-04-16 | 2018-09-21 | Oppo广东移动通信有限公司 | The screen control method and device of terminal, readable storage medium storing program for executing, terminal |
CN108845334A (en) * | 2018-04-26 | 2018-11-20 | 上海与德科技有限公司 | A kind of barrier prompt method, apparatus, terminal and storage medium |
CN108881627A (en) * | 2018-06-06 | 2018-11-23 | Oppo(重庆)智能科技有限公司 | Screen control method, device, terminal and storage medium |
CN109041148A (en) * | 2018-08-27 | 2018-12-18 | 维沃移动通信有限公司 | A kind of mobile terminal operating method and mobile terminal |
US20190018404A1 (en) * | 2016-01-19 | 2019-01-17 | Valeo Comfort And Driving Assistance | Method for securing a manoeuvere to be applied to a motor vehicle |
JP2019092625A (en) * | 2017-11-20 | 2019-06-20 | 日本電信電話株式会社 | Walking state analysis method and device |
-
2020
- 2020-06-19 CN CN202010563894.0A patent/CN113824837A/en active Pending
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103092605A (en) * | 2012-12-21 | 2013-05-08 | 广东欧珀移动通信有限公司 | Method and device for controlling usage of mobile terminal |
US20150235534A1 (en) * | 2014-02-19 | 2015-08-20 | Xiaomi Inc. | Method for protecting terminal devices and the terminal device thereof |
WO2015197000A1 (en) * | 2014-06-25 | 2015-12-30 | 可牛网络技术(北京)有限公司 | Method and apparatus for controlling hardware state of mobile terminal |
WO2017088486A1 (en) * | 2015-11-27 | 2017-06-01 | 惠州Tcl移动通信有限公司 | Method and system for giving reminder by mobile terminal |
US20190018404A1 (en) * | 2016-01-19 | 2019-01-17 | Valeo Comfort And Driving Assistance | Method for securing a manoeuvere to be applied to a motor vehicle |
CN106055101A (en) * | 2016-05-26 | 2016-10-26 | 广东欧珀移动通信有限公司 | Anti-addiction prompt method, and device of mobile terminal and mobile terminal |
CN106250149A (en) * | 2016-07-29 | 2016-12-21 | 乐视控股(北京)有限公司 | A kind of based reminding method and terminal |
CN107483718A (en) * | 2017-07-20 | 2017-12-15 | 北京小米移动软件有限公司 | Safety prompt function method, apparatus and storage medium |
JP2019092625A (en) * | 2017-11-20 | 2019-06-20 | 日本電信電話株式会社 | Walking state analysis method and device |
CN108052812A (en) * | 2017-11-29 | 2018-05-18 | 努比亚技术有限公司 | A kind of terminal alarms method, terminal and computer readable storage medium |
CN108307074A (en) * | 2018-02-05 | 2018-07-20 | 广东欧珀移动通信有限公司 | Display control method and device, terminal, computer readable storage medium |
CN108566490A (en) * | 2018-04-16 | 2018-09-21 | Oppo广东移动通信有限公司 | The screen control method and device of terminal, readable storage medium storing program for executing, terminal |
CN108845334A (en) * | 2018-04-26 | 2018-11-20 | 上海与德科技有限公司 | A kind of barrier prompt method, apparatus, terminal and storage medium |
CN108881627A (en) * | 2018-06-06 | 2018-11-23 | Oppo(重庆)智能科技有限公司 | Screen control method, device, terminal and storage medium |
CN109041148A (en) * | 2018-08-27 | 2018-12-18 | 维沃移动通信有限公司 | A kind of mobile terminal operating method and mobile terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112035202B (en) | Method and device for displaying friend activity information, electronic equipment and storage medium | |
CN108646970B (en) | Display control method and related product | |
JP2018500644A (en) | Method, apparatus, and terminal for matching facial expression images | |
CN114217707B (en) | Sharing method, sharing device, electronic equipment and storage medium | |
CN109155023B (en) | Limiting alerts on a computing device | |
CN113093980B (en) | Terminal control method and device, terminal and storage medium | |
WO2016137735A1 (en) | Enhanced motion tracking using a transportable inertial sensor | |
US20190096226A1 (en) | Preventing the loss of wireless accessories for mobile devices | |
CN114422482B (en) | Message sending method and device, electronic equipment and storage medium | |
CN112256371A (en) | Method and device for displaying information and electronic equipment | |
CN113253847B (en) | Terminal control method, device, terminal and storage medium | |
CN115576632A (en) | Interaction method, interaction device, electronic equipment, storage medium and computer program product | |
US11327639B2 (en) | Split view exiting method, split view exiting device, and electronic device | |
CN111580883B (en) | Application program starting method, device, computer system and medium | |
CN113824837A (en) | Terminal control method and device, terminal and storage medium | |
CN111930228A (en) | Method, device, equipment and storage medium for detecting user gesture | |
CN110035231B (en) | Shooting method, device, equipment and medium | |
CN113055534A (en) | Terminal control method and device, terminal and non-transitory storage medium | |
CN111290812A (en) | Application control display method and device, terminal and storage medium | |
CN113132263B (en) | Kernel processor scheduling method, kernel processor scheduling device and storage medium | |
CN111324260B (en) | Method and apparatus for moving views | |
CN111290692B (en) | Picture display method and device, electronic equipment and computer readable medium | |
CN113055524A (en) | Terminal control method and device, terminal and storage medium | |
CN112822328A (en) | Data display method and device and electronic equipment | |
CN114063795A (en) | Interaction method, interaction device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20211221 |
|
RJ01 | Rejection of invention patent application after publication |