CN106603830A - Alarm prompting device and method for terminal equipment - Google Patents
Alarm prompting device and method for terminal equipment Download PDFInfo
- Publication number
- CN106603830A CN106603830A CN201611086576.XA CN201611086576A CN106603830A CN 106603830 A CN106603830 A CN 106603830A CN 201611086576 A CN201611086576 A CN 201611086576A CN 106603830 A CN106603830 A CN 106603830A
- Authority
- CN
- China
- Prior art keywords
- terminal device
- terminal equipment
- earphone
- terminal
- state
- 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 60
- 238000012544 monitoring process Methods 0.000 claims description 35
- 230000033001 locomotion Effects 0.000 claims description 13
- 238000004891 communication Methods 0.000 description 27
- 230000006870 function Effects 0.000 description 21
- 238000010586 diagram Methods 0.000 description 18
- 238000010295 mobile communication Methods 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 230000009977 dual effect Effects 0.000 description 3
- 230000005611 electricity Effects 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 238000006073 displacement reaction Methods 0.000 description 2
- 238000005192 partition Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 101150012579 ADSL gene Proteins 0.000 description 1
- 102100020775 Adenylosuccinate lyase Human genes 0.000 description 1
- 108700040193 Adenylosuccinate lyases Proteins 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000003909 pattern recognition Methods 0.000 description 1
- 238000013468 resource allocation Methods 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
- 230000001629 suppression Effects 0.000 description 1
- 239000010409 thin film Substances 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the invention discloses an alarm prompting device and a method for terminal equipment. The device provided in the embodiment of the invention includes a connection module used for detecting whether terminal equipment is connected with a headset or not; a judging module used for judging whether the terminal equipment is in a default state or not when the connection module detects that the terminal equipment is connected with the headset; and a prompting module used for sending out the alarm sound through the loudspeaker and/or the receiver of the terminal equipment when the judging module judges that the terminal equipment is in the default state. According to the embodiments of the invention, the problem in the prior art that the terminal equipment is different to find or even lost when the terminal equipment is connected with the handset over a long period of time through operating some certain APPs by a user during the usage process of the terminal equipment can be solved.
Description
Technical Field
The present application relates to, but not limited to, the field of computer technologies, and in particular, to an alarm prompting apparatus and method for a terminal device.
Background
With the development of computer technology and the popularization of terminal devices, the application range of terminal devices has been widely improved, and the terminal devices have gradually become essential communication tools and entertainment tools in daily life, and the convenience of the terminal devices in the using process has become an important requirement of people for the terminal devices.
The current terminal equipment often encounters an application scene in the use process, which is described below by taking a smart phone as an example, under the condition that the smart phone is inserted into an earphone to listen to music and the earphone is not pulled out for a long time, if a user uses the smart phone at home or in an office place, the earphone is always inserted into the smart phone, and the smart phone is placed at a certain position conveniently, so that the phenomenon that the smart phone cannot be found due to the fact that the smart phone is not used for a long time easily occurs; if a user uses a smartphone in an outdoor location, the headset is always plugged into the smartphone and the smartphone is placed in a certain location, the smartphone may not be found or even lost due to the carelessness of the user. Obviously, listening to music or broadcast through the earphone of the smart phone is for the convenience of the user when using the smart phone, and if the smart phone is difficult to find or even lost due to the earphone inserted into the smart phone, great inconvenience is brought to the user.
In summary, in the use process of the terminal device in the prior art, a user needs to operate some specific Application programs (APP) by connecting the headset to the terminal device, and since the terminal device is in a state of connecting the headset for a long time, there is a possibility that the terminal device is difficult to find or even lost.
Disclosure of Invention
In order to solve the above technical problems, embodiments of the present invention provide an alarm prompting apparatus and method for a terminal device, so as to solve the problem that, in the use process of the terminal device in the prior art, a user needs to operate some specific APPs by connecting an earphone to the terminal device, and the terminal device is likely to be difficult to find or even lost due to being in a state of connecting the earphone for a long time.
The embodiment of the invention provides an alarm prompting device of terminal equipment, which is arranged in the terminal equipment and comprises:
the connection module is used for detecting whether the terminal equipment is connected with an earphone or not;
the judging module is used for judging whether the terminal equipment is in a preset state or not after the connecting module detects that the terminal equipment is connected with the earphone;
and the prompt module is used for sending out an alarm prompt tone through a loudspeaker or/and a receiver of the terminal equipment when the judgment module judges that the terminal equipment is in the preset state.
Optionally, in the alarm prompting apparatus of a terminal device, a sensor is configured in the terminal device, and the determining module includes:
the monitoring unit is used for monitoring the motion state of the terminal equipment through the sensor after the connection module detects that the terminal equipment is connected with the earphone;
and the judging unit is used for judging that the terminal equipment is in the preset state when the monitoring unit monitors that the time of the terminal equipment in the standing state is greater than a first time threshold value.
Optionally, in the above alarm prompting apparatus of a terminal device, the determining module includes:
the monitoring unit is used for monitoring whether the terminal equipment receives an operation instruction of a user for executing operation on the terminal equipment or not after the terminal equipment is connected with the earphone;
and the judging unit is used for judging that the terminal equipment is in the preset state when the monitoring unit monitors that the time for not receiving the operation instruction is greater than a second time threshold.
Optionally, in the above alarm prompting apparatus for a terminal device, the connection module includes:
the first connection unit is used for detecting whether an earphone jack of the terminal equipment is inserted into an earphone plug of the earphone or not;
and the second connecting unit is used for detecting whether the terminal equipment is connected with the Bluetooth headset in a Bluetooth connecting mode.
Optionally, in the alarm prompting apparatus of the terminal device, the preset state includes: the terminal device is in an off-body state, a lost state, and the terminal device is in a state to perform a useless operation.
The embodiment of the invention also provides an alarm prompting method of the terminal equipment, which comprises the following steps:
after the terminal equipment is connected with the earphone, judging whether the terminal equipment is in a preset state or not;
and when the terminal equipment is judged to be in the preset state, sending out an alarm prompt tone through a loudspeaker or/and a receiver of the terminal equipment.
Optionally, in the method for prompting an alarm of a terminal device as described above, the terminal device is configured with a sensor, and after the terminal device is connected to an earphone, determining whether the terminal device is in a preset state includes:
after the terminal equipment is connected with the earphone, the motion state of the terminal equipment is monitored through the sensor;
and when the time for monitoring that the terminal equipment is in the standing state is greater than a first time threshold value, judging that the terminal equipment is in the preset state.
Optionally, in the method for prompting an alarm of a terminal device, after the terminal device is connected to an earphone, determining whether the terminal device is in a preset state includes:
after a terminal device is connected with an earphone, monitoring whether the terminal device receives an operation instruction of a user for executing operation on the terminal device;
and when the time for not receiving the operation instruction is monitored to be greater than a second time threshold value, judging that the terminal equipment is in the preset state.
Optionally, in the method for prompting an alarm of a terminal device as described above, the connecting of the terminal device to an earphone includes:
the earphone jack of the terminal equipment is inserted into the earphone plug of the earphone; or,
the terminal equipment is connected with the Bluetooth headset in a Bluetooth connection mode.
Optionally, in the method for prompting an alarm of a terminal device, the preset state includes: the terminal device is in an off-body state, a lost state, and the terminal device is in a state to perform a useless operation.
The alarm prompting device and method of the terminal equipment provided by the embodiment of the invention detect whether the terminal equipment is connected with an earphone or not through the connection module, and the judgment module judges whether the terminal equipment is in a preset state or not after the connection module detects that the terminal equipment is connected with the earphone, and then the prompt module sends out an alarm prompting sound through a loudspeaker or/and a receiver of the terminal equipment when the judgment module judges that the terminal equipment is in the preset state; the device provided by the embodiment of the invention can effectively prompt the user to find the terminal equipment under the condition that the terminal equipment is judged to be possibly not at the user for a long time or the terminal equipment is possibly used for executing useless operation for a long time, and can prevent the loss of the terminal device and avoid the phenomenon of power exhaustion caused by the terminal device performing useless operations for a long time, therefore, the device provided by the embodiment of the invention solves the problems that in the use process of the terminal equipment in the prior art, a user needs to operate some specific APPs by connecting earphones on the terminal equipment, the problem that the terminal equipment is difficult to find or even lost due to the fact that the terminal equipment is in a state of being connected with the earphone for a long time is solved, and the problem that the terminal equipment is automatically turned off due to the fact that the terminal equipment runs out of electricity due to the fact that useless operation is carried out for a long time is solved.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the example serve to explain the principles of the invention and not to limit the invention.
Fig. 1 is a schematic hardware structure of an alternative mobile terminal for implementing various embodiments of the present invention;
FIG. 2 depicts a communication system in which a mobile terminal according to the present invention is capable of operating;
fig. 3 is a schematic structural diagram of an alarm prompting device of a terminal device according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a terminal device in an alarm prompting apparatus of the terminal device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another alarm prompting device of terminal equipment according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an alarm prompting device of another terminal device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an alarm prompting device of another terminal device according to an embodiment of the present invention;
fig. 8 is a flowchart of an alarm prompting method for a terminal device according to an embodiment of the present invention;
fig. 9 is a flowchart of an alarm prompting method of another terminal device according to an embodiment of the present invention;
fig. 10 is a flowchart of an alarm prompting method of a terminal device according to another embodiment of the present invention;
fig. 11 is a schematic structural diagram of a dual speaker in the terminal device according to the embodiment of the present invention;
fig. 12 is a schematic diagram of a prior art handset;
fig. 13 is a schematic structural diagram of an earpiece in the terminal device according to the embodiment of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
A mobile terminal implementing various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, suffixes used to represent elements such as "module", "means", or "unit" are used only for the convenience of description of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
The mobile terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation device, and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. In the following, it is assumed that the terminal is a mobile terminal. However, it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
Fig. 1 is a schematic hardware structure of an optional mobile terminal for implementing various embodiments of the present invention.
The mobile terminal 100 may include a wireless communication unit 110, an a/V (audio/video) input unit 120, a user input unit 130, a sensing unit 140, an output unit 150, a memory 160, an interface unit 170, a controller 180, and a power supply unit 190, etc. Fig. 1 illustrates a mobile terminal having various components, but it is to be understood that not all illustrated components are required to be implemented. More or fewer components may alternatively be implemented. Elements of the mobile terminal will be described in detail below.
The wireless communication unit 110 typically includes one or more components that allow radio communication between the mobile terminal 100 and a wireless communication system or network. For example, the wireless communication unit may include at least one of a broadcast receiving module 111, a mobile communication module 112, a wireless internet module 113, a short-range communication module 114, and a location information module 115.
The broadcast receiving module 111 receives a broadcast signal and/or broadcast associated information from an external broadcast management server via a broadcast channel. The broadcast channel may include a satellite channel and/or a terrestrial channel. The broadcast management server may be a server that generates and transmits a broadcast signal and/or broadcast associated information or a server that receives a previously generated broadcast signal and/or broadcast associated information and transmits it to a terminal. The broadcast signal may include a TV broadcast signal, a radio broadcast signal, a data broadcast signal, and the like. Also, the broadcast signal may further include a broadcast signal combined with a TV or radio broadcast signal. The broadcast associated information may also be provided via a mobile communication network, and in this case, the broadcast associated information may be received by the mobile communication module 112. The broadcast signal may exist in various forms, for example, it may exist in the form of an Electronic Program Guide (EPG) of Digital Multimedia Broadcasting (DMB), an Electronic Service Guide (ESG) of digital video broadcasting-handheld (DVB-H), and the like. The broadcast receiving module 111 may receive a signal broadcast by using various types of broadcasting systems. In particular, the broadcast receiving module 111 may receive digital broadcasting by using a digital broadcasting system such as a data broadcasting system of multimedia broadcasting-terrestrial (DMB-T), digital multimedia broadcasting-satellite (DMB-S), digital video broadcasting-handheld (DVB-H), forward link media (MediaFLO @), terrestrial digital broadcasting integrated service (ISDB-T), and the like. The broadcast receiving module 111 may be constructed to be suitable for various broadcasting systems that provide broadcast signals as well as the above-mentioned digital broadcasting systems. The broadcast signal and/or broadcast associated information received via the broadcast receiving module 111 may be stored in the memory 160 (or other type of storage medium).
The mobile communication module 112 transmits and/or receives radio signals to and/or from at least one of a base station (e.g., access point, node B, etc.), an external terminal, and a server. Such radio signals may include voice call signals, video call signals, or various types of data transmitted and/or received according to text and/or multimedia messages.
The wireless internet module 113 supports wireless internet access of the mobile terminal. The module may be internally or externally coupled to the terminal. The wireless internet access technology to which the module relates may include WLAN (wireless LAN) (Wi-Fi), Wibro (wireless broadband), Wimax (worldwide interoperability for microwave access), HSDPA (high speed downlink packet access), and the like.
The short-range communication module 114 is a module for supporting short-range communication. Some examples of short-range communication technologies include bluetooth (TM), Radio Frequency Identification (RFID), infrared data association (IrDA), Ultra Wideband (UWB), zigbee (TM), and the like.
The location information module 115 is a module for checking or acquiring location information of the mobile terminal. A typical example of the location information module is a GPS (global positioning system). According to the current technology, the GPS module 115 calculates distance information and accurate time information from three or more satellites and applies triangulation to the calculated information, thereby accurately calculating three-dimensional current location information according to longitude, latitude, and altitude. Currently, a method for calculating position and time information uses three satellites and corrects an error of the calculated position and time information by using another satellite. In addition, the GPS module 115 can calculate speed information by continuously calculating current position information in real time.
The a/V input unit 120 is used to receive an audio or video signal. The a/V input unit 120 may include a camera 121 and a microphone 1220, and the camera 121 processes image data of still pictures or video obtained by an image capturing apparatus in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display module 151. The image frames processed by the cameras 121 may be stored in the memory 160 (or other storage medium) or transmitted via the wireless communication unit 110, and two or more cameras 121 may be provided according to the construction of the mobile terminal. The microphone 122 may receive sounds (audio data) via the microphone in a phone call mode, a recording mode, a voice recognition mode, or the like, and can process such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the mobile communication module 112 in case of a phone call mode. The microphone 122 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The user input unit 130 may generate key input data according to a command input by a user to control various operations of the mobile terminal. The user input unit 130 allows a user to input various types of information, and may include a keyboard, dome sheet, touch pad (e.g., a touch-sensitive member that detects changes in resistance, pressure, capacitance, and the like due to being touched), scroll wheel, joystick, and the like. In particular, when the touch pad is superimposed on the display module 151 in the form of a layer, a touch screen may be formed.
The sensing unit 140 detects a current state of the mobile terminal 100 (e.g., an open or closed state of the mobile terminal 100), a position of the mobile terminal 100, presence or absence of contact (i.e., touch input) by a user with the mobile terminal 100, an orientation of the mobile terminal 100, acceleration or deceleration movement and direction of the mobile terminal 100, and the like, and generates a command or signal for controlling an operation of the mobile terminal 100. For example, when the mobile terminal 100 is implemented as a slide-type mobile phone, the sensing unit 140 may sense whether the slide-type phone is opened or closed. In addition, the sensing unit 140 can detect whether the power supply unit 190 supplies power or whether the interface unit 170 is coupled with an external device.
The interface unit 170 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The identification module may store various information for authenticating a user using the mobile terminal 100 and may include a User Identity Module (UIM), a Subscriber Identity Module (SIM), a Universal Subscriber Identity Module (USIM), and the like. In addition, a device having an identification module (hereinafter, referred to as an "identification device") may take the form of a smart card, and thus, the identification device may be connected with the mobile terminal 100 via a port or other connection means. The interface unit 170 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal and the external device.
In addition, when the mobile terminal 100 is connected with an external cradle, the interface unit 170 may serve as a path through which power is supplied from the cradle to the mobile terminal 100 or may serve as a path through which various command signals input from the cradle are transmitted to the mobile terminal. Various command signals or power input from the cradle may be used as signals for recognizing whether the mobile terminal is accurately mounted on the cradle. The output unit 150 is configured to provide output signals (e.g., audio signals, video signals, alarm signals, vibration signals, etc.) in a visual, audio, and/or tactile manner. The output unit 150 may include a display module 151, an audio output module 152, an alarm module 153, and the like.
The display module 151 may display information processed in the mobile terminal 100. For example, when the mobile terminal 100 is in a phone call mode, the display module 151 may display a User Interface (UI) or a Graphical User Interface (GUI) related to a call or other communication (e.g., text messaging, multimedia file downloading, etc.). When the mobile terminal 100 is in a video call mode or an image capturing mode, the display module 151 may display a captured image and/or a received image, a UI or GUI showing a video or an image and related functions, and the like.
Meanwhile, when the display module 151 and the touch pad are stacked on each other in the form of layers to form a touch screen, the display module 151 may serve as an input device and an output device. The display module 151 may include at least one of a Liquid Crystal Display (LCD), a thin film transistor LCD (TFT-LCD), an Organic Light Emitting Diode (OLED) display, a flexible display, a three-dimensional (3D) display, and the like. Some of these displays may be configured to be transparent to allow a user to view from the outside, which may be referred to as transparent displays, and a typical transparent display may be, for example, a TOLED (transparent organic light emitting diode) display or the like. Depending on the particular desired implementation, the mobile terminal 100 may include two or more display units (or other display devices), for example, the mobile terminal may include an external display unit (not shown) and an internal display unit (not shown). The touch screen may be used to detect a touch input pressure as well as a touch input position and a touch input area.
The audio output module 152 may convert audio data received by the wireless communication unit 110 or stored in the memory 160 into an audio signal and output as sound when the mobile terminal is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output module 152 may provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output module 152 may include a speaker, a buzzer, and the like.
The alarm module 153 may provide an output to notify the mobile terminal 100 of the occurrence of an event. Typical events may include call reception, message reception, key signal input, touch input, and the like. In addition to audio or video output, the alarm module 153 may provide output in different ways to notify the occurrence of an event. For example, the alarm module 153 may provide an output in the form of a vibration, and when a call, a message, or some other incoming communication (incomingmunication) is received, the alarm module 153 may provide a tactile output (i.e., a vibration) to inform the user thereof. By providing such a tactile output, the user can recognize the occurrence of various events even when the user's mobile phone is in the user's pocket. The alarm module 153 may also provide an output notifying the occurrence of an event via the display module 151 or the audio output module 152.
The memory 160 may store software programs and the like for processing and controlling operations performed by the controller 180, or may temporarily store data (e.g., a phonebook, messages, still images, videos, and the like) that has been or will be output. Also, the memory 160 may store data regarding various ways of vibration and audio signals output when a touch is applied to the touch screen.
The memory 160 may include at least one type of storage medium including a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. Also, the mobile terminal 100 may cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
The controller 180 generally controls the overall operation of the mobile terminal. For example, the controller 180 performs control and processing related to voice calls, data communications, video calls, and the like. In addition, the controller 180 may include a multimedia module 181 for reproducing (or playing back) multimedia data, and the multimedia module 181 may be constructed within the controller 180 or may be constructed separately from the controller 180. The controller 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
The power supply unit 190 receives external power or internal power and provides appropriate power required to operate various elements and components under the control of the controller 180.
The various embodiments described herein may be implemented in a computer-readable medium using, for example, computer software, hardware, or any combination thereof. For a hardware implementation, the embodiments described herein may be implemented using at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a processor, a controller, a microcontroller, a microprocessor, an electronic unit designed to perform the functions described herein, and in some cases, such embodiments may be implemented in the controller 180. For a software implementation, the implementation such as a process or a function may be implemented with a separate software module that allows performing at least one function or operation. The software codes may be implemented by software applications (or programs) written in any suitable programming language, which may be stored in the memory 160 and executed by the controller 180.
Up to this point, mobile terminals have been described in terms of their functionality. Hereinafter, a slide-type mobile terminal among various types of mobile terminals, such as a folder-type, bar-type, swing-type, slide-type mobile terminal, and the like, will be described as an example for the sake of brevity. Accordingly, the present invention can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
The mobile terminal 100 as shown in fig. 1 may be configured to operate with communication systems such as wired and wireless communication systems and satellite-based communication systems that transmit data via frames or packets.
A communication system in which a mobile terminal according to the present invention is operable will now be described with reference to fig. 2.
Such communication systems may use different air interfaces and/or physical layers. For example, the air interface used by the communication system includes, for example, Frequency Division Multiple Access (FDMA), Time Division Multiple Access (TDMA), Code Division Multiple Access (CDMA), and Universal Mobile Telecommunications System (UMTS) (in particular, Long Term Evolution (LTE)), global system for mobile communications (GSM), and the like. By way of non-limiting example, the following description relates to a CDMA communication system, but such teachings are equally applicable to other types of systems.
Referring to fig. 2, the CDMA wireless communication system may include a plurality of mobile terminals 100, a plurality of Base Stations (BSs) 270, Base Station Controllers (BSCs) 275, and a Mobile Switching Center (MSC) 280. The MSC280 is configured to interface with a Public Switched Telephone Network (PSTN) 290. The MSC280 is also configured to interface with a BSC275, which may be coupled to the base station 270 via a backhaul. The backhaul may be constructed according to any of several known interfaces including, for example, E1/T1, ATM, IP, PPP, frame Relay, HDSL, ADSL, or xDSL. It will be understood that a system as shown in fig. 2 may include multiple BSCs 2750.
Each BS270 may serve one or more sectors (or regions), each sector covered by a multi-directional antenna or an antenna pointing in a particular direction being radially distant from the BS 270. Alternatively, each partition may be covered by two or more antennas for diversity reception. Each BS270 may be configured to support multiple frequency allocations, with each frequency allocation having a particular frequency spectrum (e.g., 1.25MHz,5MHz, etc.).
The intersection of partitions with frequency allocations may be referred to as a CDMA channel. The BS270 may also be referred to as a Base Transceiver Subsystem (BTS) or other equivalent terminology. In such a case, the term "base station" may be used to generically refer to a single BSC275 and at least one BS 270. The base stations may also be referred to as "cells". Alternatively, each sector of a particular BS270 may be referred to as a plurality of cell sites.
As shown in fig. 2, a Broadcast Transmitter (BT)295 transmits a broadcast signal to the mobile terminal 100 operating within the system. A broadcast receiving module 111 as shown in fig. 1 is provided at the mobile terminal 100 to receive a broadcast signal transmitted by the BT 295. In fig. 2, several Global Positioning System (GPS) satellites 300 are shown. The satellite 300 assists in locating at least one of the plurality of mobile terminals 100.
In fig. 2, a plurality of satellites 300 are depicted, but it is understood that useful positioning information may be obtained with any number of satellites. The GPS module 115 as shown in fig. 1 is generally configured to cooperate with satellites 300 to obtain desired positioning information. Other techniques that can track the location of the mobile terminal may be used instead of or in addition to GPS tracking techniques. In addition, at least one GPS satellite 300 may selectively or additionally process satellite DMB transmission.
As a typical operation of the wireless communication system, the BS270 receives reverse link signals from various mobile terminals 100. The mobile terminal 100 is generally engaged in conversations, messaging, and other types of communications. Each reverse link signal received by a particular base station 270 is processed within the particular BS 270. The obtained data is forwarded to the associated BSC 275. The BSC provides call resource allocation and mobility management functions including coordination of soft handoff procedures between BSs 270. The BSCs 275 also route the received data to the MSC280, which provides additional routing services for interfacing with the PSTN 290. Similarly, the PSTN290 interfaces with the MSC280, the MSC interfaces with the BSCs 275, and the BSCs 275 accordingly control the BS270 to transmit forward link signals to the mobile terminal 100.
Based on the above mobile terminal hardware structure and communication system, various embodiments of the apparatus and method of the present invention are proposed. In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
The steps illustrated in the flow charts of the figures may be performed in a computer system such as a set of computer-executable instructions. Also, while a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than here.
The technical solution of the present invention is described in detail below with specific embodiments, and the terminal device in the following embodiments of the present invention may be an intelligent terminal, such as a smart phone, a Personal Digital Assistant (PDA), a tablet computer, or the like. The following specific embodiments of the present invention may be combined, and the same or similar concepts or processes may not be described in detail in some embodiments.
Fig. 3 is a schematic structural diagram of an alarm prompting device of a terminal device according to an embodiment of the present invention. The alarm prompting device of the terminal device provided by the embodiment is suitable for the situation that the terminal device gives an alarm prompt to a user in a state of being connected with an earphone, and is usually realized by a method of combining hardware and software. As shown in fig. 3, the alarm prompting device of the terminal device provided in this embodiment may include: the device comprises a connection module 10, a judgment module 20 and a prompt module 30.
The connection module 10 is configured to detect whether the terminal device is connected to an earphone.
The determining module 20 is configured to determine whether the terminal device is in a preset state after the connecting module 10 detects that the terminal device is connected to an earphone.
The alarm prompting device of the terminal equipment provided by the embodiment of the invention provides a mode for sending an alarm prompt to a user when the terminal equipment is connected with an earphone. The application scenario of the embodiment of the present invention may be that a user connects an earphone to a terminal device and operates some specific APPs, for example, the user may connect the earphone to the terminal device to listen to music, for example, operate some music playing APPs, including QQ music, and cool dog music; or connecting an earphone to the terminal equipment to record the own voice information of the user, such as some recording APPs or singing APPs and the like; the terminal equipment can be connected with a headset for conversation, for example, a user can converse in some quiet scenes and does not want to disturb people around, and the headset can be used for conversation.
In the embodiment of the present invention, the connection module 10 in the terminal device may detect whether the terminal device is connected with an earphone, for example, the terminal device may be configured with an inductor, and if an earphone is electrically connected to an earphone jack of the terminal device, whether the terminal device is running a music APP or other APP that uses an earphone to play or sound, it may detect that the terminal device is connected with an earphone.
The application scenario of the embodiment of the present invention may be that the terminal device is connected to the earphone and is in a state of being connected to the earphone for a long time, for example, when a user uses the earphone connected to the terminal device to listen to music, the connection module 10 detects that the terminal device is connected to the earphone, and then the determination module 20 starts to perform operations of monitoring and determining the state of the terminal device. In practical applications, the determining module 20 may be configured with a sensing function, and when a trigger condition preset in the terminal device is sensed, it is determined that the terminal device is in a preset state. The trigger conditions preset in the terminal device include, for example: the terminal equipment does not move after exceeding the preset time, and the terminal equipment is in a standby state after exceeding the preset time.
It should be noted that, in the embodiment of the present invention, the trigger condition for the trigger determination module 20 to determine that the terminal device is in the preset state is not limited, the trigger condition may be set by a designer of the terminal according to a common application scenario, or may be set by a user of the terminal device according to a usage habit of the user.
And the prompting module 30 is configured to send an alarm prompt tone through a speaker or/and an earphone of the terminal device when the judging module 20 judges that the terminal device is in the preset state.
In the embodiment of the present invention, once the determining module 20 determines that the terminal device is in the preset state, it indicates that the terminal device is likely not near the user or performs useless operations. The application scenario in which the terminal device performs the useless operation may be that a user enters a sleep state after listening to music or broadcasting through an earphone connected to the terminal device, at this time, the currently played music or broadcasting of the terminal device is played through the earphone all the time, that is, the terminal device performs the useless operation, in the application scenario, the music or broadcasting all the time consumes the electric quantity of the terminal device, and the terminal device is automatically turned off after the electric quantity is used up, so that if there is an important incoming call or information, the user may miss answering the important incoming call and delay receiving the information, and the user may listen to the music or broadcasting through the earphone all the time during the sleep, which may also cause bad factors to the body of the user. Therefore, the embodiment of the present invention provides a solution for the case where the determination module 20 determines that the terminal device is likely not to be around the user or performs a useless operation, that is, the prompting module 30 can send out a control signal when the judging module 20 judges that the terminal device is in the preset state, and drives a loudspeaker or/and an earphone of the terminal equipment to send out alarm prompt tones, so that, when the terminal device may be left out of the user for a long time or the terminal device may perform useless operations for a long time, can effectively achieve the functions of reminding the user and positioning the terminal equipment, help the user to quickly find the terminal equipment, or the user is prompted to close the APP currently running in the terminal equipment, the user is helped to sleep in a quiet environment, the electric quantity of the terminal equipment is saved, and automatic shutdown caused by the fact that the APP runs out of the electric quantity of the terminal equipment is avoided.
It should be noted that, in the embodiment of the present invention, the prompting module 30 may send an alarm prompt tone through a speaker or/and an earphone of the terminal device, as shown in fig. 4, which is a schematic diagram of one terminal device in the alarm prompting apparatus of the terminal device provided in the embodiment of the present invention, and the terminal device shown in fig. 4 is connected to an earphone, so that when the determining module 20 determines that the terminal device is in the preset state, the prompting module 30 may send the alarm prompt tone. Generally, the playing sound of a speaker of a terminal device is relatively large, and a warning prompt sound emitted can be heard when a user is far away from the terminal device, and currently, in the hardware configuration of the terminal device, an earphone can be configured to have a speaker function in some application scenes to realize the playing effect of double speakers; for example, when the user answers the phone through the handset, the handset may be controlled not to turn on the speaker function, and for example, when the user is not connected and uses the terminal device to play music, or when the user uses the terminal device to navigate, or when the terminal device selects the speaker mode to answer the phone, the handset may be controlled to turn on the speaker function. That is, the earphone of the terminal device has the same playing effect as the speaker, and therefore, the prompting module 30 in the embodiment of the present invention may be configured to emit an alarm prompt tone through the speaker or/and the earphone of the terminal device.
It should be further noted that the warning prompt tone sent by the prompting module 30 in the embodiment of the present invention may be a preset high-frequency sound, which generally has the advantages of being easily found by the user and being easy to locate the terminal, and the warning prompt tone may also be a prompt tone set by the user and obviously different from other music, and is a prompt tone easily distinguished by the user.
The following briefly describes structural features of a dual speaker configured in a terminal device according to an embodiment of the present invention, and as shown in fig. 11, is a schematic structural diagram of a dual speaker in a terminal device according to an embodiment of the present invention. Generally, a handset and a speaker are configured on a terminal device, and the handset and the speaker are implemented by different sound channels, as shown in fig. 11, audio Digital Signal Processing (Digital Signal Processing, abbreviated as: DSP is provided with a left sound channel and a right sound channel, where sound emitted from the left sound channel is output from the handset through an audio power amplifier for use when a user uses the handset of a mobile phone to make and receive a call, and sound emitted from the right sound channel is output from the speaker through another audio power amplifier for use when the user turns on the speaker function, because the handset in the embodiment of the present invention can also implement the speaker function, i.e., the handset can be used as a tweeter, sound emitted from a conventional handset is small, and clear sound can be heard only when the user makes a call with the terminal device in hand and the ear is close to the handset, as shown in fig. 12, which is a schematic structural diagram of a handset in the prior art, the magnetic circuit structure of the receiver comprises a central magnet and two side magnets, wherein the two side magnets are respectively arranged at two sides of the central magnet, and an electric signal is converted into an acoustic signal through the magnetic circuit structure; since the receiver in the embodiment of the present invention may be used as a tweeter, that is, the capability of converting an electrical signal into an acoustic signal in the receiver needs to be enhanced, as shown in fig. 13, the receiver is a schematic structural diagram of a receiver in the terminal device in the embodiment of the present invention, a magnetic circuit structure of the receiver includes a center magnet and four side magnets, and the two side magnets are respectively disposed around the center magnet. Obviously, the receiver shown in fig. 13 adopts a five-magnetic-circuit structure, so that the sensitivity of the receiver is greatly improved, the receiver is more suitable for the application of a stereo tweeter, and a double speaker can be formed by matching the receiver with a speaker of a terminal device.
In the using process of the terminal device in the prior art, if a user operates some specific APPs by connecting earphones on the terminal device, for example, listening to music or broadcasting, it is likely that the earphone connection is not disconnected after the corresponding operation is performed, the terminal device is placed at a certain position at any time, at this time, if the user forgets the position where the terminal device is placed, and no other terminal device can find the terminal device by dialing a telephone at hand, or if the terminal device is a terminal device without a voice call function (for example, the terminal device is a tablet computer or MP3, etc.), it is difficult to find the terminal device, and many inconvenient factors are caused, for example, a short message prompt tone when the terminal device receives a short message is played through the connected earphones, and a prompt tone when the terminal device receives a micro message and other application prompt tones are played through the connected earphones, if the terminal equipment cannot be found, important information or prompt cannot be checked in a timing mode; if the terminal device is not placed near the user for a long time in an outdoor place, or the terminal device is placed in an unsafe position for a long time due to the negligence of the user, the phenomenon that the terminal device is difficult to find or even lost is likely to be caused. Therefore, how to ensure the convenience and safety of the terminal device when the terminal device is connected with the earphone becomes a problem to be solved in the prior art. Compared with the terminal equipment in the prior art, the device provided by the embodiment of the invention can judge that the terminal equipment is in the preset state through the preset trigger condition under the condition that the terminal equipment is connected with the earphone, and send out the alarm prompt tone through the loudspeaker or/and the earphone of the terminal equipment when the terminal equipment is judged to be in the preset state, so that the terminal equipment can be effectively prompted to find the terminal equipment under the condition that the terminal equipment is possibly not at the user for a long time or the terminal equipment can execute useless operation for a long time, and the loss of the terminal equipment can be prevented.
According to the alarm prompting device of the terminal equipment, whether the terminal equipment is connected with the earphone or not is detected through the connection module, the judgment module judges whether the terminal equipment is in the preset state or not after the connection module detects that the terminal equipment is connected with the earphone, and then the prompting module sends out an alarm prompting sound through a loudspeaker or/and a receiver of the terminal equipment when the judgment module judges that the terminal equipment is in the preset state; the device provided by the embodiment of the invention can effectively prompt the user to find the terminal equipment under the condition that the terminal equipment is judged to be possibly not at the user for a long time or the terminal equipment is possibly used for executing useless operation for a long time, and can prevent the loss of the terminal device and avoid the phenomenon of power exhaustion caused by the terminal device performing useless operations for a long time, therefore, the device provided by the embodiment of the invention solves the problems that in the use process of the terminal equipment in the prior art, a user needs to operate some specific APPs by connecting earphones on the terminal equipment, the problem that the terminal equipment is difficult to find or even lost due to the fact that the terminal equipment is in a state of being connected with the earphone for a long time is solved, and the problem that the terminal equipment is automatically turned off due to the fact that the terminal equipment runs out of electricity due to the fact that useless operation is carried out for a long time is solved.
Optionally, fig. 5 is a schematic structural diagram of another alarm prompting device of terminal equipment according to an embodiment of the present invention. On the basis of the structure of the apparatus shown in fig. 3, the terminal device in this embodiment may be configured with a sensor 40, and the sensor 40 may sense the motion state of the terminal device, and in the alarm prompting apparatus of the terminal device provided in this embodiment, the determining module 20 may include:
the monitoring unit 21 is used for monitoring the motion state of the terminal equipment through the sensor 40 after the terminal equipment is connected with the earphone;
the judging unit 22 is configured to judge that the terminal device is in the preset state when the monitoring unit 21 monitors that the time that the terminal device is in the static state is greater than a first time threshold.
In the embodiment of the present invention, after the connection module 10 detects that the terminal device is connected to the earphone, the monitoring unit 21 may control to start the sensor 40 configured in the terminal device, after the start, the sensor 40 is in a monitoring state, if the user does not disconnect the earphone connection after using the terminal device, the terminal device is placed at a certain position at any time, and the terminal device is not used for a long time, the sensor 40 may sense that there is no variation in the displacement parameter of the terminal device, the monitoring unit 21 may intelligently determine that the terminal device is in a standing state through an algorithm, and then, when the time when the monitoring unit 21 monitors that the terminal device is in the standing state is greater than a first time threshold, the determining unit 22 determines that the terminal device is in a preset state.
The embodiment provides an implementation manner in which the trigger determination module 20 determines that the terminal device is in the preset state, and specifically, a motion state of the terminal device is used as a trigger condition for the determination module 20 to determine whether the terminal device is in the preset state, where the motion state includes a moving state and a standing state, and if a time that the terminal device is in the standing state exceeds a certain time duration, that is, a first time threshold, it is described that the terminal device is not around the user for a long time, and at this time, it is necessary to prompt the user that the terminal device is not around and send an alarm prompt tone so that the user positions the terminal device.
It should be noted that the first time threshold in the embodiment of the present invention may be preset in a system of the terminal device, or may be set by a user according to usage habits and requirements, and the first time threshold may be changeable.
Optionally, in this embodiment of the present invention, the determining module 20 determines that the terminal device is in a preset state, where the preset state may include: the terminal device is in an off-body state or a lost state.
Optionally, fig. 6 is a schematic structural diagram of another warning prompting apparatus of terminal equipment according to an embodiment of the present invention. On the basis of the structure of the apparatus shown in fig. 3, in the alarm prompting apparatus of the terminal device provided in this embodiment, the determining module 20 may also include:
the monitoring unit 23 is configured to monitor whether the terminal device receives an operation instruction for a user to perform an operation on the terminal device after the terminal device is connected to the earphone;
and the judging unit 24 is configured to judge that the terminal device is in the preset state when the monitoring unit 23 monitors that the time for which the operation instruction is not received is greater than the second time threshold.
In the embodiment of the present invention, after the connection module 10 detects that the terminal device is connected to an earphone, the monitoring unit 23 may monitor whether the user performs an operation on the terminal device and sends an operation instruction, for example, monitor whether the user uses a touch screen of the terminal device to send the operation instruction, or monitor whether the user uses an entity button of the terminal device to send the operation instruction, if the user uses the earphone connected to the terminal device to listen to music and then the user enters a sleep state, the terminal device plays music through the earphone all the time, so that not only the sleep of the user is affected, but also the terminal device may play music until the power is exhausted and automatically shuts down, if the terminal device shuts down, the user may miss an important call or delay receiving information, and for the above problem, the monitoring unit 23 in the embodiment of the present invention may monitor whether the terminal device receives the operation instruction that the user performs the operation on the terminal device, subsequently, when the monitoring unit 23 monitors that the time for which the operation instruction is not received is greater than the second time threshold, the determining unit 24 determines that the terminal device is in the preset state.
This embodiment provides another implementation manner for determining that the terminal device is in the preset state by the trigger determination module 20, specifically, whether the terminal device receives an operation instruction of a user is used as a trigger condition for determining whether the terminal device is in the preset state by the determination module 20, where the operation instruction includes an operation instruction sent by a touch screen and an operation instruction sent by an entity key of the terminal device, and if the time when the terminal device does not receive the operation instruction exceeds a certain duration, that is, a second time threshold, it is described that the terminal device is in a condition of executing useless operation for a long time, at this time, the user needs to be prompted by an alarm tone to close the APP currently running in the terminal device, so as to save the electric quantity of the terminal device.
It should be noted that the second time threshold in the embodiment of the present invention may also be preset in a system of the terminal device, or may be set by a user according to usage habits and requirements, and the second time threshold may be changeable.
Optionally, in this embodiment of the present invention, the determining module 20 determines that the terminal device is in a preset state, where the preset state may include: the terminal device is in a state of performing useless operations.
Optionally, on the basis of the foregoing embodiment, the present invention further provides an alarm prompting device of a terminal device, and fig. 7 is a schematic structural diagram of an alarm prompting device of another terminal device provided in the embodiment of the present invention, which is shown by way of example on the basis of the structure of the device shown in fig. 6, in the alarm prompting device of a terminal device provided in this embodiment, the connection module 10 may include:
the first connection unit 11 is used for detecting whether an earphone jack of the terminal equipment is inserted into an earphone plug of an earphone;
and the second connection unit 12 is used for detecting whether the terminal device is connected with the bluetooth headset in a bluetooth connection mode.
In the embodiment of the present invention, the manner of connecting the terminal device to the headset may include: the earphone jack of the terminal device is inserted into the earphone plug of the earphone, as shown in fig. 4, the earphone connection mode in the terminal device is adopted, and the terminal device is connected with the bluetooth earphone through the bluetooth connection mode. Therefore, the implementation manner of the connection module 10 detecting whether the terminal device is connected to the headset may include: whether the earphone jack of the terminal equipment is inserted into the earphone plug of the earphone or not is detected, and whether the terminal equipment is connected with the Bluetooth earphone or not is detected in a Bluetooth connection mode.
It should be noted that, in the embodiment of the present invention, a manner of connecting the terminal device to the earphone is not limited to the connection manner detected by the first connection unit 11 and the second connection unit 12, and may also be another connection manner that the terminal device can implement, and the implementation manner is only schematically illustrated. In addition, in the alarm prompting apparatus for terminal equipment provided in the embodiment of the present invention, the connection module 10 may only include the first connection unit 11 or the second connection unit 12, or may include the first connection unit 11 and the second connection unit 12, and one or more ways of detecting whether the terminal equipment is connected to an earphone may be adopted according to actual situations, and the apparatus shown in fig. 7 is illustrated by taking the connection module 10 including the first connection unit 11 and the second connection unit 12 as an example.
Fig. 8 is a flowchart of an alarm prompting method for a terminal device according to an embodiment of the present invention. The method for prompting an alarm of a terminal device provided by this embodiment is suitable for a situation where the terminal device prompts an alarm to a user in a state of being connected to an earphone, and the method may be executed by an alarm prompting device of the terminal device, and the alarm prompting device of the terminal device is usually implemented by a method combining hardware and software, and the device may be integrated in a controller of the terminal device and may be invoked by the controller. As shown in fig. 8, the alarm prompting method for a terminal device provided in this embodiment may include the following steps, i.e., S110 to S120:
and S110, after the terminal equipment is connected with the earphone, judging whether the terminal equipment is in a preset state.
The alarm prompting method of the terminal equipment provided by the embodiment of the invention provides a mode for sending an alarm prompt to a user when the terminal equipment is connected with an earphone. The application scenario of the embodiment of the present invention may be that a user connects an earphone to a terminal device and operates some specific APPs, for example, the user may connect the earphone to the terminal device to listen to music, for example, operate some music playing APPs, including QQ music, and cool dog music; or connecting an earphone to the terminal equipment to record the own voice information of the user, such as some recording APPs or singing APPs and the like; the terminal equipment can be connected with a headset for conversation, for example, a user can converse in some quiet scenes and does not want to disturb people around, and the headset can be used for conversation.
In the embodiment of the present invention, the terminal device may detect whether the terminal device is connected with an earphone, for example, the terminal device may be configured with an inductor, and if there is an earphone electrically connected to an earphone jack of the terminal device, whether the terminal device is running a music APP or other APP that uses an earphone to play or sound may detect that the terminal device is connected with an earphone.
The application scenario of the embodiment of the present invention may be that the terminal device is connected to the earphone and is in a state of being connected to the earphone for a long time, for example, when a user uses the earphone connected to the terminal device to listen to music, the terminal device may detect that the terminal device is connected to the earphone, and then the terminal device starts to perform operations of monitoring and judging the state of the terminal device. In practical application, the terminal device may be configured with a sensing function, and when a trigger condition preset in the terminal device is sensed, it is determined that the terminal device is in a preset state. The trigger conditions preset in the terminal device include, for example: the terminal equipment does not move after exceeding the preset time, and the terminal equipment is in a standby state after exceeding the preset time.
It should be noted that, in the embodiment of the present invention, the trigger condition used for triggering the terminal device to determine that the terminal device is in the preset state in S110 is not limited, and the trigger condition may be set by a designer of the terminal device according to a common application scenario, or may be set by a user of the terminal device according to a usage habit of the terminal device.
And S120, when the terminal equipment is judged to be in the preset state, sending out an alarm prompt tone through a loudspeaker or/and a receiver of the terminal equipment.
In the embodiment of the present invention, once it is determined in S110 that the terminal device is in the preset state, it is very likely that the terminal device is not near the user or performs useless operations. The application scenario in which the terminal device performs the useless operation may be that a user enters a sleep state after listening to music or broadcasting through an earphone connected to the terminal device, at this time, the currently played music or broadcasting of the terminal device is played through the earphone all the time, that is, the terminal device performs the useless operation, in the application scenario, the music or broadcasting all the time consumes the electric quantity of the terminal device, and the terminal device is automatically turned off after the electric quantity is used up, so that if there is an important incoming call or information, the user may miss answering the important incoming call and delay receiving the information, and the user may listen to the music or broadcasting through the earphone all the time during the sleep, which may also cause bad factors to the body of the user. Therefore, the embodiment of the invention provides a solution for the situation that the terminal equipment is likely not to be near the user or the situation that useless operation is executed, that is, the terminal device can send out a control signal when judging that the terminal device is in the preset state, and drive the loudspeaker or/and the receiver of the terminal device to send out an alarm prompt tone, so that, when the terminal device may be left out of the user for a long time or the terminal device may perform useless operations for a long time, can effectively achieve the functions of reminding the user and positioning the terminal equipment, help the user to quickly find the terminal equipment, or the user is prompted to close the APP currently running in the terminal equipment, the user is helped to sleep in a quiet environment, the electric quantity of the terminal equipment is saved, and automatic shutdown caused by the fact that the APP runs out of the electric quantity of the terminal equipment is avoided.
It should be noted that in S120 according to the embodiment of the present invention, an alarm prompt tone may be sent out through a speaker or/and an earphone of the terminal device, and also refer to the schematic diagram of the terminal device shown in fig. 4, where the terminal device shown in fig. 4 is connected to an earphone, so that the alarm prompt tone may be sent out when it is determined that the terminal device is in a preset state. Generally, the playing sound of a speaker of a terminal device is relatively large, and a warning prompt sound emitted can be heard when a user is far away from the terminal device, and currently, in the hardware configuration of the terminal device, an earphone can be configured to have a speaker function in some application scenes to realize the playing effect of double speakers; for example, when the user answers the phone through the handset, the handset may be controlled not to turn on the speaker function, and for example, when the user is not connected and uses the terminal device to play music, or when the user uses the terminal device to navigate, or when the terminal device selects the speaker mode to answer the phone, the handset may be controlled to turn on the speaker function. That is to say, an earpiece of the terminal device has the same playing effect as the speaker, and therefore, the implementation manner of S120 in the embodiment of the present invention may be: and sending out alarm prompt tone through a loudspeaker or/and an earphone of the terminal equipment.
It should be further noted that the warning alert tone emitted in S120 of the embodiment of the present invention may be a preset high-frequency sound, which generally has the advantages of being easily found by the user and being easy to locate the terminal, and the warning alert tone may also be an alert tone set by the user and clearly distinguished from other music, and is an alert tone easily distinguished by the user.
In the using process of the terminal device in the prior art, if a user operates some specific APPs by connecting earphones on the terminal device, for example, listening to music or broadcasting, it is likely that the earphone connection is not disconnected after the corresponding operation is performed, the terminal device is placed at a certain position at any time, at this time, if the user forgets the position where the terminal device is placed, and no other terminal device can find the terminal device by dialing a telephone at hand, or if the terminal device is a terminal device without a voice call function (for example, the terminal device is a tablet computer or MP3, etc.), it is difficult to find the terminal device, and many inconvenient factors are caused, for example, a short message prompt tone when the terminal device receives a short message is played through the connected earphones, and a prompt tone when the terminal device receives a micro message and other application prompt tones are played through the connected earphones, if the terminal equipment cannot be found, important information or prompt cannot be checked in a timing mode; if the terminal device is not placed near the user for a long time in an outdoor place, or the terminal device is placed in an unsafe position for a long time due to the negligence of the user, the phenomenon that the terminal device is difficult to find or even lost is likely to be caused. Therefore, how to ensure the convenience and safety of the terminal device when the terminal device is connected with the earphone becomes a problem to be solved in the prior art. Compared with the terminal equipment in the prior art, the method provided by the embodiment of the invention can judge that the terminal equipment is in the preset state through the preset trigger condition under the condition that the terminal equipment is connected with the earphone, and sends out the alarm prompt tone through the loudspeaker or/and the earphone of the terminal equipment when the terminal equipment is judged to be in the preset state, so that the terminal equipment can be effectively prompted to find the terminal equipment under the condition that the terminal equipment is possibly not at the user for a long time or the terminal equipment can execute useless operation for a long time, and the loss of the terminal equipment can be prevented.
According to the alarm prompting method of the terminal equipment, after the terminal equipment is connected with the earphone, whether the terminal equipment is in the preset state or not is judged, and then when the terminal equipment is judged to be in the preset state, an alarm prompting sound is sent out through a loudspeaker or/and an earphone of the terminal equipment; the method provided by the embodiment of the invention can effectively prompt the user to find the terminal equipment under the condition that the terminal equipment is judged to be possibly not at the user for a long time or the terminal equipment can execute useless operation for a long time, and can prevent the loss of the terminal device and avoid the phenomenon of power exhaustion caused by the terminal device performing useless operations for a long time, therefore, the method provided by the embodiment of the invention solves the problems that in the use process of the terminal equipment in the prior art, a user needs to operate some specific APPs by connecting earphones on the terminal equipment, the problem that the terminal equipment is difficult to find or even lost due to the fact that the terminal equipment is in a state of being connected with the earphone for a long time is solved, and the problem that the terminal equipment is automatically turned off due to the fact that the terminal equipment runs out of electricity due to the fact that useless operation is carried out for a long time is solved.
Optionally, fig. 9 is a flowchart of another method for prompting an alarm of a terminal device according to an embodiment of the present invention. On the basis of the above-mentioned embodiment shown in fig. 8, the terminal device in this embodiment may be configured with a sensor, and the sensor may sense the motion state of the terminal device, and in the method provided in this embodiment, the implementation manner of S110 may include the following steps, i.e., S111 to S112:
and S111, after the terminal equipment is connected with the earphone, monitoring the motion state of the terminal equipment through a sensor.
And S112, when the time for monitoring that the terminal equipment is in the standing state is greater than the first time threshold value, judging that the terminal equipment is in the preset state.
In the embodiment of the invention, after the terminal equipment is connected with the earphone, the terminal equipment can control to start the sensor configured by the terminal equipment, the sensor is in a monitoring state after the sensor is started, if the user does not disconnect the earphone connection after using the terminal equipment, the terminal equipment is placed at a certain position at any time, and the sensor can sense that the displacement parameter of the terminal equipment has no variation when the terminal equipment is not used for a long time, the terminal equipment can intelligently judge that the terminal equipment is in a standing state through an algorithm, and then, when the time for monitoring that the terminal equipment is in the standing state is longer than a first time threshold value, the terminal equipment is judged to be in a preset state.
This embodiment provides an implementation manner for triggering a terminal device to determine that the terminal device is in a preset state, and specifically, a motion state of the terminal device is used as a trigger condition for determining whether the terminal device is in the preset state, where the motion state includes a moving state and a standing state, and if a time that the terminal device is in the standing state exceeds a certain duration, that is, a first time threshold, it indicates that the terminal device is not around a user for a long time, and at this time, it is necessary to prompt the user that the terminal device is not around and send an alarm prompt tone to enable the user to position the position of the terminal device
It should be noted that the first time threshold in the embodiment of the present invention may be preset in a system of the terminal device, or may be set by a user according to usage habits and requirements, and the first time threshold may be changeable.
Optionally, in this embodiment of the present invention, in S110, it is determined that the terminal device is in a preset state, where the preset state may include: the terminal device is in an off-body state or a lost state.
Optionally, fig. 10 is a flowchart of a further method for prompting an alarm of a terminal device according to an embodiment of the present invention. On the basis of the embodiment shown in fig. 8, in the method provided in this embodiment, the implementation manner of S110 may include the following steps, i.e., S113 to S114:
and S113, after the terminal equipment is connected with the earphone, monitoring whether the terminal equipment receives an operation instruction of a user for executing operation on the terminal equipment.
And S114, when it is monitored that the time for not receiving the operation instruction is greater than a second time threshold, judging that the terminal equipment is in a preset state.
In the embodiment of the present invention, after the terminal device is connected to the earphone, the terminal device may monitor whether the user performs an operation on the terminal device and issue an operation instruction, for example, monitor whether the user uses a touch screen of the terminal device to issue an operation instruction, or monitor whether the user uses an entity button of the terminal device to issue an operation instruction, if the user enters a sleep state after listening to music using the earphone connected to the terminal device, the terminal device plays music through the earphone all the time, so that not only the sleep of the user is affected, but also the terminal device may play music until the power is exhausted and automatically shuts down, and if the terminal device shuts down, the user may miss an important call or delay receiving information, and in order to solve the above problems, in the method provided in the embodiment of the present invention, the terminal device may monitor whether the terminal device receives an operation instruction for the user to perform an operation on the terminal device, and then, when the terminal equipment monitors that the time for not receiving the operation instruction is greater than a second time threshold, judging that the terminal equipment is in a preset state.
This embodiment provides another implementation manner for triggering the terminal device to determine that the terminal device itself is in the preset state, specifically, whether the terminal device receives an operation instruction of a user is used as a trigger condition for determining whether the terminal device is in the preset state, where the operation instruction includes an operation instruction sent by a touch screen and an operation instruction sent by an entity key of the terminal device, and if the time when the terminal device does not receive the operation instruction exceeds a certain duration, that is, a second time threshold, it is described that the terminal device is in a condition of performing useless operation for a long time, at this time, the user needs to be prompted by an alarm tone to close an APP currently running on the terminal device, so as to save the electric quantity of the terminal device.
It should be noted that the second time threshold in the embodiment of the present invention may also be preset in a system of the terminal device, or may be set by a user according to usage habits and requirements, and the second time threshold may be changeable.
Optionally, in this embodiment of the present invention, in S110, it is determined that the terminal device is in a preset state, where the preset state may include: the terminal device is in a state of performing useless operations.
Optionally, on the basis of the foregoing embodiment, an implementation of the present invention further provides an alert prompting apparatus for a terminal device, and in the alert prompting method for a terminal device provided in this embodiment, an implementation manner that the terminal device is connected to an earphone may include: the earphone jack of the terminal device is inserted into the earphone plug of the earphone, as shown in fig. 4, the earphone connection mode in the terminal device is adopted, and the terminal device is connected with the bluetooth earphone through the bluetooth connection mode.
It should be noted that, the embodiment of the present invention does not limit the way in which the terminal device connects to the earphone to be an earphone cord connection way or a bluetooth connection way, and may also be another connection way that the terminal device can implement, and the implementation way is only schematically described; as long as the earphone connection in the embodiment of the present invention can be realized and the alarm prompting method of the terminal device provided in the embodiment of the present invention can be executed under the condition of earphone connection, the method can be used as an earphone connection mode in the embodiment of the present invention.
Although the embodiments of the present invention have been described above, the above description is only for the convenience of understanding the present invention, and is not intended to limit the present invention. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (10)
1. The utility model provides a terminal equipment's warning suggestion device, the device sets up in terminal equipment, its characterized in that, the device includes:
the connection module is used for detecting whether the terminal equipment is connected with an earphone or not;
the judging module is used for judging whether the terminal equipment is in a preset state or not after the connecting module detects that the terminal equipment is connected with the earphone;
and the prompt module is used for sending out an alarm prompt tone through a loudspeaker or/and a receiver of the terminal equipment when the judgment module judges that the terminal equipment is in the preset state.
2. The apparatus according to claim 1, wherein the terminal device is configured with a sensor, and the determining module comprises:
the monitoring unit is used for monitoring the motion state of the terminal equipment through the sensor after the connection module detects that the terminal equipment is connected with the earphone;
and the judging unit is used for judging that the terminal equipment is in the preset state when the monitoring unit monitors that the time of the terminal equipment in the standing state is greater than a first time threshold value.
3. The apparatus for prompting an alarm of a terminal device according to claim 1, wherein the determining module comprises:
the monitoring unit is used for monitoring whether the terminal equipment receives an operation instruction of a user for executing operation on the terminal equipment or not after the terminal equipment is connected with the earphone;
and the judging unit is used for judging that the terminal equipment is in the preset state when the monitoring unit monitors that the time for not receiving the operation instruction is greater than a second time threshold.
4. The alarm prompting device of the terminal equipment according to any one of claims 1 to 3, wherein the connection module comprises:
the first connection unit is used for detecting whether an earphone jack of the terminal equipment is inserted into an earphone plug of the earphone or not;
and the second connecting unit is used for detecting whether the terminal equipment is connected with the Bluetooth headset in a Bluetooth connecting mode.
5. The warning prompt device of the terminal device according to any one of claims 1 to 3, wherein the preset state comprises: the terminal device is in an off-body state, a lost state, and the terminal device is in a state to perform a useless operation.
6. An alarm prompting method of terminal equipment is characterized by comprising the following steps:
after the terminal equipment is connected with the earphone, judging whether the terminal equipment is in a preset state or not;
and when the terminal equipment is judged to be in the preset state, sending out an alarm prompt tone through a loudspeaker or/and a receiver of the terminal equipment.
7. The method for prompting an alarm of a terminal device according to claim 6, wherein a sensor is configured in the terminal device, and the determining whether the terminal device is in a preset state after the terminal device is connected to an earphone comprises:
after the terminal equipment is connected with the earphone, the motion state of the terminal equipment is monitored through the sensor;
and when the time for monitoring that the terminal equipment is in the standing state is greater than a first time threshold value, judging that the terminal equipment is in the preset state.
8. The method for prompting an alarm of a terminal device according to claim 6, wherein the step of judging whether the terminal device is in a preset state after the terminal device is connected with an earphone comprises:
after a terminal device is connected with an earphone, monitoring whether the terminal device receives an operation instruction of a user for executing operation on the terminal device;
and when the time for not receiving the operation instruction is monitored to be greater than a second time threshold value, judging that the terminal equipment is in the preset state.
9. The method for prompting an alarm of the terminal device according to any one of claims 6 to 8, wherein the terminal device is connected with an earphone, and the method comprises the following steps:
the earphone jack of the terminal equipment is inserted into the earphone plug of the earphone; or,
the terminal equipment is connected with the Bluetooth headset in a Bluetooth connection mode.
10. The method for prompting an alarm of a terminal device according to any one of claims 6 to 8, wherein the preset state comprises: the terminal device is in an off-body state, a lost state, and the terminal device is in a state to perform a useless operation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611086576.XA CN106603830A (en) | 2016-11-30 | 2016-11-30 | Alarm prompting device and method for terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611086576.XA CN106603830A (en) | 2016-11-30 | 2016-11-30 | Alarm prompting device and method for terminal equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106603830A true CN106603830A (en) | 2017-04-26 |
Family
ID=58594720
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611086576.XA Pending CN106603830A (en) | 2016-11-30 | 2016-11-30 | Alarm prompting device and method for terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106603830A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108260115A (en) * | 2018-01-10 | 2018-07-06 | 广东欧珀移动通信有限公司 | Bluetooth equipment position information processing method, device, terminal device and storage medium |
CN110572349A (en) * | 2018-06-06 | 2019-12-13 | 视联动力信息技术股份有限公司 | Desktop standing alarm method and device |
WO2022067854A1 (en) * | 2020-10-02 | 2022-04-07 | Plantronics communications technology (Suzhou) Co., Ltd. | Secure connection for a public wireless communications device |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1779595A (en) * | 2004-11-25 | 2006-05-31 | 三星电子株式会社 | Computer and control method thereof |
CN102014211A (en) * | 2010-12-14 | 2011-04-13 | 康佳集团股份有限公司 | Bluetooth mobile phone and anti-theft method thereof |
KR101246990B1 (en) * | 2012-03-29 | 2013-03-25 | 신두식 | Headset for preventing loss of mobile terminal and headset system for preventing loss of mobile terminal and headset |
CN103218889A (en) * | 2012-01-18 | 2013-07-24 | 联想(北京)有限公司 | Body-separating alarm terminal and realization method thereof |
CN103596252A (en) * | 2013-11-28 | 2014-02-19 | 贝壳网际(北京)安全技术有限公司 | Method and device for controlling mobile terminal and mobile terminal |
CN103841264A (en) * | 2014-02-19 | 2014-06-04 | 小米科技有限责任公司 | Method and device for protecting terminal equipment and terminal equipment |
CN104104801A (en) * | 2014-07-25 | 2014-10-15 | 小米科技有限责任公司 | Terminal reminding method and device |
CN105516475A (en) * | 2015-11-30 | 2016-04-20 | 东莞酷派软件技术有限公司 | Mobile phone anti-lost control method and device, and mobile terminal |
CN106027762A (en) * | 2016-04-29 | 2016-10-12 | 乐视控股(北京)有限公司 | Mobile phone finding method and device |
-
2016
- 2016-11-30 CN CN201611086576.XA patent/CN106603830A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1779595A (en) * | 2004-11-25 | 2006-05-31 | 三星电子株式会社 | Computer and control method thereof |
CN102014211A (en) * | 2010-12-14 | 2011-04-13 | 康佳集团股份有限公司 | Bluetooth mobile phone and anti-theft method thereof |
CN103218889A (en) * | 2012-01-18 | 2013-07-24 | 联想(北京)有限公司 | Body-separating alarm terminal and realization method thereof |
KR101246990B1 (en) * | 2012-03-29 | 2013-03-25 | 신두식 | Headset for preventing loss of mobile terminal and headset system for preventing loss of mobile terminal and headset |
CN103596252A (en) * | 2013-11-28 | 2014-02-19 | 贝壳网际(北京)安全技术有限公司 | Method and device for controlling mobile terminal and mobile terminal |
CN103841264A (en) * | 2014-02-19 | 2014-06-04 | 小米科技有限责任公司 | Method and device for protecting terminal equipment and terminal equipment |
CN104104801A (en) * | 2014-07-25 | 2014-10-15 | 小米科技有限责任公司 | Terminal reminding method and device |
CN105516475A (en) * | 2015-11-30 | 2016-04-20 | 东莞酷派软件技术有限公司 | Mobile phone anti-lost control method and device, and mobile terminal |
CN106027762A (en) * | 2016-04-29 | 2016-10-12 | 乐视控股(北京)有限公司 | Mobile phone finding method and device |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108260115A (en) * | 2018-01-10 | 2018-07-06 | 广东欧珀移动通信有限公司 | Bluetooth equipment position information processing method, device, terminal device and storage medium |
CN110572349A (en) * | 2018-06-06 | 2019-12-13 | 视联动力信息技术股份有限公司 | Desktop standing alarm method and device |
CN110572349B (en) * | 2018-06-06 | 2022-08-26 | 视联动力信息技术股份有限公司 | Desktop standing alarm method and device |
WO2022067854A1 (en) * | 2020-10-02 | 2022-04-07 | Plantronics communications technology (Suzhou) Co., Ltd. | Secure connection for a public wireless communications device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105225457A (en) | System, the apparatus and method of information prompting are carried out by intelligent home device | |
CN104811865B (en) | Audio-frequency inputting method, device and system | |
CN104980588B (en) | A kind of method and apparatus for detecting mobile terminal state | |
KR20090067887A (en) | Mobile terminal and its phone call connection method | |
CN106534565A (en) | Television control device, mobile terminal and television control method | |
CN106210286B (en) | Parameter adjusting method and device for double-screen mobile terminal | |
CN106488420B (en) | Incoming call processing method, device and system and readable storage medium | |
CN105551479B (en) | Mobile terminal noise reduction method and device | |
CN106412243B (en) | A kind of method and terminal of monitoring distance inductor exception | |
CN104967742A (en) | A method and device for preventing phone calls from being missed in a silent mode | |
CN106027755A (en) | Audio control method and terminal | |
CN106598457A (en) | Sound playing control method and device and terminal | |
CN104954557A (en) | Reminding method and reminding device | |
CN105554330A (en) | Voice message device and method | |
CN104866352A (en) | Method for starting application and mobile terminal | |
CN106453863B (en) | Method and system for controlling terminal and earphone | |
CN105939426B (en) | Information processing method and device, and terminal | |
CN106603830A (en) | Alarm prompting device and method for terminal equipment | |
CN105187663B (en) | Automatically the method and terminal conversed | |
CN106488035A (en) | A kind of mobile terminal and control method | |
CN106792878B (en) | Data traffic monitoring method and device | |
CN106356934B (en) | A kind of charge control method and mobile terminal | |
CN105126339A (en) | Game control device and method | |
CN104780260A (en) | Method for controlling volume of mobile terminal and mobile terminal | |
CN106257943A (en) | A kind of by the access point control method of termination function, device and access point |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170426 |