CN106575175B - The processing method and terminal of touch screen data - Google Patents

The processing method and terminal of touch screen data Download PDF

Info

Publication number
CN106575175B
CN106575175B CN201580041992.5A CN201580041992A CN106575175B CN 106575175 B CN106575175 B CN 106575175B CN 201580041992 A CN201580041992 A CN 201580041992A CN 106575175 B CN106575175 B CN 106575175B
Authority
CN
China
Prior art keywords
user
cpu
information
terminal
controller
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
CN201580041992.5A
Other languages
Chinese (zh)
Other versions
CN106575175A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN106575175A publication Critical patent/CN106575175A/en
Application granted granted Critical
Publication of CN106575175B publication Critical patent/CN106575175B/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/0416Control or interface arrangements specially adapted for digitisers
    • 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
    • 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/045Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using resistive elements, e.g. a single continuous surface or two parallel surfaces put in contact

Abstract

The processing method and terminal of a kind of touch screen data are provided, this method comprises: CPU receives the first information that TP controller is sent;Wherein, the first information is the TP data that the TP controller is obtained according to operation of the user on TP;CPU determines the corresponding coordinate position of operation of the user on TP according to the first information.The terminal of offer saves the manufacturing cost of TP controller without integrated MCU module.

Description

The processing method and terminal of touch screen data
Technical field
The present invention relates to the communication technology more particularly to the processing methods and terminal of a kind of touch screen data.
Background technique
With the continuous development of the communication technology, the terminal with touch screen (Touch Panel, abbreviation TP) becomes to be used at present The mainstream at family selects.According to the working method of touch screen, occurs different touch screens in the market, as four-wire resistance type touches Screen, five wire resistive touch screens, surface acoustic wave touch screen, capacitive touch screen and infrared touch panel.Wherein, with capacitive touch Touch screen being most widely used at the terminal.The working principle of touch screen, which is to detect, to be touched and positions, and by CPU according to the seat Mark information responds user's operation.
On existing market, usually TP manufacturer designs TP and TP controller, buys commercially available from Terminal Design using the TP and TP Controller.When needing to enhance the function of TP, a few functions can be by further customizing with producer.
But the processing method of TP data in the prior art, so that the manufacturing cost of TP controller is higher.
Summary of the invention
The processing method and terminal of touch screen data provided by the invention, to solve TP controller cost in the prior art Higher technical problem.
In a first aspect, the present invention provides a kind of processing method of touch screen data, comprising:
Central processor CPU receives the first information that touch screen TP controller is sent;Wherein, the first information is described The TP data that TP controller is obtained according to operation of the user on TP;
The CPU determines the corresponding coordinate position of operation of the user on TP according to the first information.
With reference to first aspect, in the first possible embodiment of first aspect, the central processor CPU is received Before the first information that touch screen TP controller is sent, further includes:
The CPU indicates that the TP controller scans operation procession of the user on TP, obtains first letter Breath.
The possible embodiment of with reference to first aspect the first, in second of possible embodiment of first aspect In, the CPU indicates that the TP controller scans operation procession of the user on TP, obtain the first information it Before, the method also includes:
The CPU controls the duty cycle of operation procession scanning of the TP controller to user on TP, with end The duty cycle of other business processings at end is not overlapped.
With reference to first aspect any one of to second of possible embodiment of first aspect, the of first aspect In three kinds of possible embodiments, the CPU determines the coordinate bit of operation of the user on TP according to the first information Before setting, the method also includes:
The CPU obtains the sensing data in terminal;
The CPU judges whether operation of the user on TP is maloperation according to the sensing data;
If so, the CPU is not processed the first information;
If it is not, then the CPU according to the first information determines the corresponding coordinate position of operation of the user on TP.
The third possible embodiment with reference to first aspect, in the 4th kind of possible embodiment of first aspect In, the sensing data is optical sensor data, then the CPU judges the user on TP according to the sensing data Operation whether be maloperation, specifically include:
The CPU judges whether the value of the optical sensor data is less than default luminous intensity;
If so, the CPU judges operation of the user on TP for maloperation;
If it is not, then the CPU judges operation of the user on TP for normal operating.
The third possible embodiment with reference to first aspect, in the 5th kind of possible embodiment of first aspect In, the sensing data is sound transducer data, then the CPU judges the user in TP according to the sensing data On operation whether be maloperation, specifically include:
The CPU judges whether the value of the sound transducer data is less than preset sound intensity;
If so, the CPU judges operation of the user on TP for maloperation;
If it is not, then the CPU judges operation of the user on TP for normal operating.
With reference to first aspect any one of to the 5th kind of possible embodiment of first aspect, the of first aspect In six kinds of possible embodiments, when the application processor AP business suspend mode in the CPU, the CPU is according to described first Information determines after the corresponding coordinate position of operation of the user on TP, further includes:
The CPU is according to the corresponding coordinate position of operation of the user on TP and the determination of preset mapping relations and institute State the corresponding response results of operation of the user on TP;Wherein, the preset mapping relations include the user on TP Operate the corresponding relationship of corresponding coordinate position Yu the response results;
The CPU responds operation of the user on TP according to the response results.
Second aspect, the present invention provide a kind of terminal, comprising:
Receiving module, for receiving the first information of touch screen TP controller transmission;Wherein, the first information is described The TP data that TP controller is obtained according to operation of the user on TP;
Determining module, for determining the corresponding coordinate position of operation of the user on TP according to the first information.
In conjunction with second aspect, in the first possible embodiment of second aspect, the terminal further include:
Scanning obtain module, for the receiving module receive touch screen TP controller send the first information before, It indicates that the TP controller scans operation procession of the user on TP, obtains the first information.
In conjunction with the first possible embodiment of second aspect, in second of possible embodiment of second aspect In, the terminal further include:
Control module indicates that the TP controller carries out operation of the user on TP for obtaining module in the scanning Rank scanning before obtaining the first information, controls the TP controller and scans to operation procession of the user on TP Duty cycle, it is not be overlapped with the duty cycle of other business processings of terminal.
In conjunction with any one of second of possible embodiment of second aspect to second aspect, the of second aspect In three kinds of possible embodiments, the terminal further include:
Acquisition module, for determining operation of the user on TP according to the first information in the determining module Before coordinate position, the sensing data in terminal is obtained;
Judgment module, for judging whether operation of the user on TP is maloperation according to the sensing data; If so, indicating that the determining module is not processed the first information;If it is not, then indicating the determining module according to The first information determines the corresponding coordinate position of operation of the user on TP.
In conjunction with the third possible embodiment of second aspect, in the 4th kind of possible embodiment of second aspect In, the sensing data is optical sensor data, then the judgment module, specifically for judging the optical sensor data Whether value is less than default luminous intensity, if so, judging operation of the user on TP for maloperation, if it is not, then described in judgement Operation of the user on TP is normal operating.
In conjunction with the third possible embodiment of second aspect, in the 5th kind of possible embodiment of second aspect In, the sensing data is sound transducer data, then the judgment module, is specifically used for judging the sound transducer number According to value whether be less than preset sound intensity, if so, judging operation of the user on TP for maloperation, if it is not, then sentencing Operation of the user on TP of breaking is normal operating.
In conjunction with any one of the 5th kind of possible embodiment of second aspect to second aspect, the of second aspect In six kinds of possible embodiments, when the application processor AP business suspend mode in the terminal, the determining module is also used to After determining the corresponding coordinate position of operation of the user on TP according to the first information, according to the user in TP On the corresponding coordinate position of operation and preset mapping relations determine that corresponding with operation of the user on TP response is tied Fruit, and operation of the user on TP is responded according to the response results;Wherein, the preset mapping relations include described The corresponding relationship of operation corresponding coordinate position and the response results of the user on TP.
The third aspect, the present invention provide a kind of terminal, including central processor CPU and touch screen TP controller;
The CPU for receiving the first information of touch screen TP controller transmission, and determines institute according to the first information State the corresponding coordinate position of operation of the user on TP;Wherein, the first information be the TP controller according to user in TP On operation obtain TP data.
In conjunction with the third aspect, in the first possible embodiment of the third aspect, the CPU is also used to receiving Before the first information that the TP controller is sent, indicate that the TP controller sweeps operation procession of the user on TP It retouches, obtains the first information.
In conjunction with the first possible embodiment of the third aspect, in second of possible embodiment of the third aspect In, the CPU is also used to indicating that the TP controller scans operation procession of the user on TP, obtains described the Before one information, the duty cycle of operation procession scanning of the TP controller to user on TP is controlled, with terminal The duty cycle of other business processings is not overlapped.
In conjunction with any one of second of possible embodiment of the third aspect to the third aspect, the of the third aspect In three kinds of possible embodiments, the CPU is also used to determining operation of the user on TP according to the first information Coordinate position before, obtain the sensing data in terminal, and judge the user on TP according to the sensing data Operation whether be maloperation;If so, being not processed to the first information;If it is not, then being determined according to the first information The corresponding coordinate position of operation of the user on TP.
In conjunction with the third possible embodiment of the third aspect, in the 4th kind of possible embodiment of the third aspect In, the sensing data is optical sensor data, then the CPU, is also used to judge the use according to the sensing data Whether operation of the family on TP is maloperation, is specifically included:
The CPU, specifically for judging whether the value of the optical sensor data is less than default luminous intensity;If so, sentencing Operation of the user on TP of breaking is maloperation;If it is not, then judging operation of the user on TP for normal operating.
In conjunction with the third possible embodiment of the third aspect, in the 5th kind of possible embodiment of the third aspect In, the sensing data is sound transducer data, then the CPU, is also used to according to sensing data judgement Whether operation of the user on TP is maloperation, is specifically included:
The CPU, specifically for judging whether the value of the sound transducer data is less than preset sound intensity;If so, Then judge operation of the user on TP for maloperation;If it is not, then judging operation of the user on TP for normal operating.
In conjunction with any one of the 5th kind of possible embodiment of the third aspect to the third aspect, the of the third aspect In six kinds of possible embodiments, when the application processor AP business suspend mode in the CPU, the CPU is also used in basis After the first information determines the corresponding coordinate position of operation of the user on TP, according to behaviour of the user on TP Make corresponding coordinate position and preset mapping relations determine response results corresponding with operation of the user on TP, and root Operation of the user on TP is responded according to the response results;Wherein, the preset mapping relations include that the user exists The corresponding relationship of operation corresponding coordinate position and the response results on TP.
The processing method and terminal of touch screen data provided in an embodiment of the present invention receive TP controller by CPU and send The first information, and according to the first information determine the corresponding coordinate position of operation of the user on TP so that TP controller Integrated simulation front end portion is only needed, without integrated MCU module, therefore, method provided in an embodiment of the present invention saves TP The manufacturing cost of controller.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the flow diagram of the processing method embodiment one of touch screen data provided by the invention;
Fig. 2 is the flow diagram of the processing method embodiment two of touch screen data provided by the invention;
Fig. 3 is the flow diagram of the processing method embodiment three of touch screen data provided by the invention;
Fig. 4 is the flow diagram of the processing method example IV of touch screen data provided by the invention.
Fig. 5 is the structural schematic diagram of terminal embodiment one provided by the invention;
Fig. 6 is the structural schematic diagram of terminal embodiment two provided by the invention;
Fig. 7 is the structural schematic diagram of terminal embodiment three provided by the invention;
Fig. 8 is the structural schematic diagram of terminal embodiment four provided by the invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Terminal involved in the embodiment of the present invention can include but is not limited to mobile phone, personal digital assistant (Personal Digital Assistant, abbreviation PDA), tablet computer, the mobile communication such as portable equipment (for example, portable computer) set It is standby, also include the equipment with touch screen such as ATM (Automatic Teller Machine, ATM), can also wrap The terminal also with touch screen with physical button is included, the embodiment of the present invention does not limit.In addition, the present embodiments relate to Method, can be adapted for the equipment with various touch screens, for example, with capacitive touch screen, with resistive touch screen Equipment, equipment with surface acoustic wave touch screen etc..
The present embodiments relate to method, it is intended to solve the higher technology of manufacturing cost of TP controller in the prior art Problem.
Fig. 1 is the flow diagram of the processing method embodiment one of touch screen data provided by the invention.The present embodiment relates to And be the initial data (i.e. the first information) for the TP that TP controller obtains is converted to by coordinate information by CPU so that TP control Device processed can remove integrated micro-control unit (Micro Controller Unit, abbreviation MCU), and then reduce TP control The technical issues of manufacturing cost of device.As shown in Figure 1, this method comprises:
S101: central processing unit (Central Processing Unit, abbreviation CPU) receives touch screen TP controller hair The first information sent;Wherein, the first information is the TP data that the TP controller is obtained according to operation of the user on TP.
Specifically, TP controller can be by carrying out touch screen when user operates on the touch screen of terminal Rank scanning is to obtain the corresponding TP data of operation of the user on TP.Optionally, when touch screen is capacitive touch screen, TP Controller is the capacitance size of touch location according to the TP data that the operation of user on the touchscreen obtains;When touch screen is resistance When formula touch screen, TP controller is the resistance sizes of touch location according to the TP data that the operation of user on the touchscreen obtains, To the type of touch screen and with no restrictions, the type of TP data and the type of touch screen are related for the embodiment of the present invention.Optionally, TP Controller to touch screen procession scan when, be by the AFE(analog front end) (Analog Front End) in TP controller come It realizes.
After TP controller obtains TP data, can by the TP data conversion at the first information of analog signal form, into And the first information is sent to CPU.
S102:CPU determines the corresponding coordinate position of operation of the user on TP according to the first information.
Specifically, user can be determined in TP according to the first information after CPU receives the first information that TP controller is sent On the corresponding coordinate position of operation.Optionally, CPU can determine user on TP by internal Sensor Hub module The corresponding coordinate position of operation, and export give application processor AP.Optionally, CPU can determine electric current according to the first information Variation, to determine the corresponding coordinate position of operation of the user on TP according to curent change.
Therefore method provided in an embodiment of the present invention, operation pair of the user on TP can be determined by the intrinsic CPU of terminal The coordinate position answered, without using the MCU module in TP controller, therefore, in the embodiment of the present invention, TP controller only needs to collect At AFE(analog front end) part, without integrated MCU module, therefore the manufacturing cost of TP controller is saved.
The processing method of touch screen data provided in an embodiment of the present invention receives first that TP controller is sent by CPU Information, and the corresponding coordinate position of operation of the user on TP is determined according to the first information, so that TP controller only needs to collect At AFE(analog front end) part, without integrated MCU module, therefore, method provided in an embodiment of the present invention saves TP controller Manufacturing cost.
Fig. 2 is the flow diagram of the processing method embodiment two of touch screen data provided by the invention.In above-mentioned implementation Example on the basis of, the present embodiment what is involved is CPU instruction TP controller obtain the first information duty cycle not with terminal its The detailed process of the duty cycle overlapping of his business processing.Further, before above-mentioned S101, the method also includes:
S201:CPU controls the duty cycle of operation procession scanning of the TP controller to user on TP, with terminal The duty cycle of other business processings is not overlapped.
Specifically, CPU can know the duty cycle of other business processings of terminal in advance in the present embodiment.In order to keep away Exempt to generate interference between the rank scanning of TP controller and other business processings of terminal, CPU can be by TP controller procession The duty cycle of scanning and the duty cycle of other above-mentioned business processings are staggered, and avoid the duty cycle from being overlapped, and then can be improved The sensitivity of TP controller rank scanning.Optionally, CPU indicates the mould in TP controller by internal Sensor Hub module When scanning to touch screen procession, scan period and the duty cycle of other business processings be not be overlapped for quasi- front end.
For example, when terminal inner modem (Modem) just at work, CPU is referred to by Sensor Hub Show that the duty cycle for the rank scanning and Modem that TP controller carries out touch screen mutually staggers, the two is avoided to work at the same time and produce Raw unnecessary interference, is more advantageous to the raising of TP sensitivity.
S202:CPU indicates that the TP controller scans operation procession of the user on TP, obtains first letter Breath.
Specifically, CPU indicates TP controller to user on TP after CPU has determined the duty cycle of TP controller Procession scanning is operated, to obtain the corresponding first information of operation of the user on TP.
The processing method of touch screen data provided in an embodiment of the present invention controls TP controller to user in TP by CPU On operation procession scanning duty cycle, it is not be overlapped with the duty cycle of other business processings of terminal, to avoid Interference is generated between the rank scanning of TP controller and other business processings, and then improves the sensitivity of TP.
Fig. 3 is the flow diagram of the processing method embodiment three of touch screen data provided by the invention.In above-mentioned implementation Example on the basis of, the present embodiment what is involved is CPU by acquisition sensing data avoid the maloperation to user on TP from producing The technical issues of raw first information is handled, system power dissipation to save CPU.Further, after above-mentioned S101, Before S102, the method also includes:
S301:CPU obtains the sensing data in terminal.
Specifically, the sensor of terminal inner has connection relationship with CPU, therefore, CPU can obtain various biographies in real time The collected sensing data of sensor.Optionally, sensing data may include sound transducer data, optical sensor data, Infrared sensor data etc..
S302:CPU judges whether operation of the user on TP is maloperation according to the sensing data.If so, S303 is then executed, if it is not, then executing S102.
Specifically, after CPU receives the first information of TP controller report, sensing that CPU can be reported according to sensor Device data judge whether operation of the user on TP is maloperation, and then determine whether CPU controls TP by judging result The first information that device obtains is handled.When CPU determines that operation of the user on TP is maloperation by sensing data, CPU is just not necessarily to handle the first information that TP controller obtains, and can save the system resource and power consumption of CPU in this way.
Above-mentioned CPU judges whether operation of the user on TP is maloperation according to the sensing data that sensor reports, can With there are two types of possible embodiment, in the first possible embodiment, sensing data is optical sensor data, second In possible embodiment, sensing data is sound transducer data, both possible embodiments are respectively as follows:
The first possible embodiment: CPU judges whether the value of the optical sensor data is less than default luminous intensity;If It is that then the CPU judges operation of the user on TP for maloperation;If it is not, then the CPU judges the user on TP Operation be normal operating.
Specifically, after CPU receives the first information of TP controller report, CPU can pass through light in the embodiment The collected optical sensor data of sensor knows the luminous intensity of environment locating for present terminal, when CPU judges optical sensor number According to value be greater than or equal to default luminous intensity when, CPU determines that operation of the corresponding user of the current first information on TP is normal Operation, then CPU handles the first information of TP controller report;It is preset when CPU judges that the value of optical sensor data is less than When luminous intensity, CPU determines that operation of the corresponding user of the current first information on TP is maloperation, for example, user puts terminal Enter into pocket, but user by hand inject pocket when be easy to accidentally touch the touch screen of terminal, TP controller still can basis The operation that accidentally touches of user obtains the corresponding first information of the operation, and is reported to CPU, and therefore, in the case of this kind, CPU can To be judged according to current optical sensor data and default luminous intensity, when CPU judges that the value of optical sensor data is less than in advance If when luminous intensity, CPU is just not necessarily to handle the first information that TP controller currently reports, maloperation band is handled so as to avoid CPU The first information come, and then save the system power dissipation of CPU.
Second of possible embodiment: it is strong that CPU judges whether the value of the sound transducer data is less than preset sound Degree;If so, the CPU judges operation of the user on TP for maloperation;If it is not, then the CPU judges the user Operation on TP is normal operating.
Specifically, after CPU receives the first information of TP controller report, CPU can pass through sound in the embodiment Sound sensor collects the sound transducer data in environment locating for present terminal, when CPU judges sound transducer data When value is greater than or equal to preset sound intensity, CPU determines that operation of the corresponding user of the current first information on TP is normal behaviour Make, then CPU handles the first information of TP controller report;It is preset when CPU judges that the value of sound transducer data is less than When intensity of sound, CPU determines that operation of the corresponding user of the current first information on TP is maloperation, for example, user is by terminal Be put into pocket, but user by hand inject pocket when be easy to accidentally touch the touch screen of terminal, TP controller still can root The corresponding first information of the operation is obtained according to the operation that accidentally touches of user, and is reported to CPU, therefore, in the case of this kind, CPU is just It can be judged according to current sound transducer data with preset sound intensity, when CPU judges sound transducer data When value is less than preset sound intensity, CPU is just not necessarily to handle the first information that TP controller currently reports, at CPU The maloperation bring first information is managed, and then saves the system power dissipation of CPU.
S303:CPU is not processed the first information.
In conjunction with the step of S301-S303, CPU can combine sensing data with the first information (i.e. TP data), Allowing sensing data with TP data, in a data processing circumstance (i.e. the processing environment of CPU) is handled, not only The system power dissipation of CPU is reduced, but also the processing of TP data is more accurate, realizes the enhancing of TP function.In addition, existing skill In art, sensing data is in different data processing circumstances from TP data, when needing to enhance the function of TP, is needed special Customizing functions are carried out with the manufacturer of TP controller, such as above-mentioned lifted user accidentally touches the example of touch screen, existing skill Art just needs to customize the module of TP maloperation detection specifically for the example with TP controller producer, but the present invention is implemented In example, CPU only needs to judge maloperation by sensing data, is not necessarily to custom-made, further saves The cost of TP controller.
The processing method of touch screen data provided in an embodiment of the present invention, CPU pass through according to acquired sensing data Judge whether operation of the user on TP is maloperation, and judging user when the operation on TP is maloperation, to TP control The first information that device reports is not processed, and therefore, in the present embodiment, CPU can be by sensing data and the first information (i.e. TP number According to) combine, allow sensing data and TP data in a data processing circumstance (i.e. the processing environment of CPU) into Row processing, not only reduces the system power dissipation of CPU, but also the processing of TP data is more accurate, realizes the enhancing of TP function.
Fig. 4 is the flow diagram of the processing method example IV of touch screen data provided by the invention.In above-mentioned implementation On the basis of example, for the present embodiment what is involved is when AP business suspend mode in CPU, CPU still can be according to determined coordinate bit Set the detailed process that the operation to user on TP is responded.Further, after above-mentioned S102, the method is also wrapped It includes:
S401:CPU according to the corresponding coordinate position of operation of the user on TP and preset mapping relations it is determining with it is described The corresponding response results of operation of the user on TP;Wherein, the preset mapping relations include behaviour of the user on TP Make the corresponding relationship of corresponding coordinate position Yu the response results.
In general, in the prior art operation of the user on TP be by CPU inside AP responded, specifically: TP The coordinate position that itself is determined is sent to the AP in CPU by controller, is responded by AP to the coordinate position, still, is worked as CPU In AP business suspend mode when, since the coordinate position of TP controller report can not be responded by AP, TP controller will not be Procession scanning, i.e. TP controller also enter suspend mode;But in embodiments of the present invention, TP controller report is not Coordinate position, but the corresponding TP data of operation of the user on TP, and the TP data are by the Sensor Hub mould in CPU After block is converted into coordinate position, just sends AP to and the coordinate position is responded by AP.When the AP business suspend mode in CPU When, Sensor Hub module in CPU can't suspend mode, Sensor Hub module will continue to control TP controller procession and sweeps It retouches to obtain the corresponding first information of operation of the user on TP, and then operation of the user on TP is determined according to the first information Corresponding coordinate position, therefore, since the first information of TP controller report still can be by the Sensor Hub module in CPU Reason, therefore TP controller may be at the state continued working.
Therefore, when the AP business suspend mode in CPU, after CPU obtains operation corresponding coordinate position of the user on TP, It can and above-mentioned user behaviour on TP determining according to operation corresponding coordinate position of the user on TP and preset mapping relations Make corresponding response results, that is to say, that in the present embodiment, it is true to CPU institute that the Sensor Hub module in CPU can substitute AP Fixed coordinate position is responded.For example, when terminal be in it is standby put out screen state when (the AP business suspend mode in CPU), according to existing There is the processing of technology, if user does not press power key (pressing power key is actually the AP business activated in CPU), CPU will Operation of the user on TP will not be responded, because there is no work in the case where putting out screen state for TP controller at this time;But In In the present embodiment, since CPU is in AP business suspend mode, still the first information of TP controller report can be handled, because This, TP controller may be at the state continued working, i.e., in the case where putting out screen state, if user clicks TP, TP controller is still So the corresponding first information of the operation of acquisition can be sent to CPU, so that CPU exists in acquisition user according to the first information The corresponding coordinate position of operation on TP, and then determine that the corresponding response of the coordinate position is tied by above-mentioned preset mapping relations Fruit (determines the corresponding response results of operation of the above-mentioned user on TP), therefore, in this example embodiment, user is without pressing power supply Key, terminal can respond operation of the user on TP, can not only save the cost of terminal, but also human-computer interaction more intelligence Energy.
S402:CPU responds operation of the user on TP according to the response results.
The processing method of touch screen data provided in an embodiment of the present invention, due to TP be reported to CPU be the first information (i.e. TP data), and coordinate position is determined according to the first information by CPU, therefore, even if after AP business suspend mode in CPU, CPU still can be handled the content of TP controller report to obtain coordinate position, and according to preset mapping relations to Operation of the family on TP is responded.Therefore method provided in an embodiment of the present invention, the cost of terminal can be not only saved, is also made It is more intelligent to obtain human-computer interaction.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer readable storage medium, the program When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: ROM, RAM, magnetic disk or light The various media that can store program code such as disk.
Fig. 5 is the structural schematic diagram of terminal embodiment one provided by the invention.As shown in figure 5, the terminal may include: to connect Receive module 10 and determining module 11.
Wherein, receiving module 10, for receiving the first information of touch screen TP controller transmission;Wherein, first letter Breath is the TP data that the TP controller is obtained according to operation of the user on TP;
Determining module 11, for determining the corresponding coordinate bit of operation of the user on TP according to the first information It sets.
Terminal provided in an embodiment of the present invention can execute above method embodiment, implementing principle and technical effect Similar, details are not described herein.
Fig. 6 is the structural schematic diagram of terminal embodiment two provided by the invention.On the basis of above-mentioned embodiment illustrated in fig. 5 On, further, as shown in fig. 6, the terminal can also include: that scanning obtains module 12, for connecing in the receiving module 10 Before receiving the first information that touch screen TP controller is sent, operation procession of the TP controller to user on TP is indicated Scanning, obtains the first information.
Further, with continued reference to Fig. 6, above-mentioned terminal can also include: control module 13, for obtaining in the scanning Module 12 indicates that the TP controller scans operation procession of the user on TP, before obtaining the first information, control The duty cycle for making operation procession scanning of the TP controller to user on TP, with other business processings of terminal Duty cycle is not overlapped.
Fig. 7 is the structural schematic diagram of terminal embodiment three provided by the invention.In above-mentioned Fig. 5 or embodiment illustrated in fig. 6 On the basis of, further, above-mentioned terminal can also include: acquisition module 14 and judgment module 15.
Wherein, acquisition module 14, for determining the user in TP according to the first information in the determining module 11 On operation coordinate position before, obtain terminal on sensing data;
Judgment module 15, for judging whether operation of the user on TP is accidentally to grasp according to the sensing data Make;If so, indicating that the determining module 11 is not processed the first information;If it is not, then indicating the determining module 11 The corresponding coordinate position of operation of the user on TP is determined according to the first information.
Optionally, when the sensing data is optical sensor data, then the judgment module 15, is specifically used for judging institute Whether the value for stating optical sensor data is less than default luminous intensity, if so, judge operation of the user on TP for maloperation, If it is not, then judging operation of the user on TP for normal operating.
Optionally, when the sensing data is sound transducer data, then the judgment module 15, is specifically used for judgement Whether the value of the sound transducer data is less than preset sound intensity, if so, judging that operation of the user on TP is Maloperation, if it is not, then judging operation of the user on TP for normal operating.
Further, when the application processor AP business suspend mode in the terminal, above-mentioned determining module 11 can also be used In after determining the corresponding coordinate position of operation of the user on TP according to the first information, existed according to the user The corresponding coordinate position of operation and preset mapping relations on TP determine response corresponding with operation of the user on TP As a result, and responding operation of the user on TP according to the response results;Wherein, the preset mapping relations include institute State the corresponding relationship of operation corresponding coordinate position and the response results of the user on TP.
It should be noted that the structure of the terminal shown in above-mentioned Fig. 7, it is only shown on the basis of Fig. 6, certainly, this A kind of only citing, Fig. 7 can also be shown on the basis of Fig. 5.
Terminal provided in an embodiment of the present invention can execute above method embodiment, implementing principle and technical effect Similar, details are not described herein.
Fig. 8 is the structural schematic diagram of terminal embodiment four provided by the invention.As shown in figure 8, the terminal may include: defeated Enter equipment 20 (can be TP), TP controller 21, CPU22, memory 23 and at least one communication bus 24.Wherein, input is set Standby 20, for providing a user input interface, receive the operation of user's input;TP controller 21, for setting user in input User's operation on standby 20 is converted into report point information;Communication bus 24 is for realizing the communication connection between element;Memory 23 may include high speed RAM memory, it is also possible to and it further include nonvolatile memory NVM, a for example, at least magnetic disk storage, It can store in memory 23 various for completing the program of various processing functions.
In the present embodiment, the CPU22, for receiving the first information of the transmission of TP controller 21, and according to described the One information determines the corresponding coordinate position of operation of the user on TP;Wherein, the first information is the TP controller The 21 TP data obtained according to operation of the user on TP.
Terminal provided in an embodiment of the present invention can execute above method embodiment, implementing principle and technical effect Similar, details are not described herein.
Optionally, the CPU22 can be also used for referring to before receiving the first information that the TP controller 21 is sent Show that the TP controller 21 scans operation procession of the user on TP, obtains the first information.
Optionally, the CPU22 can be also used in the operation progress for indicating the TP controller 21 to user on TP Rank scanning before obtaining the first information, controls the TP controller 21 and sweeps to operation procession of the user on TP It is the duty cycle retouched, not be overlapped with the duty cycle of other business processings of terminal.
Optionally, the CPU22 can be also used for determining operation of the user on TP according to the first information Coordinate position before, obtain the sensing data in terminal, and judge the user on TP according to the sensing data Operation whether be maloperation;If so, being not processed to the first information;If it is not, then being determined according to the first information The corresponding coordinate position of operation of the user on TP.
Optionally, when the sensor data are optical sensor data, then the CPU22, can be also used for according to Sensing data judges whether operation of the user on TP is maloperation, specifically includes: the CPU22, specifically for sentencing Whether the value for the optical sensor data of breaking is less than default luminous intensity;If so, judging operation of the user on TP to miss Operation;If it is not, then judging operation of the user on TP for normal operating.
Optionally, when the sensor data are sound transducer data, then the CPU22, is also used to according to the biography Sensor data judge whether operation of the user on TP is maloperation, specifically include: the CPU22, are specifically used for judgement Whether the value of the sound transducer data is less than preset sound intensity;If so, judging that operation of the user on TP is Maloperation;If it is not, then judging operation of the user on TP for normal operating.
Optionally, when the application processor AP business suspend mode in the CPU22, the CPU22 is also used to according to institute It states after the first information determines the corresponding coordinate position of operation of the user on TP, according to operation of the user on TP Corresponding coordinate position and the determining response results corresponding with operation of the user on TP of preset mapping relations, and according to The response results respond operation of the user on TP;Wherein, the preset mapping relations include the user in TP On operation corresponding coordinate position and the response results corresponding relationship.
Terminal provided in an embodiment of the present invention can execute above method embodiment, implementing principle and technical effect Similar, details are not described herein.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (12)

1. a kind of processing method of touch screen data characterized by comprising
Central processor CPU controls the duty cycle of operation procession scanning of the TP controller to user on TP, with terminal Duty cycles of other business processings be not overlapped;
The central processor CPU indicates that the TP controller scans operation procession of the user on TP, obtains first Information;
The central processor CPU receives the first information that touch screen TP controller is sent;
The CPU determines the corresponding coordinate position of operation of the user on TP according to the first information;
When the application processor AP business suspend mode in the CPU, the CPU determines that the user exists according to the first information After the corresponding coordinate position of operation on TP, further includes:
The CPU is according to the corresponding coordinate position of operation of the user on TP and the determination of preset mapping relations and the use The corresponding response results of operation of the family on TP;Wherein, the preset mapping relations include operation of the user on TP The corresponding relationship of corresponding coordinate position and the response results;
The CPU responds operation of the user on TP according to the response results.
2. the method according to claim 1, wherein the CPU determines the user according to the first information Before the coordinate position of operation on TP, the method also includes:
The CPU obtains the sensing data in terminal;
The CPU judges whether operation of the user on TP is maloperation according to the sensing data;
If so, the CPU is not processed the first information;
If it is not, then the CPU according to the first information determines the corresponding coordinate position of operation of the user on TP.
3. according to the method described in claim 2, it is characterized in that, the sensing data is optical sensor data, then described CPU judges whether operation of the user on TP is maloperation according to the sensing data, specifically includes:
The CPU judges whether the value of the optical sensor data is less than default luminous intensity;
If so, the CPU judges operation of the user on TP for maloperation;
If it is not, then the CPU judges operation of the user on TP for normal operating.
4. according to the method described in claim 2, it is characterized in that, the sensing data is sound transducer data, then institute It states CPU and judges whether operation of the user on TP is maloperation according to the sensing data, specifically include:
The CPU judges whether the value of the sound transducer data is less than preset sound intensity;
If so, the CPU judges operation of the user on TP for maloperation;
If it is not, then the CPU judges operation of the user on TP for normal operating.
5. a kind of terminal characterized by comprising
Control module, for controlling the duty cycle of operation procession scanning of the TP controller to user on TP, with terminal Duty cycles of other business processings be not overlapped;
Scanning obtains module, is used to indicate the TP controller and scans to operation procession of the user on TP, obtains first Information;
Receiving module, for receiving the first information of touch screen TP controller transmission;
Determining module, for determining the corresponding coordinate position of operation of the user on TP according to the first information;
When the application processor AP business suspend mode in the terminal, the determining module is also used to according to first letter After breath determines the corresponding coordinate position of operation of the user on TP, according to the corresponding seat of operation of the user on TP Cursor position and preset mapping relations determine response results corresponding with operation of the user on TP, and according to the response As a result operation of the user on TP is responded;Wherein, the preset mapping relations include operation of the user on TP The corresponding relationship of corresponding coordinate position and the response results.
6. terminal according to claim 5, which is characterized in that the terminal further include:
Acquisition module, for determining the coordinate of operation of the user on TP according to the first information in the determining module Before position, the sensing data in terminal is obtained;
Judgment module, for judging whether operation of the user on TP is maloperation according to the sensing data;If so, Then indicate that the determining module is not processed the first information;If it is not, then indicating the determining module according to described first Information determines the corresponding coordinate position of operation of the user on TP.
7. terminal according to claim 6, which is characterized in that the sensing data is optical sensor data, then described Judgment module, specifically for judging whether the value of the optical sensor data is less than default luminous intensity, if so, judging the use Operation of the family on TP is maloperation, if it is not, then judging operation of the user on TP for normal operating.
8. terminal according to claim 6, which is characterized in that the sensing data is sound transducer data, then institute Judgment module is stated, specifically for judging whether the value of the sound transducer data is less than preset sound intensity, if so, judgement Operation of the user on TP is maloperation, if it is not, then judging operation of the user on TP for normal operating.
9. a kind of terminal, which is characterized in that including central processor CPU and touch screen TP controller;
The CPU, for controlling the duty cycle of operation procession scanning of the TP controller to user on TP, with end The duty cycle of other business processings at end is not overlapped;
The CPU is also used to indicate that the TP controller scans operation procession of the user on TP, obtains the first letter Breath;
The CPU for receiving the first information of touch screen TP controller transmission, and determines institute according to the first information State the corresponding coordinate position of operation of the user on TP;
When the application processor AP business suspend mode in the CPU, the CPU is also used to determine according to the first information After the corresponding coordinate position of operation of the user on TP, according to the corresponding coordinate position of operation of the user on TP Response results corresponding with operation of the user on TP are determined with preset mapping relations, and are rung according to the response results Answer operation of the user on TP;Wherein, the preset mapping relations include that operation of the user on TP is corresponding The corresponding relationship of coordinate position and the response results.
10. terminal according to claim 9, which is characterized in that the CPU is also used to true according to the first information Before the coordinate position of fixed operation of the user on TP, the sensing data in terminal is obtained, and according to the sensor Data judge whether operation of the user on TP is maloperation;If so, being not processed to the first information;If it is not, The corresponding coordinate position of operation of the user on TP is then determined according to the first information.
11. terminal according to claim 10, which is characterized in that the sensing data is optical sensor data, then institute CPU is stated, is also used to judge whether operation of the user on TP is maloperation according to the sensing data, specifically include:
The CPU, specifically for judging whether the value of the optical sensor data is less than default luminous intensity;If so, judging institute Stating operation of the user on TP is maloperation;If it is not, then judging operation of the user on TP for normal operating.
12. terminal according to claim 10, which is characterized in that the sensing data is sound transducer data, then The CPU is also used to judge whether operation of the user on TP is maloperation according to the sensing data, specific to wrap It includes:
The CPU, specifically for judging whether the value of the sound transducer data is less than preset sound intensity;If so, sentencing Operation of the user on TP of breaking is maloperation;If it is not, then judging operation of the user on TP for normal operating.
CN201580041992.5A 2015-09-22 2015-09-22 The processing method and terminal of touch screen data Active CN106575175B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/090240 WO2017049455A1 (en) 2015-09-22 2015-09-22 Touchscreen data processing method and terminal

