CN110007803A - Touch screen report point methods, device, touch screen and electronic equipment - Google Patents

Touch screen report point methods, device, touch screen and electronic equipment Download PDF

Info

Publication number
CN110007803A
CN110007803A CN201910302019.4A CN201910302019A CN110007803A CN 110007803 A CN110007803 A CN 110007803A CN 201910302019 A CN201910302019 A CN 201910302019A CN 110007803 A CN110007803 A CN 110007803A
Authority
CN
China
Prior art keywords
touch screen
touch operation
touch
coordinate data
point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910302019.4A
Other languages
Chinese (zh)
Inventor
古启才
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oneplus Technology Shenzhen Co Ltd
Original Assignee
Oneplus Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oneplus Technology Shenzhen Co Ltd filed Critical Oneplus Technology Shenzhen Co Ltd
Priority to CN201910302019.4A priority Critical patent/CN110007803A/en
Publication of CN110007803A publication Critical patent/CN110007803A/en
Pending legal-status Critical Current

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/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
    • 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/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means

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)
  • User Interface Of Digital Computer (AREA)

Abstract

The present invention provides a kind of touch screen report point methods, device, touch screen and electronic equipment, is related to touch screen technology field.Touch screen report point methods provided in an embodiment of the present invention, device, touch screen and electronic equipment, if listening to the touch operation on the screen of touch screen, and the touch operation press event and lift time difference between event it is shorter when, complement point is carried out to the coordinate data of touch operation, the report point data obtained after complement point is reported to the central processing unit of electronic equipment, it can alleviate when being in low-power consumption mode due to electronic equipment, central processing unit reads lag and loses the valid data frame that touch screen reports, after causing user to quickly click touch screen, electronic equipment does not have the problem of any reaction, improve user experience.

Description

