[go: up one dir, main page]

CN103488939B - Method, device and terminal for prompting user - Google Patents

Method, device and terminal for prompting user Download PDF

Info

Publication number
CN103488939B
CN103488939B CN201310388624.0A CN201310388624A CN103488939B CN 103488939 B CN103488939 B CN 103488939B CN 201310388624 A CN201310388624 A CN 201310388624A CN 103488939 B CN103488939 B CN 103488939B
Authority
CN
China
Prior art keywords
terminal
event
acquisition equipment
monitoring
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310388624.0A
Other languages
Chinese (zh)
Other versions
CN103488939A (en
Inventor
胡乾威
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201310388624.0A priority Critical patent/CN103488939B/en
Publication of CN103488939A publication Critical patent/CN103488939A/en
Application granted granted Critical
Publication of CN103488939B publication Critical patent/CN103488939B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/57Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/325Display of status information by lamps or LED's
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/327Alarm or error message display

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Quality & Reliability (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a method, a device and a terminal for prompting a user, and belongs to the technical field of computers. The method comprises the steps of monitoring the event of calling a collecting device in the terminal; when the event is monitored, outputting a prompt message. According to the method, the event of calling the collecting device is monitored; when the event of calling the collecting device is monitored, the prompt message is output to prompt the user that the collecting device already starts to work; the condition that when the user is ignorant, malicious software calls the collecting device to cause a vicious accident of the privacy leak of the user is prevented, and the safety of the user is improved.

Description

Method, device and terminal for prompting user
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, and a terminal for prompting a user.
Background
With the development of mobile terminal technology, acquisition devices such as cameras and microphones are increasingly used in mobile terminals.
For example: the user can use the camera to shoot various beautiful scenes in life in a traditional mode and record the drip of life; for the microphone, the recording of the sound may be performed in a conventional manner. With the development of application technology, the image collected by the camera can be applied to live-action games, and in addition, the function of measuring and calculating the heart rate by collecting the image through the camera is realized; for the microphone, the microphone is also applied to games, and the life of people is enriched.
At present, malicious applications are accompanied by development of application technologies, and some malicious applications can start a collection device to collect images or sounds when running in a background, which can cause leakage of user privacy.
Disclosure of Invention
In order to solve the technical problem, embodiments of the present invention provide a method, an apparatus, and a terminal for prompting a user. The technical scheme is as follows:
in one aspect, a method for prompting a user is provided, the method comprising:
monitoring an event for calling acquisition equipment in the terminal;
and when the event is monitored, outputting prompt information.
In another aspect, an apparatus for prompting a user is provided, the apparatus comprising:
the monitoring module is used for monitoring and calling an event of the acquisition equipment in the terminal;
and the output module is used for outputting prompt information when the event is monitored.
In another aspect, a terminal is provided, which includes:
one or more processors;
a memory; and
one or more modules stored in the memory and configured to be executed by the one or more processors, the one or more modules having the functionality to:
monitoring an event for calling acquisition equipment in the terminal;
and when the event is monitored, outputting prompt information.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
by monitoring the event calling the acquisition equipment and outputting prompt information when the event calling the acquisition equipment is monitored, the user is prompted that the acquisition equipment starts to work, the malicious application is prevented from calling the acquisition equipment under the condition that the user is unaware to cause a vicious event of leaking the privacy of the user, and the safety of the user is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a method for prompting a user according to an embodiment of the present invention;
FIG. 2 is a flowchart of a method for prompting a user according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a device for prompting a user according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a terminal according to a fourth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention will be described in further detail with reference to the accompanying drawings.
Example one
Referring to fig. 1, a flowchart of a method for prompting a user according to an embodiment of the present invention is shown. The method comprises the following steps:
101: monitoring an event for calling acquisition equipment in the terminal;
102: and when the event is monitored, outputting prompt information.
According to the embodiment of the invention, the event calling the acquisition equipment is monitored, and the prompt information is output when the event calling the acquisition equipment is monitored so as to prompt the user that the acquisition equipment starts to work, so that the occurrence of a vicious event that the acquisition equipment is called under the condition that the user is unaware of malicious application to cause privacy leakage of the user is prevented, and the safety of the user is improved.
Example two
Referring to fig. 2, a flowchart of a method for prompting a user according to an embodiment of the present invention is shown. It should be noted that, the embodiment of the present invention is described by taking a mode of prompting a user by starting a prompting device after calling an acquisition device in an Android operating system as an example.
The method comprises the following steps:
201: and monitoring and calling an event of the acquisition equipment in the terminal.
In the Android operating system, when an application or operating system calls a camera or a microphone or other acquisition equipment to acquire images or sound, the operation is performed on a file corresponding to the acquisition equipment on the bottom layer of the Android operating system.
For example: in the file path of the system: the/dev/video 0 (the corresponding file names may be different in different devices, and the file names are not limited herein) files are files corresponding to the cameras. When an Application needs to use a camera to take a picture or record a video, a specific API (Application Programming Interface) in an operating system may be called or a file corresponding to the camera may be directly read. The acquisition equipment in the terminal is called through the two modes, and the actions reflected on the bottom layer of the operating system are all through the API of the bottom layer: the sys _ read () function calls the harvesting device, so monitoring the event of the harvesting device in the calling terminal can be done by monitoring the underlying API: the sys _ read () function completes.
Thus, step 201 is represented in the present embodiment as: and monitoring an event for reading the file corresponding to the acquisition equipment in the operating system.
During the process of monitoring the reading operation of the operating system or the application on the file, the following operation can be performed:
2011: and monitoring an event of reading the file in an operating system of the terminal.
The event of reading the file is an API (application programming interface) at the bottom layer of the operating system: operation of sys _ read (). When the function is called, the file name and the path information of the called file are carried as parameters of the function, so that when an event of reading the file in an operating system is monitored, whether the event is the event of reading the file corresponding to the acquisition device is determined according to the parameters in the function.
2012: and determining whether the file subjected to the reading operation in the event of the reading operation is the file corresponding to the acquisition equipment.
The path information and the file name of the file corresponding to the acquisition equipment in the current terminal are stored in advance.
2013: and if the file subjected to the reading operation in the event of the reading operation is the file corresponding to the acquisition equipment, determining that the event for calling the acquisition equipment is monitored.
Further, this step may be performed during the execution process when the operating system is started, and the execution manner of step 201 is: and monitoring and calling an event of the acquisition equipment in the terminal when an operating system of the terminal is started.
202: and when the event is monitored, outputting prompt information.
Wherein, the mode of terminal output prompt message is through predetermined prompt facility output prompt message, and predetermined prompt facility can be: breathing lights, speakers, motors, etc. may output display effects, sound effects, or vibration effects.
Therefore, the manner of outputting the prompt information through the preset prompting device in step 202 can be as follows:
2021: and starting the breathing lamp in the terminal, and controlling the breathing lamp to display according to a preset display mode.
The preset display mode can be that the long-bright display is carried out according to the preset first time; the breathing lamp can be displayed according to the preset second time, the breathing lamp is turned off after the preset third time, the process is repeated for the preset times, and the breathing lamp is displayed in a flashing mode.
Or,
2022: and starting a loudspeaker in the terminal, and controlling the loudspeaker to play a preset prompt tone.
Or,
2023: and starting a motor in the terminal, and controlling the motor to vibrate according to a preset vibration mode.
The continuous vibration can be carried out according to a preset first time; the motor can also vibrate intermittently according to the preset second time, wait for the preset third time to stop vibrating, and then repeat the preset times to vibrate according to the process.
According to the embodiment of the invention, the event calling the acquisition equipment is monitored, and the prompt information is output when the event calling the acquisition equipment is monitored so as to prompt the user that the acquisition equipment starts to work, so that the occurrence of a vicious event that malicious software calls the acquisition equipment under the condition that the user does not know the malicious software is prevented, the privacy of the user is leaked, and the safety of the user is improved.
EXAMPLE III
Referring to fig. 3, a schematic structural diagram of a device for prompting a user according to an embodiment of the present invention is shown. The device includes:
a monitoring module 301, configured to monitor an event for calling an acquisition device in the terminal;
and the output module 302 is configured to output a prompt message when the event is monitored.
As an embodiment, the monitoring module 301 may be configured to:
and monitoring an event of reading the file corresponding to the acquisition equipment in an operating system of the terminal.
As an embodiment, the monitoring module 301 may include:
a monitoring unit 3011, configured to monitor an event of performing a read operation on a file in an operating system of the terminal;
a determining unit 3012, configured to determine whether a file subjected to a read operation in the event of the read operation is a file corresponding to the acquisition device;
the processing unit 3013 is configured to determine that an event for calling the acquisition device is monitored when a file subjected to a read operation in the event of the read operation is a file corresponding to the acquisition device.
As an embodiment, the monitoring module 301 may further be configured to:
and monitoring and calling an event of the acquisition equipment in the terminal when an operating system of the terminal is started.
As an embodiment, the output module 302 may include:
the first control unit 3021 is configured to start a breathing lamp in the terminal, and control the breathing lamp to display according to a preset display mode;
a second control unit 3022, configured to start a speaker in the terminal, and control the speaker to play a preset warning tone;
a third control unit 3023 for starting the motor in the terminal and controlling the motor to vibrate according to a preset vibration manner.
According to the embodiment of the invention, the event calling the acquisition equipment is monitored, and the prompt information is output when the event calling the acquisition equipment is monitored so as to prompt the user that the acquisition equipment starts to work, so that the occurrence of a vicious event that malicious software calls the acquisition equipment under the condition that the user does not know the malicious software is prevented, the privacy of the user is leaked, and the safety of the user is improved.
Example four
The embodiment of the invention provides a terminal, which can comprise one or more of the following components: a processor for executing computer program instructions to perform the various processes and methods, Random Access Memory (RAM) and Read Only Memory (ROM) for information and storing program instructions, memory for storing data and information, I/O devices, interfaces, antennas, and the like.
For an example, refer to fig. 4, which shows a block diagram of a terminal according to a fourth embodiment of the present invention, where the terminal is configured to implement the method for prompting a user in the foregoing embodiment. The terminal 400 may include an RF (radio frequency) circuit 410, a memory 420, an input unit 430, a display unit 440, a sensor 450, an audio circuit 460, a WiFi (wireless fidelity) module 470, a processor 480, a power supply 482, a camera 490, and the like. Those skilled in the art will appreciate that the terminal configuration shown in fig. 4 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The various components of the terminal 400 will now be described in detail with reference to fig. 4:
the RF circuit 410 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receives downlink information of a base station and then processes the received downlink information to the processor 480; in addition, the data for designing uplink is transmitted to the base station. Typically, the RF circuit includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, and the like. In addition, the RF circuitry 410 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for mobile communications), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), email, SMS (Short Messaging Service), and the like.
The memory 420 may be used to store software programs and modules, and the processor 480 executes various functional applications and data processing of the terminal 400 by operating the software programs and modules stored in the memory 420. The memory 420 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal 400, and the like. Further, the memory 420 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 430 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal 400. Specifically, the input unit 430 may include a touch panel 431 and other input devices 432. The touch panel 431, also called a touch screen, may collect touch operations of a user on or near the touch panel 431 (e.g., operations of the user on or near the touch panel 431 using any suitable object or accessory such as a finger or a stylus) and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 431 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 480, and receives and executes commands sent from the processor 480. In addition, the touch panel 431 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 430 may include other input devices 432 in addition to the touch panel 431. In particular, other input devices 432 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 440 may be used to display information input by the user or information provided to the user and various menus of the terminal 400. The display unit 440 may include a display panel 441, and optionally, the display panel 441 may be configured in the form of an LCD (Liquid crystal display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch panel 431 may cover the display panel 441, and when the touch panel 431 detects a touch operation on or near the touch panel 431, the touch panel is transmitted to the processor 480 to determine the type of the touch event, and then the processor 480 provides a corresponding visual output on the display panel 441 according to the type of the touch event. Although in fig. 4, the touch panel 431 and the display panel 441 are two separate components to implement the input and output functions of the terminal 400, in some embodiments, the touch panel 431 and the display panel 441 may be integrated to implement the input and output functions of the terminal 400.
The terminal 400 can also include at least one sensor 450, such as a gyroscope sensor, a magnetic induction sensor, an optical sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 441 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 441 and/or a backlight when the terminal 400 is moved to the ear. As one of the motion sensors, the acceleration sensor may detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the terminal is stationary, and may be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer and tapping), and the like, and the terminal 400 may further be configured with other sensors such as a barometer, a hygrometer, a thermometer, and an infrared sensor, which are not described herein again.
The audio circuit 460, speaker 461, microphone 462 may provide an audio interface between a user and the terminal 400. The audio circuit 460 may transmit the electrical signal converted from the received audio data to the speaker 461, and convert the electrical signal into a sound signal for output by the speaker 461; on the other hand, the microphone 462 converts the collected sound signal into an electric signal, which is received by the audio circuit 460 and converted into audio data, which is then processed by the audio data output processor 480, and then transmitted to, for example, another terminal via the RF circuit 410, or output to the memory 420 for further processing.
WiFi belongs to a short-distance wireless transmission technology, and the terminal 400 can help a user send and receive e-mails, browse web pages, access streaming media, and the like through the WiFi module 470, and provides the user with wireless broadband internet access. Although fig. 4 shows the WiFi module 470, it is understood that it does not belong to the essential constitution of the terminal 400 and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 480 is a control center of the terminal 400, connects various parts of the entire terminal using various interfaces and lines, performs various functions of the terminal 400 and processes data by operating or executing software programs and/or modules stored in the memory 420 and calling data stored in the memory 420, thereby monitoring the entire terminal. Optionally, processor 480 may include one or more processing units; preferably, the processor 480 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 480.
The terminal 400 also includes a power supply 482 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 482 via a power management system to provide management of charging, discharging, and power consumption via the power management system.
The camera 490 is generally composed of a lens, an image sensor, an interface, a digital signal processor, a CPU, a display screen, and the like. The lens is fixed above the image sensor, and the focusing can be changed by manually adjusting the lens; the image sensor is equivalent to the 'film' of a traditional camera and is the heart of a camera for acquiring images; the interface is used for connecting the camera with the terminal mainboard in a flat cable, board-to-board connector and spring connection mode and sending the acquired image to the memory 420; the digital signal processor processes the acquired image through a mathematical operation, converts the acquired analog image into a digital image, and transmits the digital image to the memory 420 through an interface.
Although not shown, the terminal 400 may further include a bluetooth module or the like, which is not described in detail herein.
In order to implement the method for prompting the user in the foregoing, the terminal in the embodiment of the present invention includes:
one or more processors;
a memory; and
one or more modules stored in the memory and configured to be executed by the one or more processors, the one or more modules having the functionality to:
monitoring an event for calling acquisition equipment in the terminal;
and when the event is monitored, outputting prompt information.
As an embodiment, the monitoring an event that invokes a collection device in the terminal includes:
and monitoring an event of reading the file corresponding to the acquisition equipment in an operating system of the terminal.
Further, the monitoring an event of performing a reading operation on a file corresponding to the acquisition device in an operating system of the terminal includes:
monitoring an event for reading a file in an operating system of the terminal;
determining whether a file subjected to reading operation in the event of the reading operation is a file corresponding to the acquisition equipment;
and if the file subjected to the reading operation in the event of the reading operation is the file corresponding to the acquisition equipment, determining that the event for calling the acquisition equipment is monitored.
As an embodiment, the event invoking the acquisition device in the monitoring system includes:
and when the operating system of the terminal is started, monitoring an event for calling the acquisition equipment in the system.
As an embodiment, the outputting the prompt information includes:
starting a breathing lamp in the terminal, and controlling the breathing lamp to display according to a preset display mode; or,
starting a loudspeaker in the terminal, and controlling the loudspeaker to play a preset prompt tone; or,
and starting a motor in the terminal, and controlling the motor to vibrate according to a preset vibration mode.
According to the embodiment of the invention, the event calling the acquisition equipment is monitored, and the prompt information is output when the event calling the acquisition equipment is monitored so as to prompt the user that the acquisition equipment starts to work, so that the occurrence of a vicious event that malicious software calls the acquisition equipment under the condition that the user does not know the malicious software is prevented, the privacy of the user is leaked, and the safety of the user is improved.
EXAMPLE five
An embodiment of the present invention further provides a non-volatile readable storage medium, where the non-volatile readable storage medium may be a readable storage medium included in the memory in the foregoing embodiment; or a computer readable storage medium, which exists separately and is not assembled into the terminal, for implementing the method for prompting the user in the above embodiments.
The storage medium has stored therein one or more modules (programs) that, when implemented in an apparatus, cause the apparatus to perform the following steps (instructions):
monitoring an event for calling acquisition equipment in the terminal;
and when the event is monitored, outputting prompt information.
As an embodiment, the monitoring an event that invokes a collection device in the terminal includes:
and monitoring an event of reading the file corresponding to the acquisition equipment in an operating system of the terminal.
Further, the monitoring an event of performing a reading operation on a file corresponding to the acquisition device in an operating system of the terminal includes:
monitoring an event for reading a file in an operating system of the terminal;
determining whether a file subjected to reading operation in the event of the reading operation is a file corresponding to the acquisition equipment;
and if the file subjected to the reading operation in the event of the reading operation is the file corresponding to the acquisition equipment, determining that the event for calling the acquisition equipment is monitored.
As an embodiment, the event invoking the acquisition device in the monitoring system includes:
and when the operating system of the terminal is started, monitoring an event for calling the acquisition equipment in the operating system of the terminal.
As an embodiment, the outputting the prompt information includes:
starting a breathing lamp in the terminal, and controlling the breathing lamp to display according to a preset display mode; or,
starting a loudspeaker in the terminal, and controlling the loudspeaker to play a preset prompt tone; or,
and starting a motor in the terminal, and controlling the motor to vibrate according to a preset vibration mode.
According to the embodiment of the invention, the event calling the acquisition equipment is monitored, and the prompt information is output when the event calling the acquisition equipment is monitored so as to prompt the user that the acquisition equipment starts to work, so that the occurrence of a vicious event that malicious software calls the acquisition equipment under the condition that the user does not know the malicious software is prevented, the privacy of the user is leaked, and the safety of the user is improved.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (5)

1. A method for prompting a user is used in a terminal, and is characterized in that the method comprises the following steps:
when an operating system of a terminal is started, monitoring and calling an event of a collection device in the terminal, wherein the collection device is a camera or a microphone;
when the event is monitored, outputting prompt information;
the monitoring calls the event of the acquisition equipment in the terminal, and comprises the following steps:
monitoring an event for reading a file in an operating system of the terminal;
determining whether a file subjected to reading operation in the event of the reading operation is a file corresponding to the acquisition equipment;
and if the file subjected to the reading operation in the event of the reading operation is the file corresponding to the acquisition equipment, determining that the event for calling the acquisition equipment is monitored.
2. The method of claim 1, wherein outputting the prompt message comprises:
starting a breathing lamp in the terminal, and controlling the breathing lamp to display according to a preset display mode; or,
starting a loudspeaker in the terminal, and controlling the loudspeaker to play a preset prompt tone; or,
and starting a motor in the terminal, and controlling the motor to vibrate according to a preset vibration mode.
3. An apparatus for prompting a user, used in a terminal, the apparatus comprising:
the terminal comprises a monitoring module, a processing module and a processing module, wherein the monitoring module is used for monitoring and calling an event of acquisition equipment in the terminal when an operating system of the terminal is started, and the acquisition equipment is a camera or a microphone;
the output module is used for outputting prompt information when the event is monitored;
the monitoring module includes:
the monitoring unit is used for monitoring an event of reading a file in an operating system of the terminal;
the determining unit is used for determining whether a file subjected to reading operation in the event of the reading operation is a file corresponding to the acquisition equipment;
and the processing unit is used for determining that the event for calling the acquisition equipment is monitored when the file subjected to the reading operation in the event of the reading operation is the file corresponding to the acquisition equipment.
4. The apparatus of claim 3, wherein the output module comprises:
the first control unit is used for starting a breathing lamp in the terminal and controlling the breathing lamp to display according to a preset display mode;
the second control unit is used for starting a loudspeaker in the terminal and controlling the loudspeaker to play a preset prompt tone;
and the third control unit is used for starting the motor in the terminal and controlling the motor to vibrate according to a preset vibration mode.
5. A terminal, characterized in that the terminal comprises:
one or more processors;
a memory; and
one or more modules stored in the memory and configured to be executed by the one or more processors, the one or more modules having the functionality to:
when an operating system of a terminal is started, monitoring and calling an event of a collection device in the terminal, wherein the collection device is a camera or a microphone;
when the event is monitored, outputting prompt information;
the monitoring calls the event of the acquisition equipment in the terminal, and comprises the following steps:
monitoring an event for reading a file in an operating system of the terminal;
determining whether a file subjected to reading operation in the event of the reading operation is a file corresponding to the acquisition equipment;
and if the file subjected to the reading operation in the event of the reading operation is the file corresponding to the acquisition equipment, determining that the event for calling the acquisition equipment is monitored.
CN201310388624.0A 2013-08-30 2013-08-30 Method, device and terminal for prompting user Active CN103488939B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310388624.0A CN103488939B (en) 2013-08-30 2013-08-30 Method, device and terminal for prompting user

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310388624.0A CN103488939B (en) 2013-08-30 2013-08-30 Method, device and terminal for prompting user

Publications (2)

Publication Number Publication Date
CN103488939A CN103488939A (en) 2014-01-01
CN103488939B true CN103488939B (en) 2017-02-08

Family

ID=49829154

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310388624.0A Active CN103488939B (en) 2013-08-30 2013-08-30 Method, device and terminal for prompting user

Country Status (1)

Country Link
CN (1) CN103488939B (en)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104333692A (en) * 2014-11-04 2015-02-04 上海斐讯数据通信技术有限公司 Camera monitoring system and method
CN104378504B (en) * 2014-11-07 2016-09-07 广东欧珀移动通信有限公司 A kind of method and device controlling mobile terminal breath light prompting message
CN107168469B (en) 2017-06-20 2020-02-07 Oppo广东移动通信有限公司 Fingerprint acquisition method and related product
US11481018B2 (en) * 2018-06-28 2022-10-25 Hewlett-Packard Development Company, L.P. Method for webcam privacy protection implementation
CN109165043B (en) * 2018-07-24 2022-11-29 上海碳蓝网络科技有限公司 Call detection method and device for audio input device and computer readable storage medium
CN109241787B (en) * 2018-07-24 2023-04-07 上海碳蓝网络科技有限公司 Call detection method and device for image input device and computer readable storage medium
CN108984234B (en) * 2018-08-01 2021-08-06 上海碳蓝网络科技有限公司 Calling prompt method for mobile terminal and camera device
CN109190369A (en) * 2018-08-31 2019-01-11 努比亚技术有限公司 A kind of camera control method, terminal and computer storage medium
CN109766692B (en) * 2018-12-07 2021-07-27 百度在线网络技术(北京)有限公司 Method and device for judging privacy calling rationality and machine-readable storage medium
CN109697359A (en) * 2018-12-19 2019-04-30 惠州Tcl移动通信有限公司 A kind of message prompt method, device, storage medium and electronic equipment
CN109726552B (en) * 2018-12-29 2021-09-14 联想(北京)有限公司 Control method and device and electronic equipment
CN110336910A (en) * 2018-12-29 2019-10-15 华为技术有限公司 A kind of private data guard method and terminal
CN111385399A (en) * 2018-12-31 2020-07-07 宁波团团工业设计有限公司 Safety warning device and warning method of mobile phone
CN109905389A (en) * 2019-02-21 2019-06-18 华勤通讯技术有限公司 Method for controlling mobile terminal, device and computer readable storage medium
CN114584706A (en) * 2019-09-30 2022-06-03 联想(北京)有限公司 Electronic device and control method
CN111131613A (en) * 2019-12-25 2020-05-08 惠州Tcl移动通信有限公司 Data sending method, device, storage medium and mobile terminal
CN111601038B (en) * 2020-05-28 2021-10-01 无锡睿勤科技有限公司 Camera control method and device, electronic terminal and storage medium
CN113542603B (en) * 2021-07-13 2024-01-23 上海福赛梦扬科技有限公司 Camera operation prompt processing method and device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102045712A (en) * 2011-01-04 2011-05-04 奇智软件(北京)有限公司 Anti-monitoring method and system for mobile terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101667235B (en) * 2008-09-02 2013-10-23 北京瑞星信息技术有限公司 Method and device for protecting user privacy
CN102186166A (en) * 2011-03-11 2011-09-14 深圳市易联盛世科技有限公司 Method for preventing environmental monitoring and environmental sound-recording based on Bluetooth technology
CN103136472B (en) * 2011-11-29 2016-08-31 腾讯科技(深圳)有限公司 A kind of anti-application program steals method and the mobile device of privacy

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102045712A (en) * 2011-01-04 2011-05-04 奇智软件(北京)有限公司 Anti-monitoring method and system for mobile terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Android智能手机系统中文件实时监控的研究与实现;温敏;《科学技术与工程》;20090430;第9卷(第7期);第1716-1719页 *

