CN109542272A - Touch screen scanning method and device, electronic equipment and computer readable storage medium - Google Patents
Touch screen scanning method and device, electronic equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN109542272A CN109542272A CN201811472458.1A CN201811472458A CN109542272A CN 109542272 A CN109542272 A CN 109542272A CN 201811472458 A CN201811472458 A CN 201811472458A CN 109542272 A CN109542272 A CN 109542272A
- Authority
- CN
- China
- Prior art keywords
- touch
- area
- frequency
- touch screen
- regional scope
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/325—Power saving in peripheral device
- G06F1/3259—Power saving in cursor control device, e.g. mouse, joystick, trackball
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Position Input By Displaying (AREA)
Abstract
The embodiment of the invention discloses a kind of touch screen scanning methods and device, electronic equipment and computer readable storage medium, wherein method includes: the touch operation in response to detecting finger to touch screen, detects finger touch position;If in the same regional scope that the finger touch position that continuous n times detect is respectively positioned on the touch screen, touch-control scanning is carried out to the corresponding first area of same regional scope described on the touch screen according to first frequency, touch-control scanning is carried out to the second area on the touch screen according to second frequency;Wherein, the first frequency is greater than the second frequency, and the second area includes the region on the touch screen in addition to the first area.The embodiment of the present invention can carry out the scanning of high frequency in the frequent region of touch operation, and low-frequency sweep is carried out in the region of touch operation interval, scanning resource is saved, unnecessary scanning expense is reduced, improves the operational efficiency of electronic equipment and the touch-responsive speed of local screen.
Description
Technical field
The present invention relates to electronic technology, especially a kind of touch screen scanning method and device, electronic equipment and computer can
Read storage medium.
Background technique
With the development of the communication technology and electronic technology, touch screen more and more electronic equipments (such as mobile phone terminal,
Tablet computer etc.) on be widely applied, user can carry out the operation of various applications by touch screen to electronic equipment.
In the electronic equipment for using touch screen, touch device can be set, it can be to touch screen by touch device
It is continuously scanned, detects the position that finger touches screen by capacitance variations caused by detection finger touch screen, from
And application is controlled based on the variation that finger touches the position of screen or the position of finger touch screen.
In the implementation of the present invention, inventors have found that the existing technology has at least the following problems: existing touch-control is swept
The method of retouching is scanned to touch screen whole region, is then carried out data operation and is reported the position of finger touch screen.This
Sample can detecte finger and touch any position of screen, but the application for needing to touch local screen at certain (such as carries out
Game operation) when, it will lead to the scanning wasting of resources, increase the power consumption of electronic equipment, more occupy the memory of electronic equipment
Resource, to reduce the operational efficiency of electronic equipment.
Summary of the invention
One technical problem to be solved by the embodiment of the invention is that: a kind of touch screen scanning method and device, electricity are provided
Sub- equipment and computer readable storage medium reduce the power consumption and memory source of electronic equipment, to save scanning resource to mention
The operational efficiency of high electronic equipment.
According to an aspect of an embodiment of the present invention, a kind of touch screen scanning method provided, comprising:
In response to detecting touch operation of the finger to touch screen, finger touch position is detected;
If being pressed in the same regional scope that the finger touch position that continuous n times detect is respectively positioned on the touch screen
Touch-control scanning is carried out to the corresponding first area of same regional scope described on the touch screen according to first frequency, according to second
Frequency carries out touch-control scanning to the second area on the touch screen;Wherein, the first frequency is greater than the second frequency, institute
Stating second area includes the region on the touch screen in addition to the first area, and N is the integer greater than 1.
Optionally, described in response to detecting finger to touching in another embodiment based on the above method of the present invention
The touch operation of screen is touched, before detecting finger touch position, further includes:
Full screen scanning is carried out to the touch screen according to preset third frequency.
Optionally, in another embodiment based on the above method of the present invention, the first frequency is greater than the third
Frequency.
Optionally, described in response to detecting finger to touching in another embodiment based on the above method of the present invention
The touch operation of screen is touched, after detecting finger touch position, further includes:
Full screen scanning is carried out to touch screen according to preset 4th frequency;Wherein, the 4th frequency is greater than described
Third frequency.
Optionally, in another embodiment based on the above method of the present invention, further includes:
If finger touch position that continuous n times detect is unsatisfactory in the same regional scope, according to preset
4th frequency carries out full screen scanning to the touch screen.
Optionally, in another embodiment based on the above method of the present invention, if the finger that the continuous n times detect
Touch location is respectively positioned in the same regional scope on the touch screen, according to first frequency to described same on the touch screen
The corresponding first area of one regional scope carries out touch-control scanning, according to second frequency to the second area on the touch screen into
After the scanning of row touch-control, further includes:
In response to detecting that finger touch position beyond the same regional scope, executes described according to preset
4th frequency carries out the operation of full screen scanning to the touch screen.
Optionally, in another embodiment based on the above method of the present invention, the first area is greater than described same
A regional scope, alternatively, the first area is the same regional scope.
Optionally, in another embodiment based on the above method of the present invention, it is described according to first frequency to the touching
It touches before shielding the corresponding first area progress touch-control scanning of the above same regional scope, further includes:
According to the coordinate range for the finger touch position that continuous n times detect, the same regional scope is determined;
The first area is determined according to the same regional scope;
The second area is determined according to the touch screen and the first area.
Optionally, described according to the same region model in another embodiment based on the above method of the present invention
It encloses and determines the first area, comprising: according to the coordinate range of the same regional scope, choose on the touch screen and include
The same regional scope and it is greater than or equal to the region of the same regional scope as the first area, and determines
The coordinate range of the first area;
It is described that the second area is determined according to the touch screen and the first area, comprising: according to firstth area
The coordinate range of the coordinate range in domain and the touch screen determines the coordinate range of the second area.
Optionally, in another embodiment based on the above method of the present invention, it is described according to first frequency to the touching
It touches screen and above carries out touch-control scanning in the corresponding first area of the same regional scope, according to second frequency on the touch screen
Second area carry out touch-control scanning, comprising:
According to first frequency, touch-control scanning is carried out to the corresponding region of the coordinate range of the first area;According to second
Frequency carries out touch-control scanning to the corresponding region of the coordinate range of the second area.
Other side according to an embodiment of the present invention, a kind of touch screen scanning means provided, comprising:
Detection module, for carrying out full screen scanning to touch screen according to preset third frequency;In response to detecting
Touch operation of the finger to touch screen detects finger touch position;And the judging result according to judgment module, if continuous n times
The finger touch position detected is respectively positioned in the same regional scope on the touch screen, according to first frequency to the touching
It touches screen and above carries out touch-control scanning in the corresponding first area of the same regional scope, according to second frequency on the touch screen
Second area carry out touch-control scanning;Wherein, the first frequency is greater than the second frequency, and the second area includes described
Region on touch screen in addition to the first area, N are the integer greater than 1;
Judgment module, the finger touch position for judging that the whether continuous n times of the detection module detect are respectively positioned on institute
State the same regional scope on touch screen.
Optionally, in another embodiment based on above-mentioned apparatus of the present invention, the detection module is also used to responding
In detecting touch operation of the finger to touch screen, before detecting finger touch position, according to preset third frequency pair
Touch screen carries out full screen scanning.
Optionally, in another embodiment based on above-mentioned apparatus of the present invention, the first frequency is greater than the third
Frequency.
Optionally, in another embodiment based on above-mentioned apparatus of the present invention, the detection module, be also used in response to
Touch operation of the finger to touch screen is detected, after detecting finger touch position, according to preset 4th frequency to touching
It touches screen and carries out full screen scanning;Wherein, the 4th frequency is greater than the third frequency.
Optionally, in another embodiment based on above-mentioned apparatus of the present invention, the detection module is also used to according to institute
The judging result of judgment module is stated, if being unsatisfactory for finger touch position that continuous n times detect in the same regional scope, is pressed
Full screen scanning is carried out to the touch screen according to preset 4th frequency.
Optionally, in another embodiment based on above-mentioned apparatus of the present invention, the detection module, if being also used to continuous
The finger touch position that n times detect is respectively positioned in the same regional scope on the touch screen, according to first frequency to institute
It states the corresponding first area of the same regional scope on touch screen and carries out touch-control scanning, according to second frequency to the touch
After second area on screen carries out touch-control scanning, according to the judging result of the judgment module, in response to detecting that finger touches
Position is touched beyond the same regional scope, full screen scanning is carried out to the touch screen according to preset 4th frequency.
Optionally, in another embodiment based on above-mentioned apparatus of the present invention, the first area is greater than described same
A regional scope, alternatively, the first area is the same regional scope.
Optionally, in another embodiment based on above-mentioned apparatus of the present invention, further includes:
Determining module, the coordinate range of the finger touch position for being detected according to continuous n times determine described same
Regional scope;The first area is determined according to the same regional scope;According to the touch screen and the first area
Determine the second area.
Optionally, in another embodiment based on above-mentioned apparatus of the present invention, the determining module is specifically used for basis
The coordinate range of the same regional scope is chosen on the touch screen and includes the same regional scope and be greater than or wait
In the region of the same regional scope as the first area, and determine the coordinate range of the first area;And
According to the coordinate range of the coordinate range of the first area and the touch screen, the coordinate range of the second area is determined.
Optionally, in another embodiment based on above-mentioned apparatus of the present invention, the detection module is according to first frequency
Touch-control scanning is carried out to the corresponding first area of same regional scope described on the touch screen, according to second frequency to described
When second area on touch screen carries out touch-control scanning, it is specifically used for according to first frequency, to the coordinate model of the first area
It encloses corresponding region and carries out touch-control scanning;According to second frequency, the corresponding region of the coordinate range of the second area is carried out
Touch-control scanning.
Another aspect according to an embodiment of the present invention, a kind of electronic equipment provided, comprising:
Memory, for storing computer program;
Processor, for executing the computer program stored in the memory, and the computer program is performed,
Realize method described in any of the above-described embodiment of the present invention.
A kind of another aspect according to an embodiment of the present invention, the computer readable storage medium provided, is stored thereon with
Computer program when the computer program is executed by processor, realizes method described in any of the above-described embodiment of the present invention.
It the touch screen scanning method and device that are provided based on the above embodiment of the present invention, electronic equipment and computer-readable deposits
Storage media, if in the same regional scope that the finger touch position that continuous n times detect is respectively positioned on touch screen, according to first
Frequency carries out touch-control scanning to the corresponding first area of regional scope same on touch screen, according to second frequency on touch screen
Second area carry out touch-control scanning;Wherein, first frequency is greater than second frequency, and second area includes on touch screen except the firstth area
Region except domain.The embodiment of the present invention can divide touch screen according to touch location under concrete application scene as a result,
Area carries out the scanning of high frequency in the frequent region of touch operation, and carries out low-frequency sweep in the region of touch operation interval, in this way
Scanning resource can be not only saved, the power consumption and memory source of electronic equipment are reduced, unnecessary scanning expense is reduced, may be used also
To improve the operational efficiency of electronic equipment, to improve the touch-responsive speed of local screen.
Below by drawings and examples, technical scheme of the present invention will be described in further detail.
Detailed description of the invention
The attached drawing for constituting part of specification describes the embodiment of the present invention, and together with description for explaining
The principle of the present invention.
The present invention can be more clearly understood according to following detailed description referring to attached drawing, in which:
Fig. 1 is the flow chart of inventive touch screen scan method one embodiment.
Fig. 2 is the flow chart of another embodiment of inventive touch screen scan method.
Fig. 3 is the structural schematic diagram of inventive touch screen scanning means one embodiment.
Fig. 4 is the structural schematic diagram of electronic equipment one embodiment of the present invention.
Specific embodiment
Carry out the various exemplary embodiments of detailed description of the present invention now with reference to attached drawing.It should also be noted that unless in addition having
Body explanation, the unlimited system of component and the positioned opposite of step, numerical expression and the numerical value otherwise illustrated in these embodiments is originally
The range of invention.
Simultaneously, it should be appreciated that for ease of description, the size of various pieces shown in attached drawing is not according to reality
Proportionate relationship draw.
Be to the description only actually of at least one exemplary embodiment below it is illustrative, never as to the present invention
And its application or any restrictions used.
Technology, method and apparatus known to person of ordinary skill in the relevant may be not discussed in detail, but suitable
In the case of, the technology, method and apparatus should be considered as part of specification.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined in a attached drawing, then in subsequent attached drawing does not need that it is further discussed.
The embodiment of the present invention can be applied to the electronic equipments such as terminal device, computer system, server, can with it is numerous
Other general or specialized computing system environments or configuration operate together.Suitable for electric with terminal device, computer system, server etc.
The example of well-known terminal device, computing system, environment and/or configuration that sub- equipment is used together includes but is not limited to:
Personal computer system, thin client, thick client computer, hand-held or laptop devices, is based on microprocessor at server computer system
System, set-top box, programmable consumer electronics, NetPC Network PC, little type Ji calculate machine Xi Tong ﹑ large computer system and
Distributed cloud computing technology environment, etc. including above-mentioned any system.
The electronic equipments such as terminal device, computer system, server can be in the department of computer science executed by computer system
It is described under the general context of system executable instruction (such as program module).In general, program module may include routine, program, mesh
Beacon course sequence, component, logic, data structure etc., they execute specific task or realize specific abstract data type.Meter
Calculation machine systems/servers can be implemented in distributed cloud computing environment, and in distributed cloud computing environment, task is by by logical
What the remote processing devices of communication network link executed.In distributed cloud computing environment, it includes storage that program module, which can be located at,
On the Local or Remote computing system storage medium of equipment.
Fig. 1 is the flow chart of inventive touch screen scan method one embodiment.As shown in Figure 1, the touch of the embodiment
Shielding scan method includes:
Step 101, in response to detecting touch operation of the finger to touch screen, finger touch position is detected.
Step 102, if the finger touch position that continuous n times detect is respectively positioned on the same regional scope on touch screen
It is interior, touch-control scanning is carried out to the corresponding first area of regional scope same on touch screen according to first frequency, according to the second frequency
Rate carries out touch-control scanning to the second area on touch screen.
Wherein, first frequency is greater than second frequency, and second area includes the region on touch screen in addition to first area, N
For the integer greater than 1.
In embodiments of the present invention, first area can be greater than the above-mentioned same regional scope, alternatively, first area can also
Think the above-mentioned same regional scope.Wherein, when first area is greater than the above-mentioned same regional scope, have in finger touch position
When a little variation, it can also be located in first area, thus realize the high frequency sweep to the frequent first area of touch operation, with
Just user instruction is detected in time.
Based on the touch screen scanning method that the above embodiment of the present invention provides, if the finger that continuous n times detect touches position
It sets in the same regional scope being respectively positioned on touch screen, it is corresponding to regional scope same on touch screen according to first frequency
First area carries out touch-control scanning, carries out touch-control scanning to the second area on touch screen according to second frequency;Wherein, the first frequency
Rate is greater than second frequency, and second area includes the region on touch screen in addition to first area.The embodiment of the present invention can be with as a result,
Subregion is carried out to touch screen according to touch location under concrete application scene, carries out sweeping for high frequency in the frequent region of touch operation
It retouches, and carries out low-frequency sweep in the region of touch operation interval, can not only save scanning resource in this way, reduce electronic equipment
Power consumption and memory source reduce unnecessary scanning expense, can also improve the operational efficiency of electronic equipment, thus raising office
The touch-responsive speed of portion's screen.
Fig. 2 is the flow chart of another embodiment of inventive touch screen scan method.As shown in Fig. 2, the touching of the embodiment
Touching screen scan method includes:
Step 201, full screen scanning is carried out to touch screen according to preset third frequency.
In response to detecting touch operation of the finger to touch screen, operation 202 and 203 is executed.
Step 202, full screen scanning is carried out to touch screen according to preset 4th frequency.
Step 203, finger touch position is detected.
Wherein, the 4th frequency is greater than third frequency.
Wherein, step 202 and 203 is the operation executed based on trigger condition.
Step 204, judge whether that finger touch position that continuous n times detect is respectively positioned on the same region on touch screen
In range.
Wherein, N is the integer greater than 1.
If executing behaviour in the same regional scope that the finger touch position that continuous n times detect is respectively positioned on touch screen
Make 205;Otherwise, if being unsatisfactory for finger touch position that continuous n times detect in the same regional scope, step 202 is executed.
Step 205, the coordinate range of the finger touch position detected according to continuous n times determines the above-mentioned same region
Range.
Wherein, which can be by the start-stop position coordinates for the finger touch position that continuous n times detect
In minimum position coordinate and end position coordinate in maximum position coordinate determine.
Step 206, first area is determined according to the above-mentioned same regional scope.
In a wherein embodiment, the step 206 may include: according to the coordinate range of the same regional scope,
It chooses on touch screen including the same regional scope and more than or equal to the region of the same regional scope as first area, and
Determine the coordinate range of first area.
Step 207, second area is determined according to touch screen and first area.
Wherein, second area includes the region on touch screen in addition to first area.
In a wherein embodiment, which may include: the coordinate range and touch screen according to first area
Coordinate range, determine the coordinate range of second area.
Step 208, touch-control is carried out to the corresponding first area of regional scope same on touch screen according to first frequency to sweep
It retouches, touch-control scanning is carried out to the second area on touch screen according to second frequency.
Wherein, first frequency is greater than second frequency, and first frequency is greater than third frequency.
In a wherein embodiment, which may include: according to first frequency, to the coordinate of first area
The corresponding region of range carries out touch-control scanning;According to second frequency, the corresponding region of the coordinate range of second area is touched
Control scanning.
Step 209, in response to detecting that finger touch position beyond the same regional scope, re-execute the steps 202.
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. 3 is the structural schematic diagram of inventive touch screen scanning means one embodiment.The touch screen of the embodiment of the present invention
Scanning means can be used for realizing the touch screen scanning method of the various embodiments described above of the present invention.As shown in figure 3, the touch of the embodiment
Shielding scanning means includes: detection module and judgment module.Wherein:
Detection module, for carrying out full screen scanning to touch screen according to preset third frequency;In response to detecting
Touch operation of the finger to touch screen detects finger touch position;And the judging result according to judgment module, if continuous n times
The finger touch position detected is respectively positioned in the same regional scope on touch screen, according to first frequency to same on touch screen
The corresponding first area of one regional scope carries out touch-control scanning, touches according to second frequency to the second area on touch screen
Control scanning.Wherein, first frequency is greater than second frequency, and second area includes the region on touch screen in addition to first area, and N is
Integer greater than 1.
Judgment module, the finger touch position for judging that the whether continuous n times of detection module detect are respectively positioned on touch screen
On the same regional scope.
Based on the touch screen scanning means that the above embodiment of the present invention provides, if the finger that continuous n times detect touches position
It sets in the same regional scope being respectively positioned on touch screen, it is corresponding to regional scope same on touch screen according to first frequency
First area carries out touch-control scanning, carries out touch-control scanning to the second area on touch screen according to second frequency;Wherein, the first frequency
Rate is greater than second frequency, and second area includes the region on touch screen in addition to first area.The embodiment of the present invention can be with as a result,
Subregion is carried out to touch screen according to touch location under concrete application scene, carries out sweeping for high frequency in the frequent region of touch operation
It retouches, and carries out low-frequency sweep in the region of touch operation interval, can not only save scanning resource in this way, reduce electronic equipment
Power consumption and memory source reduce unnecessary scanning expense, can also improve the operational efficiency of electronic equipment, thus raising office
The touch-responsive speed of portion's screen.
In the touch screen scanning means of another embodiment, detection module, it may also be used in response to detecting finger
Touch operation to touch screen before detecting finger touch position, carries out touch screen according to preset third frequency complete
Screen scanning.
In a wherein embodiment, first frequency is greater than third frequency.
In the touch screen scanning means of another embodiment, detection module, it may also be used in response to detecting finger pair
The touch operation of touch screen after detecting finger touch position, carries out touch screen according to preset 4th frequency full frame
Scanning.Wherein, the 4th frequency is greater than third frequency.
In the touch screen scanning means of another embodiment, detection module is also used to the judgement knot according to judgment module
Fruit, if being unsatisfactory for finger touch position that continuous n times detect in the same regional scope, according to preset 4th frequency
Rate carries out full screen scanning to touch screen.
In the touch screen scanning means of another embodiment, detection module, it may also be used for if the hand that continuous n times detect
Refer to that touch location is respectively positioned in the same regional scope on touch screen, according to first frequency to region same on touch screen model
It encloses corresponding first area and carries out touch-control scanning, touch-control is carried out to the second area on touch screen according to second frequency and scans it
Afterwards, according to the judging result of judgment module, in response to detecting finger touch position beyond the same regional scope, according to preparatory
4th frequency of setting carries out full screen scanning to touch screen.
In a wherein embodiment, first area is greater than the same regional scope, alternatively, first area is same
Regional scope.
In addition, in the touch screen scanning means of another embodiment, module can also be comprised determining that referring back to Fig. 3,
Coordinate range for the finger touch position detected according to continuous n times, determines the same regional scope;According to the same area
Domain range determines first area;Second area is determined according to touch screen and first area.
In a wherein embodiment, determining module, specifically for the coordinate range according to the same regional scope, choosing
It takes on touch screen including the same regional scope and more than or equal to the region of the same regional scope as first area, and really
Determine the coordinate range of first area;And according to the coordinate range of first area and the coordinate range of touch screen, determine the secondth area
The coordinate range in domain.
In a wherein embodiment, detection module is corresponding to regional scope same on touch screen according to first frequency
First area carry out touch-control scanning, it is specific to use when carrying out touch-control scanning to the second area on touch screen according to second frequency
According to first frequency, touch-control scanning is carried out to the corresponding region of the coordinate range of first area;According to second frequency, to second
The corresponding region of the coordinate range in region carries out touch-control scanning.
In addition, the embodiment of the invention also provides a kind of electronic equipment, comprising:
Memory, for storing computer program;
Processor, for executing the computer program stored in memory, and computer program is performed, and is realized above-mentioned
The touch screen scanning method of any embodiment.
Fig. 4 shows the block diagram for being suitable for the example electronic device for being used to realize embodiment of the present invention.The electricity that Fig. 4 is shown
Sub- equipment is only an example, should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in figure 4, electronic equipment is showed in the form of universal computing device.The component of electronic equipment may include but not
It is limited to: one or more processor perhaps 16 storage device of processing unit or system storage 28, connection not homologous ray group
The bus 18 of part (including system storage 28 and processing unit 16).
Bus 18 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller,
Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts
For example, these architectures include but is not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC)
Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Electronic equipment typically comprises a variety of computer system readable media.These media can be it is any can be by electronics
The usable medium of equipment access, including volatile and non-volatile media, moveable and immovable medium.
System storage 28 may include the computer system readable media of form of volatile memory, such as arbitrary access
Memory (RAM) 30 and/or cache memory 32.Electronic equipment may further include other removable/nonremovable
, volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for reading and writing not removable
Dynamic, non-volatile magnetic media (Fig. 4 do not show, commonly referred to as " hard disk drive ").Although not shown in fig 4, it can provide
Disc driver for being read and write to removable non-volatile magnetic disk (such as " floppy disk "), and to removable anonvolatile optical disk
The CD drive of (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driver can
To be connected by one or more data media interfaces with bus 18.System storage 28 may include that at least one program produces
Product, the program product have one group of (for example, at least one) program module, these program modules are configured to perform of the invention each
The function of embodiment.
Program/utility 40 with one group of (at least one) program module 42 can store and store in such as system
In device 28, such program module 42 includes --- but being not limited to --- operating system, one or more application program, other
It may include the realization of network environment in program module and program data, each of these examples or certain combination.Journey
Sequence module 42 usually executes function and/or method in embodiment described in the invention.
Electronic equipment can also be logical with one or more external equipments 14 (such as keyboard, sensing equipment, display 24 etc.)
Letter can also enable a user to the equipment interacted with the electronic equipment communication with one or more, and/or set with the electronics is made
The standby any equipment (such as network interface card, modem etc.) that can be communicated with one or more of the other calculating equipment communicates.
This communication can be carried out by input/output (I/O) interface 44.Also, electronic equipment can also pass through network adapter 20
With one or more network (such as local area network (LAN), wide area network (WAN) and/or public network, such as internet) communication.
As shown, network adapter 20 is communicated by bus 18 with other modules of electronic equipment.It should be understood that although not showing in figure
Out, can in conjunction with electronic equipment use other hardware and/or software module, including but not limited to: microcode, device driver,
Redundant processing unit, external disk drive array, RAID system, tape drive and data backup storage system etc..
Processing unit 16 by the program that is stored in system storage 28 of operation, thereby executing various function application and
Data processing, such as realize touch screen scanning method provided by embodiment any embodiment corresponding to FIG. 1 to FIG. 2.
In addition, it is stored thereon with computer program the embodiment of the invention also provides a kind of computer readable storage medium,
When the computer program is executed by processor, the touch screen scanning method of any of the above-described embodiment is realized.
It specifically, can be using any combination of one or more computer-readable media.Computer-readable medium
It can be computer-readable signal media or computer readable storage medium.Computer readable storage medium for example can be with
System, device or the device of --- but being not limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or it is any more than
Combination.The more specific example (non exhaustive list) of computer readable storage medium includes: to have one or more conducting wires
Electrical connection, portable computer diskette, hard disk, random access memory (RAM), read-only memory (ROM), erasable type can compile
Journey read-only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic
Memory device or above-mentioned any appropriate combination.In this document, computer readable storage medium, which can be, any includes
Or the tangible medium of storage program, which can be commanded execution system, device or device use or in connection make
With.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including --- but
It is not limited to --- electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be
Any computer-readable medium other than computer readable storage medium, which can send, propagate or
Transmission is for by the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited
In --- wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof
Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++,
Further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with
It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion
Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.?
Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or
Wide area network (WAN) --- it is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service
Provider is connected by internet).
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with its
The difference of its embodiment, the same or similar part cross-reference between each embodiment.For system embodiment
For, since it is substantially corresponding with embodiment of the method, so being described relatively simple, referring to the portion of embodiment of the method in place of correlation
It defends oneself bright.
Methods and apparatus of the present invention may be achieved in many ways.For example, can by software, hardware, firmware or
Software, hardware, firmware any combination realize methods and apparatus of the present invention.The said sequence of the step of for the method
Merely to be illustrated, the step of method of the invention, is not limited to sequence described in detail above, special unless otherwise
It does not mentionlet alone bright.In addition, in some embodiments, also the present invention can be embodied as to record program in the recording medium, these programs
Including for realizing machine readable instructions according to the method for the present invention.Thus, the present invention also covers storage for executing basis
The recording medium of the program of method of the invention.
Description of the invention is given for the purpose of illustration and description, and is not exhaustively or will be of the invention
It is limited to disclosed form.Many modifications and variations are obvious for the ordinary skill in the art.It selects and retouches
It states embodiment and is to more preferably illustrate the principle of the present invention and practical application, and those skilled in the art is enable to manage
The solution present invention is to design various embodiments suitable for specific applications with various modifications.
Claims (22)
1. a kind of touch screen scanning method characterized by comprising
In response to detecting touch operation of the finger to touch screen, finger touch position is detected;
If in the same regional scope that the finger touch position that continuous n times detect is respectively positioned on the touch screen, according to the
One frequency carries out touch-control scanning to the corresponding first area of same regional scope described on the touch screen, according to second frequency
Touch-control scanning is carried out to the second area on the touch screen;Wherein, the first frequency is greater than the second frequency, and described the
Two regions include the region on the touch screen in addition to the first area, and N is the integer greater than 1.
2. the method according to claim 1, wherein described in response to detecting that finger grasps the touch of touch screen
Make, before detection finger touch position, further includes:
Full screen scanning is carried out to the touch screen according to preset third frequency.
3. according to the method described in claim 2, it is characterized in that, the first frequency is greater than the third frequency.
4. according to the method described in claim 2, it is characterized in that, described in response to detecting that finger grasps the touch of touch screen
Make, after detection finger touch position, further includes:
Full screen scanning is carried out to touch screen according to preset 4th frequency;Wherein, the 4th frequency is greater than the third
Frequency.
5. according to the method described in claim 4, it is characterized by further comprising:
If finger touch position that continuous n times detect is unsatisfactory in the same regional scope, according to the preset 4th
Frequency carries out full screen scanning to the touch screen.
6. according to the method described in claim 4, it is characterized in that, if the finger touch position that n times detect described continuously is equal
In the same regional scope on the touch screen, according to first frequency to the same region model described on the touch screen
It encloses corresponding first area and carries out touch-control scanning, touch-control scanning is carried out to the second area on the touch screen according to second frequency
Later, further includes:
In response to detecting that finger touch position beyond the same regional scope, executes described according to the preset 4th
Frequency carries out the operation of full screen scanning to the touch screen.
7. the method according to claim 1, wherein the first area be greater than the same regional scope,
Alternatively, the first area is the same regional scope.
8. -7 any method according to claim 1, which is characterized in that it is described according to first frequency on the touch screen
The corresponding first area of the same regional scope carries out before touch-control scanning, further includes:
According to the coordinate range for the finger touch position that continuous n times detect, the same regional scope is determined;
The first area is determined according to the same regional scope;
The second area is determined according to the touch screen and the first area.
9. according to the method described in claim 8, it is characterized in that, described determine described according to the same regional scope
One region, comprising: according to the coordinate range of the same regional scope, choosing includes the same area on the touch screen
Domain range and it is greater than or equal to the region of the same regional scope as the first area, and determines the first area
Coordinate range;
It is described that the second area is determined according to the touch screen and the first area, comprising: according to the first area
The coordinate range of coordinate range and the touch screen determines the coordinate range of the second area.
10. according to the method described in claim 9, it is characterized in that, it is described according to first frequency to described on the touch screen
The corresponding first area of same regional scope carries out touch-control scanning, according to second frequency to the second area on the touch screen
Carry out touch-control scanning, comprising:
According to first frequency, touch-control scanning is carried out to the corresponding region of the coordinate range of the first area;According to second frequency,
Touch-control scanning is carried out to the corresponding region of the coordinate range of the second area.
11. a kind of touch screen scanning means characterized by comprising
Detection module, for carrying out full screen scanning to touch screen according to preset third frequency;In response to detecting finger
Touch operation to touch screen detects finger touch position;And the judging result according to judgment module, if continuous n times detection
To finger touch position be respectively positioned in the same regional scope on the touch screen, according to first frequency to the touch screen
The corresponding first area of the upper same regional scope carries out touch-control scanning, according to second frequency to the on the touch screen
Two regions carry out touch-control scanning;Wherein, the first frequency is greater than the second frequency, and the second area includes the touch
Region on screen in addition to the first area, N are the integer greater than 1;
Judgment module, the finger touch position for judging that the whether continuous n times of the detection module detect are respectively positioned on the touching
Touch the same regional scope on screen.
12. device according to claim 11, which is characterized in that the detection module is also used in response to detecting
Touch operation of the finger to touch screen, detect finger touch position before, according to preset third frequency to touch screen into
Row full screen scanning.
13. device according to claim 12, which is characterized in that the first frequency is greater than the third frequency.
14. device according to claim 12, which is characterized in that the detection module is also used in one's hands in response to detecting
Refer to the touch operation to touch screen, after detecting finger touch position, touch screen is carried out according to preset 4th frequency
Full screen scanning;Wherein, the 4th frequency is greater than the third frequency.
15. device according to claim 14, which is characterized in that the detection module is also used to according to the judgement mould
The judging result of block, if being unsatisfactory for finger touch position that continuous n times detect in the same regional scope, according to setting in advance
The 4th fixed frequency carries out full screen scanning to the touch screen.
16. device according to claim 14, which is characterized in that the detection module detects if being also used to continuous n times
Finger touch position be respectively positioned in the same regional scope on the touch screen, according to first frequency on the touch screen
The corresponding first area of the same regional scope carries out touch-control scanning, according to second frequency to second on the touch screen
After region carries out touch-control scanning, according to the judging result of the judgment module, in response to detecting that finger touch position exceeds
The same regional scope carries out full screen scanning to the touch screen according to preset 4th frequency.
17. device according to claim 11, which is characterized in that the first area is greater than the same region model
It encloses, alternatively, the first area is the same regional scope.
18. any device of 1-17 according to claim 1, which is characterized in that further include:
Determining module, the coordinate range of the finger touch position for being detected according to continuous n times determine the same region
Range;The first area is determined according to the same regional scope;It is determined according to the touch screen and the first area
The second area.
19. device according to claim 18, which is characterized in that the determining module is specifically used for according to described same
The coordinate range of a regional scope is chosen on the touch screen and includes the same regional scope and be greater than or equal to described same
The region of one regional scope determines the coordinate range of the first area as the first area;And according to described
The coordinate range of the coordinate range of first area and the touch screen determines the coordinate range of the second area.
20. device according to claim 19, which is characterized in that the detection module is according to first frequency to the touch
The corresponding first area of the same regional scope carries out touch-control scanning on screen, according to second frequency on the touch screen
When second area carries out touch-control scanning, it is specifically used for according to first frequency, area corresponding to the coordinate range of the first area
Domain carries out touch-control scanning;According to second frequency, touch-control scanning is carried out to the corresponding region of the coordinate range of the second area.
21. a kind of electronic equipment characterized by comprising
Memory, for storing computer program;
Processor, for executing the computer program stored in the memory, and the computer program is performed, and is realized
Any method of the claims 1-10.
22. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt
When processor executes, any method of the claims 1-20 is realized.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811472458.1A CN109542272A (en) | 2018-12-04 | 2018-12-04 | Touch screen scanning method and device, electronic equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811472458.1A CN109542272A (en) | 2018-12-04 | 2018-12-04 | Touch screen scanning method and device, electronic equipment and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109542272A true CN109542272A (en) | 2019-03-29 |
Family
ID=65852785
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811472458.1A Pending CN109542272A (en) | 2018-12-04 | 2018-12-04 | Touch screen scanning method and device, electronic equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109542272A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110362225A (en) * | 2019-06-18 | 2019-10-22 | 腾讯科技(成都)有限公司 | Touch screen sample frequency control method, device, medium and electronic equipment |
CN111552398A (en) * | 2020-03-27 | 2020-08-18 | 深圳市鸿合创新信息技术有限责任公司 | Touch acceleration method and device for touch screen |
CN112433642A (en) * | 2020-11-19 | 2021-03-02 | 湖北久之洋红外系统股份有限公司 | Method for improving scanning speed of infrared touch screen |
WO2023231411A1 (en) * | 2022-05-31 | 2023-12-07 | Oppo广东移动通信有限公司 | Communication control method and apparatus, touch screen, touch system and touch device |
WO2024027211A1 (en) * | 2022-07-30 | 2024-02-08 | 荣耀终端有限公司 | Touch scanning method, touch screen, and electronic device |
WO2024103365A1 (en) * | 2022-11-18 | 2024-05-23 | Qualcomm Incorporated | Variable rate touch sampling |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009252235A (en) * | 2008-04-02 | 2009-10-29 | Elan Microelectronics Corp | Capacitive touch control device and data transmission method applied to it |
CN104111764A (en) * | 2013-04-22 | 2014-10-22 | 瑞萨Sp驱动器公司 | Touch panel controller and semiconductor device |
CN108595063A (en) * | 2018-05-03 | 2018-09-28 | 业成科技(成都)有限公司 | Touch screen scanning method, computer equipment and storage medium |
CN108845727A (en) * | 2018-08-31 | 2018-11-20 | 出门问问信息科技有限公司 | Awakening method and device based on mutual capacitance type touch screen |
-
2018
- 2018-12-04 CN CN201811472458.1A patent/CN109542272A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009252235A (en) * | 2008-04-02 | 2009-10-29 | Elan Microelectronics Corp | Capacitive touch control device and data transmission method applied to it |
CN104111764A (en) * | 2013-04-22 | 2014-10-22 | 瑞萨Sp驱动器公司 | Touch panel controller and semiconductor device |
CN108595063A (en) * | 2018-05-03 | 2018-09-28 | 业成科技(成都)有限公司 | Touch screen scanning method, computer equipment and storage medium |
CN108845727A (en) * | 2018-08-31 | 2018-11-20 | 出门问问信息科技有限公司 | Awakening method and device based on mutual capacitance type touch screen |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110362225A (en) * | 2019-06-18 | 2019-10-22 | 腾讯科技(成都)有限公司 | Touch screen sample frequency control method, device, medium and electronic equipment |
CN110362225B (en) * | 2019-06-18 | 2024-01-30 | 腾讯科技(成都)有限公司 | Touch screen sampling frequency control method and device, medium and electronic equipment |
CN111552398A (en) * | 2020-03-27 | 2020-08-18 | 深圳市鸿合创新信息技术有限责任公司 | Touch acceleration method and device for touch screen |
CN112433642A (en) * | 2020-11-19 | 2021-03-02 | 湖北久之洋红外系统股份有限公司 | Method for improving scanning speed of infrared touch screen |
WO2023231411A1 (en) * | 2022-05-31 | 2023-12-07 | Oppo广东移动通信有限公司 | Communication control method and apparatus, touch screen, touch system and touch device |
WO2024027211A1 (en) * | 2022-07-30 | 2024-02-08 | 荣耀终端有限公司 | Touch scanning method, touch screen, and electronic device |
WO2024103365A1 (en) * | 2022-11-18 | 2024-05-23 | Qualcomm Incorporated | Variable rate touch sampling |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109542272A (en) | Touch screen scanning method and device, electronic equipment and computer readable storage medium | |
US9632693B2 (en) | Translation of touch input into local input based on a translation profile for an application | |
US8816989B2 (en) | User interface navigation utilizing pressure-sensitive touch | |
EP2592537B1 (en) | Method and apparatus for designating entire area using partial area touch in a portable equipment | |
US9046925B2 (en) | Method for using the GPU to create haptic friction maps | |
CN107765968A (en) | Target switching method, device, terminal and computer-readable recording medium | |
CN107291277B (en) | Method, device, equipment and storage medium for preventing false touch | |
CN104063128B (en) | A kind of information processing method and electronic equipment | |
CN109918247A (en) | Method and device for detecting abnormal jumping points of touch screen and electronic equipment | |
US20140210742A1 (en) | Emulating pressure sensitivity on multi-touch devices | |
CN105518609A (en) | Method and apparatus for providing multiple applications | |
CN107506086A (en) | Touch-screen control method, device, mobile terminal and storage medium | |
CN105573639A (en) | Triggered application display method and system | |
CN107526525A (en) | A kind of screenshotss method, apparatus, mobile terminal and computer-readable recording medium | |
KR20150091365A (en) | Multi-touch symbol recognition | |
US9582094B2 (en) | Information processing device, display device with touch panel, information processing method, and program | |
KR101242481B1 (en) | Multimodal Interface Support User Device Using User Touch and Breath, and Control Method Thereof | |
US20210326151A1 (en) | Methods, devices and computer-readable storage media for processing a hosted application | |
CN103902056A (en) | Virtual keyboard input method, equipment and system | |
CN110415315A (en) | Touch method, apparatus, terminal and the storage medium in map making region | |
CN107562346A (en) | Terminal control method, device, terminal and computer-readable recording medium | |
CN102778966B (en) | Mouse emulation is utilized to touch method and the device of input | |
US20190227698A1 (en) | Splitting and merging files via a motion input on a graphical user interface | |
CN104407774A (en) | Screen switching equipment and method as well as mobile terminal | |
US11460971B2 (en) | Control method and electronic device |
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 |
Application publication date: 20190329 |
|
RJ01 | Rejection of invention patent application after publication |