Touch screen report point methods, device, touch screen and electronic equipment
Technical field
The present invention relates to touch screen technology fields, more particularly, to a kind of touch screen report point methods, device, touch screen and electricity Sub- equipment.
Background technique
Touch screen has become the standard configuration device of electronic equipment, especially mobile electronic device, and touch screen is by individually Device control is managed, when user touches the screen of above-mentioned touch screen, capacitance variations caused by meeting pass through the screen for detecting user's touch screen Caused capacitance variations calculate corresponding coordinate information, and report to the central processing unit of electronic equipment.Currently, in order to save Power consumption, electronic equipment can enter suspend mode when not receiving user's operation for a long time.Although electronic equipment is in suspend mode In mode, but if touch screen be still in just be always on screen triggering mode, touch screen will according to setting report point rate normally Report the coordinate data of touch point.Central processing unit is triggered by the reported event of touch screen, is exited low-power consumption mode and is entered just Regular operation mode.
But central processing unit, which exits low-power consumption mode and enters normal operation mode, to be needed to expend the regular hour, is easy to lead Central processing unit is caused to obtain the coordinate data less than touch screen real-time Transmission under low-power consumption mode, and touch screen itself is not present Caching mechanism, can only real-time Transmission current touch point coordinate data.Thus will appear due to central processing unit read lag and The valid data frame that touch screen reports is lost, after causing user to quickly click touch screen, electronic equipment does not have any reaction Problem reduces user experience.
Summary of the invention
In view of this, the embodiment of the present invention is designed to provide a kind of touch screen report point methods, device, touch screen and electricity Sub- equipment, when can alleviate electronic equipment and being in low-power consumption mode, user quickly clicks touch screen, and electronic equipment does not have any anti- The problem of answering improves user experience.
To achieve the goals above, technical solution used in the embodiment of the present invention is as follows:
In a first aspect, the embodiment of the invention provides a kind of touch screen report point methods, applied to the touch screen of electronic equipment, Include:
The touch operation on the screen of the touch screen is monitored, pressing for the touch operation is calculated and event and lifts event Between time difference;
Judge whether the time difference is less than or equal to the time threshold of setting;
If so, the coordinate data to the touch operation carries out complement point, report point data is generated;
The report point data is reported to the central processing unit of the electronic equipment.
With reference to first aspect, the embodiment of the invention provides the first possible embodiments of first aspect, wherein institute State method further include:
If listening to the touch operation on the touch screen, judges whether touch screen is in and be just always on screen triggering mode;
The step of pressing event and lift the time difference between event of the touch operation is calculated if so, executing.
The possible embodiment of with reference to first aspect the first, the embodiment of the invention provides second of first aspect Possible embodiment, wherein the judgement touch screen is in the step of being just always on screen triggering mode, comprising:
Read the state value in touch screen status register;
Judge whether touch screen is according to the state value and is just always on screen triggering mode.
With reference to first aspect, the embodiment of the invention provides the third possible embodiments of first aspect, wherein meter Calculate the step of pressing event and lift the time difference between event of the touch operation, comprising:
Obtain respectively the touch operation press the corresponding first time point of event and the touch operation lift thing Part corresponding second time point;
According to the first time point and second time point determine described in press event and described lift between event Time difference.
With reference to first aspect, the embodiment of the invention provides the 4th kind of possible embodiments of first aspect, wherein right The step of coordinate data of the touch operation carries out complement point, generates report point data, comprising:
An at least frame coordinate data are filled into the coordinate data of the touch operation, obtain report point data;The seat filled into Data packet is marked contained in the coordinate data of the touch operation.
The 4th kind of possible embodiment with reference to first aspect, the embodiment of the invention provides the 5th kind of first aspect Possible embodiment, wherein a step of at least frame coordinate data are filled into the coordinate data of the touch operation, packet It includes:
Obtain pre-set complement point frame number;
The tail portion of coordinate data according to the complement point frame number in the touch operation fills into coordinate data;The coordinate filled into Data are the last frame coordinate data of the touch operation.
Second aspect, the embodiment of the present invention also provide a kind of touch screen report point device, applied to the touch screen of electronic equipment, Include:
Monitor module, the touch operation on screen for monitoring the touch screen;
Computing module, for calculating pressing event and lifting the time difference between event for the touch operation;
Judgment module, for judging whether the time difference is less than or equal to the time threshold of setting;
Complement point module, when for being less than or equal to the time threshold of setting when the time difference, to the touch operation Coordinate data carries out complement point, generates report point data;The report point data is reported to the central processing unit of the electronic equipment.
In conjunction with second aspect, the embodiment of the invention provides the first possible embodiments of second aspect, wherein institute State device further include:
Mode decision module judges whether touch screen is in if the touch operation for listening on the touch screen Just it is always on screen triggering mode;Pressing event and lifting the time difference between event for the touch operation is calculated if so, executing The step of.
In conjunction with second aspect, the embodiment of the invention provides second of possible embodiment of second aspect, the benefits Point module is also used to:
An at least frame coordinate data are filled into the coordinate data of the touch operation, obtain report point data;The seat filled into Data packet is marked contained in the coordinate data of the touch operation.
In conjunction with second of possible embodiment of second aspect, the embodiment of the invention provides the third of second aspect Possible embodiment, the complement point module are also used to:
Obtain pre-set complement point frame number;
The tail portion of coordinate data according to the complement point frame number in the touch operation fills into coordinate data;The coordinate filled into Data are the last frame coordinate data of the touch operation.
The third aspect, the embodiment of the invention provides a kind of touch screens, including touch screen memory and touch screen processing Device, the touch screen memory are used to store the journey for supporting touch screen processor to execute any one of first aspect the method Sequence, the touch screen processor are configurable for executing the program stored in the touch screen memory.
Fourth aspect, the embodiment of the invention provides a kind of electronic equipment, including central processing unit and with the centre The touch screen of device connection is managed, the touch screen is touch screen described in the third aspect.
5th aspect, the embodiment of the invention provides a kind of machine readable storage medium, the machine readable storage medium On be stored with computer program, the computer program is executed when being run by processor described in any one of above-mentioned first aspect The step of method.
Compared with prior art, touch screen report point methods, device, touch screen and electronics provided in an embodiment of the present invention are set It is standby, if listening to the touch operation on the screen of touch screen, and the touch operation is pressed event and lifted between event When time difference is shorter, complement point is carried out to the coordinate data of touch operation, the report point data obtained after complement point is reported into electronics and is set Standby central processing unit can be alleviated when being in low-power consumption mode due to electronic equipment, and central processing unit reads lag and loses The valid data frame that touch screen reports, after causing user to quickly click touch screen, electronic equipment does not have the problem of any reaction, Improve user experience.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate Appended attached drawing, is described in detail below.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 is a kind of flow chart of touch screen report point methods provided by the embodiment of the present invention;
Fig. 2 is the flow chart of another kind touch screen report point methods provided by the embodiment of the present invention;
Fig. 3 is a kind of structural block diagram of touch screen report point device provided by the embodiment of the present invention;
Fig. 4 is the structural block diagram of another kind touch screen report point device provided by the embodiment of the present invention;
Fig. 5 is a kind of structural block diagram of touch screen provided by the embodiment of the present invention;
Fig. 6 is the structural block diagram of a kind of electronic equipment provided by the embodiment of the present invention.
Specific embodiment
Below in conjunction with attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete Ground description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Usually exist The component of the embodiment of the present invention described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause This, is not intended to limit claimed invention to the detailed description of the embodiment of the present invention provided in the accompanying drawings below Range, but it is merely representative of selected embodiment of the invention.Based on the embodiment of the present invention, those skilled in the art are not doing Every other embodiment obtained under the premise of creative work out, shall fall within the protection scope of the present invention.
When being in low-power consumption mode for existing electronic equipment, it is easy to appear and is lost since central processing unit reads lag The valid data frame that touch screen reports is lost, after causing user to quickly click touch screen, electronic equipment does not have asking for any reaction Topic, the embodiment of the invention provides a kind of touch screen report point methods, device, touch screen and electronic equipments, can alleviate electronics and set When for being in low-power consumption mode, user quickly clicks touch screen, and electronic equipment does not have the problem of any reaction, improves user's body It tests.
Below in conjunction with the drawings and specific embodiments, describe in detail to the embodiment of the present invention.
Fig. 1 shows a kind of flow chart of touch screen report point methods, this method provided by the embodiment of the present invention and is applied to The touch screen of electronic equipment, wherein electronic equipment can be mobile phone, palm PC, point-of-sale terminal, vehicle-mounted computer, intelligence wearing The mobile electronic devices such as equipment are also possible to install stationary electronic devices somewhere, self-service terminal, hospital such as bank Self-help registration machine etc..When the screen of touch screen is touched, touch screen obtains the corresponding seat in each touch point of touch operation Data are marked, and each coordinate data is reported to the central processing unit of electronic equipment.
Touch screen report point methods shown in FIG. 1 include the following steps:
Step S102 monitors the touch operation on the screen of touch screen.
Touch screen processor monitors the touch operation on screen in real time.When user touches touch screen, touch screen processor Movement and lift action are pressed by listen to user, pressing event and lift event as touch operation.For example, if should Touch screen is capacitive touch screen, and the variation of capacitance data on real-time monitoring screen is judged whether to occur by touch screen processor Touch operation.Exactly, touch screen processor monitors once to press event and once lifts event, is considered as the primary touching of generation Operation is touched, using the coordinate data of touch point each in touch operation as the coordinate data of touch operation.
Step S104 calculates pressing event and lifting the time difference between event for touch operation.
If listening to and touch operation having occurred on the screen of touch screen, the event of pressing for obtaining touch operation respectively is corresponded to First time point and touch operation lift event corresponding second time point;It is true according to first time point and the second time point Surely it presses event and lifts the time difference between event.
Step S106, judges whether the time difference is less than or equal to the time threshold of setting;If so, step S110 is executed, If not, executing step S108.
If the time difference pressing event and lifting between event is less than or equal to the time threshold set, illustrate that user touches The time for touching the screen of touch screen is very short, for example, user has quickly clicked the screen of touch screen.Since touch operation is tied quickly Beam, touch screen report the time of coordinate data also very short to the central processing unit of electronic equipment.If touch screen is to electronic equipment Central processing unit when reporting coordinate data, electronic equipment is in low-power consumption mode, at this time central processing unit read data can It can lag, the coordinate data that touch screen is reported to central processing unit will lose.In order to avoid in a short period of time, touching Shield the coordinate data reported to central processing unit to lose, complement point can be taken to operate.
If the time difference pressing event and lifting between event is greater than the time threshold set, illustrates that user touches and touch The operation of the screen of screen continue for certain duration.Correspondingly, touch screen reports touch to grasp to the central processing unit of electronic equipment The coordinate data of work can also continue for certain duration.During this period of time, the central processing unit of electronic equipment can be from low function Pattern recovery is consumed to normal operation mode, is read the coordinate data that touch screen reports, therefore, can not had to carry out complement point behaviour Make.
The coordinate data of touch operation is reported to the central processing unit of electronic equipment by step S108.
When press event and lift time difference between event be greater than the time threshold of setting when, can not have to carry out complement point Operation, according to the report point rate of setting, the coordinate data of each touch point of touch operation is successively reported in electronic equipment Central processor.
Step S110 carries out complement point to the coordinate data of touch operation, generates report point data.
An at least frame coordinate data are filled into the coordinate data of touch operation, obtain report point data.It illustratively, can be with From being chosen in the coordinate data of touch operation in the coordinate data that any one frame coordinate data fill into touch operation.
Step S112, the central processing unit that point data will be reported to report to electronic equipment.
The centre that each coordinate data in point data will be reported successively to report to electronic equipment according to the report point rate of setting Manage device.
Touch screen report point methods provided in an embodiment of the present invention, if listening to the touch operation on the screen of touch screen, And the touch operation press event and lift time difference between event it is shorter when, the coordinate data of touch operation is mended The report point data obtained after complement point is reported to the central processing unit of electronic equipment, can alleviated since electronic equipment is in by point When low-power consumption mode, central processing unit reads lag and loses the valid data frame that touch screen reports, and user is caused to quickly click After touch screen, electronic equipment does not have the problem of any reaction, improves user experience.
On the basis of the above embodiments, the embodiment of the invention provides a kind of specific implementation sides of touch screen report point methods Formula, as shown in Fig. 2, this method comprises the following steps:
Step S202 monitors the touch operation on the screen of touch screen.
The operating mode of touch screen, which generally comprises, is just always on screen triggering mode, blank screen gesture mode and suspend mode.Just When being always on screen triggering mode and blank screen gesture mode, touch screen can monitor the touch operation on the screen of touch screen.Blank screen hand Gesture mode refers to that screen goes out after screen, and user double-clicks or can light screen by other certain gestures.In suspend mode, touch screen The touch operation on the screen of touch screen will not be then monitored, it is all without anti-that user, which double-clicks or using other gesture operation touch screens, It answers.For example, the operating mode of touch screen can be set in user, the state value for indicating the operating mode of touch screen is stored in touch Shield in status register.
In embodiments of the present invention, when touch screen, which is in, is just being always on screen triggering mode or blank screen gesture mode, touch screen The touch operation on screen will be monitored.
Step S204, record touch operation press the corresponding first time point of event and touch operation lift event pair The last frame coordinate data at the second time point and touch operation answered.
Touch operation has occurred on the screen of touch screen if listened to, save touch operation presses event corresponding The last frame coordinate data for lifting event corresponding second time point and touch operation at one time point and touch operation.
Step S206 judges whether touch screen is in and is just always on screen triggering mode;If not, step S208 is executed, if It is to execute step S210.
Specifically, the state value in touch screen status register can be read, whether touch screen is judged according to the state value Shield triggering mode in being just always on.
The coordinate data of touch operation is reported to the central processing unit of electronic equipment by step S208.
If touch screen, which is not in, is just always on screen triggering mode, illustrate that touch screen is likely to be at blank screen gesture mode. Under blank screen gesture mode, without carrying out complement point operation, directly the coordinate data of touch operation is reported in electronic equipment Central processor.
Step S210 calculates pressing event and lifting the time difference between event for touch operation.
Step S212, judgement press event and lift the time the threshold whether time difference between event be less than or equal to setting Value;If so, executing step S214;If not, executing step S208.
The time threshold of setting can be in 10ms between 25ms.For example, it is assumed that the time threshold set is T=20ms, In the touch operation of user, pressing event corresponding time point is T1, and lifting event corresponding time point is T2, is touched The coordinate data of each touch point of operation is (x1, y1), (x2, y2), (x3, y3), (x4, y4), (x5, y5), (x6, y6). If T2-T1=90ms, T2-T1 > T, the time difference pressing event and lifting between event is greater than the time threshold set, nothing Complement point operation need to be carried out, the coordinate data of touch operation is reported to the central processing of electronic equipment according to the report point rate of setting Device.That is the touch screen sequence that is reported to the data of central processing unit are as follows: Down, (x1, y1), (x2, y2), (x3, y3), (x4, Y4), (x5, y5), (x6, y6), up.
The tail portion of step S214, the coordinate data according to preset complement point frame number in touch operation fill into coordinate data;It mends The coordinate data entered is the last frame coordinate data of touch operation.
Pre-set complement point frame number is obtained first, is filled into according to complement point frame number in the tail portion of the coordinate data of touch operation Coordinate data;The coordinate data filled into is the last frame coordinate data of touch operation.Wherein, complement point frame number can be user's root It is preset according to experience.For example, if when electronic equipment is in low-power consumption mode, on central processing unit delay acquisition touch screen The time of the data frame of report is 40ms, and the report point rate of touch screen is 120Hz, i.e. the every 8.3ms of touch screen reports a frame coordinate data, It successively calculates, if complement point frame number is set as 5, it is 8.3*5=41.5ms that touch screen, which reports the time used in 5 frame data, may be used To guarantee the available data frame reported to touch screen of central processing unit, avoids the screen of user's point touching screen and do not have There is the phenomenon that reaction.Therefore, it is 5 that complement point frame number, which can be set,.
It is still assumed that the time threshold set as T=20ms, in a touch operation, presses event corresponding time point For T3, lifting event corresponding time point is T4, and the coordinate data of each touch point of touch operation is (x1, y1), (x2, y2).If T4-T3=10ms, T4-T3 < T, the time difference pressing event and lifting between event is less than the time threshold set, Then carry out complement point operation.Pre-set complement point frame number N is obtained, according to complement point frame number in the tail portion of the coordinate data of touch operation Fill into coordinate data.In an alternative embodiment, N frame coordinate number can be filled into the tail portion of the coordinate data of touch operation According to.In an alternative embodiment, N-1 frame coordinate data can be filled into the tail portion of the coordinate data of touch operation.When When complement point frame number N=5, the report point data obtained according to above-mentioned complement point method is (x1, y1), (x2, y2), (x2, y2), (x2, y2),(x2,y2),(x2,y2).Touch screen will report point data to report to central processing unit according to the report point rate of setting.That is touch screen Report to the sequence of the data of central processing unit are as follows: Down, (x1, y1), (x2, y2), (x2, y2), (x2, y2), (x2, y2), (x2, y2), up.
The central processing unit of electronic equipment obtains the coordinate data for the touch operation that touch screen reports, and executes touch operation pair The instruction answered responds the touch operation of user.
It should be noted that the embodiments are all described in a progressive manner for above-mentioned each method, each embodiment is stressed Be the difference from other embodiments, the non-repeated description in same and similar part between each embodiment can mutual coherent See.
The embodiment of the invention also provides a kind of touch screen report point devices corresponding to the above method embodiment, are applied to The touch screen of electronic equipment.As shown in figure 3, the device includes:
Monitor module 31, the touch operation on screen for monitoring the touch screen;
Computing module 32, for calculating pressing event and lifting the time difference between event for the touch operation;
Judgment module 33, for judging whether the time difference is less than or equal to the time threshold of setting;
Complement point module 34, when for being less than or equal to the time threshold of setting when the time difference, to the touch operation Coordinate data carry out complement point, generate report point data;The report point data is reported to the central processing unit of the electronic equipment.
In an alternative embodiment, as shown in figure 4, the device can also include:
Mode decision module 41 judges whether touch screen is located if the touch operation for listening on the touch screen Shield triggering mode in being just always on;Pressing event and lifting the time between event for the touch operation is calculated if so, executing The step of difference.
Optionally, mode decision module 41 can be also used for: read the state value in touch screen status register;According to institute State state value judge touch screen whether be in just be always on screen triggering mode.
Computing module 32 can be also used for: obtain respectively the touch operation press the corresponding first time point of event and Event corresponding second time point is lifted in the touch operation;It is determined according to the first time point and second time point It is described to press event and the time difference lifted between event.
Complement point module 34 can be also used for: an at least frame coordinate data are filled into the coordinate data of the touch operation, Obtain report point data;The coordinate data filled into is contained in the coordinate data of the touch operation.
Complement point module 34 can be also used for: obtain pre-set complement point frame number;According to the complement point frame number in the touching The tail portion for touching the coordinate data of operation fills into coordinate data;The coordinate data filled into is the last frame coordinate of the touch operation Data.
Touch screen report point methods provided in an embodiment of the present invention, if listening to the touch operation on the screen of touch screen, And the touch operation press event and lift time difference between event it is shorter when, the coordinate data of touch operation is mended The report point data obtained after complement point is reported to the central processing unit of electronic equipment, can alleviated since electronic equipment is in by point When low-power consumption mode, central processing unit reads lag and loses the valid data frame that touch screen reports, and user is caused to quickly click After touch screen, electronic equipment does not have the problem of any reaction, improves user experience.
The technical effect and preceding method of touch screen report point device provided by the present embodiment, realization principle and generation are real It is identical to apply example, to briefly describe, Installation practice part does not refer to place, can refer to corresponding interior in preceding method embodiment Hold.The touch screen report point device has the function of realizing above-mentioned touch screen report point methods behavior.The function can pass through hardware It realizes, corresponding software realization can also be executed by hardware.The hardware or software include one or more and above-mentioned function Corresponding module.
Corresponding with above-described embodiment, the embodiment of the invention also provides a kind of touch screens, as shown in figure 5, the touch Screen 131 includes touch screen processor 1311 and touch screen memory 1312, is stored with and can be touched in touch screen memory 1312 Touch screen processor 1311 execute machine-executable instruction, touch screen processor 1311 execute machine-executable instruction to realize on State touch screen report point methods described in embodiment of the method.
Further, touch screen 131 shown in fig. 5 further includes screen 1313, data transmission interface 1314 and bus 1315, Touch screen processor 1311, screen 1313, data transmission interface 1314 and touch screen memory 1312 are connected by bus 1315.
Touch screen 131 can be connect by data transmission interface 1314 with devices such as the central processing units of electronic equipment.Always Line 1315 can be isa bus, pci bus or eisa bus etc., and the bus can be divided into address bus, data/address bus, control Bus processed etc..
Touch screen processor 1311 can be a kind of IC chip, the processing capacity with signal.In the process of realization In, each step of the above method can pass through the integrated logic circuit or software form of the hardware in touch screen processor 1311 Instruction complete.Above-mentioned touch screen processor 1311 can be microprocessor or the processor be also possible to it is any conventional Processor etc..The step of method in conjunction with disclosed in the embodiment of the present invention, can be embodied directly in hardware decoding processor and execute At, or in decoding processor hardware and software module combination execute completion.Software module can be located at random access memory, This fields such as flash memory, read-only memory, programmable read only memory or electrically erasable programmable memory, register maturation In storage medium.Touch screen processor 1311 reads the information in touch screen memory 1312, completes aforementioned reality in conjunction with its hardware The step of applying the method for example.
The embodiment of the invention also provides a kind of electronic equipment.The electronic equipment can be mobile phone, tablet computer, POS The mobile electronic devices such as (Point of Sales, point-of-sale terminal), vehicle-mounted computer, intelligent wearable device, are also possible to be mounted on The stationary electronic devices in somewhere.
Fig. 6 shows a kind of structural block diagram of electronic equipment provided in an embodiment of the present invention.The electronic equipment can be one Kind mobile electronic device, is illustrated by taking mobile electronic device as an example below.For ease of description, Fig. 6 is illustrated only and this hair The relevant part of bright embodiment, it is disclosed by specific technical details, please refer to present invention method part.The electronic equipment 100 include: radio frequency (Radio Frequency, RF) circuit 110, memory 120, input unit 130, display unit 140, biography The portions such as sensor 150, voicefrequency circuit 160, Wireless Fidelity (wireless fidelity, WiFi) module 170, central processing unit 180 Part.It will be understood by those skilled in the art that 100 structure of electronic equipment shown in Fig. 6 does not constitute the limit to electronic equipment 100 It is fixed, it may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
It is specifically introduced below with reference to each component parts of the Fig. 6 to electronic equipment 100:
RF circuit 110 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station After downlink information receives, handled to central processing unit 180;In addition, the data for designing uplink are sent to base station.In general, RF is electric Road 110 includes but is not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuit 110 can also be communicated with network and other equipment by wireless communication. Any communication standard or agreement, including but not limited to global system for mobile communications (Global can be used in above-mentioned wireless communication System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution, LTE), Email, short message service (Short Messaging Service, SMS) etc..Although Fig. 6 shows RF circuit 110 but it is understood that, and be not belonging to must be configured into for electronic equipment 100, can according to need do not changing completely It is omitted in the range of the essence of invention.
Memory 120 can be used for storing software program and module, such as the touch screen report point methods in the embodiment of the present invention And the corresponding program instruction/module of device, central processing unit 180 by operation be stored in the software program of memory 120 with And module, thereby executing the various function application and data processing of electronic equipment 100, such as touch provided in an embodiment of the present invention Screen report point methods.Memory 120 can mainly include storing program area and storage data area, wherein storing program area can store behaviour Application program needed for making system, at least one function (such as sound-playing function, image player function etc.) etc.;Storing data Area, which can be stored, uses created data (such as audio data, phone directory etc.) etc. according to electronic equipment 100.In addition, storage Device 120 may include high-speed random access memory, can also include nonvolatile memory, for example, at least a disk storage Device, flush memory device or other volatile solid-state parts.
Input unit 130 can be used for receiving the number or character information of input, and generate the user with electronic equipment 100 Setting and the related key signals input of function control.Specifically, input unit 130 may include touch screen 131 and other are defeated Enter equipment 132.Touch screen 131, also referred to as touch screen, collecting the touch operation of user on it or nearby, (for example user makes With the operation of any suitable object or attachment such as finger, stylus on touch screen 131 or near touch screen 131), and according to Preset formula drives corresponding attachment device.Optionally, touch screen 131 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 central processing unit 180, and can receive order that central processing unit 180 is sent and be executed.Furthermore, it is possible to adopt Touch screen 131 is realized with multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch screen 131, input Unit 130 can also include other input equipments 132.Specifically, other input equipments 132 can include but is not limited to secondary or physical bond One of disk, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.
Display unit 140 can be used for showing information input by user or the information and electronic equipment that are supplied to user 100 various menus.Display unit 140 may include display panel 141, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) To configure display panel 141.Further, touch screen 131 can cover display panel 141, when touch screen 131 detects on it Or after neighbouring touch operation, central processing unit 180 is sent to determine the type of touch event, subsequent central processing unit 180 It is processed according to the type of touch event.Although touch screen 131 and display panel 141 are as two independent portions in Fig. 6 Part realizes the input and input function of electronic equipment 100, but in some embodiments it is possible to by touch screen 131 and display Panel 141 is integrated and that realizes electronic equipment 100 output and input function.Wherein, the specific structure of touch screen 131 may refer to Shown in Fig. 5.
Electronic equipment 100 may also include at least one sensor 150, for example, optical sensor, motion sensor and other Sensor.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can basis The light and shade of ambient light adjusts the brightness of display panel 141, proximity sensor can when electronic equipment 100 is moved in one's ear, Close display panel 141 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect (one in all directions As be three axis) acceleration size, can detect that size and the direction of gravity when static, can be used to identify 100 appearance of electronic equipment The application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of state, Vibration identification correlation function (such as pedometer, Tap) etc.;Gyroscope, barometer, hygrometer, thermometer, infrared sensor for can also configure as electronic equipment 100 etc. its His sensor, details are not described herein.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the audio interface between user and electronic equipment 100. Electric signal after the audio data received conversion can be transferred to loudspeaker 161, be converted by loudspeaker 161 by voicefrequency circuit 160 For voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, is connect by voicefrequency circuit 160 Audio data is converted to after receipts, then after audio data output central processing unit 180 is handled, through RF circuit 110 to be sent to ratio Such as another electronic equipment 100, or audio data is exported to memory 120 to be further processed.
WiFi belongs to short range wireless transmission technology, and electronic equipment 100 can help user to receive and dispatch by WiFi module 170 Email, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.
Central processing unit 180 is the control centre of electronic equipment 100, is set using various interfaces and the entire electronics of connection Standby 100 various pieces by running or execute the software program and/or module that are stored in memory 120, and are called and are deposited Store up data in memory 120, execute the various functions and processing data of electronic equipment 100, thus to electronic equipment 100 into Row integral monitoring.Optionally, central processing unit 180 may include one or more processing units;Optionally, central processing unit 180 Application processor and modem processor can be integrated, wherein the main processing operation system of application processor, user interface and answer With program etc., modem processor mainly handles wireless communication.It is understood that above-mentioned modem processor can also be with It is not integrated into central processing unit 180.
It is appreciated that structure shown in fig. 6 is only to illustrate, electronic equipment 100 may also include it is more than shown in Fig. 6 or Less component, or with the configuration different from shown in Fig. 6.Each component shown in Fig. 6 can using hardware, software or its Combination is realized.
Further, the embodiment of the invention also provides a kind of machine readable storage medium, the machine readable storage mediums It is stored with machine-executable instruction, when being called and being executed by processor, machine-executable instruction promotees the machine-executable instruction Processor is set to realize above-mentioned touch screen report point methods.
Touch screen report point methods, device, touch screen and electronic equipment, skill having the same provided by the embodiment of the present invention Art feature also can solve identical technical problem, reach identical technical effect.
In several embodiments provided herein, it should be understood that disclosed device and method can also pass through Other modes are realized.The apparatus embodiments described above are merely exemplary, for example, flow chart and block diagram in attached drawing Show the device of multiple embodiments according to the present invention, the architectural framework in the cards of method and computer program product, Function and operation.In this regard, each box in flowchart or block diagram can represent the one of a module, section or code Part, a part of the module, section or code, which includes that one or more is for implementing the specified logical function, to be held Row instruction.It should also be noted that function marked in the box can also be to be different from some implementations as replacement The sequence marked in attached drawing occurs.For example, two continuous boxes can actually be basically executed in parallel, they are sometimes It can execute in the opposite order, this depends on the function involved.It is also noted that every in block diagram and or flow chart The combination of box in a box and block diagram and or flow chart can use the dedicated base for executing defined function or movement It realizes, or can realize using a combination of dedicated hardware and computer instructions in the system of hardware.
In addition, each functional module or unit in each embodiment of the present invention can integrate one independence of formation together Part, be also possible to modules individualism, an independent portion can also be integrated to form with two or more modules Point.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence, indication or suggestion relative importance can not be interpreted as.Moreover, term " packet Include ", "comprising" or any other variant thereof is intended to cover non-exclusive inclusion so that including the mistake of a series of elements Journey, method, article or equipment not only include those elements, but also including other elements that are not explicitly listed, either It further include for elements inherent to such a process, method, article, or device.In the absence of more restrictions, by sentence The element that "including a ..." limits, it is not excluded that also deposit in the process, method, article or apparatus that includes the element In other identical element.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.It should also be noted that similar label and letter exist Similar terms are indicated in following attached drawing, therefore, once being defined in a certain Xiang Yi attached drawing, are then not required in subsequent attached drawing It is further defined and explained.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (13)

1. a kind of touch screen report point methods, which is characterized in that the touch screen applied to electronic equipment, comprising:
The touch operation on the screen of the touch screen is monitored, pressing event and lifting between event for the touch operation is calculated Time difference;
Judge whether the time difference is less than or equal to the time threshold of setting;
If so, the coordinate data to the touch operation carries out complement point, report point data is generated;
The report point data is reported to the central processing unit of the electronic equipment.
2. the method according to claim 1, wherein the method also includes:
If listening to the touch operation on the touch screen, judges whether touch screen is in and be just always on screen triggering mode;
The step of pressing event and lift the time difference between event of the touch operation is calculated if so, executing.
3. according to the method described in claim 2, it is characterized in that, the judgement touch screen is in and is just always on screen triggering mode Step, comprising:
Read the state value in touch screen status register;
Judge whether touch screen is according to the state value and is just always on screen triggering mode.
4. the method according to claim 1, wherein calculating pressing for the touch operation event and lifts event Between time difference the step of, comprising:
Obtain respectively the touch operation press the corresponding first time point of event and the touch operation lift event pair The second time point answered;
According to the first time point and second time point determine described in press event and it is described lift between event when Between it is poor.
5. the method according to claim 1, wherein carrying out complement point, life to the coordinate data of the touch operation The step of at report point data, comprising:
An at least frame coordinate data are filled into the coordinate data of the touch operation, obtain report point data;The number of coordinates filled into According to being contained in the coordinate data of the touch operation.
6. according to the method described in claim 5, it is characterized in that, filling at least one in the coordinate data of the touch operation The step of frame coordinate data, comprising:
Obtain pre-set complement point frame number;
The tail portion of coordinate data according to the complement point frame number in the touch operation fills into coordinate data;The coordinate data filled into For the last frame coordinate data of the touch operation.
7. a kind of touch screen report point device, which is characterized in that the touch screen applied to electronic equipment, comprising:
Monitor module, the touch operation on screen for monitoring the touch screen;
Computing module, for calculating pressing event and lifting the time difference between event for the touch operation;
Judgment module, for judging whether the time difference is less than or equal to the time threshold of setting;
Complement point module, when for being less than or equal to the time threshold of setting when the time difference, to the coordinate of the touch operation Data carry out complement point, generate report point data;The report point data is reported to the central processing unit of the electronic equipment.
8. device according to claim 7, which is characterized in that described device further include:
Mode decision module judges whether touch screen is in normal if the touch operation for listening on the touch screen Bright screen triggers mode;If so, executing the step for pressing event and lift the time difference between event for calculating the touch operation Suddenly.
9. device according to claim 7, which is characterized in that the complement point module is also used to:
An at least frame coordinate data are filled into the coordinate data of the touch operation, obtain report point data;The number of coordinates filled into According to being contained in the coordinate data of the touch operation.
10. device according to claim 9, which is characterized in that the complement point module is also used to:
Obtain pre-set complement point frame number;
The tail portion of coordinate data according to the complement point frame number in the touch operation fills into coordinate data;The coordinate data filled into For the last frame coordinate data of the touch operation.
11. a kind of touch screen, which is characterized in that including touch screen memory and touch screen processor, the touch screen storage Device is used to store the program for supporting any one of 1~6 the method for touch screen processor perform claim requirement, at the touch screen Reason device is configurable for executing the program stored in the touch screen memory.
12. a kind of electronic equipment, which is characterized in that including central processing unit and the touch screen being connect with the central processing unit, The touch screen is touch screen described in claim 11.
13. a kind of machine readable storage medium, it is stored with computer program on the machine readable storage medium, feature exists In when the computer program is run by processor the step of method described in any one of execution the claims 1~6.
CN201910302019.4A 2019-04-15 2019-04-15 Touch screen report point methods, device, touch screen and electronic equipment Pending CN110007803A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910302019.4A CN110007803A (en) 2019-04-15 2019-04-15 Touch screen report point methods, device, touch screen and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910302019.4A CN110007803A (en) 2019-04-15 2019-04-15 Touch screen report point methods, device, touch screen and electronic equipment