Publications (2)

Publication Number Publication Date
CN106575175A CN106575175A (en) 2017-04-19
CN106575175B true CN106575175B (en) 2019-11-01

Family

ID=58385538

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201580041992.5A Active CN106575175B (en) 2015-09-22 2015-09-22 The processing method and terminal of touch screen data

Country Status (2)

Country Link
CN (1) CN106575175B (en)
WO (1) WO2017049455A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114281204B (en) * 2021-12-09 2023-11-03 深圳市广和通无线通信软件有限公司 Method, device, equipment and storage medium for touch recognition of resistive touch screen

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101458607A (en) * 2007-12-14 2009-06-17 清华大学 Touch screen and display device
CN101526867A (en) * 2008-03-03 2009-09-09 贺伟 Infrared transmitting or receiving circuit board unit and infrared touch screen
CN102981688A (en) * 2012-11-19 2013-03-20 深圳市新国都技术股份有限公司 Five-wire resistance screen control circuit and voltage sampling circuit

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3492493B2 (en) * 1997-06-13 2004-02-03 日本電気株式会社 Touch panel and method of detecting pressed position on touch panel
TWI291646B (en) * 2005-05-03 2007-12-21 Asustek Comp Inc A display card with touch screen controller
US20060250357A1 (en) * 2005-05-04 2006-11-09 Mammad Safai Mode manager for a pointing device
US8345022B2 (en) * 2009-12-08 2013-01-01 Getac Technology Corporation Linear compensation method of touch panel

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101458607A (en) * 2007-12-14 2009-06-17 清华大学 Touch screen and display device
CN101526867A (en) * 2008-03-03 2009-09-09 贺伟 Infrared transmitting or receiving circuit board unit and infrared touch screen
CN102981688A (en) * 2012-11-19 2013-03-20 深圳市新国都技术股份有限公司 Five-wire resistance screen control circuit and voltage sampling circuit

Also Published As

Publication number Publication date
WO2017049455A1 (en) 2017-03-30
CN106575175A (en) 2017-04-19

Similar Documents

Publication Publication Date Title
CN104683598B (en) Proximity transducer threshold value adjusting method, device and smart machine
RU2632153C2 (en) Method, device and terminal for displaying virtual keyboard
CN108463792A (en) A kind of false-touch prevention method and terminal
CN104503889B (en) A kind of information processing method and electronic equipment
CN105676984B (en) Portable electronic devices and its power control method
CN106886766B (en) A kind of fingerprint identification method, fingerprint recognition circuit and mobile terminal
CN106844067A (en) The processing method and mobile terminal of a kind of content
EP3499918B1 (en) Data sharing method and terminal
CN109241859A (en) Fingerprint identification method and Related product
CN102117140A (en) Touch processing method and mobile terminal
CN106851013A (en) SOT state of termination determination methods, device and terminal
CN109583356A (en) Fingerprint identification method and Related product
CN104252399A (en) Calibration processing method and device of touch screen, touch screen and terminal
CN101661375A (en) Touch control method, system and display terminal
CN108646959A (en) Screen control method, device and mobile terminal
WO2014000632A1 (en) Method, device and apparatus for acquiring security state of mobile terminal
CN105893130B (en) A kind of processing method and mobile terminal of application program for mobile terminal
CN106775536A (en) A kind of double screen changing method and device
CN109409320A (en) Fingerprint collecting method and relevant device
CN106651338A (en) Method for payment processing and terminal
CN109144296A (en) A kind of wearable device and its control method, control system and storage device
CN110475020A (en) Apparatus control method and Related product
CN102710846A (en) System and method for realizing electronic book page turning based on forced induction
CN106873891A (en) The method and mobile terminal of a kind of touch control operation
CN109165033A (en) A kind of application update method and mobile terminal

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
GR01 Patent grant
GR01 Patent grant