CN108566493A - Method for sending information, device, storage medium and electronic equipment - Google Patents
Method for sending information, device, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN108566493A CN108566493A CN201810394899.8A CN201810394899A CN108566493A CN 108566493 A CN108566493 A CN 108566493A CN 201810394899 A CN201810394899 A CN 201810394899A CN 108566493 A CN108566493 A CN 108566493A
- Authority
- CN
- China
- Prior art keywords
- pressure value
- information
- touch
- electronic equipment
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72466—User interfaces specially adapted for cordless or mobile telephones with selection means, e.g. keys, having functions defined by the mode or the status of the device
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Environmental & Geological Engineering (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the present application discloses a kind of method for sending information, device, storage medium and electronic equipment;The method includes:When detecting that user is directed to the touch operation of touch controlled key, the pressure value of touch operation is obtained, judges whether pressure value is more than preset pressure value, if more than then generating instant alarming information, instant alarming information being sent to preset associated account number.The embodiment of the present application can be under special circumstances, warning message just can be generated by clicking the touch controlled key on electronic equipment energetically, and preset associated account number can be sent to, the action for operating mobile terminal is small, it is hidden and quick, to the mode that criminal cannot find.Therefore, the present invention not only operates more easy, but also can greatly save user time, can improve the efficiency of information transmission.
Description
Technical field
This application involves electronic device fields, and in particular to a kind of method for sending information, device, storage medium and electronics are set
It is standby.
Background technology
With the development of terminal technology, terminal have begun from simply provided in the past verbal system become gradually one it is logical
With the platform of running software.The platform no longer to provide call management as the main purpose, and be to provide one include call management,
Running environment including the types of applications softwares such as Entertainment, office account, mobile payment, is popularized with a large amount of, deep
Enter to people’s lives, the every aspect of work.
In some special circumstances, for example, user is in when being kidnaped or being plundered, at this moment user cannot be as usual
It is equally sporting to take out mobile phone and either send short message to make a phone call, it alarms.User it is this in special circumstances, most
It is, hidden and quick, criminal cannot find mode small using the action of mobile phone well, to reach emergency contact, tightly
The purpose suddenly alarmed.
Invention content
A kind of method for sending information of the embodiment of the present application offer, device, storage medium and electronic equipment, can check figure
User's operation is reduced when picture, and efficiency is checked to promote image.
In a first aspect, the embodiment of the present application provides a kind of method for sending information, it is applied to electronic equipment, the electronic equipment
With shell, touch controlled key is provided on the shell of the electronic equipment, including:
When detecting that user is directed to the touch operation of the touch controlled key, the pressure value of the touch operation is obtained;
Judge whether the pressure value is more than preset pressure value;
If more than then generating instant alarming information;
The instant alarming information is sent to preset associated account number.
Second aspect, the embodiment of the present application also provides a kind of information transmitting apparatus, are applied to electronic equipment, the electronics
Equipment has shell, and touch controlled key is provided on the shell of the electronic equipment, including:First acquisition module, first judge mould
Block, generation module and sending module;
First acquisition module, for when detecting that user is directed to the touch operation of the touch controlled key, obtaining institute
State the pressure value of touch operation;
First judgment module, for judging whether the pressure value is more than preset pressure value;
The generation module, for when first judgment module is judged as YES, generating instant alarming information;
The sending module, for the instant alarming information to be sent to preset associated account number.
The third aspect, the embodiment of the present application also provide a kind of storage medium, are stored thereon with computer program, the calculating
The step of above- mentioned information sending method is realized when machine program is executed by processor.
Fourth aspect, the embodiment of the present application also provide a kind of electronic equipment, including:
Shell;
Sensor, setting is on the housing;
Processor, the processor are of coupled connections with the sensor, and the sensor is for detecting user for described
The touch operation of touch controlled key, the processor are used to obtain the pressure value of the touch operation, whether judge the pressure value
More than preset pressure value, if more than then generating instant alarming information, the instant alarming information being sent to preset association account
Number.
Method for sending information provided by the embodiments of the present application first when detect user be directed to touch controlled key touch operation
When, the pressure value of touch operation is obtained, judges whether pressure value is more than preset pressure value, if more than instant alarming letter is then generated
Breath, preset associated account number is sent to by instant alarming information.The embodiment of the present application can pass through big force under special circumstances
The touch controlled key hit on electronic equipment just can generate warning message, and can be sent to preset associated account number, operate mobile whole
The action at end is small, hidden and quick, to the mode that criminal cannot find.Therefore, the present invention not only operates more
Simplicity, and user time can be greatlyd save, the efficiency of information transmission can be improved.
Description of the drawings
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present application, for
For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is a kind of flow diagram of method for sending information provided by the embodiments of the present application.
Fig. 2 is the schematic diagram of pressure responsive element provided by the embodiments of the present application.
Fig. 3 is the schematic diagram of circuit where pressure responsive element provided by the embodiments of the present application.
Fig. 4 is another flow diagram of method for sending information provided by the embodiments of the present application.
Fig. 5 is a kind of structural schematic diagram of information transmitting apparatus provided by the embodiments of the present application.
Fig. 6 is another structural schematic diagram of information transmitting apparatus provided by the embodiments of the present application.
Fig. 7 is another structural schematic diagram of information transmitting apparatus provided by the embodiments of the present application.
Fig. 8 is a kind of structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Fig. 9 is another structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Specific implementation mode
Schema is please referred to, wherein identical component symbol represents identical component, the principle of the application is to implement one
It is illustrated in computing environment appropriate.The following description be based on illustrated by the application specific embodiment, should not be by
It is considered as limitation the application other specific embodiments not detailed herein.
In the following description, the specific embodiment of the application will be with reference to by the step performed by one or multi-section computer
And symbol illustrates, unless otherwise stating clearly.Therefore, these steps and operation will have to mention for several times is executed by computer, this paper institutes
The computer execution of finger includes by representing with the computer processing unit of the electronic signal of the data in a structuring pattern
Operation.This operation is converted at the data or the position being maintained in the memory system of the computer, reconfigurable
Or in addition change the running of the computer in a manner of known to the tester of this field.The data structure that the data are maintained
For the provider location of the memory, there is the specific feature defined in the data format.But the application principle is with above-mentioned text
Word illustrates that be not represented as a kind of limitation, this field tester will appreciate that plurality of step as described below and behaviour
Also it may be implemented in hardware.
The principle of the application is grasped using many other wide usages or specific purpose operation, communication environment or configuration
Make.The known example suitable for the arithmetic system of the application, environment and configuration may include (but not limited to) hold phone,
Personal computer, server, multicomputer system, system, body frame configuration computer and distributed arithmetic ring based on micro computer
Border, which includes any above system or devices.
It will be described in detail respectively below.
Referring initially to Fig. 1, Fig. 1 is a kind of flow diagram of method for sending information provided by the embodiments of the present application, wherein
Above- mentioned information sending method is applied to electronic equipment, is provided with touch controlled key on electronic equipment, includes the following steps:
Step S101 obtains the pressure value of touch operation when detecting that user is directed to the touch operation of touch controlled key.
The electronic equipment provided in the embodiment of the present application includes touch controlled key, and user can for the operation of touch controlled key triggering
Think pressing operation.In one embodiment, can pressure responsive element be set at the back side of the touch controlled key, by pressure sensitive member
The circuit board electrical connection of part and electronic equipment, pressure responsive element detect the pressing force transmitted from touch controlled key, and when pressing
Power sends out trigger signal when being more than preset value, in turn, circuit board according to the trigger signal of reception generate corresponding control signal with
Control electronics.Wherein, touch controlled key is essentially touch panel.The shell in electronic equipment can be arranged in the touch panel
On, wherein the front of button touch panel, which is used to press for user, generates deformation, and the back side of button touch panel is provided with pressure
Sensing element.
In one embodiment, the pressing force transmitted from button touch panel can be obtained, and is preset when pressing force is more than
Trigger signal is sent out when value, board receiver trigger signal simultaneously generates corresponding control signal with control electronics.Wherein, on
Stating and being directed to the preset value of pressing force is demarcated according to many experiments, is to belong to false triggering for defining current press power, still
Belong to user to be intended to independently trigger according to operation, when the pressure that pressure responsive element senses is more than the preset value, then to pressing
Pressure carries out corresponding response operation, when the pressure of pressure responsive element induction is not more than the preset value, then it is assumed that current triggering
For false triggering, such as the triggering etc. that is squeezed for the cloth in pocket, to not to the pressing force-responsive.
As a kind of possible realization method, a full-bridge electricity which can be made of four resistance
Road forms, to be set to the full-bridge circuit at the electronic equipment touch panel back side by this, in the depressed power of touch panel
When generating small deformation, bridge resistor judges the size for applying pressing force according to the variation of a pair of of resistance voltage difference of the two ends.
In the present embodiment, as shown in Fig. 2, when full-bridge circuit is by the identical varistor R1 of end to end resistance value, electricity
When hindering R2, resistance R3 and resistance R4 compositions, when varistor does not have depressed force effect, all resistance values are in electric bridge
Equal, the resistance value of two opposite resistance increases, and the resistance value of other two resistance will reduce, to turn the variable quantity of voltage
It is changed to corresponding voltage value, to know the size of pressing force according to the variation of voltage value.
For example, as shown in figure 3, when the value of the resistance of resistance R2 and resistance R3 receives pressing force and reduces 1%, electricity
The value of resistance R1 and resistance R4 then increases by 1%, then two " in " voltage value between point will become 2% from 0, it in turn, can be by the electricity
Amplified sensor output voltage is converted to number by pressure value by ADC in turn by the level of enhanced processing to suitable ADC
Formula, then the controller in circuit board or DSP processing are given, know current pressing force.
Step S102, judges whether pressure value is more than preset pressure value, if so, S103 is thened follow the steps, if it is not, then terminating
Flow.
Wherein, above-mentioned preset pressure value is the second preset pressure value, and the preset value in step S101 is the first preset pressure
Value, second preset pressure value are more than the first preset pressure value.It should be noted that above-mentioned first preset pressure value is to judge to touch
The standard value that whether is pressed of control button, when the pressure that pressure responsive element senses is more than first preset value, then to pressing
Power carries out corresponding response operation, to execute corresponding terminal function.And the second preset pressure value in the step be then for
The standard value whether touch controlled key is pressed energetically is judged, when to be more than this second default for the pressure that pressure responsive element senses
Value then further executes step S103, judges that touch controlled key is not pressed energetically if being less than.
For example, when detecting that user is directed to the touch operation of touch controlled key, the pressure value F of touch operation is obtained,
If pressure value F is less than the first preset pressure value F1, then it is assumed that current triggering is false triggering, such as the cloth in pocket by
The triggering etc. of extruding, to not to the pressing force-responsive;If pressure value F is more than the first preset pressure value F1 and is less than second in advance
If pressure value F2, then the corresponding terminal function of the touch controlled key is executed, for example takes pictures, adjusts the functions such as volume;If pressure value F
More than the second preset pressure value F2, it is determined that user is to press the touch controlled key energetically, then can further execute step S103.
Step S103 generates instant alarming information.
If it is determined that the pressure value of touch operation is more than preset pressure value, then meet the emergency alarm condition of the application, automatically
Generate warning message.In one embodiment, it is the operation on electronic equipment backstage, not display and screen to generate instant alarming information
In curtain, for example warning message is automatically generated in the case where putting out screen state, no screen is bright and the behavior to see the mobile phone of bowing causes to draw
Kidnapper's note that alarm behavior is more covert is played, threat degree of the scene for personal safety is reduced.
Instant alarming information is sent to preset associated account number by step S104.
In one embodiment, the associated account number of warning message can be pre-set, the account of above-mentioned alert information correlation can
Think one, for example be mother, or is multiple.Wherein, the associated account number includes multiple types, such as:Telephone number, i.e.
When communication software, and/or appointed website.
For example, if for example, associated account number be telephone number, can be by warning message in a manner of short message or multimedia message
It is sent to the telephone number.For another example, if associated account number is wechat number, warning message is sent out in a manner of real-time messages
It send to the wechat number.For another example, the appointed website is the alarm website of public security organ, then by warning message with attachment
Mode sends and is uploaded to the alarm website.
In the embodiment of the present application, above-mentioned electronic equipment can be any intelligent electronic device with communication function, such as:
Mobile phone, tablet computer (Tablet Personal Computer), laptop computer (Laptop Computer), individual digital
Assistant (personal digital assistant, abbreviation PDA), mobile Internet access device (Mobile Internet Device,
) or wearable device (Wearable Device) etc. MID.
From the foregoing, it will be observed that the embodiment of the present application can obtain and touch when detecting that user is directed to the touch operation of touch controlled key
The pressure value for touching operation, judges whether pressure value is more than preset pressure value, if more than, then instant alarming information is generated, it will be instant
Warning message is sent to preset associated account number.The embodiment of the present application can be set by clicking electronics energetically under special circumstances
Standby upper touch controlled key just can generate warning message, and can be sent to preset associated account number, operate the action of mobile terminal
It is small, it is hidden and quick, to the mode that criminal cannot find.Therefore, the present invention not only operates more easy, and
And user time can be greatlyd save, the efficiency of information transmission can be improved.
According to the description of a upper embodiment, illustrate the method for sending information of the application by further below.
Referring to Fig. 4, Fig. 4 is the flow diagram of another method for sending information provided by the embodiments of the present application, including
Following steps:
Step S201, detection user are directed to the touch operation of touch controlled key.
In embodiments of the present invention, electronic equipment includes touch controlled key, and user can be with for the operation of touch controlled key triggering
It is pressing operation or slide etc..In one embodiment, can pressure responsive element be set at the back side of the touch controlled key,
By the circuit board electrical connection of pressure responsive element and electronic equipment, pressure responsive element detects the pressing transmitted from touch controlled key
Power, and trigger signal is sent out when pressing force is more than preset value, in turn, circuit board generates corresponding according to the trigger signal of reception
Signal is controlled with control electronics.Wherein, touch controlled key is essentially touch panel.The touch panel can be arranged in electronics
On the shell of equipment, wherein the front of button touch panel, which is used to press for user, generates deformation, the back side of button touch panel
It is provided with pressure responsive element.
Step S202 judges whether touch operation is single-click operation, if so, S203 is thened follow the steps, if it is not, then terminating to flow
Journey.
In one embodiment, the condition that warning message can be sent using single-click operation as triggering, because actually using
During, the above-mentioned touch operation for touch controlled key may include click, double click, slide etc., therefore, be sent to be promoted
The accuracy of warning message can further judge whether above-mentioned touch operation is single-click operation, and alarm is sent if so, meeting
The condition of information, if it is not, need not then send warning message.
In other embodiments, it can also judge whether above-mentioned touch operation is double click operation, if so, thening follow the steps
S203, if it is not, then terminating flow.
Step S203 obtains the pressure value of touch operation and judges whether pressure value is more than preset pressure value, if more than then
It executes step S204 and terminates flow if being not more than.
Wherein, above-mentioned preset pressure value is the second preset pressure value, and the preset value in step S201 is the first preset pressure
Value, second preset pressure value are more than the first preset pressure value.It should be noted that above-mentioned first preset pressure value is to judge to touch
The standard value that whether is pressed of control button, when the pressure that pressure responsive element senses is more than first preset value, then to pressing
Power carries out corresponding response operation, to execute corresponding terminal function.And the second preset pressure value in the step be then for
The standard value whether touch controlled key is pressed energetically is judged, when to be more than this second default for the pressure that pressure responsive element senses
Value then further executes step S204, judges that touch controlled key is not pressed energetically if being less than.
For example, when detecting that user is directed to the touch operation of touch controlled key, the pressure value F of touch operation is obtained,
If pressure value F is less than the first preset pressure value F1, then it is assumed that current triggering is false triggering, such as the cloth in pocket by
The triggering etc. of extruding, to not to the pressing force-responsive;If pressure value F is more than the first preset pressure value F1 and is less than second in advance
If pressure value F2, then the corresponding terminal function of the touch controlled key is executed, for example takes pictures, adjusts the functions such as volume;If pressure value F
More than the second preset pressure value F2, it is determined that user is to press the touch controlled key energetically, then can further execute step S204.
Step S204, the pressure value for obtaining touch operation is more than the duration of preset pressure value, and judges duration
Whether preset duration is more than, if more than thening follow the steps S205, if being not more than, terminating current process.
In actual use, in view of some special circumstances also can make electronic equipment meet above-mentioned condition, and cause
User has sent warning message in the case of being unwilling, causes unnecessary fear.For example electronic equipment is from eminence when dropping, just
Well so that touch controlled key touches ground, to make touch controlled key receive a larger pressure, which is likely larger than pre-
If pressure value, electronic equipment will automatically generate warning message and send at this time.
Therefore, in the present embodiment, it is further to promote the accuracy for sending warning message, when can also preset one
Long, for example can be 2 seconds, only when the pressure value that user presses the touch controlled key is more than preset pressure value, and what is pressed continues
When duration is more than 2 seconds, determines the condition for meeting and sending warning message, further execute step S205, otherwise terminate current process.
Step S205 obtains the current location information of electronic equipment.
Wherein, above-mentioned location information can be latitude and longitude coordinates, and in one embodiment, the acquisition location information can be with
It specifically includes:Utilize global positioning system (Global Positioning System, GPS), base station location (Location
Based Service, LBS) or auxiliary global satellite positioning system (Assisted Global Positioning System,
AGPS current address coordinate) is obtained.Wherein, the AGPS is newest Mobile Location Technology, by the way that exclusive auxiliary is arranged
Location-server, in conjunction with mobile phone base station, and the traditional GPS satellite of cooperation, triplicity allow positioning speed faster, precision more
It is high.
Step S206 generates instant alarming information according to location information.
In one embodiment, warning message can be generated in the form of word, which may include location information,
For example " cities the Wo XX roads XX XX cells encounter danger, and the alarm that please hasten rescues me." in one embodiment, generate instant alarming letter
Breath in the operation on electronic equipment backstage, display for example automatically generates warning message in screen in the case where putting out screen state,
There is no screen bright and the behavior to see the mobile phone of bowing causes to cause kidnapper's note that alarm behavior is more covert, it is live right to reduce
In the threat degree of personal safety.
In one embodiment, the generation instant alarming information can also include:
Current image information is obtained by the camera of electronic equipment;And
Current audio-frequency information is obtained by the microphone of electronic equipment;
Instant alarming information is generated according to image information and audio-frequency information.
In this embodiment, the photo and audio-frequency information for further obtaining electronic equipment current environment, contribute to pair in this way
Square user will appreciate that the environment that this end subscriber is presently in, convenient expansion rescue faster.
Instant alarming information is sent to preset associated account number by step S207.
In one embodiment, the associated account number of warning message can be pre-set, the account of above-mentioned alert information correlation can
Think one, for example be mother, or is multiple.Wherein, the associated account number includes multiple types, such as:Telephone number, i.e.
When communication software, and/or appointed website.
From the foregoing, it will be observed that the embodiment of the present application can detect the touch operation that user is directed to touch controlled key, touch operation is judged
Whether it is single-click operation, if single-click operation, then obtains the pressure value of touch operation and judge whether pressure value is more than default pressure
Force value, if more than preset pressure value, then the pressure value for obtaining touch operation is more than the duration of preset pressure value, and judges to hold
Whether continuous duration then obtains the current location information of electronic equipment, is believed according to position more than preset duration if more than preset duration
Breath generates instant alarming information, and instant alarming information is sent to preset associated account number.The embodiment of the present application can be special
In the case of, warning message just can be generated by clicking the touch controlled key on electronic equipment energetically, and preset association can be sent to
Account, the action for operating mobile terminal is small, hidden and quick, to the mode that criminal cannot find.Therefore,
The present invention not only operates more easy, but also can greatly save user time, can improve the efficiency of information transmission.
For the ease of preferably implementing method for sending information provided by the embodiments of the present application, the embodiment of the present application also provides
A kind of device based on above- mentioned information sending method.Wherein the meaning of noun is identical with above- mentioned information sending method, specific real
Existing details can be with the explanation in reference method embodiment.
Referring to Fig. 5, Fig. 5 is a kind of structural schematic diagram of information transmitting apparatus provided by the embodiments of the present application, the information
Sending device 30 is applied to electronic equipment, and the electronic equipment has shell, touch-control is provided on the shell of the electronic equipment
Button, including:First acquisition module 301, the first judgment module 302, generation module 303 and sending module 304;
First acquisition module 301, for when detecting that user is directed to the touch operation of the touch controlled key, obtaining
The pressure value of the touch operation;
First judgment module 302, for judging whether the pressure value is more than preset pressure value;
The generation module 303, for when first judgment module 302 is judged as YES, generating instant alarming information;
The sending module 304, for the instant alarming information to be sent to preset associated account number.
With continued reference to Fig. 6, in an embodiment, first acquisition module 301 specifically includes:Judging submodule
3011 and first acquisition submodule 3012;
The judging submodule 3011, for when detecting that user is directed to the touch operation of the touch controlled key, judging
Whether the touch operation is single-click operation;
First acquisition submodule 3012, for when the judging submodule 3011 is judged as YES, obtaining described touch
Touch the pressure value of operation.
In one embodiment, the generation module 303, specifically includes:Second acquisition submodule 3031 and generation submodule
3032;
Second acquisition submodule 3031, the location information current for obtaining the electronic equipment;
The generation submodule 3032, for generating instant alarming information according to the positional information.
In one embodiment, as shown in fig. 7, described device 30 can also include:Second acquisition module 305 and second judges
Module 306;
Second acquisition module 305, for judging that the pressure value is more than default pressure in first judgment module 302
After force value, the pressure value for obtaining the touch operation is more than the duration of preset pressure value;
Second judgment module 306, for judging whether the duration is more than preset duration;
The generation module 303, specifically for when second judgment module 306 is judged as YES, generating instant alarming
Information.
From the foregoing, it will be observed that information transmitting apparatus 30 provided by the embodiments of the present application can be directed to touch controlled key when detecting user
Touch operation when, obtain the pressure value of touch operation, judge pressure value whether be more than preset pressure value, if more than then generating
Instant alarming information is sent to preset associated account number by instant alarming information.The embodiment of the present application can under special circumstances,
Warning message just can be generated by clicking the touch controlled key on electronic equipment energetically, and preset associated account number can be sent to,
The action for operating mobile terminal is small, hidden and quick, to the mode that criminal cannot find.Therefore, the present invention is not
It only operates more easy, and user time can be greatlyd save, the efficiency of information transmission can be improved.
The application also provides a kind of storage medium, is stored thereon with computer program, which is characterized in that the computer journey
The method for sending information that implementation method embodiment provides when sequence is executed by processor.
The application also provides a kind of electronic equipment, including:
Shell;
Sensor, setting is on the housing;
Processor, the processor are of coupled connections with the sensor, and the sensor is for detecting user for described
The touch operation of touch controlled key, the processor are used to obtain the pressure value of the touch operation, whether judge the pressure value
More than preset pressure value, if more than then generating instant alarming information, the instant alarming information being sent to preset association account
Number.
A kind of electronic equipment is also provided in the another embodiment of the application, which can be smart mobile phone, tablet
Apparatus such as computer.As shown in figure 8, electronic equipment 400 includes processor 401, memory 402.Wherein, processor 401 and storage
Device 402 is electrically connected.
Processor 401 is the control centre of electronic equipment 400, utilizes various interfaces and the entire electronic equipment of connection
Various pieces by the application program of operation or load store in memory 402, and are called and are stored in memory 402
Data, execute electronic equipment various functions and processing data, to electronic equipment carry out integral monitoring.
In the present embodiment, processor 401 in electronic equipment 400 can according to following step, by one or one with
On the corresponding instruction of process of application program be loaded into memory 402, and be stored in memory by processor 401 to run
Application program in 402, to realize various functions:
When detecting that user is directed to the touch operation of the touch controlled key, the pressure value of the touch operation is obtained;
Judge whether the pressure value is more than preset pressure value;
If more than then generating instant alarming information;
The instant alarming information is sent to preset associated account number.
Referring to Fig. 9, electronic equipment 10 may include control circuit, which may include storage and processing circuit
30.The storage and processing circuit 30 can with memory, such as hard drive memory, nonvolatile memory (such as flash memory or
Be used to form other electrically programmable read only memories etc. of solid state drive), volatile memory (such as either statically or dynamically with
Machine accesses memory etc.) etc., the embodiment of the present application is not restricted.Processing circuit in storage and processing circuit 30 can be used for controlling
The operating of electronic equipment 10 processed.The processing circuit can microprocessor based on one or more, microcontroller, Digital Signal Processing
Device, baseband processor, power management unit, audio codec chip, application-specific integrated circuit, display-driver Ics etc.
To realize.
Storage and processing circuit 30 can be used for running the software in electronic equipment 10, such as the Internet browser application program,
Voice over internet protocol (Voice over Internet Protocol, VOIP) call application program, Email are answered
With program, media play-back application, operation system function etc..These softwares can be used for executing some control operations, for example,
Image Acquisition based on camera, the ambient light measurement based on ambient light sensor, the proximity sensor based on proximity sensor
It measures, the information display function that the positioning indicators such as status indicator lamp based on light emitting diode are realized is passed based on touching
The touch event of sensor detects, function associated with information show on multiple (such as layering) displays, with execution nothing
The associated operation of line communication function, operation associated with collecting and generating audio signal, presses with collection and treatment button
Other functions etc. in the associated control operation of event data and electronic equipment 10, the embodiment of the present application is not restricted.
Electronic equipment 10 can also include input-output circuit 42.Input-output circuit 42 can be used for making electronic equipment 10
It realizes outputting and inputting for data, that is, electronic equipment 10 is allowed to allow electronic equipment 10 that will count from outer equipment receiving data and also
According to from the output of electronic equipment 10 to external equipment.Input-output circuit 42 may further include sensor 32.Sensor 32 can
To include ambient light sensor, the proximity sensor based on light and capacitance, touch sensor is (for example, be based on light touch sensor
And/or capacitive touch sensors, wherein touch sensor can be a part for touching display screen, can also be used as one
Touch sensor arrangement independently uses), acceleration transducer and other sensors etc..
Input-output circuit 42 can also include one or more displays, such as display 14.Display 14 can wrap
Include liquid crystal display, organic light emitting diode display, electronic ink display, plasma display uses other display skills
One or several kinds of combination in the display of art.Display 14 may include touch sensor array (that is, display 14 can be with
It is touching display screen).Touch sensor can be by transparent touch sensor electrode (such as tin indium oxide (ITO) electrode) battle array
The capacitive touch sensors formed are arranged, or can be the touch sensor formed using other touching techniques, such as sound wave
Touch-control, pressure sensible touch, resistive touch, optical touch etc., the embodiment of the present application is not restricted.
Electronic equipment 10 can also include audio component 36.Audio component 36 can be used for providing audio for electronic equipment 10
Output and input function.Audio component 36 in electronic equipment 10 may include loud speaker, microphone, buzzer, tone generation
Device and other components for generating and detecting sound.
Telecommunication circuit 38 can be used for providing the ability with external device communication for electronic equipment 10.Telecommunication circuit 38 can be with
Radio communication circuit including analog- and digital- input-output interface circuit, and based on radiofrequency signal and/or optical signal.Communication
Radio communication circuit in circuit 38 may include radio-frequency transceiver circuitry, power amplifier circuit, low-noise amplifier, open
Pass, filter and antenna.For example, the radio communication circuit in telecommunication circuit 38 may include for by transmitting and reception
Near-field coupling electromagnetic signal supports the circuit of near-field communication (Near Field Communication, NFC).For example, communication
Circuit 38 may include near-field communication aerial and near-field communication transceiver.Telecommunication circuit 38 can also include cellular telephone transceiver
And antenna, wireless lan transceiver circuit and antenna etc..
Electronic equipment 10 can further include battery, power management circuitry and other input-output units 40.It is defeated
Enter-output unit 40 may include button, control stick, click wheel, scroll wheel, touch tablet, keypad, keyboard, camera shines
Diode and other positioning indicators etc..
User can input a command for the operation of control electronics 10 by input-output circuit 42, and can make
With the output data of input-output circuit 42 status information and other outputs from electronic equipment 10 are received to realize.
When it is implemented, the above modules can be realized as independent entity, arbitrary combination can also be carried out, is made
It is realized for same or several entities, the specific implementation of the above modules can be found in the embodiment of the method for front, herein not
It repeats again.
It should be noted that one of ordinary skill in the art will appreciate that whole in the various methods of above-described embodiment or
Part steps are relevant hardware can be instructed to complete by program, which can be stored in computer-readable storage medium
It in matter, is such as stored in the memory of terminal, and is executed by least one processor in the terminal, can be wrapped in the process of implementation
Include the flow of the embodiment such as method for sending information.Wherein, storage medium may include:Read-only memory (ROM, Read Only
Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
A kind of method for sending information provided by the embodiments of the present application, device, storage medium and electronic equipment are carried out above
It being discussed in detail, each function module can be integrated in a processing chip, can also be that modules physically exist alone,
Can also two or more modules be integrated in a module.The form that hardware had both may be used in above-mentioned integrated module is real
It is existing, it can also be realized in the form of software function module.Used herein principle and implementation of the specific case to the application
Mode is expounded, the description of the example is only used to help understand the method for the present application and its core ideas;Meanwhile
For those skilled in the art, according to the thought of the application, change is had in specific embodiments and applications
Place, in conclusion the contents of this specification should not be construed as limiting the present application.
Claims (11)
1. a kind of method for sending information, is applied to electronic equipment, the electronic equipment has shell, the shell of the electronic equipment
On be provided with touch controlled key, which is characterized in that include the following steps:
When detecting that user is directed to the touch operation of the touch controlled key, the pressure value of the touch operation is obtained;
Judge whether the pressure value is more than preset pressure value;
If more than then generating instant alarming information;
The instant alarming information is sent to preset associated account number.
2. method for sending information according to claim 1, which is characterized in that described to detect that user is directed to the touch-control
When the touch operation of button, the pressure value of the touch operation is obtained, including:
When detecting that user is directed to the touch operation of the touch controlled key, judge whether the touch operation is single-click operation;
If so, the step of executing the pressure value for obtaining the touch operation.
3. method for sending information according to claim 1, which is characterized in that determining the pressure value more than preset pressure
After value, before generating instant alarming information, the above method further includes:
The pressure value for obtaining the touch operation is more than the duration of preset pressure value;
Judge whether the duration is more than preset duration;
If so, executing the step of generating instant alarming information.
4. method for sending information according to claim 1, which is characterized in that the generation instant alarming information, including:
Obtain the current location information of the electronic equipment;
Instant alarming information is generated according to the positional information.
5. method for sending information according to claim 1, which is characterized in that the generation instant alarming information, including:
Current image information is obtained by the camera of the electronic equipment;And
Current audio-frequency information is obtained by the microphone of the electronic equipment;
Instant alarming information is generated according to described image information and the audio-frequency information.
6. a kind of information transmitting apparatus, is applied to electronic equipment, the electronic equipment has shell, the shell of the electronic equipment
On be provided with touch controlled key, which is characterized in that including:First acquisition module, the first judgment module, generation module and transmission mould
Block;
First acquisition module, for when detecting that user is directed to the touch operation of the touch controlled key, obtaining described touch
Touch the pressure value of operation;
First judgment module, for judging whether the pressure value is more than preset pressure value;
The generation module, for when first judgment module is judged as YES, generating instant alarming information;
The sending module, for the instant alarming information to be sent to preset associated account number.
7. information transmitting apparatus according to claim 6, which is characterized in that first acquisition module, including:Judge son
Module and the first acquisition submodule;
The judging submodule, for when detecting that user is directed to the touch operation of the touch controlled key, judging the touch
Whether operation is single-click operation;
First acquisition submodule, for when the judging submodule is judged as YES, obtaining the pressure of the touch operation
Value.
8. information transmitting apparatus according to claim 6, which is characterized in that described device further includes:Second acquisition module
With the second judgment module;
Second acquisition module is used for after first judgment module judges that the pressure value is more than preset pressure value,
The pressure value for obtaining the touch operation is more than the duration of preset pressure value;
Second judgment module, for judging whether the duration is more than preset duration;
The generation module, specifically for when second judgment module is judged as YES, generating instant alarming information.
9. information transmitting apparatus according to claim 6, which is characterized in that the generation module, including:Second obtains son
Module and generation submodule;
Second acquisition submodule, the location information current for obtaining the electronic equipment;
The generation submodule, for generating instant alarming information according to the positional information.
10. a kind of storage medium, is stored thereon with computer program, which is characterized in that the computer program is held by processor
It is realized when row such as the step of any one of claim 1-5 the method.
11. a kind of electronic equipment, including:
Shell;
Sensor, setting is on the housing;
Processor, the processor are of coupled connections with the sensor, which is characterized in that the sensor is for detecting user's needle
Touch operation to the touch controlled key, the processor are used to obtain the pressure value of the touch operation, judge the pressure
Whether value is more than preset pressure value, if more than then generating instant alarming information, the instant alarming information being sent to preset
Associated account number.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810394899.8A CN108566493A (en) | 2018-04-27 | 2018-04-27 | Method for sending information, device, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810394899.8A CN108566493A (en) | 2018-04-27 | 2018-04-27 | Method for sending information, device, storage medium and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108566493A true CN108566493A (en) | 2018-09-21 |
Family
ID=63537255
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810394899.8A Pending CN108566493A (en) | 2018-04-27 | 2018-04-27 | Method for sending information, device, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108566493A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110213447A (en) * | 2019-06-17 | 2019-09-06 | 珠海格力电器股份有限公司 | Alarm control method, mobile terminal and computer readable storage medium |
CN110621060A (en) * | 2019-09-29 | 2019-12-27 | 芯海科技(深圳)股份有限公司 | Electronic equipment, control method and control device thereof, and storage medium |
CN110737330A (en) * | 2019-09-06 | 2020-01-31 | 北京小米移动软件有限公司 | Method and device for reminding abnormal travel and storage medium |
CN111623863A (en) * | 2020-04-16 | 2020-09-04 | 中山乐心电子有限公司 | Electronic scale control method and electronic scale |
CN112527145A (en) * | 2020-12-04 | 2021-03-19 | 成都颜创启新信息技术有限公司 | Request method, terminal device, request device and readable storage medium |
CN113747411A (en) * | 2018-11-15 | 2021-12-03 | Oppo(重庆)智能科技有限公司 | Method for asking for help in emergency, related device, medium and program product |
CN113744435A (en) * | 2021-08-27 | 2021-12-03 | 广东好太太智能家居有限公司 | Electronic lock, electronic lock system and electronic lock control method |
CN113949769A (en) * | 2021-10-14 | 2022-01-18 | 赵赫 | Hidden convenient touch alarm software and hardware combination method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104252775A (en) * | 2013-12-20 | 2014-12-31 | 上海通富立信息科技有限公司 | Real-time video and voice emergency warning device and method thereof |
CN104821068A (en) * | 2015-03-27 | 2015-08-05 | 努比亚技术有限公司 | Mobile terminal real-time antitheft alarm method and apparatus |
EP3113466A1 (en) * | 2015-06-29 | 2017-01-04 | Xiaomi Inc. | Method and device for warning |
CN106850907A (en) * | 2017-02-17 | 2017-06-13 | 广东欧珀移动通信有限公司 | Mobile terminal shell component and mobile terminal with button |
CN107819940A (en) * | 2017-10-25 | 2018-03-20 | 东莞市爱黔粤机电技术有限公司 | A kind of method of mobile terminal emergency alarm |
-
2018
- 2018-04-27 CN CN201810394899.8A patent/CN108566493A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104252775A (en) * | 2013-12-20 | 2014-12-31 | 上海通富立信息科技有限公司 | Real-time video and voice emergency warning device and method thereof |
CN104821068A (en) * | 2015-03-27 | 2015-08-05 | 努比亚技术有限公司 | Mobile terminal real-time antitheft alarm method and apparatus |
EP3113466A1 (en) * | 2015-06-29 | 2017-01-04 | Xiaomi Inc. | Method and device for warning |
CN106850907A (en) * | 2017-02-17 | 2017-06-13 | 广东欧珀移动通信有限公司 | Mobile terminal shell component and mobile terminal with button |
CN107819940A (en) * | 2017-10-25 | 2018-03-20 | 东莞市爱黔粤机电技术有限公司 | A kind of method of mobile terminal emergency alarm |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113747411A (en) * | 2018-11-15 | 2021-12-03 | Oppo(重庆)智能科技有限公司 | Method for asking for help in emergency, related device, medium and program product |
CN110213447A (en) * | 2019-06-17 | 2019-09-06 | 珠海格力电器股份有限公司 | Alarm control method, mobile terminal and computer readable storage medium |
CN110737330A (en) * | 2019-09-06 | 2020-01-31 | 北京小米移动软件有限公司 | Method and device for reminding abnormal travel and storage medium |
CN110621060A (en) * | 2019-09-29 | 2019-12-27 | 芯海科技(深圳)股份有限公司 | Electronic equipment, control method and control device thereof, and storage medium |
CN111623863A (en) * | 2020-04-16 | 2020-09-04 | 中山乐心电子有限公司 | Electronic scale control method and electronic scale |
CN112527145A (en) * | 2020-12-04 | 2021-03-19 | 成都颜创启新信息技术有限公司 | Request method, terminal device, request device and readable storage medium |
CN113744435A (en) * | 2021-08-27 | 2021-12-03 | 广东好太太智能家居有限公司 | Electronic lock, electronic lock system and electronic lock control method |
CN113949769A (en) * | 2021-10-14 | 2022-01-18 | 赵赫 | Hidden convenient touch alarm software and hardware combination method |
CN113949769B (en) * | 2021-10-14 | 2023-01-06 | 赵赫 | Hidden convenient touch alarm software and hardware combination method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108566493A (en) | Method for sending information, device, storage medium and electronic equipment | |
KR20200027554A (en) | Speech recognition method and apparatus, and storage medium | |
WO2014201863A1 (en) | Volume adjusting method, volume adjusting apparatus and electronic device using the same | |
US9431983B2 (en) | Volume adjusting method, volume adjusting apparatus and electronic device using the same | |
CN108549519A (en) | split screen processing method, device, storage medium and electronic equipment | |
CN109634430A (en) | Message prompt method, device, electronic equipment and storage medium | |
CN108519834A (en) | Method for displaying image, device, storage medium and electronic equipment | |
CN108704308A (en) | Control method, device, storage medium and the electronic equipment of shooting game | |
CN108595093A (en) | Camera control method, device, storage medium and electronic equipment | |
CN111913620A (en) | Notification message display method and device, storage medium and mobile terminal | |
CN109032732A (en) | Notify display methods, device, storage medium and electronic equipment | |
CN108646948B (en) | Method and device for adjusting sensitivity of touch key, storage medium and electronic equipment | |
CN108733299A (en) | Using split screen method, apparatus, storage medium and electronic equipment | |
CN108712555A (en) | A kind of method and device sending warning message | |
CN108563393A (en) | device parameter adjusting method, device, storage medium and electronic equipment | |
CN108769401A (en) | Signal detecting method and related product | |
CN108664206A (en) | Information processing method, device, storage medium and electronic equipment | |
CN108595105A (en) | Light filling lamp control method, device, storage medium and electronic equipment | |
EP2789154B1 (en) | Cellular telephone and computer program comprising means for generating and sending an alert | |
JP6974620B2 (en) | Notification message processing method and terminal | |
CN109688611A (en) | A kind of configuration method, device, terminal and the storage medium of frequency range parameter | |
CN109857300A (en) | Multimedia service providing method and device | |
CN109032344A (en) | Location processing method and Related product | |
CN109359453B (en) | Unlocking method and related product | |
CN108121227A (en) | Falling protection method and related product |
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: 20180921 |