Publications (1)

Publication Number Publication Date
CN110007803A true CN110007803A (en) 2019-07-12

Family

ID=67172144

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910302019.4A Pending CN110007803A (en) 2019-04-15 2019-04-15 Touch screen report point methods, device, touch screen and electronic equipment

Country Status (1)

Country Link
CN (1) CN110007803A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110737359A (en) * 2019-09-05 2020-01-31 Oppo(重庆)智能科技有限公司 Point reporting method, touch screen and storage medium
WO2021081710A1 (en) * 2019-10-28 2021-05-06 深圳市欢太科技有限公司 Vibration driving method and apparatus, and electronic device and computer readable medium
CN113050830A (en) * 2021-03-16 2021-06-29 上海商米科技集团股份有限公司 Anti-interference processing method for touch screen of Android desktop cash register
CN113126791A (en) * 2019-12-31 2021-07-16 荣耀终端有限公司 Time stamp recording device, system, method, medium, and apparatus

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104503173A (en) * 2014-12-24 2015-04-08 深圳市华星光电技术有限公司 Touch display panel, touch display device and control method
CN105975122A (en) * 2016-04-27 2016-09-28 集怡嘉数码科技(深圳)有限公司 Touch track compensation method and apparatus as well as terminal device
CN107273130A (en) * 2017-06-20 2017-10-20 深圳市万普拉斯科技有限公司 Method, device and the terminal for accelerating interface to draw

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104503173A (en) * 2014-12-24 2015-04-08 深圳市华星光电技术有限公司 Touch display panel, touch display device and control method
CN105975122A (en) * 2016-04-27 2016-09-28 集怡嘉数码科技(深圳)有限公司 Touch track compensation method and apparatus as well as terminal device
CN107273130A (en) * 2017-06-20 2017-10-20 深圳市万普拉斯科技有限公司 Method, device and the terminal for accelerating interface to draw

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110737359A (en) * 2019-09-05 2020-01-31 Oppo(重庆)智能科技有限公司 Point reporting method, touch screen and storage medium
CN110737359B (en) * 2019-09-05 2022-10-25 Oppo(重庆)智能科技有限公司 Point reporting method, touch screen and storage medium
WO2021081710A1 (en) * 2019-10-28 2021-05-06 深圳市欢太科技有限公司 Vibration driving method and apparatus, and electronic device and computer readable medium
CN113126791A (en) * 2019-12-31 2021-07-16 荣耀终端有限公司 Time stamp recording device, system, method, medium, and apparatus
CN113126791B (en) * 2019-12-31 2022-11-22 荣耀终端有限公司 Time stamp recording device, system, method, medium, and apparatus
CN113050830A (en) * 2021-03-16 2021-06-29 上海商米科技集团股份有限公司 Anti-interference processing method for touch screen of Android desktop cash register

