CN111698367A - Method and device for terminal silent alarm, terminal and storage medium - Google Patents

Method and device for terminal silent alarm, terminal and storage medium Download PDF

Info

Publication number
CN111698367A
CN111698367A CN202010534954.6A CN202010534954A CN111698367A CN 111698367 A CN111698367 A CN 111698367A CN 202010534954 A CN202010534954 A CN 202010534954A CN 111698367 A CN111698367 A CN 111698367A
Authority
CN
China
Prior art keywords
information
alarm
terminal
sending
preset
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
Application number
CN202010534954.6A
Other languages
Chinese (zh)
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.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN202010534954.6A priority Critical patent/CN111698367A/en
Publication of CN111698367A publication Critical patent/CN111698367A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B25/00Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems
    • G08B25/01Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems characterised by the transmission medium
    • G08B25/10Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems characterised by the transmission medium using wireless transmission systems

Abstract

The disclosure relates to the technical field of computers, in particular to a method and a device for terminal silent alarm, a terminal and a storage medium. The method for the terminal to alarm in a silent mode comprises the following steps: responding to a preset alarm instruction, and acquiring environment information of the terminal; closing a sound production unit and/or a vibration unit of the terminal; monitoring a touch event, and generating alarm information according to a touch track corresponding to the monitored touch event; and sending environment information and/or alarm information to the preset contact person without displaying an information sending interface. Therefore, according to the embodiment of the disclosure, by acquiring the surrounding environment information, closing the sound production unit and/or the vibration unit of the terminal, acquiring the touch event to generate the alarm information, and sending the alarm information in a manner of not displaying the information sending interface, the alarm can be completed by automatically acquiring an effective clue, and meanwhile, the attention of lawbreakers is avoided, so that the alarm efficiency and safety are improved.

Description

