CN105718179B - Information processing method and device - Google Patents
Information processing method and device Download PDFInfo
- Publication number
- CN105718179B CN105718179B CN201610038367.1A CN201610038367A CN105718179B CN 105718179 B CN105718179 B CN 105718179B CN 201610038367 A CN201610038367 A CN 201610038367A CN 105718179 B CN105718179 B CN 105718179B
- Authority
- CN
- China
- Prior art keywords
- information
- knocking
- instruction
- terminal
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- 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/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
Abstract
The present invention provides a kind of information processing method and device, which includes: to receive the knocking of user on the terminal when the current screen for detecting terminal is in information interface;Default knocking sample corresponding with the knocking is searched in the preset database;If finding default knocking sample corresponding with the knocking in the presetting database, information editing's instruction corresponding with the knocking sample is obtained;Corresponding edit operation is carried out to the information in the information display interface according to information editing instruction.Information processing method and device of the invention, due to conveniently and efficiently being edited to information by knocking, to improve treatment effeciency and QoS of customer.
Description
Technical field
The present invention relates to field of terminal technology, more particularly to a kind of information processing method and device.
Background technique
When user's using terminal checks short message at present, short message can only be deleted, searched for or be forwarded, but work as user
When the short message received is more, user want important short message is labeled, for example label perhaps setting remind item or
The operation such as top set, existing information display interface are unable to satisfy the demand of user.It can be seen that existing information display interface can
The processing function of offer is relatively simple.
And existing short message function of search, the top for needing to slide into information interface could show search box, existing
Short message is deleted and forwarding capability, it is also desirable to which entering deletion interface just can be carried out deletion or forwarding operation, it is seen that existing information
Processing method operation is comparatively laborious, to reduce QoS of customer.
Summary of the invention
The embodiment of the present invention provides a kind of information processing method and device, to solve the information processing function ratio of existing terminal
More single and operation is comparatively laborious, thus the technical issues of reducing QoS of customer.
To solve the above problems, technical solution provided by the invention is as follows:
The embodiment of the present invention provides a kind of information processing method comprising:
When the current screen for detecting terminal is in information interface, the knocking of user on the terminal is received;
Default knocking sample corresponding with the knocking is searched in the preset database;
If finding default knocking sample corresponding with the knocking in the presetting database, obtain
Information editing corresponding with the knocking sample is taken to instruct;
Corresponding edit operation is carried out to the information in the information display interface according to information editing instruction.
The embodiment of the present invention also provides a kind of information processing unit comprising:
Receiving module, for when the current screen for detecting terminal is in information interface, receiving user in the terminal
On knocking;
Searching module, for searching default knocking sample corresponding with the knocking in the preset database;
Module is obtained, finds default percussion letter corresponding with the knocking in the presetting database for working as
When number sample, obtains information editing corresponding with the knocking sample and instruct;
Editor module, it is corresponding for being carried out according to information editing instruction to the information in the information display interface
Edit operation.
Compared to the prior art, the information processing method and device of the present embodiment, at the current screen for detecting terminal
When information interface, the knocking of user on the terminal is received;Corresponding information editing is obtained according to the knocking to refer to
It enables;Corresponding edit operation is carried out to the information in the information display interface according to information editing instruction;It can be according to reception
The knocking arrived generates information editing's instruction, easy to operate, improves QoS of customer.
Detailed description of the invention
Fig. 1 is the flow chart for the information processing method that the embodiment of the present invention one provides;
Fig. 2 is the structural schematic diagram for the signal processing apparatus that the embodiment of the present invention one provides;
Fig. 3 is the flow chart of information processing method provided by Embodiment 2 of the present invention;
Fig. 4 is the flow chart for the information processing method that the embodiment of the present invention three provides;
Fig. 5 is the structural schematic diagram for the information processing unit that the embodiment of the present invention four provides.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those skilled in the art's every other implementation obtained without creative efforts
Example, shall fall within the protection scope of the present invention.
Fig. 1 is please referred to, Fig. 1 is the flow chart for the information processing method that the embodiment of the present invention one provides.
The information processing method of this preferred embodiment, comprising:
Step S101 receives user's striking on the terminal when the current screen for detecting terminal is in information interface
Hit signal;
For example, whether detection user is tapped at the terminal with hand when terminal monitoring opens information interface to user, with
The knocking is obtained, microphone, receiver or the loudspeaker that can be carried by terminal detect the knocking, the end
End can be the equipment such as mobile phone, tablet computer.
Certainly, the step of avoiding maloperation to improve, receiving the knocking of user on the terminal further include:
(1) vibration signal in the terminal is obtained;
(2) judge whether the vibration signal is vibration signal of the user by percussion terminal generation;
(3) if it is, determining that the vibration signal is the knocking.
The knocking is to be generated according to user by tapping the vibration signal generated, for example, having when listening to terminal
When music or video playing, terminal receives the vibration signal of user at the terminal, whether judges the vibration signal later
It is user by tapping the vibration signal generated, if it is, determining that the vibration signal is the knocking;
Specifically, the tapping operation of user can be also possible to utilize in the present embodiment to click directly on terminal with finger
Other hard objects, for example with penholder, key etc., click terminal.
It is propagated since the hammer action time is very of short duration, and by the solid of equipment, therefore, terminal is tapped by user and produced
Raw vibration signal is a kind of special vibration signal, the vibration signal generated with terminal by other active forces, or end
The vibration signal that the external vibration source of end transmitting generates is not identical.The vibration signal for tapping and generating is analyzed from electrical point, such as
The vibration signal that will hit against generation is converted into digital signal, carries out digital processing analysis to the digital signal, it can be deduced that following
Analyze result:
From the point of view of signal time, the signal duration duration is very short (millisecond rank);From signal amplitude size ratio
From the point of view of relatively, the level of the digital signal is relatively large, (since vibration signal is solid propagation, and by terminal own propagation), than
The signal of the corresponding digital signal of General Oscillation signal is bigger by force;From the point of view of the frequency spectrum of signal, the entire number of frequency coverage
Signal frequency range, and the amplitude difference of each frequency is little.
Therefore, can be based on above-mentioned vibration signal corresponding digital signal the characteristics of, perhaps feature identification or judgement obtained
Whether the vibration signal got is user by tapping the vibration signal generated;Judge whether the vibration signal is user by striking
The detailed process for hitting the vibration signal of terminal generation can be with are as follows:
The vibration signal is converted into corresponding vibration digital signal;
Obtain the key feature information of the vibration digital signal;
Judge whether vibration signal is vibration signal of the user by percussion terminal generation according to the key feature information, than
Such as, which is converted by analog electrical signal by microphone, receiver or loudspeaker that terminal carries, it then, will
The analog electrical signal carries out analog-to-digital conversion (for example, converting by analog-digital converter), vibration digital signal is obtained, to the vibration number
It is believed that number progress digital processing (DSP), to obtain the vibration digital signal, key feature information, then, according to key feature
Information judges whether the vibration signal is knocking.For the ease of judgement, the present embodiment after obtaining analog electrical signal, into
Before row analog-to-digital conversion, processing can also be amplified to analog electrical signal, such as by PGA amplifier to the analog electrical signal
Amplify processing, wherein can be executed by dsp chip to the processing of digital signal.
Wherein, the key feature information for vibrating digital signal may include: frequency information (including frequency distribution, bandwidth
Degree etc.), at least one of amplitude information (including average amplitude) and temporal information (signal period), it is, of course, also possible to wrap
Include other characteristic informations.
In the present embodiment, it can be judged according to key feature information, for example, it is pre- to judge whether key feature information meets
If condition, if so, the vibration signal that the vibration signal generates for user by tapping the terminal is determined, otherwise, it is determined that the vibration
Dynamic signal is not the vibration signal that user is generated by tapping the terminal.
For example, judging the frequency respectively when key feature information includes: frequency information, amplitude information and temporal information
Whether rate information meets predeterminated frequency condition, and whether which meets default amplitude perturbations, and whether which meets
Preset time condition, wherein predeterminated frequency condition, default amplitude perturbations and preset time condition can be respectively according to default
The corresponding frequency information of digital signal, amplitude information, temporal information setting, the preset number signal are user by tapping the end
Hold the corresponding digital signal of vibration signal generated.The present embodiment is needing to judge it is default whether multiple key feature informations meet
Condition, come identify tap generate vibration signal when, for example, said frequencies information, amplitude information and temporal information are sentenced three times
It is disconnected, it can be identified based on multiple judging result, for example, just determining that vibration signal is when three judging results are to be
The vibration signal generated, i.e. knocking are tapped, alternatively, when having certain several judging result in multiple judging results is to be, really
Determining vibration signal is to tap the vibration signal generated, these can set according to the actual situation, the feelings that judging result is yes
Condition is more, and accuracy of identification is higher.
For example, judging whether vibration signal is that user taps eventually with the signal processing apparatus that Fig. 2 is somebody's turn to do to introduce the present embodiment
The detailed process of the vibration signal generated is held, which includes:
Microphone 201 is converted into simulation letter for being directed to the vibration signal of terminal by obtaining, and by the vibration signal
Number, specifically, when terminal is vibrated and generates vibration signal, the vibrating diaphragm in microphone 201 senses vibration signal, and all can be with
Vibrate together, the coil that vibrating diaphragm just will drive in microphone 201 does the movement of cutting magnetic line, to will generate in coil
Corresponding current signal, i.e. analog signal;Microphone realization can also be replaced in the present embodiment with receiver or loudspeaker
The course of work type of same function, the course of work and microphone, just repeats no more here.
Analog-to-digital conversion (A/D) module 202, the analog signal for exporting microphone 201 are converted into corresponding number letter
Number, so as to subsequent processing analysis.Certainly, due to there are many types of current microphone, such as electret microphone or silicon wheat
Gram wind etc. or even some microphones also include analog-to-digital conversion module, if in such cases, can save analog-to-digital conversion module 202.
Using rate conversion module 203, for according to circumstances adjusting the sample rate of digital signal, in order to reduce following digital point
The operation requirement of analysis, it is preferable that sample rate cannot be below 16Khz, and bit rate cannot be below 10bit, otherwise may impact analysis
Precision.
Fourier transform (FFT) module 204 is converted to frequency-domain analysis for carrying out Fourier transform to digital signal.
Time analysis module 205, for being carried out to the time of digital signal after digital signal carries out Fourier transform
Analysis, specifically, obtains the temporal information of digital signal, and judges whether the temporal information meets preset time requirement, for example,
The time cycle for obtaining digital signal judges the time cycle whether within the scope of preset period of time, if so, meeting default
Time requirement shows that the digital signal meets the time requirement for tapping the digital signal that terminal generates, and the digital signal is corresponding
Vibration signal, which is likely to be, taps the vibration signal that terminal generates.
In practical applications, it is dynamic to provide a percussion for the design feature of can be based on hammer action the characteristics of and terminal
The time cycle [T1, T2] of work, the explanation that goes beyond the scope is not normal hammer action;If it is meet hammer action feature when
Between, then export OK signal.The recorded audio signals analysis of mobile phone is tapped according to actual finger first, T1 is generally no greater than 5ms, and T2 is not more than
20ms。
Frequency analysis module 206 is used for analysis of frequency distribution, specifically, the frequency distribution of statistical data signal, and so
Afterwards, whether determination frequency distribution meets preset requirement, for example, frequency distribution is continuous and frequency band is broad, then it is assumed that the digital signal
Frequency distribution meet tap generate digital signal frequency distribution.From the point of view of actually comparison, especially 6Khz to most high frequency
Between rate (sample rate frequency ÷ 2), frequency distribution is continuous.
Amplitude analysis module 207 is analyzed for the amplitude to digital signal, specifically, analyzes the flat of entire frequency range
Equal range value, and judge whether the averaged amplitude value meets default amplitude requirement, for example, judging whether the averaged amplitude value is greater than
Otherwise default amplitude, is unsatisfactory for if so, meeting default amplitude requirement.
Identification module 208, for according to time analysis module 205, frequency analysis module 206 and amplitude analysis module
207 analysis result identification judges whether current vibration signal is vibration signal of the user by percussion terminal generation.
Step S102 searches default knocking sample corresponding with the knocking in the preset database;
For example, terminal is previously provided with database, which has multiple default knocking samples;Terminal is at this
It is searched and the matched default knocking sample of the knocking in database;It is matched if do not found with the knocking
Default knocking sample, then follow the steps S103;If found and the matched default knocking sample of the knocking
This, thens follow the steps S104;The default knocking sample can be preset times sample.
Step S103, when not finding default knocking sample corresponding with the knocking in the presetting database
This when, does not deal with.
For example, believing if terminal in the presetting database, is not found with the matched default percussion of the knocking
Number sample, then do not edit information.For the ease of reminding user, terminal can be with display reminding information, to remind user
Current knocking is invalid.
Step S104, when finding default knocking sample corresponding with the knocking in the presetting database
When, obtain information editing's instruction corresponding with the knocking sample;
For example, terminal is additionally provided in the presetting database presets the corresponding preset instructions of knocking sample with this;Such as
Fruit terminal is in the presetting database, when finding default knocking sample matched with the knocking, by the default percussion
The corresponding preset instructions of sample of signal are instructed as the information editing.
Step S105 carries out corresponding editor behaviour to the information in the information display interface according to information editing instruction
Make.
For example, the information editing instruction include top set, remind setting, label, forwarding, delete, search at least one of.
Information editing's instruction that terminal is obtained according to step S104 carries out top set to presupposed information, item is reminded in setting, forwarding, label,
At least one of operations such as deletion, search.
The information processing method of this preferred embodiment is generated information editing and is referred to by the tapping operation of user at the terminal
It enables, quickly to be edited to information, so that user is more convenient to use, improves QoS of customer.
Referring to figure 3., Fig. 3 is the flow chart of information processing method provided by Embodiment 2 of the present invention.
The information processing method of this preferred embodiment, comprising:
Step S301, when the current screen for detecting terminal is in information interface, user's striking on the terminal is received
Hit signal;
For example, whether detection user is tapped at the terminal with hand when terminal monitoring opens information interface to user, with
The knocking, such as microphone, receiver or loudspeaker that terminal can be carried by terminal are obtained, percussion letter is detected
Number, here not to the position restriction of percussion, user can tap in any position of terminal, as long as terminal can detect this
Knocking, the terminal can be the equipment such as mobile phone, tablet computer.
Step S302, the number of taps of the knocking is obtained;
For example, obtaining the number of taps of the knocking when terminal detects knocking;I.e. detection user is in terminal
On tapped several times.
In order to improve the treatment effeciency of terminal, the step of number of taps of the acquisition knocking, includes:
Obtain number of taps of the knocking in preset duration;
For example, terminal obtains user in 5 seconds, total number of taps, the preset duration can be set based on experience value at the terminal
It is fixed.
In order to obtain the accuracy of number of taps, the step of number of taps of the acquisition knocking, includes:
A, the percussion intensity of the knocking is obtained;
B, judge whether the percussion intensity is greater than preset strength threshold value;
If it is determined that C, the percussion intensity is greater than the preset strength threshold value, then the number of taps of the knocking is recorded;
If it is determined that D, the percussion intensity is less than or equal to the preset strength threshold value, then generates prompt information and show.
For example, obtaining the percussion intensity tapped every time, judgement when terminal receives the multiple tapping operation of user's input
Whether the percussion intensity is greater than preset strength threshold value;The preset strength threshold value can be set based on experience value;If it is determined that this strikes
Hit intensity is greater than the preset strength threshold value, then is determined as effective knocking, this percussion is included in total number of taps, no
Then, as invalid knocking, i.e., this percussion is not counted in total number of taps, of course for convenient for reminding user, is gone back
It can generate prompt information when tapping intensity less than preset strength threshold value and simultaneously show, the prompt information is for prompting user to work as
Preceding tapping operation cannot identify, if tap again etc..
Specifically, user has first tapped terminal within a preset time, the display screen of terminal is clicked again later, for end
For end, two-time vibration signal is received, but since the intensity of clicking operation is less than the intensity tapped, terminal is by the click
Operation is not counted in number of taps, i.e., terminal counts to obtain total number of taps to be 1 time;It improves and judges the accurate of knocking
Property.
For example, terminal obtains corresponding knocking, and identifies the knocking when user continuously taps terminal three times
Whether intensity is greater than preset strength threshold value, if so, the number of taps finally obtained is 3, if wherein once knocking
Intensity be less than or equal to the preset strength threshold value, then the number of taps that terminal finally obtains be 2.
Step S303, preset times sample corresponding with the number of taps is searched in the presetting database;
For example, terminal be previously provided in the preset database multiple preset times samples and with the preset times sample
Corresponding preset instructions;Terminal is searched and the matched preset times sample of the number of taps in the preset database;I.e. this is default
Knocking sample is preset times sample;
If terminal does not find corresponding preset times sample, S304 is thened follow the steps;If terminal is found pair
The preset times sample answered, thens follow the steps S305;
If step S304, in the presetting database without searching preset times sample corresponding with the number of taps,
It does not deal with then;
For example, if terminal in the presetting database, is not found and the matched default knocking of the knocking
When sample, presupposed information is not edited, for the ease of reminding user, terminal can be mentioned with display reminding information or sending
Show signal, it is invalid with the knocking for reminding user current.
It is assumed that the preset times sample includes 1 time, 2 times, 3 times, 4 times, 5 times, 6 times;Assuming that the number of taps that terminal obtains
It is 7 times, it is matched not default with 7 times due to being provided only with the preset times sample that number is 1-6 in presetting database
Secondary numerical example, terminal does not carry out edit operation to presupposed information at this time.
If searching preset times sample corresponding with the number of taps step S305, in the presetting database, obtain
Take preset instructions corresponding with the preset times sample;
For example, terminal be previously provided in the preset database multiple preset times samples and with the preset times sample
Corresponding preset instructions;
For example, the preset instructions include top set, remind setting, label, search, delete, forwarding etc., multiple preset times
Sample includes 1 time, 2 times, 3 times, 4 times, 5 times, 6 times;Corresponding preset instructions are to set information when number of taps is 1 time
Top;Number of taps when being 2 times corresponding preset instructions be setting information prompting item;Number of taps is corresponding pre- when being 3 times
If corresponding preset instructions are search information when instruction is information is marked, number of taps is 4 times, number of taps is 5 times
When corresponding preset instructions be delete information, corresponding preset instructions are forwarding information when number of taps is 6 times;
It is assumed that the number of taps that terminal obtains is 1 time, it is the default of 1-6 due to being provided only with number in presetting database
Secondary numerical example, therefore exist and refer to user's number of taps 1 time matched preset times sample, the information editing that terminal obtains at this time
Enable is by presupposed information top set;Some previously selected information of presupposed information user.
Step S306, it is instructed according to the information editing and corresponding editor behaviour is carried out to the information in the information display interface
Make.
For example, the presupposed information is each information that user chooses in advance, the step when user taps on presupposed information
Suddenly may include following implementation:
A, when information editing instruction is top set instruction, this is instructed according to the information editing in the information display interface
Information carry out corresponding edit operation the step of include:
The presupposed information is moved to the top of the information display interface;
For example, the information is moved to the letter when user taps in some information in information display interface
Cease the top at interface;
B, when information editing instruction is reminds setting instruction, this instructs according to the information editing and shows boundary to the information
Information in face carries out the step of corresponding edit operation and includes:
The presupposed information is arranged and reminds item.
For example, terminal proposes information setting when user taps in some information in information display interface
Awake item, specifically: the step of prompting item is arranged to the presupposed information in this includes:
Instruction is set according to the prompting and generates prompting item interface;
Receive the prompting message that user is arranged at the prompting item interface;
Corresponding prompt information is shown according to the prompting message.
For example, terminal display alarm item set interface below the information that user selects, reminds item set interface example
At least one of setting, specified prompt date, specified prompt position, and setting remarks such as including priority.Assuming that should
Information is notice of meeting information, and the time of meeting is the 15:00 on December 28th, 15, and user setting was on December 28th, 15 later
14:00 point display alarm information, in case user delays meeting.
C, when information editing instruction is mark instructions, this is instructed according to the information editing in the information display interface
Information carry out corresponding edit operation the step of include:
The presupposed information is marked;
For example, when user taps in some information in information display interface, terminal is by the color of the information
Labeled as green or other colors, to be different from other colors;Certainly can also setting flag according to the demand of user face
Color.
D, when information editing instruction is deletes instruction, this is instructed according to the information editing in the information display interface
Information carry out corresponding edit operation the step of include:
The presupposed information is deleted;
For example, when user taps in some information in information display interface, terminal by the information deletion, when
So before deletion, user is accidentally deleted in order to prevent, for example can be that this short message is deleted in confirmation with display reminding information, the information,
If user's selection is, by the information deletion.
E, when information editing instruction instructs for forwarding, this is instructed according to the information editing in the information display interface
Information carry out corresponding edit operation the step of include:
The presupposed information is sent to the corresponding terminal of default communications identification;
For example, the information is shown boundary by terminal when user taps in some information in information display interface
Face switches to address list, and when user chooses target user, terminal sends this information to the terminal of the user.This is default logical
News mark is for example cell-phone number or Email Accounts or QQ number or WeChat ID etc..
F, when information editing instruction is search instruction, this is instructed according to the information editing in the information display interface
Information carry out corresponding edit operation the step of include:
Display search input interface obtains the key word information that user's search input interface receives;
Target information is searched according to the key word information.
For example, terminal shows search box, later when user taps in some information in information display interface
User inputs keyword in the search box, and terminal searches for information relevant to the keyword in all information of storage, if
Corresponding information is found, information is shown with list mode.If not finding corresponding information, display reminding information, to mention
Awake user does not find relevant information.
The information processing method of this preferred embodiment obtains the percussion time of knocking on the basis of first embodiment
Number, and lookup and the matched preset times sample of number of taps, instruct according to preset times sample acquisition information editing, thus
Improve the treatment effeciency and QoS of customer of terminal.
Referring to figure 4., Fig. 4 is the flow chart for the information processing method that the embodiment of the present invention three provides.
The present embodiment is described in detail so that terminal is smart phone as an example, the information processing method of this preferred embodiment,
Include:
Step S401, it when smart phone detects that the current screen of smart phone is in information interface, receives user and exists
Knocking on the smart phone;
For example, whether detection user uses hand enterprising in smart phone when smart phone monitors that user opens information interface
Row taps, to obtain the knocking, such as smart phone can be carried by smart phone microphone, receiver or raise
Sound device detects the knocking, can not tapped here in any position of smart phone to the position restriction of percussion,
As long as the knocking can be detected,
Step S402, the number of taps of the knocking is obtained;
For example, smart phone obtain preset duration in number of taps, for example obtain 5 seconds in user on smart phone
Number of taps.
Step S403, preset times sample corresponding with the number of taps is searched in the presetting database;
For example, smart phone be provided in the preset database multiple preset times samples and with the preset times sample
Corresponding preset instructions;Smart phone is searched and the matched preset times sample of the number of taps in the preset database;I.e. should
Default knocking sample is preset times sample;
If smart phone does not find corresponding preset times sample, S404 is thened follow the steps;If smart phone
Corresponding preset times sample is found, S405 is thened follow the steps;
If step S404, in the presetting database without searching preset times sample corresponding with the number of taps,
It does not deal with then;
It is assumed that the number of taps that smart phone obtains is 7 times, it is 1-6's due to being provided only with number in presetting database
Preset times sample, therefore not with 7 matched preset times samples, smart phone is not edited presupposed information at this time
Operation.
If searching preset times sample corresponding with the number of taps step S405, in the presetting database, obtain
Take preset instructions corresponding with the preset times sample;
For example, smart phone is set in the preset database when being default number of taps sample with default knocking sample
It is equipped with multiple preset times samples and preset instructions corresponding with the preset times sample;
For example, the preset instructions be, for example, top set, remind setting, label, search, delete, forwarding etc., the preset times sample
This includes 1 time, 2 times, 3 times, 4 times, 5 times, 6 times;Corresponding preset instructions are that information is carried out top set when number of taps is 1 time;
Number of taps when being 2 times corresponding preset instructions be setting information prompting item;Number of taps corresponding default finger when being 3 times
It enables as information is marked, when corresponding preset instructions are search information, number of taps is 5 times when number of taps is 4 times pair
Corresponding preset instructions are forwarding information when the preset instructions answered are deletion information, number of taps is 6 times;
It is assumed that the number of taps that smart phone obtains is 1 time, it is 1-6's due to being provided only with number in presetting database
Preset times sample, therefore exist with user's number of taps 1 time matched preset times sample, the letter that smart phone obtains at this time
Ceasing edit instruction is by presupposed information top set;Some information of presupposed information user selection.
It is assumed that the number of taps that smart phone obtains is 2 times, it is 1-6's due to being provided only with number in presetting database
Preset times sample, therefore exist with user's number of taps 2 times matched preset times samples, the letter that smart phone obtains at this time
Ceasing edit instruction is that presupposed information is arranged to remind item, for example smart phone display alarm thing below the information that user selects
Item set interface;
It is assumed that the number of taps that smart phone obtains is 3 times, it is 1-6's due to being provided only with number in presetting database
Preset times sample, therefore exist with user's number of taps 3 times matched preset times samples, the letter that smart phone obtains at this time
Breath edit instruction is that presupposed information is marked;
It is assumed that the number of taps that smart phone obtains is 4 times, it is 1-6's due to being provided only with number in presetting database
Preset times sample, therefore exist with user's number of taps 4 times matched preset times samples, the letter that smart phone obtains at this time
Breath edit instruction is search instruction;
It is assumed that the number of taps that smart phone obtains is 5 times, it is 1-6's due to being provided only with number in presetting database
Preset times sample, therefore exist with user's number of taps 5 times matched preset times samples, the letter that smart phone obtains at this time
Ceasing edit instruction is to delete presupposed information;
It is assumed that the number of taps that smart phone obtains is 6 times, it is 1-6's due to being provided only with number in presetting database
Preset times sample, therefore exist with user's number of taps 6 times matched preset times samples, the letter that smart phone obtains at this time
Ceasing edit instruction is forwarding instruction;
Step S406, it is instructed according to the information editing and corresponding editor behaviour is carried out to the information in the information display interface
Make.
When user taps on presupposed information, which is each information that user chooses in advance, which can
To include following implementation:
A, when information editing instruction is top set instruction, which is moved to the top of the information interface by smart phone
Portion;
B, when information editing instruction is reminds setting instruction, the information, which is arranged, in smart phone reminds item, specifically
Ground: smart phone display alarm item set interface below the information that user selects, for example setting of priority, specified prompting
Date and specified prompt position, and setting remarks etc.;User reminds setting options to be configured accordingly according to corresponding
Prompting function.
C, when the information editing instruction be mark instructions when, smart phone by the color mark of the information be green or its
His color, to be different from other colors;Certainly can also setting flag according to the demand of user color.
D, when information editing instruction is search instruction, smart phone shows search box, and user is in the search box later
Keyword is inputted, smart phone searches for information relevant to the keyword in all information of storage, if found corresponding
Information shows information with list mode.If not finding corresponding information, display reminding information, to remind user not look for
To relevant information.
E, when information editing instruction is deletes instruction, smart phone is by the information deletion, certainly before deletion, is
It prevents user from accidentally deleting, for example can be that this short message is deleted in confirmation with display reminding information, the prompt information, if user selects
It is that then smart phone is by the information deletion.
F, when information editing instruction instructs for forwarding, if the information display interface is switched to communication by smart phone
Record, when user chooses target user, smart phone sends this information to the smart phone of the user.The default communication mark
Know for example for cell-phone number or Email Accounts or QQ number or WeChat ID etc..
The information processing method of this preferred embodiment, the knocking and default knocking sample that smart phone will acquire
It is matched, knocking sample acquisition information editing instruction is preset according to this, to improve the treatment effeciency of smart phone
And QoS of customer.
Referring to figure 5., Fig. 5 is the structural schematic diagram for the information processing unit that the embodiment of the present invention four provides.This is preferred real
The information processing unit 50 for applying example includes: receiving module 51, searching module 52, obtains module 53, editor module 54;
Receiving module 51, for when the current screen for detecting terminal is in information interface, receiving user in the terminal
On knocking;
For example, when receiving module 51 monitors that user opens information interface, receiving module 51 detects whether user uses hand to exist
Tapped in terminal, to obtain the knocking, receiving module 51 can by microphone that terminal carries, receiver or
Loudspeaker detects the knocking, and here not to the position restriction of percussion, user can strike in any position of terminal
It hits, as long as receiving module 51 can detect the knocking.The receiving module 51 is specifically used for: certainly by the terminal
Microphone, receiver or the loudspeaker of band receive the knocking.
Searching module 52, for searching default knocking sample corresponding with the knocking in the preset database;
For example, terminal is previously provided with database, which has multiple default knocking samples;Searching module
52 search and the matched default knocking sample of the knocking in the database;
When it is preset times sample that this, which presets knocking sample, which includes: 521 He of acquisition submodule
Search submodule 522;
The acquisition submodule 521, for obtaining the number of taps of the knocking;
For example, acquisition submodule 521 obtains the percussion time of the knocking when receiving module detects knocking
Number;I.e. detection user has tapped several times at the terminal.
The lookup submodule 522, for searching preset times sample corresponding with the number of taps in the presetting database
This;
For example, search submodule 522 be provided in the preset database multiple preset times samples and with this default time
The corresponding preset instructions of numerical example;Submodule 522 is searched to be searched in the preset database with the number of taps matched default time
Numerical example;I.e. the default knocking sample is preset times sample;
Module 53 is obtained, finds default knocking corresponding with the knocking in the presetting database for working as
When sample, information editing's instruction corresponding with the knocking sample is obtained;
For example, terminal is additionally provided in the presetting database presets the corresponding preset instructions of knocking sample with this;Such as
Fruit searching module 52 is in the presetting database, when finding default knocking sample matched with the knocking, obtains mould
This is preset the corresponding preset instructions of knocking sample as the information editing and instructed by block 53.
Preferably, the acquisition module 53 is specifically used for obtaining corresponding with preset times sample preset instructions, using as
Information editing instruction.
For example, terminal is provided with multiple preset times samples and corresponding with the preset times sample in the preset database
Preset instructions;The preset instructions include top set, remind setting, label, search, delete, forwarding etc., multiple preset times sample
This includes 1 time, 2 times, 3 times, 4 times, 5 times, 6 times;Corresponding preset instructions are that information is carried out top set when number of taps is 1 time;
Number of taps when being 2 times corresponding preset instructions be setting information prompting item;Number of taps corresponding default finger when being 3 times
It enables as information is marked, when corresponding preset instructions are search information, number of taps is 5 times when number of taps is 4 times pair
Corresponding preset instructions are forwarding information when the preset instructions answered are deletion information, number of taps is 6 times;
It is assumed that the number of taps that acquisition submodule 521 obtains is 1 time, it is due to being provided only with number in presetting database
The preset times sample of 1-6, thus search submodule 522 find with user's number of taps 1 time matched preset times sample,
Obtaining information editing's instruction that module 53 obtains at this time is by presupposed information top set;Some letter of presupposed information user selection
Breath.
Editor module 54, for being compiled accordingly according to information editing instruction to the information in the information display interface
Collect operation.
For example, A, when the information editing instruction be top set instruction when, which is specifically used for:
The presupposed information is moved to the top of the information display interface;
For example, when user taps in some information in information display interface, the editor module 54 is by the letter
Breath is moved to the top of the information interface;
B, when information editing instruction is reminds setting instruction, which is specifically used for:
The presupposed information is arranged and reminds item.
For example, the editor module 54 is to the letter when user taps in some information in information display interface
Item is reminded in breath setting, specifically: the step of reminding item, which is arranged, to the presupposed information includes:
Instruction is set according to the prompting and generates prompting item interface;
Receive the prompting message that user is arranged at the prompting item interface;
Corresponding prompt information is shown according to the prompting message.
For example, the editor module 54 display alarm item set interface below the information that user selects, reminds item to set
Setting interface for example includes setting, specified prompt date and the specified prompt position of priority, and is arranged in remarks at least
It is a kind of.Assuming that the information is notice of meeting information, the time of meeting is the 15:00 on December 28th, 15, and user setting is 15 later
The 14:00 point display alarm information on December 28, in, in case user delays meeting.
C, when information editing instruction is mark instructions, which is specifically used for:
The presupposed information is marked;
For example, when user taps in some information in information display interface, the editor module 54 is by the letter
The color mark of breath is green or other colors, to be different from other colors;Certainly can also be arranged according to the demand of user
The color of label.
D, when information editing instruction is deletes instruction, which is specifically used for:
The presupposed information is deleted;
For example, when user taps in some information in information display interface, the editor module 54 is by the letter
Breath is deleted, and certainly before deletion, user is accidentally deleted in order to prevent, for example can be true with display reminding information, the prompt information
Recognize and delete this short message, if user's selection is, by the information deletion.
E, when information editing instruction instructs for forwarding, which is specifically used for:
The presupposed information is sent to the corresponding terminal of default communications identification;
For example, when user taps in some information in information display interface, editor module 54 is by the information
Display interface switches to address list, and when user chooses target user, terminal sends this information to the terminal of the user.It should
Default communications identification is for example cell-phone number or Email Accounts or QQ number or WeChat ID etc..
F, when information editing instruction is search instruction, which is specifically used for:
Display search input interface obtains the key word information that user's search input interface receives;
Target information is searched according to the key word information.
For example, when user taps in some information in information display interface, the display search of editor module 54
Frame, user inputs keyword in the search box later, and editor module 54 is searched for and the keyword phase in all information of storage
The information of pass is shown information with list mode if finding corresponding information.If not finding corresponding information, display
Prompt information, to remind user not find relevant information.
When it is implemented, the above modules can be used as independent entity to realize, any 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.
The information processing unit of this preferred embodiment by obtaining the number of taps of knocking, and is searched and percussion time
The matched preset times sample of number, instructs according to preset times sample acquisition information editing, to improve the processing of terminal
Efficiency and QoS of customer.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage
Medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random
Access Memory), disk or CD etc..
It is provided for the embodiments of the invention a kind of information processing method above and device is described in detail, herein
Apply that a specific example illustrates the principle and implementation of the invention, the explanation of above example is only intended to help
Understand method and its core concept of the invention;Meanwhile for those skilled in the art, according to the thought of the present invention, having
There will be changes in body embodiment and application range, in conclusion the content of the present specification should not be construed as to the present invention
Limitation.
Claims (11)
1. a kind of information processing method characterized by comprising
When the current screen for detecting terminal is in information interface, by the terminal carry microphone, receiver or
Loudspeaker receives knocking of the user on any position of the terminal;Wherein, the knocking is consolidated by terminal
Body is propagated;It specifically includes: the vibrating diaphragm induction when terminal is vibrated and generates vibration signal, in microphone, receiver or loudspeaker
It can and then be vibrated together to vibration signal, and all, the coil that vibrating diaphragm just will drive in microphone, receiver or loudspeaker is done
The movement of cutting magnetic line, to can generate corresponding current signal in coil, the current signal is analog signal;It will simulation
Signal is converted into corresponding digital signal;
The time cycle for obtaining digital signal, judge the time cycle whether within the scope of preset period of time;And statistical data
Whether the frequency distribution of signal, determination frequency distribution meet preset requirement;And the amplitude of digital signal is analyzed, is analyzed
The averaged amplitude value of entire frequency range, and judge whether averaged amplitude value is greater than default amplitude;
If the time cycle is within the scope of preset period of time, and frequency distribution meets preset requirement, and averaged amplitude value is big
In default amplitude, determine that vibration signal is to tap the knocking generated;
Default knocking sample corresponding with the knocking is searched in the preset database;
If finding default knocking sample corresponding with the knocking in the presetting database, obtain with
The corresponding information editing's instruction of the knocking sample;
Corresponding edit operation is carried out to the information in the information display interface according to information editing instruction.
2. information processing method according to claim 1, which is characterized in that when the default knocking sample is default
When secondary numerical example, described the step of searching default knocking sample corresponding with the knocking in the preset database, is wrapped
It includes:
Obtain the number of taps of the knocking;
Preset times sample corresponding with the number of taps is searched in the presetting database;
It is described obtain corresponding with knocking sample information editing instruction to the step of include: obtain with it is described default secondary
The corresponding preset instructions of numerical example, to be instructed as the information editing.
3. information processing method according to claim 1, which is characterized in that described to receive user's striking on the terminal
The step of hitting signal include:
Receive knocking of the user on presupposed information.
4. information processing method according to claim 3, which is characterized in that
It is described to be instructed according to the information editing to the information display interface when information editing instruction is top set instruction
In information the step of carrying out corresponding edit operation include: the top that the presupposed information is moved to the information display interface
Portion;
It is described to be instructed according to the information editing to the information display interface when information editing instruction is mark instructions
In information carry out corresponding edit operation the step of include: that the presupposed information is marked;
It is described that the information is shown according to information editing instruction when information editing instruction is reminds setting instruction
The step of information in interface carries out corresponding edit operation includes: that the presupposed information is arranged to remind item;
It is described to be instructed according to the information editing to the information display interface when information editing instruction is deletes instruction
In information carry out corresponding edit operation the step of include: to delete the presupposed information;
It is described to be instructed according to the information editing to the information display interface when information editing instruction instructs for forwarding
In information carry out corresponding edit operation the step of include: that the presupposed information is sent to default communications identification corresponding end
End;
It is described to be instructed according to the information editing to the information display interface when information editing instruction is search instruction
In information carry out corresponding edit operation the step of include: display search input interface;The input of user's described search is obtained to connect
The key word information that mouth receives;Target information is searched according to the key word information.
5. information processing method according to claim 4, which is characterized in that when the information editing instruction got is
When reminding setting instruction, described the step of prompting item is arranged to the presupposed information, includes:
Instruction is set according to the prompting and generates prompting item interface;
User is received in the prompting message of prompting item interface setting;
Corresponding prompt information is shown according to the prompting message.
6. a kind of information processing unit characterized by comprising
Receiving module, the Mike for being carried by the terminal when the current screen for detecting terminal is in information interface
Wind, receiver or loudspeaker receive knocking of the user on any position of the terminal;Wherein, the knocking is logical
It crosses terminal and carries out solid propagation;It specifically includes: when terminal is vibrated and generates vibration signal, microphone, receiver or loudspeaker
Interior vibrating diaphragm senses vibration signal, and all can and then vibrate together, and vibrating diaphragm just will drive microphone, receiver or loudspeaking
Coil in device does the movement of cutting magnetic line, to can generate corresponding current signal in coil, the current signal is mould
Quasi- signal;Convert analog signals into corresponding digital signal;
Whether determining module judges the time cycle within the scope of preset period of time for obtaining the time cycle of digital signal;
And whether the frequency distribution of statistical data signal, determination frequency distribution meet preset requirement;And to the amplitude of digital signal
It is analyzed, analyzes the averaged amplitude value of entire frequency range, and judge whether averaged amplitude value is greater than default amplitude;If the time cycle
It is within the scope of preset period of time, and frequency distribution meets preset requirement, and averaged amplitude value is greater than default amplitude, determines
Vibration signal is to tap the knocking generated;
Searching module, for searching default knocking sample corresponding with the knocking in the preset database;
Module is obtained, finds default knocking sample corresponding with the knocking in the presetting database for working as
This when, obtains information editing's instruction corresponding with the knocking sample;
Editor module, for being edited accordingly according to information editing instruction to the information in the information display interface
Operation.
7. information processing unit according to claim 6, which is characterized in that when the default knocking sample is default
When secondary numerical example, the searching module includes: acquisition submodule and lookup submodule;
The acquisition submodule, for obtaining the number of taps of the knocking;
The lookup submodule, for searching preset times sample corresponding with the number of taps in the presetting database
This;
The acquisition module is specifically used for obtaining corresponding with preset times sample preset instructions, using as the information
Edit instruction.
8. information processing unit according to claim 6, which is characterized in that the receiving module is specifically used for:
Receive knocking of the user on presupposed information.
9. information processing unit according to claim 8, which is characterized in that the editor module is specifically used for:
When information editing instruction is top set instruction, the presupposed information is moved to the top of the information display interface
Portion;
When information editing instruction is mark instructions, the presupposed information is marked;
When information editing instruction is reminds setting instruction, the presupposed information is arranged and reminds item;
When information editing instruction is deletes instruction, the presupposed information is deleted;
When information editing instruction instructs for forwarding, the presupposed information is sent to default communications identification corresponding end
End;
When information editing instruction is search instruction, display search input interface;Obtain user's described search input interface
The key word information received;Target information is searched according to the key word information.
10. information processing unit according to claim 9, which is characterized in that when the information editing instruction got
When to remind setting instruction, the editor module is specifically used for:
Instruction is set according to the prompting and generates prompting item interface;
User is received in the prompting message of prompting item interface setting;
Corresponding prompt information is shown according to the prompting message.
11. a kind of storage medium, is stored with computer program, wherein the computer program executes computer as weighed
Benefit requires 1 to 5 described in any item methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610038367.1A CN105718179B (en) | 2016-01-20 | 2016-01-20 | Information processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610038367.1A CN105718179B (en) | 2016-01-20 | 2016-01-20 | Information processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105718179A CN105718179A (en) | 2016-06-29 |
CN105718179B true CN105718179B (en) | 2019-02-12 |
Family
ID=56147491
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610038367.1A Active CN105718179B (en) | 2016-01-20 | 2016-01-20 | Information processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105718179B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106778166B (en) * | 2016-11-30 | 2020-04-10 | Oppo广东移动通信有限公司 | Data editing method and device and terminal |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102436345A (en) * | 2011-10-31 | 2012-05-02 | 广州市动景计算机科技有限公司 | Method for interface operation and control of mobile device and implement device |
CN102981737A (en) * | 2012-10-30 | 2013-03-20 | 北京小米科技有限责任公司 | File operation method and device |
CN103645845A (en) * | 2013-11-22 | 2014-03-19 | 华为终端有限公司 | Knocking control method and terminal |
CN104049726A (en) * | 2013-03-17 | 2014-09-17 | 北京银万特科技有限公司 | Method and device for shooting images based on intelligent information terminal |
CN105094594A (en) * | 2015-06-01 | 2015-11-25 | 小米科技有限责任公司 | Operation item display method and apparatus |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101474467B1 (en) * | 2013-07-09 | 2014-12-19 | 엘지전자 주식회사 | Mobile terminal and control method for the mobile terminal |
KR102176365B1 (en) * | 2014-07-14 | 2020-11-09 | 엘지전자 주식회사 | Mobile terminal and control method for the mobile terminal |
CN104899030B (en) * | 2015-05-28 | 2018-05-29 | 广东欧珀移动通信有限公司 | A kind of alarm clock processing method and user terminal |
-
2016
- 2016-01-20 CN CN201610038367.1A patent/CN105718179B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102436345A (en) * | 2011-10-31 | 2012-05-02 | 广州市动景计算机科技有限公司 | Method for interface operation and control of mobile device and implement device |
CN102981737A (en) * | 2012-10-30 | 2013-03-20 | 北京小米科技有限责任公司 | File operation method and device |
CN104049726A (en) * | 2013-03-17 | 2014-09-17 | 北京银万特科技有限公司 | Method and device for shooting images based on intelligent information terminal |
CN103645845A (en) * | 2013-11-22 | 2014-03-19 | 华为终端有限公司 | Knocking control method and terminal |
CN105094594A (en) * | 2015-06-01 | 2015-11-25 | 小米科技有限责任公司 | Operation item display method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN105718179A (en) | 2016-06-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3547659B1 (en) | Method for processing audio signal and related products | |
JP5053285B2 (en) | Determining audio device quality | |
CN105611064A (en) | Mobile terminal mode switching method and device | |
WO2012092731A1 (en) | Electronic terminal and ring prompt method of the electronic terminal | |
CN105744056A (en) | Volume adjusting method and volume adjusting device | |
CN105719672A (en) | Recording scene mode switching method and recording scene mode switching mode device | |
CN105704839B (en) | A kind of Bluetooth connecting method and device | |
CN105682258B (en) | A kind of switching method and apparatus of subscriber identification card | |
CN105472172B (en) | Switching method, device and the computer readable storage medium of call mode | |
CN105577863B (en) | The way of recording and device | |
CN105718179B (en) | Information processing method and device | |
CN105549744B (en) | A kind of screen luminance of terminal adjusting method and device | |
CN105718165B (en) | A kind of starting method and device of terminal background application | |
CN105718178B (en) | A kind of methods of exhibiting and device of PUSH message | |
CN109218913B (en) | Sound adjusting method, terminal equipment and device with storage function | |
CN105721676B (en) | A kind of terminal processing method and device | |
CN105491297B (en) | A kind of method of adjustment and device of camera parameter | |
CN109032482A (en) | Split screen control method, device, storage medium and electronic equipment | |
CN105721678A (en) | Calling processing method and calling processing device | |
CN105721679A (en) | Conversation switching method and conversation switching device | |
CN105718061B (en) | A kind of method for cleaning and device of memory space | |
CN105704840B (en) | A kind of cut-in method and device of wireless access point | |
CN105611065A (en) | Application switching method and device | |
CN105516493A (en) | Mobile terminal and alarm clock control method thereof | |
CN105739850A (en) | Multimedia progress processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: Guangdong OPPO Mobile Communications Co., Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |