CN106325607B - Report the method, apparatus and terminal of information - Google Patents

Report the method, apparatus and terminal of information Download PDF

Info

Publication number
CN106325607B
CN106325607B CN201610885482.2A CN201610885482A CN106325607B CN 106325607 B CN106325607 B CN 106325607B CN 201610885482 A CN201610885482 A CN 201610885482A CN 106325607 B CN106325607 B CN 106325607B
Authority
CN
China
Prior art keywords
information
pressing
pressing information
modified
duration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610885482.2A
Other languages
Chinese (zh)
Other versions
CN106325607A (en
Inventor
张强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610885482.2A priority Critical patent/CN106325607B/en
Publication of CN106325607A publication Critical patent/CN106325607A/en
Application granted granted Critical
Publication of CN106325607B publication Critical patent/CN106325607B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position

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 embodiment of the invention provides a kind of method, apparatus and terminal for reporting information, when this method is using the pressing operation for detecting user, the pressing information of the pressing operation is obtained;Whether the duration for judging that the pressing information does not change is greater than preset duration;If so, the pressing information is modified, to obtain modified pressing information;Report the modified pressing information.The program is different due to the pressing information reported after modification with the preceding pressing information once reported, therefore the pressing information reported will not be filtered out by input subsystem, data process subsystem thinks that user has carried out pressing operation after receiving pressing information, to which terminal system will not enter suspend mode, in terms of existing technologies, the convenience of terminal is improved.

Description

Report the method, apparatus and terminal of information
Technical field
The present invention relates to field of terminal technology, and in particular to a kind of method, apparatus and terminal for reporting information.
Background technique
With the development of electronic information technology, touch screen is used to greatly facilitate user's as the input equipment of terminal Operation.Now, touch screen is widely applied in the terminals such as tablet computer, smart phone, mobile unit, and following application neck Domain will be more and more extensive.
When touch screen detects the pressing operation of user, touch screen can be by the pressing information reporting of the pressing operation to eventually End system.Terminal system includes input subsystem (input subsystem) and data process subsystem.Touch screen reports pressing information Mechanism it is as follows: the pressing information reporting that touch screen will test to input subsystem;Input subsystem to pressing information into Row filtration treatment, when the pressing information that this time reports is identical as the preceding pressing information once reported, input subsystem can should Pressing information filtering is fallen, the pressing information for not reporting toward data process subsystem, and reporting when this time with it is preceding once report by When pressing information difference, input subsystem is by the pressing information reporting to data process subsystem;Data process subsystem pair The pressing information that input subsystem reports is handled.In order to reduce the electric quantity consumption of terminal, data process subsystem is at one section When the pressing information that touch screen reports is not received in the time, can make touch screen enter put out screen state, and then make terminal system into Enter dormant state.
There are drawbacks for this method for reporting pressing information.When certain functions in terminal need user's long-pressing screen, Such as wechat phonetic function, pressing information when user's long-pressing screen may all not change always, pressing during this Pressure information can not just be reported to data process subsystem.If the time of user's long-pressing screen has been more than the sleep time threshold of terminal Value, since data process subsystem is all not received by always the pressing information that touch screen reports during this, terminal system is recognized Pressing operation is not carried out for user, terminal system can still enter dormant state.Such case is brought not to the use of user Just, causing the convenience of terminal reduces.
Summary of the invention
The embodiment of the present invention provides a kind of method, apparatus and terminal for reporting information, and the convenience of terminal can be improved.
The embodiment of the present invention provides a kind of method for reporting information, comprising:
When detecting the pressing operation of user, the pressing information of the pressing operation is obtained;
Whether the duration for judging that the pressing information does not change is greater than preset duration;
If so, the pressing information is modified, to obtain modified pressing information;
Report the modified pressing information.
Correspondingly, the embodiment of the present invention also provides a kind of device for reporting information, comprising:
Module is obtained, in the pressing operation for detecting user, obtaining the pressing information of the pressing operation;
Whether judgment module, the duration for judging that the pressing information does not change are greater than preset duration;
Modified module, it is modified to obtain for when the judgment module is judged as YES, modifying the pressing information Press information;
Reporting module, for reporting the modified pressing information.
Correspondingly, the embodiment of the present invention also provides a kind of terminal, comprising:
Touch screen, for receiving the pressing operation of user;
It is stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, reports information described in execution Method.
When the embodiment of the present invention is using the pressing operation for detecting user, the pressing information of the pressing operation is obtained;Judgement Whether the duration that the pressing information does not change is greater than preset duration;If so, the pressing information is modified, to be repaired Pressing information after changing;Report the modified pressing information.The program is big in the duration that pressing information does not change When preset duration, modification pressing information, and modified pressing information is reported, since the pressing information reported after modification is with before The pressing information once reported is different, therefore the pressing information reported will not be filtered out by input subsystem, thus can be with Think that user has carried out pressing operation after being reported to data process subsystem, data process subsystem to receive pressing information, because , when user continues fixedly to press touch screen, terminal system will not enter suspend mode and improve in terms of existing technologies for this The convenience of terminal.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described.It should be evident that drawings in the following description are only some embodiments of the invention, 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 the flow diagram for the method for reporting information that the embodiment of the present invention one provides.
Fig. 2 is the coordinate schematic diagram of press points on the touchscreen in the embodiment of the present invention one.
Fig. 3 is the flow diagram of the method provided by Embodiment 2 of the present invention for reporting information.
Fig. 4 be the embodiment of the present invention three provide the first report the structural schematic diagram of the device of information.
Fig. 5 is second of the offer of the embodiment of the present invention three structural schematic diagram for reporting the device of information.
Fig. 6 be the embodiment of the present invention three provide the third report the structural schematic diagram of the device of information.
Fig. 7 is the 4th kind of the offer of the embodiment of the present invention three structural schematic diagram for reporting the device of information.
Fig. 8 is the structural schematic diagram for the first terminal that the embodiment of the present invention four provides.
Fig. 9 is the structural schematic diagram for second of terminal 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.Obviously, 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.
Description and claims of this specification and term " first " in above-mentioned attached drawing, " second ", " third " etc. (if present) is to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be appreciated that this The object of sample description is interchangeable under appropriate circumstances.In addition, term " includes " and " having " and their any deformation, meaning Figure, which is to cover, non-exclusive includes.For example, containing the process, method of series of steps or containing a series of modules or list The device of member, terminal, system those of are not necessarily limited to be clearly listed step or module or unit, can also include unclear The step of ground is listed or module or unit also may include its intrinsic for these process, methods, device, terminal or system Its step or module or unit.
The embodiment of the present invention provides a kind of method, apparatus and terminal for reporting information, will be described in detail respectively below.
Embodiment one
The present embodiment will be described from the angle for the device for reporting information, which specifically can integrate in the terminal, The terminal can be the equipment such as smart phone, tablet computer.
A method of reporting information, comprising: when detecting the pressing operation of user, obtain the pressing letter of the pressing operation Breath;Whether the duration for judging that the pressing information does not change is greater than preset duration;If so, the pressing information is modified, To obtain modified pressing information;Report the modified pressing information.
As shown in Figure 1, the method for reporting information, detailed process may include:
S101 when detecting the pressing operation of user, obtains the pressing information of the pressing operation.
In concrete application, touch screen is provided in terminal.Touch screen is also known as touch screen, touch panel, is that one kind can connect Receive the induction type liquid crystal display device of touch input signal.The touch screen can be capacitance touch screen.When user presses touch screen When, touch screen can detecte the pressing operation of user, and obtain the pressing information of the pressing operation.The pressing information can wrap It includes: the coordinate of press points, the number of press points, pressing area, press pressure size etc..
As shown in Fig. 2, the coordinate of press points may include the abscissa (x coordinate) and ordinate of press points on the touchscreen (y-coordinate).Press points coordinate shown in figure is (x, y).When the number of press points is one, indicate that the operation of user is single Point pressing (singly referring to pressing);When the number of press points is greater than one, indicate that the operation of user is multiple spot pressing (more referring to pressing).When When the number of press points is greater than one, the coordinate of press points includes the coordinate of each press points.
When user's Continued depression touch screen, such as slide is carried out on the touchscreen, touch screen can be with fixed frequency Rate persistently obtains pressing information.For example, 100 pressing information of acquisition per second.
Whether S102, the duration for judging that the pressing information does not change are greater than preset duration.
Specifically, after touch screen gets pressing information, by the pressing information reporting to input subsystem.It can pass through Input subsystem judge every two groups adjacent pressing information whether be it is identical, come judge press information whether change.When When user continues fixedly to press the certain point on touch screen, the pressing information that touch screen is got is identical.Get by After pressing information, timing can star.When the pressing information got does not change always, which is also persistently carried out.Directly When changing to the pressing information got, which terminates, and restarts timing.During timing, persistently sentence Whether the duration of disconnected timing is greater than preset duration.The duration of timing is the duration for pressing information and not changing.It is default Duration can be a duration numerical value being stored in advance in the terminal.The preset duration is less than the duration that terminal system enters suspend mode Threshold value.For example, preset duration can be 29s.
In some embodiments, judging whether duration that the pressing information does not change is greater than preset duration can be with Specifically includes the following steps:
Obtain the number for continuously having reported the identical pressing information;
Judge whether the number is greater than preset times.
Specifically, when touch screen persistently obtains pressing information, can continue to report this to input subsystem with fixed frequency Press information.The fixed frequency can be the frequency values for presetting and storing in the terminal.For example, the fixed frequency Can be 100 times it is per second.Meanwhile input subsystem can report the number of pressing information to count to touch screen.When reporting Pressing information when not changing always, which persistently carries out.When the pressing information reported changes, the counting Terminate, and starts counting again.During counting, the numerical value of current count is persistently obtained, the numerical value of current count is Continuously report the number of the identical pressing information.Then, which is compared with preset times, to judge that the numerical value is It is no to be greater than preset times.That is, judgement continuously reports whether the number of the identical pressing information is greater than preset times.Default time Number can be a numerical value being stored in advance in the terminal.For example, preset times can be 3000 times.
In some embodiments, before judging whether the number is greater than preset times, can with the following steps are included:
Obtain the duration threshold value for reporting the frequency of the pressing information and system to enter suspend mode;
According to the frequency and the duration threshold calculations preset times.
Specifically, fixed frequency is the frequency values for presetting and being stored in terminal memory.Touch screen with The fixed frequency reports pressing information to input subsystem.Before judging whether the number is greater than preset times, deposited from terminal The fixed frequency is transferred in reservoir, that is, reports the frequency of the pressing information.
Long number when the duration threshold value that system enters suspend mode can be one for presetting and storing in terminal memory Value, when which shows that data process subsystem does not receive the operational order of user in the duration threshold value, terminal system System enters dormant state, to reduce electric quantity consumption.The duration threshold value is greater than above-mentioned preset duration.For example, duration threshold value can be with It is 30s.Before judging whether the number is greater than preset times, the duration threshold value is transferred from terminal memory.
After getting the duration threshold value for reporting the frequency of the pressing information and system to enter suspend mode, can according to the frequency and The duration threshold calculations preset times.Specifically, it can be calculated according to the following formula:
N=f × T
Wherein, N is preset times, and f is the frequency got, and T is the duration threshold value got.For example, f is every 100 times Second, when T is 30s, it is 3000 times that N, which can be calculated,.
S103, if so, the pressing information is modified, to obtain modified pressing information.
Specifically, when judging result is greater than preset duration for the duration that the pressing information does not change in S102, The pressing information got is modified, to obtain modified pressing information.For example, press pressure size can be modified.
In some embodiments, pressing information includes the first pressing information and the second pressing information.
First pressing information is on the influential information of the response tool of application program in terminal.Information is pressed when first When change, the response of application program can also occur to change accordingly in terminal.First pressing information may include the seat of press points The number of mark and press points.For example, the response of application program is different in terminal when the coordinate difference of press points.Such as Fig. 2 Shown, when the coordinate of press points is (x1, y1), the response of application program is to open wechat application program in terminal;Work as pressing When the coordinate of point is (x2, y2), the response of application program is to open Meituan application program in terminal.
Second pressing information is that do not have influential information to the response of application program in terminal.Information is pressed when second When change, the response of application program will not change in terminal.Second pressing information may include pressing area and pressing pressure Power size.For example, the response of application program is still identical in terminal when press pressure is of different sizes.
The pressing information is modified, is specially to modify the second pressing information to obtain modified pressing information.Because of modification After second pressing information, the response of application program in terminal is not influenced.For example, press pressure size can be modified.
In some embodiments, modify the pressing information, with obtain modified pressing information can specifically include it is following Step:
Obtain the modification amplitude of the second pressing information;
According to the modification amplitude modification the second pressing information, to obtain modified second pressing information.
Specifically, modification amplitude is the numerical value being stored in advance in terminal memory.Modification amplitude can be specific number Value, is also possible to percentage.When modification the second pressing information, the modification amplitude is transferred from terminal memory, then basis should It modifies amplitude modification second and presses information, to obtain modified second pressing information.Specific modification mode can be the Increase the corresponding value of modification amplitude in two pressing information.For example, the original press pressure size in the second pressing information is 1N (newton), the modification amplitude got are 1%, then modified press pressure size is 1.01N.
S104 reports the modified pressing information.
Specifically, the pressing information is modified in S103, after obtaining modified pressing information, touch screen is pressed modified Press information reporting to input subsystem.
In concrete application, when what is modified in S103 is the second pressing information, touch screen presses information and modification for first Second afterwards presses information reporting to input subsystem.For example, the coordinate for the press points that touch screen is got, press points Number, pressing area and modified press pressure size are reported to input subsystem.
After reporting modified pressing information, although actual pressing information does not change at this time, due to pressing Pressure information is modified, and the pressing information of input subsystem is reported to be different with the preceding pressing information once reported.Cause This, the pressing information that touch screen reports will not be filtered out by input subsystem, and input subsystem can will be in the pressing information Registration data process subsystem.After data process subsystem receives the pressing information that input subsystem reports, it is believed that Yong Hujin Pressing operation is gone, therefore terminal system will not enter suspend mode.
When it is implemented, the present invention is not limited by the execution sequence of described each step, conflict is not being generated In the case of, certain steps can also be carried out using other sequences or be carried out simultaneously.
From the foregoing, it will be observed that the method provided in an embodiment of the present invention for reporting information, when using the pressing operation for detecting user, Obtain the pressing information of the pressing operation;Whether the duration for judging that the pressing information does not change is greater than preset duration; If so, the pressing information is modified, to obtain modified pressing information;Report the modified pressing information.The program exists When the duration that pressing information does not change is greater than preset duration, modification pressing information, and modified pressing is reported to believe Breath, since the pressing information reported after modification is different with the preceding pressing information once reported, the pressing information reported It will not be filtered out by input subsystem, thus data process subsystem can be reported to, data process subsystem receives pressing Think that user has carried out pressing operation after information, therefore when user continues fixedly to press touch screen, terminal system will not be into Enter suspend mode, in terms of existing technologies, improves the convenience of terminal.
Embodiment two
Citing, is described in further detail by the method that information is reported according to described in embodiment one below.
In the present embodiment, the device for breath of notifying above is specifically integrated in smart phone, to be reported in smart phone It is described in detail for the method for information.
As shown in figure 3, the method for reporting information, detailed process can be such that
S201 when detecting the pressing operation of user, obtains the pressing information of the pressing operation.
Specifically, touch screen is provided on smart phone.When user presses touch screen, touch screen can detecte user Pressing operation, and obtain the pressing information of the pressing operation.The pressing information may include: the coordinate of press points, press points Number, pressing area, press pressure size etc..
S202 reports the pressing information.
Specifically, after the touch screen on smart phone gets pressing information, by the pressing information reporting to smart phone Input subsystem.
S203 obtains the number for continuously having reported the identical pressing information.
Specifically, lasting to obtain pressing information when touch screen detects the Continued depression operation of user, and persistently will acquire Pressing information reporting to input subsystem.Meanwhile input subsystem reports the number of pressing information to count touch screen Number.When the pressing information that touch screen reports does not change always, which is persistently carried out.Until the pressing that touch screen reports When information changes, which terminates, and starts counting again.During counting, the numerical value of current count is persistently obtained, The numerical value of current count is the number for continuously having reported the identical pressing information.
S204 obtains the duration threshold value for reporting the frequency of the pressing information and system to enter suspend mode.
Specifically, when touch screen persistently obtains pressing information, the pressing information of acquisition is reported with fixed frequency.Fixed frequency It is the frequency values for presetting and being stored in smart phone memory.For example, the fixed frequency is 100 times per second. Touch screen reports pressing information to the input subsystem of smart phone with the fixed frequency.Get continuously report it is identical After the number for pressing information, the fixed frequency is transferred from smart phone memory, that is, reports the frequency of the pressing information.
When the duration threshold value that system enters suspend mode can be one for presetting and storing in smart phone memory Long numerical value.The duration threshold value indicates that the data process subsystem of smart phone does not receive the operation of user in the duration threshold value When instruction, intelligent mobile phone system enters dormant state, to reduce electric quantity consumption.For example, duration threshold value can be 30s.It is obtaining After getting the number for continuously reporting identical pressing information, the duration threshold value is transferred from smart phone memory.
S205, according to the frequency and the duration threshold calculations preset times.
Specifically, after getting the duration threshold value for reporting the frequency of the pressing information and intelligent mobile phone system to enter suspend mode, It can be according to the frequency and the duration threshold calculations preset times.Specifically, it can be calculated according to the following formula:
N=f × T
Wherein, N is preset times, and f is the frequency got, and T is the duration threshold value got.For example, f is every 100 times Second, when T is 30s, it is 3000 times that N, which can be calculated,.
S206, judges whether the number is greater than preset times.
Specifically, after calculating preset times, the number got in S203 is compared with the preset times, to sentence Whether the number that breaks is greater than preset times.
S207, if so, obtaining the modification amplitude of the second pressing information included by the pressing information.
Specifically, pressing information includes the first pressing information and the second pressing information.First pressing information is to intelligent hand The response of application program has influential information in machine.First pressing information may include the coordinate of press points and of press points Number.Second pressing information is that do not have influential information to the response of application program in smart phone.Second pressing information can wrap Include pressing area and press pressure size.The modification amplitude of second pressing information is stored in advance in smart phone memory Numerical value.Modification amplitude can be specific numerical value, be also possible to percentage.When judge in S206 the number be greater than preset times When, the modification amplitude is transferred from smart phone memory.
S208, according to the modification amplitude modification the second pressing information, to obtain modified second pressing information.
Specifically, after the modification amplitude for getting the second pressing information, according to the modification amplitude modification, second pressing is believed Breath, to obtain modified second pressing information.Specific modification mode, which can be, increases the modification in the second pressing information The corresponding value of amplitude.For example, the original press pressure size in the second pressing information is 1N (newton), the modification amplitude got It is 1%, then modified press pressure size is 1.01N.
S209 reports the first pressing information included by the pressing information and modified second pressing information.
Specifically, after obtaining modified second pressing information, the first pressing information and modified second pressing are believed Breath is reported to the input subsystem of smart phone.
After reporting the first pressing information and modified second pressing information, although actual pressing information is not sent out at this time It is raw to change, but due to being modified to the second pressing information, be reported to the pressing information of input subsystem once to report with preceding Pressing information be different.Therefore, the pressing information that touch screen reports will not be filtered out by input subsystem, thus can be with Be reported to data process subsystem.The data process subsystem of smart phone receives the pressing information that input subsystem reports Afterwards, it is believed that user has carried out pressing operation, therefore intelligent mobile phone system will not enter suspend mode.
When it is implemented, the present invention is not limited by the execution sequence of described each step, conflict is not being generated In the case of, certain steps can also be carried out using other sequences or be carried out simultaneously.
From the foregoing, it will be observed that the method provided in an embodiment of the present invention for reporting information, when using the pressing operation for detecting user, It obtains pressing information and reports the pressing information;Judgement has continuously reported whether the number of identical pressing information is greater than default time Number;If so, modification the second pressing information;Report the first pressing information and modified second pressing information.The program is Report it is identical pressing information number be greater than preset times when, modification second pressing information, and report the first pressing information and Modified second pressing information, since the pressing information reported after modification is different with the preceding pressing information once reported, Therefore the pressing information reported will not be filtered out by input subsystem, thus can be reported to data process subsystem, at data Reason subsystem thinks that user has carried out pressing operation after receiving pressing information, therefore continues fixedly to press touch screen in user When, intelligent mobile phone system will not enter suspend mode and improve the convenience of smart phone in terms of existing technologies.
Embodiment three
In order to better implement above method, the embodiment of the present invention also provides a kind of device for reporting information, which can To integrate in the terminal, which can be the equipment such as smart phone, tablet computer.
As shown in figure 4, reporting the device 300 of information may include: to obtain module 301, judgment module 302, modified module 303, reporting module 304 are described in detail below:
The acquisition module 301, in the pressing operation for detecting user, obtaining the pressing information of the pressing operation;
Whether the judgment module 302, the duration for judging that the pressing information does not change are greater than preset duration;
The modified module 303, for the pressing information being modified, to be modified when the judgment module 302 is judged as YES Pressing information afterwards;
The reporting module 304, for reporting the modified pressing information.
Preferably, which includes the first pressing information and the second pressing information, which specifically uses In:
The second pressing information is modified, to obtain modified second pressing information;
The reporting module 304 is specifically used for:
Report the first pressing information and the modified second pressing information.
Preferably, as shown in figure 5, the modified module 303 includes: the first acquisition submodule 3031, modifies submodule 3032, It is specific as follows:
First acquisition submodule 3031, for obtaining the modification amplitude of the second pressing information;
The modification submodule 3032 is used for according to the modification amplitude modification the second pressing information, modified to obtain Second pressing information.
Preferably, which is also used to:
After the pressing information that the acquisition module 301 obtains the pressing operation, the pressing information is reported;
As shown in fig. 6, the judgment module 302 includes: the second acquisition submodule 3021, judging submodule 3022, specifically such as Under:
Second acquisition submodule 3021, for obtaining the number for continuously reporting the identical pressing information;
The judging submodule 3022, for judging whether the number is greater than preset times.
Preferably, as shown in fig. 7, the judgment module 302 further include: third acquisition submodule 3023, computational submodule 3024, specific as follows:
The third acquisition submodule 3023, for obtaining the duration for reporting the frequency of the pressing information and system to enter suspend mode Threshold value;
The computational submodule 3024, for according to the frequency and the duration threshold calculations preset times.
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.
From the foregoing, it will be observed that the device provided in an embodiment of the present invention for reporting information, is detecting user by obtaining module 301 Pressing operation when, obtain the pressing information of the pressing operation;Judgment module 302 judges that the pressing information do not changed holds Whether continuous duration is greater than preset duration;Modified module 303 modifies the pressing information when the judgment module 302 is judged as YES, with Obtain modified pressing information;Reporting module 304 reports the modified pressing information.The program does not occur in pressing information When the duration of change is greater than preset duration, modification pressing information, and modified pressing information is reported, on after modification The pressing information that the pressing information of report is different with the preceding pressing information once reported, therefore reports will not be by input subsystem System filters out, thus can be reported to data process subsystem, and data process subsystem thinks user after receiving pressing information Pressing operation is carried out, therefore when user continues fixedly to press touch screen, terminal system will not enter suspend mode, relative to existing For having technology, the convenience of terminal is improved.
Example IV
The embodiment of the present invention also provides a kind of terminal, which can be the equipment such as smart phone, tablet computer.
As shown in figure 8, terminal 400 may include: to obtain module 401, judgment module 402, modified module 403, report mould Block 404, is described in detail below:
The acquisition module 401, in the pressing operation for detecting user, obtaining the pressing information of the pressing operation;
Whether the judgment module 402, the duration for judging that the pressing information does not change are greater than preset duration;
The modified module 403, for the pressing information being modified, to be modified when the judgment module 402 is judged as YES Pressing information afterwards;
The reporting module 404, for reporting the modified pressing information.
Preferably, which includes the first pressing information and the second pressing information, which specifically uses In:
The second pressing information is modified, to obtain modified second pressing information;
The reporting module 404 is specifically used for:
Report the first pressing information and the modified second pressing information.
Preferably, which includes: the first acquisition submodule, modifies submodule, specific as follows:
First acquisition submodule, for obtaining the modification amplitude of the second pressing information;
The modification submodule is used for according to the modification amplitude modification the second pressing information, to obtain modified second Press information.
Preferably, which is also used to:
After the pressing information that the acquisition module 401 obtains the pressing operation, the pressing information is reported;
The judgment module 402 includes: the second acquisition submodule, judging submodule, specific as follows:
Second acquisition submodule, for obtaining the number for continuously reporting the identical pressing information;
The judging submodule, for judging whether the number is greater than preset times.
Preferably, the judgment module 402 further include: third acquisition submodule, computational submodule, specific as follows:
The third acquisition submodule, for obtaining the duration threshold for reporting the frequency of the pressing information and system to enter suspend mode Value;
The computational submodule, for according to the frequency and the duration threshold calculations preset times.
Aforesaid operations are for details, reference can be made to the embodiment of the method for front, and details are not described herein.
The embodiment of the present invention also provides another terminal, as shown in figure 9, the terminal 500 may include radio frequency (RF, Radio Frequency) circuit 501, include one or more memory 502, the input unit of computer readable storage medium 503, display unit 504, sensor 505, voicefrequency circuit 506, Wireless Fidelity (WiFi, Wireless Fidelity) module 507, the components such as processor 508 and the power supply 509 of processing core are included one or more than one.Those skilled in the art Member it is appreciated that terminal structure not structure paired terminal shown in Fig. 9 restriction, may include more more or fewer than illustrating Component perhaps combines certain components or different component layouts.
Radio circuit 501 can be used for receiving and sending messages or communication process in signal send and receive, particularly, by base station Downlink information receive after, transfer to one or more than one processor 508 processing;In addition, the data for being related to uplink are sent To base station.In general, radio circuit 501 includes but is not limited to antenna, at least one amplifier, tuner, one or more oscillations Device, subscriber identity module (SIM, Subscriber Identity Module) card, transceiver, coupler, low noise amplification Device (LNA, Low Noise Amplifier), duplexer etc..In addition, radio circuit 501 can also by wireless communication with network It is communicated with other equipment.Any communication standard or agreement, including but not limited to global system for mobile telecommunications can be used in the wireless communication System (GSM, Global System of Mobile communication), general packet radio service (GPRS, General Packet Radio Service), CDMA (CDMA, Code Division Multiple Access), wideband code division it is more Location (WCDMA, Wideband Code Division Multiple Access), long term evolution (LTE, Long Term Evolution), Email, short message service (SMS, Short Messaging Service) etc..
Memory 502 can be used for storing application program and data.It include that can hold in the application program that memory 502 stores Line program code.Application program can form various functional modules.Processor 508 is stored in answering for memory 502 by operation With program, thereby executing various function application and data processing.Memory 502 can mainly include storing program area and storage number According to area, wherein storing program area can application program needed for storage program area, at least one function (for example sound plays function Energy, image player function etc.) etc.;Storage data area can store according to terminal use created data (such as audio data, Phone directory etc.) etc..In addition, memory 502 may include high-speed random access memory, it can also include non-volatile memories Device, for example, at least a disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory 502 can also include Memory Controller, to provide the access of processor 508 and input unit 503 to memory 502.
Input unit 503 can be used for receiving number, character information or the user's characteristic information (such as fingerprint) of input, and Generate keyboard related with user setting and function control, mouse, operating stick, optics or trackball signal input.Specifically Ground, input unit 503 may include fingerprint recognition mould group.In some embodiments, input unit 503 can also include touch-sensitive table Face.Touch sensitive surface, also referred to as touch screen or Trackpad collect touch operation (such as the user of user on it or nearby Use the operation of any suitable object or attachment such as finger, stylus on touch sensitive surface or near touch sensitive surface), and according to Preset formula drives corresponding attachment device.Optionally, touch sensitive surface may include touch detecting apparatus and touch control Two parts of device.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, it will believe Number send touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact seat Mark, then gives processor 508, and can receive order that processor 508 is sent and be executed.Furthermore, it is possible to using resistance-type, The multiple types such as condenser type, infrared ray and surface acoustic wave realize touch sensitive surface.In addition to touch sensitive surface, input unit 503 may be used also To include other input equipments.Specifically, other input equipments can include but is not limited to physical keyboard, function key (such as sound Measure control button, switch key etc.), trace ball, mouse, one of operating stick etc. or a variety of.
Display unit 504 can be used for showing information input by user or be supplied to user information and terminal it is various Graphical user interface, these graphical user interface can be made of figure, text, icon, video and any combination thereof.Display Unit 504 may include display panel.Optionally, can using liquid crystal display (LCD, Liquid Crystal Display), The forms such as Organic Light Emitting Diode (OLED, Organic Light-Emitting Diode) configure display panel.Further , touch sensitive surface can cover display panel, after touch sensitive surface detects touch operation on it or nearby, send processing to Device 508 is followed by subsequent processing device 508 and is provided on a display panel accordingly according to the type of touch event to determine the type of touch event Visual output.Although touch sensitive surface and display panel are to realize input and input as two independent components in Fig. 9 Function, but in some embodiments it is possible to touch sensitive surface and display panel are integrated and realizes and outputs and inputs function.
Terminal may also include at least one sensor 505, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light Light and shade adjust the brightness of display panel, proximity sensor can close display panel and/or back when terminal is moved in one's ear Light.As a kind of motion sensor, gravity accelerometer can detect (generally three axis) acceleration in all directions Size can detect that size and the direction of gravity when static, can be used to identify mobile phone posture application (such as horizontal/vertical screen switching, Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;It can also configure as terminal The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, details are not described herein.
Voicefrequency circuit 506 can provide the audio interface between user and terminal by loudspeaker, microphone.Voicefrequency circuit The audio data received can be converted into electric signal by 506, be transferred to loudspeaker, be converted to voice signal output by loudspeaker; On the other hand, the voice signal of collection is converted to electric signal by microphone, is converted to audio number after being received by voicefrequency circuit 506 According to then such as another terminal will be sent to through radio circuit 501 after audio data output processor 508 handles, or by sound Frequency is further processed according to output to memory 502.Voicefrequency circuit 506 is also possible that earphone jack, to provide peripheral hardware The communication of earphone and terminal.
Wireless Fidelity (WiFi) belongs to short range wireless transmission technology, and terminal can be helped by wireless fidelity module 507 User sends and receive e-mail, browses webpage and access streaming video etc., it provides wireless broadband internet access for user. Although Fig. 9 shows wireless fidelity module 507, but it is understood that, and it is not belonging to must be configured into for terminal, completely may be used To omit within the scope of not changing the essence of the invention as needed.
Processor 508 is the control centre of terminal, using the various pieces of various interfaces and the entire terminal of connection, is led to It crosses operation or executes the application program being stored in memory 502, and call the data being stored in memory 502, execute The various functions and processing data of terminal, to carry out integral monitoring to terminal.Optionally, processor 508 may include one or Multiple processing cores;Preferably, processor 508 can integrate application processor and modem processor, wherein application processor Main processing operation system, user interface and application program etc., modem processor mainly handles wireless communication.It is understood that , above-mentioned modem processor can not also be integrated into processor 508.
Terminal further includes the power supply 509 (such as battery) powered to all parts.Preferably, power supply can pass through power supply pipe Reason system and processor 508 are logically contiguous, to realize management charging, electric discharge and power managed by power-supply management system Etc. functions.Power supply 509 can also include one or more direct current or AC power source, recharging system, power failure inspection The random components such as slowdown monitoring circuit, power adapter or inverter, power supply status indicator.
Although being not shown in Fig. 9, terminal can also include camera, bluetooth module etc., and details are not described herein.
Specifically in the present embodiment, the processor 508 in terminal can be according to following instruction, will be one or more The corresponding executable program code of the process of application program is loaded into memory 502, and is stored in by processor 508 to run Application program in memory 502, to realize various functions:
When detecting the pressing operation of user, the pressing information of the pressing operation is obtained;Judge that the pressing information does not occur Whether the duration of change is greater than preset duration;If so, the pressing information is modified, to obtain modified pressing information; Report the modified pressing information.
Preferably, processor 508, which has, obtains module, judgment module, modified module, reporting module, is described in detail below:
Processor 508 is used to obtain pressing for the pressing operation by obtaining module in the pressing operation for detecting user Press information;
It is pre- that processor 508 is used to judge by judgment module whether the duration that the pressing information does not change to be greater than If duration;
Processor 508 is used for through modified module when the judgment module is judged as YES, and the pressing information is modified, to obtain Modified pressing information;
Processor 508 is used to report the modified pressing information by reporting module.
Aforesaid operations are for details, reference can be made to the embodiment of the method for front, and details are not described herein.
From the foregoing, it will be observed that the embodiment of the invention provides a kind of terminal, by obtaining in the pressing operation for detecting user The pressing information of the pressing operation;Whether the duration for judging that the pressing information does not change is greater than preset duration;If so, The pressing information is modified, then to obtain modified pressing information;Report the modified pressing information.The program is believed in pressing When ceasing the duration not changed greater than preset duration, modification pressing information, and modified pressing information is reported, due to The pressing information that the pressing information reported after modification is different with the preceding pressing information once reported, therefore reports will not be by Input subsystem filters out, thus can be reported to data process subsystem, after data process subsystem receives pressing information Thinking that user has carried out pressing operation, therefore when user continues fixedly to press touch screen, terminal system will not enter suspend mode, In terms of existing technologies, the convenience of terminal is improved.
It should be noted that those 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 store in computer-readable storage medium In matter, 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 method, apparatus for reporting information above and terminal has carried out detailed Jie It continues, used herein a specific example illustrates the principle and implementation of the invention, and the explanation of above embodiments is only It is to be used to help understand method and its core concept of the invention;Meanwhile for those skilled in the art, according to the present invention Thought, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not be construed as Limitation of the present invention.

Claims (10)

1. a kind of method for reporting information characterized by comprising
When detecting the pressing operation of user, the pressing information of the pressing operation is obtained;
Whether the duration for judging that the pressing information does not change is greater than preset duration;
If the duration that pressing information does not change is greater than preset duration, the pressing information is modified, to be modified Pressing information afterwards;
Report the modified pressing information.
2. the method according to claim 1, wherein the pressing information includes that the first pressing information and second is pressed Information is pressed, it is described to modify the pressing information, to be specifically included the step of obtaining modified pressing information:
The second pressing information is modified, to obtain modified second pressing information;
Described the step of reporting the modified pressing information, specifically includes:
Report the first pressing information and the modified second pressing information.
3. according to the method described in claim 2, it is characterized in that, the modification described second presses information, to be modified Afterwards second pressing information the step of specifically include:
Obtain the modification amplitude of the second pressing information;
The second pressing information according to the modification amplitude modification, to obtain modified second pressing information.
4. the method according to claim 1, wherein the step of pressing information for obtaining the pressing operation Later, the method also includes:
Report the pressing information;
The step of whether duration for judging that the pressing information does not change is greater than preset duration specifically includes:
Obtain the number for continuously having reported the identical pressing information;
Judge whether the number is greater than preset times.
5. according to the method described in claim 4, it is characterized in that, the step for judging the number and whether being greater than preset times It is described judge described to press that the step of whether duration that information does not change is greater than preset duration specifically also wraps before rapid It includes:
Obtain the duration threshold value for reporting the frequency of the pressing information and system to enter suspend mode;
According to the frequency and the duration threshold calculations preset times.
6. a kind of device for reporting information characterized by comprising
Module is obtained, in the pressing operation for detecting user, obtaining the pressing information of the pressing operation;
Whether judgment module, the duration for judging that the pressing information does not change are greater than preset duration;
Modified module modifies the pressing information if being greater than preset duration for pressing the duration that information does not change, To obtain modified pressing information;
Reporting module, for reporting the modified pressing information.
7. device according to claim 6, which is characterized in that the pressing information includes that the first pressing information and second is pressed Information is pressed, the modified module is specifically used for:
The second pressing information is modified, to obtain modified second pressing information;
The reporting module is specifically used for:
Report the first pressing information and the modified second pressing information.
8. device according to claim 7, which is characterized in that the modified module specifically includes:
First acquisition submodule, for obtaining the modification amplitude of the second pressing information;
Modify submodule, for according to the modification amplitude modification second press information, with obtain modified second by Press information.
9. device according to claim 6, which is characterized in that the reporting module is also used to:
After the acquisition module obtains the pressing information of the pressing operation, the pressing information is reported;
The judgment module specifically includes:
Second acquisition submodule, for obtaining the number for continuously reporting the identical pressing information;
Judging submodule, for judging whether the number is greater than preset times.
10. a kind of terminal characterized by comprising
Touch screen, for receiving the pressing operation of user;
It is stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, executes as appointed in claim 1 to 5 Method described in one.
CN201610885482.2A 2016-10-09 2016-10-09 Report the method, apparatus and terminal of information Active CN106325607B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610885482.2A CN106325607B (en) 2016-10-09 2016-10-09 Report the method, apparatus and terminal of information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610885482.2A CN106325607B (en) 2016-10-09 2016-10-09 Report the method, apparatus and terminal of information

Publications (2)

Publication Number Publication Date
CN106325607A CN106325607A (en) 2017-01-11
CN106325607B true CN106325607B (en) 2019-02-12

Family

ID=57820190

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610885482.2A Active CN106325607B (en) 2016-10-09 2016-10-09 Report the method, apparatus and terminal of information

Country Status (1)

Country Link
CN (1) CN106325607B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102830875A (en) * 2012-08-10 2012-12-19 广东欧珀移动通信有限公司 Method for improving electrostatic resistance of capacitive screen by filtering algorithm
CN103176633A (en) * 2011-12-21 2013-06-26 珠海全志科技股份有限公司 Anti-misoperation method, anti-misoperation device and anti-misoperation system of touch screen
KR20140114145A (en) * 2013-03-18 2014-09-26 박철 Operation method of personal portable device having touch panel
CN105739868A (en) * 2016-02-01 2016-07-06 宇龙计算机通信科技(深圳)有限公司 Method and device for identifying mistaken touch of terminal
CN105808049A (en) * 2016-02-26 2016-07-27 努比亚技术有限公司 Control method and device for realizing mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103176633A (en) * 2011-12-21 2013-06-26 珠海全志科技股份有限公司 Anti-misoperation method, anti-misoperation device and anti-misoperation system of touch screen
CN102830875A (en) * 2012-08-10 2012-12-19 广东欧珀移动通信有限公司 Method for improving electrostatic resistance of capacitive screen by filtering algorithm
KR20140114145A (en) * 2013-03-18 2014-09-26 박철 Operation method of personal portable device having touch panel
CN105739868A (en) * 2016-02-01 2016-07-06 宇龙计算机通信科技(深圳)有限公司 Method and device for identifying mistaken touch of terminal
CN105808049A (en) * 2016-02-26 2016-07-27 努比亚技术有限公司 Control method and device for realizing mobile terminal

Also Published As

Publication number Publication date
CN106325607A (en) 2017-01-11

Similar Documents

Publication Publication Date Title
CN106203290B (en) A kind of fingerprint image acquisition method and terminal
CN106131345B (en) Control method and device of proximity sensor and mobile terminal
MX2015007250A (en) Gesture-based conversation processing method, apparatus, and terminal device.
CN103345355A (en) Screen-locking interface display control method, device and terminal device
CN105912919B (en) A kind of unlocked by fingerprint method and terminal
CN106646440B (en) A kind of falling height detection method and device
CN107465841B (en) Fault information reporting method and terminal
CN104636047A (en) Method and device for operating objects in list and touch screen terminal
CN105760094A (en) Frame rate controlling method and device and terminal
CN106951850A (en) The method and mobile terminal of a kind of control fingerprint recognition module
CN106484326A (en) A kind of data transmission processing method and mobile terminal
CN105094501A (en) Display method, device and system for messages in mobile terminal
CN104346028B (en) Address field display methods, device and mobile terminal
CN109669662A (en) A kind of pronunciation inputting method, device, storage medium and mobile terminal
CN106452644B (en) Control method for playing back, device and terminal
CN106648205B (en) Dormancy control method, device and terminal
CN106648460B (en) Step counting data filtering method and intelligent terminal
CN106066769B (en) A kind of processing method and mobile terminal of mobile terminal
CN109688611A (en) A kind of configuration method, device, terminal and the storage medium of frequency range parameter
US20180152893A1 (en) Terminal control method and apparatus and terminal device
CN105700801A (en) Interface interception method and device
CN104599129A (en) Affirming method and device for executing operation
CN106254673A (en) Terminal fall detection method and device
CN110851014A (en) Touch identification method and device, storage medium and terminal equipment
CN110489177A (en) Application control method, apparatus, storage medium and terminal device

Legal Events

Date Code Title Description
PB01 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