Method and device for terminal silent alarm, terminal and storage medium
Technical Field
The disclosure relates to the technical field of computers, in particular to a method and a device for terminal silent alarm, a terminal and a storage medium.
Background
When people encounter danger, people usually think of using a portable mobile phone to alarm. However, in some emergency situations, the alarm of the manual call made by the user may be perceived by lawless persons, and the user in danger may not accurately provide effective information to the police, and the sound made by the mobile phone may also cause the user to fall into a more dangerous situation, thereby being not beneficial to the police to timely and effectively rescue and reconnoiter the case.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
According to one or more embodiments of the present disclosure, a method for a terminal to alarm in a silent state is provided, the method comprising:
responding to a preset alarm instruction, and acquiring environment information of the terminal;
closing a sound production unit and/or a vibration unit of the terminal;
monitoring a touch event, and generating alarm information according to a touch track corresponding to the monitored touch event;
and sending the environment information and/or the alarm information to a preset contact person without displaying an information sending interface.
According to one or more embodiments of the present disclosure, there is provided an apparatus for a terminal to alarm silence, the apparatus including:
the acquisition unit is used for responding to a preset alarm instruction and acquiring the environmental information of the terminal;
the mute unit is used for closing the sound production unit and/or the vibration unit of the terminal;
the monitoring unit is used for monitoring the touch event and generating alarm information according to the touch track corresponding to the monitored touch event;
and the alarm unit is used for sending the environment information and/or the alarm information to a preset contact person and not displaying an information sending interface.
According to one or more embodiments of the present disclosure, there is provided a terminal including:
at least one memory and at least one processor;
wherein the memory is used for storing program codes, and the processor is used for calling the program codes stored in the memory to execute the method for the terminal silence alarm provided according to one or more embodiments of the present disclosure.
According to one or more embodiments of the present disclosure, there is provided a non-transitory computer storage medium storing program code for performing a method of terminal silence alarm provided according to one or more embodiments of the present disclosure.
According to the method for the terminal silent alarm provided by one or more embodiments of the present disclosure, after the alarm is triggered, by acquiring the surrounding environment information, closing the sound production unit and/or the vibration unit of the terminal, acquiring the touch event to generate the alarm information, and sending the alarm information in a manner of not displaying the information sending interface, the alarm can be completed by automatically acquiring the effective clue, and meanwhile, the attention of lawbreakers is avoided, thereby improving the alarm efficiency and safety.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
Fig. 1 is a flowchart of a method for a terminal to alarm in a silent state according to an embodiment of the present disclosure;
fig. 2 is a flowchart of a method for a terminal to alarm in a silent state according to another embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a terminal silence alarm apparatus according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a terminal device for implementing the embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
Fig. 1 shows a flowchart of a method for terminal silent alarm provided by the embodiment of the present disclosure, where the method 100 includes steps S101 to S104:
step S101: and responding to a preset alarm instruction to acquire the environmental information of the terminal. Wherein the environment information comprises geographical position information and/or audio information and/or image information; the alarm instruction may be preset by the user, including but not limited to a predetermined key combination, key sequence, key times, touch gesture pattern, voice instruction, and the like.
Step S102: and closing the sound production unit and/or the vibration unit of the terminal.
The sound generating unit comprises a receiver, a loudspeaker and the like, and the vibration unit comprises a motor and the like. Alternatively, for a cellular phone, the sound unit and the vibration unit may be turned off by turning on the silent mode.
Step S103: and monitoring the touch event, and generating alarm information according to the touch track corresponding to the monitored touch event.
A touch event is an event generated by a touch screen or a touch pad, and includes a touch down event, a touch move event, a touch up event, and the like. The alarm information is generated according to a touch track corresponding to a touch event of the user, and may be text or pattern information written on the touch screen by the user. At this time, the touch screen or the touch pad of the terminal corresponds to a handwriting pad of the user, through which the user can input and record key clues. In some embodiments, the generated alarm information is not displayed on the terminal, so that the alarm behavior of the user is prevented from being perceived by lawbreakers, and the alarm safety can be improved.
Step S104: and sending environment information and/or alarm information to the preset contact person without displaying an information sending interface.
The preset contact can be a local alarm telephone or a contact way of the user's relatives and friends; the information sending interface comprises a call interface and a message interface. Optionally, a call function or a message function of the mobile phone may be invoked through a background Service or an Application program (Application) with a transparent creation interface, so that the terminal sends the alarm information in a manner of not displaying an information sending interface.
Thus, according to the method for the terminal to alarm in a silent mode provided by the embodiment of the disclosure, after the alarm is triggered, the terminal generates real-time alarm information by acquiring surrounding environment information, closing the sound generating unit and/or the vibration unit, acquiring a touch event, and sending the alarm information in a mode of not displaying an information sending interface, so that the alarm can be completed by automatically acquiring an effective clue, and meanwhile, the attention of lawbreakers is avoided, and the alarm efficiency and safety are improved.
In some embodiments, step S103 further comprises:
step A1: intercepting the monitored touch event so that a display interface of the terminal does not respond to the touch event.
The touch event usually causes the display interface of the terminal to change, and thus easily causes the attention of lawbreakers. In the embodiment of the disclosure, by intercepting the monitored touch event, the display interface of the terminal can be prevented from changing in response to the touch event, and the perception of lawless persons caused by the touch of the user on the terminal is avoided.
Alternatively, the interception of the touch event may be implemented by an onInterceptTouchEvent method, or by creating a transparent parent view.
In some embodiments, the method 100 further comprises: and sending environment information and/or alarm information to a server. In the embodiment of the disclosure, the alarm clues and evidences can be saved by sending the environmental information and/or the alarm information to the server, so that police can solve a case in time.
In some embodiments, the method 100 further comprises: the context information and/or contact records with the contact are deleted. In the embodiment of the disclosure, the alarm behavior can be prevented from being discovered by lawbreakers after the event by deleting the relevant record of the alarm after the alarm.
In some embodiments, step S101 comprises: acquiring geographical position information of a terminal; and/or acquiring audio information through at least one sensor of the terminal; and/or acquiring image information through at least one camera of the terminal.
In some embodiments, step S104 includes: sending environment information and/or alarm information to a preset contact person through establishing a background service; or sending environment information and/or alarm information to a preset contact through an application program with a transparent creation interface. In the embodiment of the disclosure, the alarm behavior can be more concealed and can not be discovered by lawless persons by creating the background Service or creating the application program with a transparent interface to send the alarm information.
In some embodiments, step S104 further comprises: and sending preset alarm information to a preset contact person. The preset alarm information can be information input by a user in advance and can comprise personal information of the user, home addresses, work units, general words for alarm, description of automatic alarm and the like. In the embodiment of the disclosure, more complete alarm information can be provided by sending the preset alarm information, and the success rate of alarm is increased.
In some embodiments, the preset alarm information comprises preset alarm voice information; the method 100 further comprises: converting the geographical position information into geographical position voice information; splicing preset alarm voice information and geographic position voice information into alarm voice information; step S104 includes: and sending alarm voice information to the preset contact. For example, the preset alarm voice information may be "i is zhang, i cannot alarm manually in danger, and now alarms automatically through a mobile phone, the home address of my is first way, the work unit is company b, the telephone of the emergency contact is 12345678, i now is located [ to-be-plugged in geographical position voice information ], and requests to go out as soon as possible", so that the geographical position voice information is plugged into the specific position of the preset alarm voice information, and the complete alarm voice information can be obtained through splicing, and the alarm success rate is increased.
Referring to fig. 2, fig. 2 shows a flowchart of a method 200 for terminal silence alarm provided according to another embodiment of the present disclosure, the method 200 includes steps S201 to S211:
step S201: responding to a preset alarm instruction, acquiring current geographical position information of the terminal through a GPS, acquiring audio information through a microphone, and acquiring image information through a camera;
step S202: closing a sound production unit and a vibration unit of the terminal;
step S203: monitoring a touch event;
step S204: intercepting the monitored touch event, generating alarm information according to a touch track corresponding to the monitored touch event and not displaying the alarm information;
step S205: converting the geographical position information into geographical position voice information;
step S206: splicing preset alarm voice information and geographic position voice information into alarm voice information;
step S207: calling an alarm call and sending alarm voice information by establishing a background Service;
step S208: and sending the geographical position information, the audio information, the image information, the alarm information and the preset alarm information to an emergency contact preset by a user by establishing a background Service.
Referring to fig. 3, an embodiment of the present disclosure provides an apparatus 300 for terminal silent alarm, which is used to implement the method for terminal silent alarm provided in the foregoing embodiment, where the apparatus 300 includes an obtaining unit 301, a muting unit 302, a monitoring unit 303, and an alarm unit 304, where:
an obtaining unit 301, configured to respond to a preset alarm instruction and obtain environment information of a terminal; wherein the environment information comprises geographical position information and/or audio information and/or image information;
a mute unit 302 for turning off a sound generating unit and/or a vibration unit of the terminal;
the monitoring unit 303 is configured to monitor a touch event, and generate alarm information according to a touch trajectory corresponding to the monitored touch event;
and the alarm unit 304 is used for sending environment information and/or alarm information to the preset contact person and not displaying an information sending interface.
Therefore, according to the terminal silent alarm device provided by the embodiment of the disclosure, after the alarm is triggered, the alarm information is generated by acquiring the surrounding environment information, closing the sounding unit and/or the vibration unit of the terminal, acquiring the touch event, and sending the alarm information in a manner of not displaying the information sending interface, so that the alarm can be completed by automatically acquiring an effective clue, and meanwhile, the attention of lawbreakers is avoided, thereby improving the alarm efficiency and safety.
For the embodiments of the apparatus, since they correspond substantially to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described apparatus embodiments are merely illustrative, in that modules illustrated as separate modules may or may not be separate. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
In some embodiments, the listening unit 303 further comprises:
and the intercepting subunit is used for intercepting the monitored touch event so as to enable the display interface of the terminal not to respond to the touch event.
The touch event usually causes the display interface of the terminal to change, and thus easily causes the attention of lawbreakers. In the embodiment of the disclosure, by intercepting the monitored touch event, the display interface of the terminal can be prevented from changing in response to the touch event, and the perception of lawless persons caused by the touch of the user on the terminal is avoided.
Alternatively, the interception of the touch event may be implemented by an onInterceptTouchEvent method, or by creating a transparent parent view.
In some embodiments, the apparatus 300 further comprises:
and the uploading unit is used for sending the environment information and/or the alarm information to the server.
In the embodiment of the disclosure, the alarm clues and evidences can be saved by sending the environmental information and/or the alarm information to the server, so that police can solve a case in time.
In some embodiments, the method 100 further comprises:
and the deleting unit is used for deleting the environment information and/or the contact record of the contact person. In the embodiment of the disclosure, the alarm behavior can be prevented from being discovered by lawbreakers after the event by deleting the relevant record of the alarm after the alarm.
In some embodiments, the obtaining unit 301 is configured to obtain geographic location information of the terminal; and/or acquiring audio information through at least one sensor of the terminal; and/or acquiring image information through at least one camera of the terminal.
In some embodiments, the alarm unit 304 includes:
the background sub-unit is used for sending environment information and/or alarm information to a preset contact person through establishing a background service; or
And the transparent application subunit is used for sending the environment information and/or the alarm information to the preset contact person through the application program with the transparent creation interface.
In the embodiment of the disclosure, the alarm behavior can be more concealed and can not be discovered by lawless persons by creating the background Service or creating the application program with a transparent interface to send the alarm information.
In some embodiments, the alarm unit 304 is further configured to send preset alarm information to a preset contact. The preset alarm information can be information input by a user in advance and can comprise personal information of the user, home addresses, work units, general words for alarm, description of automatic alarm and the like. In the embodiment of the disclosure, more complete alarm information can be provided by sending the preset alarm information, and the success rate of alarm is increased.
In some embodiments, the preset alarm information comprises preset alarm voice information; the apparatus 300 further comprises: the conversion unit is used for converting the geographical position information into geographical position voice information; the splicing unit is used for splicing preset alarm voice information and geographic position voice information into alarm voice information; the alarm unit 304 is further configured to send an alarm voice message to a preset contact. For example, the preset alarm voice information may be "i is zhang, i cannot alarm manually in danger, and now alarms automatically through a mobile phone, the home address of my is first way, the work unit is company b, the telephone of the emergency contact is 12345678, i now is located [ to-be-plugged in geographical position voice information ], and requests to go out as soon as possible", so that the geographical position voice information is plugged into the specific position of the preset alarm voice information, and the complete alarm voice information can be obtained through splicing, and the alarm success rate is increased.
Referring now to fig. 4, a block diagram of a terminal device 600 suitable for use in implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), and the like. The terminal device shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 4, the terminal device 600 may include a processing means (e.g., a central processing unit, a graphic processor, etc.) 601 that may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage means 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the terminal apparatus 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the terminal device 600 to perform wireless or wired communication with other devices to exchange data. While fig. 4 illustrates a terminal apparatus 600 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 609, or may be installed from the storage means 608, or may be installed from the ROM 602. The computer program, when executed by the processing device 601, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any known or future developed network protocol, such as HTTP (HyperText transfer protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the terminal device to: responding to a preset alarm instruction, and acquiring environment information of the terminal; closing a sound production unit and/or a vibration unit of the terminal; monitoring a touch event, and generating alarm information according to a touch track corresponding to the monitored touch event; and sending environment information and/or alarm information to the preset contact person without displaying an information sending interface.
Alternatively, the computer readable medium carries one or more programs which, when executed by the electronic device, cause the terminal device to: responding to a preset alarm instruction, and acquiring environment information of the terminal; closing a sound production unit and/or a vibration unit of the terminal; monitoring a touch event, and generating alarm information according to a touch track corresponding to the monitored touch event; and sending environment information and/or alarm information to the preset contact person without displaying an information sending interface.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of a unit does not in some cases constitute a limitation of the unit itself, for example, a mute unit may also be described as a "unit for turning off a sound unit and/or a vibration unit of a terminal".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
According to one or more embodiments of the present disclosure, a method for a terminal to alarm in a silent state is provided, the method comprising: responding to a preset alarm instruction, and acquiring environment information of the terminal; closing a sound production unit and/or a vibration unit of the terminal; monitoring a touch event, and generating alarm information according to a touch track corresponding to the monitored touch event; and sending the environment information and/or the alarm information to a preset contact person without displaying an information sending interface.
According to one or more embodiments of the present disclosure, the alarm information is not displayed on the terminal.
According to one or more embodiments of the present disclosure, the listening for touch events includes: intercepting the monitored touch event so that a display interface of the terminal does not respond to the touch event.
The method for the terminal to alarm in a silent mode provided by one or more embodiments of the present disclosure further includes: and sending the environmental information and/or the alarm information to a server.
The method for the terminal to alarm in a silent mode provided by one or more embodiments of the present disclosure further includes: and deleting the environment information and/or the contact record of the contact person.
According to one or more embodiments of the present disclosure, the acquiring environmental information of a terminal includes: acquiring the geographical position information of the terminal; and/or acquiring audio information through at least one sensor of the terminal; and/or acquiring image information through at least one camera of the terminal.
According to one or more embodiments of the present disclosure, the sending the environmental information and/or the alarm information to a preset contact without displaying an information sending interface includes: sending the environmental information and/or the alarm information to the preset contact person through establishing background service; or sending the environment information and/or the alarm information to the preset contact through creating an application program with a transparent interface.
According to one or more embodiments of the present disclosure, the sending the environmental information and/or the alarm information to a preset contact without displaying an information sending interface includes: and sending preset alarm information to the preset contact.
According to one or more embodiments of the present disclosure, the preset alarm information includes preset alarm voice information; the method further comprises the following steps: converting the geographical position information into geographical position voice information; splicing the preset alarm voice information and the geographic position voice information into alarm voice information; the sending the environmental information and/or the alarm information to the preset contact person without displaying an information sending interface comprises the following steps: and sending the alarm voice information to the preset contact.
According to one or more embodiments of the present disclosure, there is provided an apparatus for a terminal to alarm silence, the apparatus including: the acquisition unit is used for responding to a preset alarm instruction and acquiring the environmental information of the terminal; the mute unit is used for closing the sound production unit and/or the vibration unit of the terminal; the monitoring unit is used for monitoring the touch event and generating alarm information according to the touch track corresponding to the monitored touch event; and the alarm unit is used for sending the environment information and/or the alarm information to a preset contact person and not displaying an information sending interface.
According to one or more embodiments of the present disclosure, there is provided a terminal including: at least one memory and at least one processor; wherein the memory is used for storing program codes, and the processor is used for calling the program codes stored in the memory to execute the method for the terminal silence alarm provided according to one or more embodiments of the present disclosure.
According to one or more embodiments of the present disclosure, there is provided a non-transitory computer storage medium storing program code for performing a method of terminal silence alarm provided according to one or more embodiments of the present disclosure. The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (12)

1. A method for terminal silence alarm is characterized in that the method comprises the following steps:
responding to a preset alarm instruction, and acquiring environment information of the terminal;
closing a sound production unit and/or a vibration unit of the terminal;
monitoring a touch event, and generating alarm information according to a touch track corresponding to the monitored touch event;
and sending the environment information and/or the alarm information to a preset contact person without displaying an information sending interface.
2. The method of terminal silence alarm according to claim 1,
the alarm information is not displayed on the terminal.
3. The method of terminal silence alarm according to claim 1, wherein the listening for touch events comprises:
intercepting the monitored touch event so that a display interface of the terminal does not respond to the touch event.
4. The method of terminal silence alarm according to claim 1, characterized in that the method further comprises:
and sending the environmental information and/or the alarm information to a server.
5. The method of terminal silence alarm according to claim 1, characterized in that the method further comprises:
and deleting the environment information and/or the contact record of the contact person.
6. The method for terminal silence alarm according to claim 1, wherein the obtaining the environmental information of the terminal includes:
acquiring the geographical position information of the terminal;
and/or acquiring audio information through at least one sensor of the terminal;
and/or acquiring image information through at least one camera of the terminal.
7. The method for terminal silence alarm according to claim 1, wherein the sending the environmental information and/or the alarm information to the preset contact without displaying an information sending interface comprises:
sending the environmental information and/or the alarm information to the preset contact person through establishing background service; or
And sending the environment information and/or the alarm information to the preset contact person through creating an application program with a transparent interface.
8. The method for terminal silence alarm according to claim 1, wherein the sending the environmental information and/or the alarm information to the preset contact without displaying an information sending interface comprises:
and sending preset alarm information to the preset contact.
9. The method of terminal silence alarm according to claim 8, characterized in that the preset alarm information includes preset alarm voice information;
the method further comprises the following steps: converting the geographical position information into geographical position voice information; splicing the preset alarm voice information and the geographic position voice information into alarm voice information;
the sending the environmental information and/or the alarm information to the preset contact person without displaying an information sending interface comprises the following steps: and sending the alarm voice information to the preset contact.
10. An apparatus for terminal silence alarm, the apparatus comprising:
the acquisition unit is used for responding to a preset alarm instruction and acquiring the environmental information of the terminal;
the mute unit is used for closing the sound production unit and/or the vibration unit of the terminal;
the monitoring unit is used for monitoring the touch event and generating alarm information according to the touch track corresponding to the monitored touch event;
and the alarm unit is used for sending the environment information and/or the alarm information to a preset contact person and not displaying an information sending interface.
11. A terminal, characterized in that the terminal comprises:
at least one memory and at least one processor;
wherein the memory is used for storing program codes, and the processor is used for calling the program codes stored in the memory to execute the method for the terminal silence alarm of any one of claims 1 to 9.
12. A non-transitory computer storage medium, characterized in that it stores a program code for executing the method of terminal silence alarm of any of claims 1 to 9.
CN202010534954.6A 2020-06-12 2020-06-12 Method and device for terminal silent alarm, terminal and storage medium Pending CN111698367A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010534954.6A CN111698367A (en) 2020-06-12 2020-06-12 Method and device for terminal silent alarm, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010534954.6A CN111698367A (en) 2020-06-12 2020-06-12 Method and device for terminal silent alarm, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN111698367A true CN111698367A (en) 2020-09-22

Family

ID=72480685

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010534954.6A Pending CN111698367A (en) 2020-06-12 2020-06-12 Method and device for terminal silent alarm, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN111698367A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112382071A (en) * 2020-10-20 2021-02-19 中国第一汽车股份有限公司 Vehicle alarm method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105741514A (en) * 2016-05-11 2016-07-06 贵州省哇通了工程机械服务有限公司 Alarm method, device and system
US9686398B2 (en) * 2015-11-17 2017-06-20 Verizon Patent And Licensing Inc. Prompt based alert by a user device in silent mode
CN107562360A (en) * 2017-09-05 2018-01-09 广东小天才科技有限公司 Wearable device control method and wearable device under a kind of black state
CN109191776A (en) * 2018-09-06 2019-01-11 深圳市京华信息技术有限公司 A kind of calling method, device, terminal, wearable device and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9686398B2 (en) * 2015-11-17 2017-06-20 Verizon Patent And Licensing Inc. Prompt based alert by a user device in silent mode
CN105741514A (en) * 2016-05-11 2016-07-06 贵州省哇通了工程机械服务有限公司 Alarm method, device and system
CN107562360A (en) * 2017-09-05 2018-01-09 广东小天才科技有限公司 Wearable device control method and wearable device under a kind of black state
CN109191776A (en) * 2018-09-06 2019-01-11 深圳市京华信息技术有限公司 A kind of calling method, device, terminal, wearable device and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112382071A (en) * 2020-10-20 2021-02-19 中国第一汽车股份有限公司 Vehicle alarm method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
US7676220B2 (en) Method and apparatus for dynamic voice response messages
CN112311841B (en) Information pushing method and device, electronic equipment and computer readable medium
US9311911B2 (en) Method and apparatus for live call text-to-speech
US9686403B2 (en) Communicating availability of a mobile device
CN110471738B (en) Theme switching method and device of application program, electronic equipment and storage medium
WO2020135431A1 (en) Message urgent reminding method and apparatus, and electronic device
US20170222956A1 (en) Method and system for enabling an auto response facility between users
CN111290819B (en) Method and device for displaying operation prompt and electronic equipment
JP2013109484A (en) Evacuation notification system, portable terminal, server, evacuation notification method, and program
CN112256231A (en) Volume control method, device, terminal and storage medium
CN110865846A (en) Application management method, device, terminal, system and storage medium
CN111698367A (en) Method and device for terminal silent alarm, terminal and storage medium
JP2012174233A (en) Terminal control server, terminal control method and program
US20200092418A1 (en) Telephonic transmission/reception calling service method
CN111105797A (en) Voice interaction method and device and electronic equipment
CN110727558A (en) Information prompting method and device, storage medium and electronic equipment
US9781260B2 (en) Detection and notification of end user presence via a telecommunications device
CN114707951A (en) Alarm situation big data management method, device, equipment and storage medium
US10939231B2 (en) Geofencing
US20170331949A1 (en) Automated call handling based on context of call
CN114089891A (en) Display control method and device and electronic equipment
CN113495712A (en) Automatic volume adjustment method, apparatus, medium, and device
CN111399845A (en) Assertion method, assertion device, electronic equipment and computer readable medium
CN111444457A (en) Data distribution method and device, storage medium and electronic equipment
CN111324349A (en) Method, device, terminal and storage medium for generating interactive interface

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: 20200922