Similar Documents

Publication Publication Date Title
CN110007803A (en) Touch screen report point methods, device, touch screen and electronic equipment
CN106453511B (en) A kind of data back up method and equipment
CN103325332B (en) Page furbishing method, device and equipment
CN103500079A (en) Notification message display method and device and electronic equipment
CN104571979B (en) A kind of method and apparatus for realizing split view
CN103473011A (en) Mobile terminal, and performance detecting method and performance detecting device for mobile terminal
CN104598476A (en) Message aggregation display method and information display method and relevant device
CN106911848B (en) Method for outputting prompt message and terminal equipment
CN108984064A (en) Multi-screen display method, device, storage medium and electronic equipment
CN107436758A (en) The method for information display and mobile terminal of a kind of mobile terminal
CN106373531A (en) Method for adjusting displaying brightness and electronic equipment
CN107526638A (en) Applied program processing method, device, mobile terminal and storage medium
CN109062468A (en) Multi-screen display method, device, storage medium and electronic equipment
CN108932093A (en) Split screen application switching method, device, storage medium and electronic equipment
CN108900386A (en) Production method, device and the electronic equipment of warning information
CN107817988A (en) The management method and Related product of PUSH message
CN106385485A (en) Call recording method, call recording device and mobile terminal
CN105930077A (en) Method and device for adjusting size of objects displayed by screens
CN106909387A (en) Multi-screen display method and device
CN104820546A (en) Functional information exhibition method and apparatus
CN106648460B (en) Step counting data filtering method and intelligent terminal
CN104169860B (en) Intelligent terminal and method for showing its input operation interface
CN107526637A (en) Applied program processing method, device, mobile terminal and storage medium
CN104238931A (en) Information input method, information input device and electronic equipment
CN109101328A (en) The method, apparatus of mobile terminal and application program running background

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190712