Also Published As

Publication number Publication date
CN103488939A (en) 2014-01-01

Similar Documents

Publication Publication Date Title
CN103488939B (en) Method, device and terminal for prompting user
CN106791892B (en) Method, device and system for live broadcasting of wheelhouses
CN108684029B (en) Bluetooth pairing connection method and system, Bluetooth device and terminal
CN106412681B (en) Live bullet screen video broadcasting method and device
CN106792120B (en) Video picture display method and device and terminal
CN106210755B (en) A kind of methods, devices and systems playing live video
CN106371964B (en) Method and device for prompting message
CN104967896A (en) Method for displaying bulletscreen comment information, and apparatus thereof
CN106254910B (en) Method and device for recording image
CN106068020A (en) Hinting abnormal states method and device
CN106911848B (en) Method and terminal device for outputting prompt message
CN107846516B (en) Call scene prompting method and mobile terminal
CN105959482B (en) A kind of scene sound effect control method, and electronic device
CN108881778B (en) A wearable device-based video output method and wearable device
CN106101764A (en) A kind of methods, devices and systems showing video data
CN106791916B (en) Method, device and system for recommending audio data
CN110072013B (en) Terminal control method and device
CN112691363A (en) Cross-terminal switching method and related device for cloud games
CN109495769B (en) Video communication method, terminal, smart television, server and storage medium
CN108196663B (en) Face recognition method and mobile terminal
CN106682189B (en) File name display method and device
CN107770449B (en) Continuous shooting method, electronic device and storage medium
CN105159655B (en) Behavior event playing method and device
CN111372003A (en) Camera switching method and device and terminal
CN105094869B (en) Target program determines method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant