CN106383653B - Method and device for accelerating application starting - Google Patents
Method and device for accelerating application starting Download PDFInfo
- Publication number
- CN106383653B CN106383653B CN201610814804.4A CN201610814804A CN106383653B CN 106383653 B CN106383653 B CN 106383653B CN 201610814804 A CN201610814804 A CN 201610814804A CN 106383653 B CN106383653 B CN 106383653B
- Authority
- CN
- China
- Prior art keywords
- touch screen
- touch
- contact surface
- information
- touching
- 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.)
- Expired - Fee Related
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44568—Immediately runnable code
- G06F9/44578—Preparing or optimising for loading
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a method and a device for accelerating application startup, wherein the method comprises the following steps: detecting whether a touch body just touches a touch screen of the terminal equipment; if the touch body just contacts the touch screen of the terminal equipment, reporting the information of the size of the contact surface between the touch body and the touch screen which is obtained currently, and actively reporting the information that the contact surface between the touch body and the touch screen is increased in advance; and when the application layer sequentially receives the two information, the touch body is determined to be pressing the touch screen, and the application program corresponding to the position of the contact surface is started at the moment. The invention can accelerate the starting speed of the application program and effectively improve the starting lag problem of the application program.
Description
Technical field
The present invention relates to technical field of electronic equipment, more specifically, be related to it is a kind of accelerate application starting method and
Device.
Background technique
It is well known that with the development of electronic technology, the application program installed in electric terminal equipment is also more and more.?
In the prior art, the mode for starting application program is usually by the way of clicking application icon.
Specifically, passing through some application icon on touch body (such as finger, felt pen) point touching screen in user
In the process, touch screen can collect touch body and touch screen touch information (as: x coordinate, y-coordinate, number, contact surface
The information such as long and width), and be grouped and report these touch informations.Subsequent, system needs successively to obtain multiple groups touch information ability
Judge whether touch body and the contact surface of touch screen is changed, to judge whether application icon is clicked.When confirmation is answered
When being clicked with icon, system can just open application program corresponding to the application icon.
However, touch screen acquires touch information every time needs the time, reporting for touch information will be grouped progress simultaneously
Successively reporting, simultaneity factor needs that multiple groups touch information is combined to be judged that the starting of such application program will lag,
Affect user's operation.
Summary of the invention
It is an object of the invention to overcome drawbacks described above in the prior art, provide it is a kind of accelerate application starting method and
Device can be effectively improved the startup hysteresis problem of application program.
To achieve the above object, first aspect present invention provides a kind of method for accelerating application starting, including following step
It is rapid:
Detection touches the touch screen whether body has just touched terminal device;
If touching body has just touched the touch screen of terminal device, connecing for the touch body currently got and touch screen is reported
The information of contacting surface size, and actively report the contact surface of a touch body and touch screen in the information of increase in advance;
When application layer is sequentially received above-mentioned two information, then assert that touching body is pressing touch screen, starts at this time
Application program corresponding with contact surface position.
It is specifically included preferably, the detection touches the step of whether body has just touched the touch screen of terminal device:
Obtain the value of the flag bit of preset touch screen;
According to the value of flag bit, judge to touch the touch screen whether body has just touched terminal device.
Preferably, the value of flag bit is defined as 1 when touch body just touches touch screen;Touching is left when touching body
When touching screen, the value of flag bit is defined as 0.
Preferably, the contact surface for touching body and touch screen reported when touching body and just touching touch screen is big
Value corresponding to small information is less than the contact surface for touching body and touch screen that actively reports in advance corresponding to the information of increase
Value.
Preferably, the contact surface for touching body and touch screen reported when touching body and just touching touch screen is big
Value corresponding to small information is (raw_x+raw_y)/2, the contact surface of touch body and touch screen that the active premise reports
The value corresponding to the information of increase is (raw_x+raw_y)/2+n, wherein raw_x is the contact surface for touching body and touch screen
Length, raw_y is the width for touching the contact surface of body and touch screen, and n is the natural number more than or equal to 1.
Preferably, it is described when application layer is sequentially received above-mentioned two information, then assert that touching body is pressing
Touch screen, the step of starting application program corresponding with contact surface position specifically includes at this time:
When application layer be sequentially received above-mentioned two information and recognize its value increase when, then assert touch body pressing
Touch screen is pressed, at this time according to being reported the x got, y-coordinate information to determine the contact surface position of touch body and touch screen, in turn
Start application program corresponding with the contact surface position.
Second aspect of the present invention provides a kind of device for accelerating application starting, which includes:
Detection module, for detecting the touch screen for touching body and whether just having touched terminal device;
Reporting module reports the touch currently got if just having touched the touch screen of terminal device for touching body
The information of the contact surface size of body and touch screen, and actively report the contact surface for touching body and touch screen in increase in advance
Information;
Starting module, for when application layer is sequentially received above-mentioned two information, then assert that touching body is pressing touching
Screen is touched, starts application program corresponding with contact surface position at this time.
Preferably, the detection module specifically includes:
Acquiring unit, the value of the flag bit for obtaining preset touch screen;
Judging unit judges to touch the touch screen whether body has just touched terminal device for the value according to flag bit.
Preferably, the value of flag bit is defined as 1 when touch body just touches touch screen;Touching is left when touching body
When touching screen, the value of flag bit is defined as 0.
Preferably, the contact surface for touching body and touch screen reported when touching body and just touching touch screen is big
Value corresponding to small information is less than the contact surface for touching body and touch screen that actively reports in advance corresponding to the information of increase
Value.
Preferably, the contact surface for touching body and touch screen reported when touching body and just touching touch screen is big
Value corresponding to small information is (raw_x+raw_y)/2, the contact surface of touch body and touch screen that the active premise reports
The value corresponding to the information of increase is (raw_x+raw_y)/2+n, wherein raw_x is the contact surface for touching body and touch screen
Length, raw_y is the width for touching the contact surface of body and touch screen, and n is the natural number more than or equal to 1.
Preferably, the starting module is further used for being sequentially received above-mentioned two information and identification when application layer
To its value when increasing, then assert that touching body is pressing touch screen, at this time according to being reported the x got, y-coordinate information true
Surely the contact surface position of body and touch screen is touched, and then starts application program corresponding with the contact surface position.
Compared with prior art, the beneficial effects of the present invention are:
The present invention can report the touch body currently got when touch body has just touched the touch screen of terminal device first
With the information of the contact surface size of touch screen, and the preset contact surface for touching body and touch screen is actively reported to increase in advance
Big information then assert that touching body is pressing touch screen, starts at this time when application layer is sequentially received above-mentioned two information
Application program corresponding with contact surface position reports multiple groups touch information and reading multiple groups to touch so that terminal be made to need not move through
Information judges that these steps of clicking operation can start application program, accelerates the starting speed of application program, is effectively improved
The startup hysteresis problem of application program.
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 the present invention
Some embodiments for those of ordinary skill in the art without creative efforts, can also basis
These attached drawings obtain other attached drawings.
Fig. 1 is a kind of flow chart of method for accelerating application starting provided in an embodiment of the present invention;
Fig. 2 is the flow chart of another method for accelerating application starting provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of device for accelerating application starting provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of another device for accelerating application starting provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of terminal device for accelerating application starting provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of another terminal device for accelerating application starting provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of another terminal device for accelerating application starting provided in an embodiment of the present 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.
It is to be understood that terminal device described in the embodiment of the present invention may include mobile phone, tablet computer, personal digital assistant
(referred to as " PDA "), mobile internet device or other electronic equipments with touch screen, the embodiment of the present invention is without limitation.
The embodiment provides a kind of methods for accelerating application starting, carry out with reference to the accompanying drawing to the present embodiment
It is described in detail.Fig. 1 is a kind of flow chart of method for accelerating application starting provided in an embodiment of the present invention, referring to Fig. 1, this hair
The method of bright embodiment the following steps are included:
Step S101, detection touches the touch screen whether body has just touched terminal device;
Wherein, which can be the tools such as the finger of user or felt pen.The touch screen of terminal device can be
Resistive touch screen, capacitive touch screen or other different types of touch screens.
Touch screen has just been touched in a flash touching body, and touch screen can recognize the touch operation for touching body, Jin Erji
Record touches the touch information of body and touch screen.If touching the touch screen that body has just touched terminal device, S102 is thened follow the steps, it is no
Then continue to test.
Step S102, the information of the contact surface size for touching body and touch screen currently got is reported, and is actively shifted to an earlier date
Report the contact surface of a touch body and touch screen in the information of increase;
When touching body and just touching touch screen, it can be got from the register of touch screen and touch body and touch screen
The information of contact surface size is simultaneously reported.However, in the prior art, to judge whether user carries out clicking pressing behaviour
Make, then the subsequent information for also needing the contact surface size for reporting multiple groups to touch body and touch screen is judged, will need in this way
One section of long period judges whether user carries out click pressing operation, so as to cause the startup hysteresis of application program.Therefore, exist
In the present embodiment, it is subsequent also to report multiple groups to touch body and the information of contact surface size of touch screen these steps before, can
Information of the contact surface of active reporting one preset touch body and touch screen in increase.
When it is implemented, the value of contact surface size corresponding to information can be reported by analysis to judge to touch body and touching
Whether the contact surface for touching screen is increasing, naturally it is also possible to add identification feature in reporting information and come whether characterization information is touch
Information of the contact surface of body and touch screen in increase.
Step S103, when application layer is sequentially received above-mentioned two information, then assert that touching body is pressing touch screen,
Start application program corresponding with contact surface position at this time.
The method of the embodiment of the present invention can make terminal need not move through report multiple groups touch information and read multiple groups touch letter
Breath accelerates the starting speed of application program, effectively improves to judge that these steps of clicking operation can start application program
The startup hysteresis problem of application program.
Referring to Fig. 2, Fig. 2 is the flow chart of another method for accelerating application starting provided in an embodiment of the present invention.Such as
Shown in Fig. 2, the method for the embodiment of the present invention the following steps are included:
Step S201, the value of the flag bit of preset touch screen is obtained;
Step S202, according to the value of flag bit, judge to touch the touch screen whether body has just touched terminal device;
When touch body just touches touch screen, the value of flag bit may be defined as 1;When touch body leaves touch screen, mark
The value of will position may be defined as 0, that is, be zeroed.It is of course also possible to be defined as other numerical value.If touching body just touches terminal device
Touch screen thens follow the steps S203.
Step S203, the information of the contact surface size for touching body and touch screen currently got is reported, and is actively shifted to an earlier date
Report the contact surface of a touch body and touch screen in the information of increase;
In the present embodiment, it is respectively WIDTH_MAJOR information that two, which report information, described in step S203, and two
WIDTH_MAJOR information separately includes the value for touching the contact surface size of body and touch screen.Wherein, described when touch body just connects
Value corresponding to the information of the contact surface size of the touch body and touch screen that report when contacting touch screen is less than actively to be reported in advance
Touch body and touch screen contact surface value corresponding to the information of increase.
Step S204, when application layer is sequentially received above-mentioned two information and recognize its value increase when, then assert touching
It touches body and is pressing touch screen, touch contact of the body with touch screen according to being reported the x got, y-coordinate information to determine at this time
Face position, and then start application program corresponding with the contact surface position.
In step S204, can by analysis report the value of contact surface size corresponding to information judge touch body with
Whether the contact surface of touch screen is increasing.When the contact surface for touching body and touch screen that active premise reports is in the information institute of increase
Corresponding value is greater than the information institute of the contact surface size for touching body and touch screen reported when touching body and just touching touch screen
When corresponding value, show that touching body and the contact surface of touch screen is increasing, is touched at this time it is believed that touching body and clicking pressing
Screen.
Optionally, the contact surface size for touching body and touch screen reported when touching body and just touching touch screen
Value corresponding to information can be set to (raw_x+raw_y)/2, and touch body that the active premise reports and touch screen connect
Contacting surface value corresponding to the information of increase can be set to (raw_x+raw_y)/2+n, wherein raw_x is to touch body and touching
The length of the contact surface of screen is touched, raw_y is the width for touching the contact surface of body and touch screen, and n is the nature more than or equal to 1
Number.
It should be noted that value corresponding to above-mentioned two information can also customized setting according to the actual situation
, changed i.e. implementable as long as contact surface size can be characterized, non-the present embodiment is limited.
After above-mentioned two information reporting, need to report x, y-coordinate information to determine the contact surface for touching body and touch screen
Position, to identify the application icon in the contact surface position range.
The method of the embodiment of the present invention can make terminal need not move through report multiple groups touch information and read multiple groups touch letter
Breath accelerates the starting speed of application program, effectively improves to judge that these steps of clicking operation can start application program
The startup hysteresis problem of application program.
Referring to Fig. 3, Fig. 3 is a kind of structural schematic diagram of device for accelerating application starting provided in an embodiment of the present invention.
As shown in figure 3, the device of the embodiment of the present invention includes detection module 31, reporting module 32 and starting module 33, it below will be to upper
The principle for stating module is described in detail.
Detection module 31, for detecting the touch screen for touching body and whether just having touched terminal device.
Wherein, which can be the tools such as the finger of user or felt pen.The touch screen of terminal device can be
Resistive touch screen, capacitive touch screen or other different types of touch screens.
Touch screen has just been touched in a flash touching body, and touch screen can recognize the touch operation for touching body, Jin Erji
Record touches the touch information of body and touch screen.The information that detection module 31 can obtain touch screen judges to touch whether body has just contacted
To touch screen.
Reporting module 32 reports the touching currently got if just having touched the touch screen of terminal device for touching body
The information of the contact surface size of body and touch screen is touched, and the contact surface of a touch body and touch screen is actively reported to increase in advance
Information.
When touch body just touches touch screen, reporting module 32 can get touch body from the register of touch screen
With the information of the contact surface size of touch screen and reported.However, in the prior art, to judge whether user carries out a little
Pressing operation is hit, then the subsequent information for also needing the contact surface size for reporting multiple groups to touch body and touch screen is judged, this
Sample will need one section of long period to judge whether user carries out click pressing operation, stagnant so as to cause the starting of application program
Afterwards.Therefore, in the present embodiment, in these steps of the information of the subsequent contact surface size that also report multiple groups to touch body and touch screen
Before rapid, reporting module 32 can the active reporting one preset contact surface for touching body and touch screen increase information.
Starting module 33, for when application layer is sequentially received above-mentioned two information, then assert that touching body is pressing
Touch screen starts application program corresponding with contact surface position at this time.
When it is implemented, starting module 33 can report the value of contact surface size corresponding to information to judge by analysis
Whether the contact surface for touching body and touch screen is increasing, naturally it is also possible to add identification feature in reporting information and carry out characterization information
It whether is information of the contact surface in increase for touching body and touch screen.
The device of the embodiment of the present invention can make terminal need not move through report multiple groups touch information and read multiple groups touch letter
Breath accelerates the starting speed of application program, effectively improves to judge that these steps of clicking operation can start application program
The startup hysteresis problem of application program.
Referring to Fig. 4, Fig. 4 is the structural representation of another device for accelerating application starting provided in an embodiment of the present invention
Figure.As shown in figure 4, the device of the embodiment of the present invention also includes detection module 31, reporting module 32 and starting module 33, it is identical it
Place repeats no more, the difference is that:
Optionally, the detection module 31 specifically includes:
Acquiring unit 311, the value of the flag bit for obtaining preset touch screen;
Judging unit 312 judges to touch the touch whether body has just touched terminal device for the value according to flag bit
Screen.
When touch body just touches touch screen, the value of flag bit may be defined as 1;When touch body leaves touch screen, mark
The value of will position may be defined as 0, that is, be zeroed.It is of course also possible to be defined as other numerical value.
In the present embodiment, two information reporting when touching body and just touching touch screen of reporting module 32 are respectively
WIDTH_MAJOR information, two WIDTH_MAJOR information separately include the value for touching the contact surface size of body and touch screen.
Starting module 33 is further used for increasing when application layer is sequentially received above-mentioned two information and recognizes its value
When, then assert that touching body is pressing touch screen, the x got, y-coordinate information are determining to touch body and touching according to being reported at this time
The contact surface position of screen is touched, and then starts application program corresponding with the contact surface position.
Specifically, starting module 33 can report the value of contact surface size corresponding to information by analysis to judge to touch
Whether the contact surface of body and touch screen is increasing.When the contact surface for touching body and touch screen that active premise reports is in the letter of increase
The corresponding value of breath is greater than the letter of the contact surface size for touching body and touch screen reported when touching body and just touching touch screen
When value corresponding to breath, show that touching body and the contact surface of touch screen is increasing, at this time it is believed that touching body is clicking pressing
Touch screen.
Optionally, the contact surface size for touching body and touch screen reported when touching body and just touching touch screen
Value corresponding to information can be set to (raw_x+raw_y)/2, and touch body that the active premise reports and touch screen connect
Contacting surface value corresponding to the information of increase can be set to (raw_x+raw_y)/2+n, wherein raw_x is to touch body and touching
The length of the contact surface of screen is touched, raw_y is the width for touching the contact surface of body and touch screen, and n is the nature more than or equal to 1
Number.
It should be noted that value corresponding to above-mentioned two information can also customized setting according to the actual situation
, changed i.e. implementable as long as contact surface size can be characterized, non-the present embodiment is limited.
After above-mentioned two information reporting, x that starting module 33 needs to be reported according to reporting module 32, y-coordinate information come
The contact surface position for touching body and touch screen is determined, to identify the application icon in the contact surface position range.
The device of the embodiment of the present invention can make terminal need not move through report multiple groups touch information and read multiple groups touch letter
Breath accelerates the starting speed of application program, effectively improves to judge that these steps of clicking operation can start application program
The startup hysteresis problem of application program.
Referring to Fig. 5, Fig. 5 is a kind of structural representation of terminal device for accelerating application starting provided in an embodiment of the present invention
Figure.As shown in figure 5, the terminal device of the embodiment of the present invention may include at least one communication bus 51, be connected with communication bus 51
At least one processor 52 and at least one processor 53 that is connected with communication bus 51.
Wherein, processor 52 can call the code stored in memory 53 to touch to be used to detect by communication bus 51
Whether body has just touched the touch screen of terminal device;If touching the touch screen that body has just touched terminal device, reports and currently obtain
That gets touches the information of the contact surface size of body and touch screen, and actively reports one to touch contact of the body with touch screen in advance
Information of the face in increase;When application layer is sequentially received above-mentioned two information, then assert that touching body is pressing touch screen, this
Shi Qidong application program corresponding with contact surface position.
In some embodiment of the invention, the value of the flag bit of the available preset touch screen of processor 52;And according to
The value of flag bit judges to touch the touch screen whether body has just touched terminal device.When touch body just touches touch screen, mark
The value of will position may be defined as 1;When touch body leaves touch screen, the value of flag bit may be defined as 0, that is, be zeroed.
In some embodiment of the invention, two information that processor 52 is handled can be respectively WIDTH_MAJOR information,
Two WIDTH_MAJOR information separately include the value for touching the contact surface size of body and touch screen.Processor 52 can pass through
Analysis reports the value of contact surface size corresponding to information to judge whether the contact surface for touching body and touch screen is increasing.Work as master
Contact surface value corresponding to the information of increase of touch body and touch screen that dynamic premise reports is greater than when touch body has just touched
When what is reported when touch screen touches value corresponding to the information of the contact surface size of body and touch screen, show to touch body and touch screen
Contact surface increasing, at this time it is believed that touch body clicking pressing touch screen.
Optionally, the contact surface size for touching body and touch screen reported when touching body and just touching touch screen
Value corresponding to information can be set to (raw_x+raw_y)/2, and touch body that the active premise reports and touch screen connect
Contacting surface value corresponding to the information of increase can be set to (raw_x+raw_y)/2+n, wherein raw_x is to touch body and touching
The length of the contact surface of screen is touched, raw_y is the width for touching the contact surface of body and touch screen, and n is the nature more than or equal to 1
Number.
Certainly, processor 52 can also judge whether information is to touch body according to the identification feature added in information is reported
With the contact surface of touch screen increase information.
When processor 52 be sequentially received above-mentioned two information and recognize its value increase when, then assert touch body
Press touch screen, at this time according to reported the x got, y-coordinate information determine touch body and touch screen contact surface position, into
And start application program corresponding with the contact surface position.
Referring to Fig. 6, the structure that Fig. 6 is another terminal device for accelerating application starting provided in an embodiment of the present invention is shown
It is intended to.As shown in fig. 6, the terminal device of the embodiment of the present invention includes touch screen 61 and processing module 62, touch screen 61 and processing
Module 62 is connected.Wherein:
Touch screen 61 touches the touch operation of body for identification, and then records the touch information (packet for touching body and touch screen
Include the information of contact surface size), and be saved in the register of touch screen 61.
Processing module 62, which is used to detect, touches the touch screen whether body has just touched terminal device;If touching body just to touch
The touch screen of terminal device then reports the information of the contact surface size for touching body and touch screen currently got, and actively mentions
Before report the contact surface for touching body and touch screen in the information of increase;When application layer is sequentially received above-mentioned two information
When, then assert that touching body is pressing touch screen, starts application program corresponding with contact surface position at this time.
In some embodiment of the invention, the value of the flag bit of the available preset touch screen of processing module 62;And root
According to the value of flag bit, judge to touch the touch screen whether body has just touched terminal device.When touch body just touches touch screen,
The value of flag bit may be defined as 1;When touch body leaves touch screen, the value of flag bit may be defined as 0, that is, be zeroed.
In some embodiment of the invention, two information that processing module 62 is handled can be respectively WIDTH_MAJOR letter
Breath, two WIDTH_MAJOR information separately include the value for touching the contact surface size of body and touch screen.Processing module 62 can be with
By analyzing whether the contact surface for reporting the value of contact surface size corresponding to information to judge touch body and touch screen is increasing.
When contact surface value corresponding to the information of increase of touch body and touch screen that active premise reports is greater than when touch body has just connect
When what is reported when contacting touch screen touches value corresponding to the information of the contact surface size of body and touch screen, show to touch body and touching
The contact surface for touching screen is increasing, at this time it is believed that touching body is clicking pressing touch screen.
Optionally, the contact surface size for touching body and touch screen reported when touching body and just touching touch screen
Value corresponding to information can be set to (raw_x+raw_y)/2, and touch body that the active premise reports and touch screen connect
Contacting surface value corresponding to the information of increase can be set to (raw_x+raw_y)/2+n, wherein raw_x is to touch body and touching
The length of the contact surface of screen is touched, raw_y is the width for touching the contact surface of body and touch screen, and n is the nature more than or equal to 1
Number.
Certainly, processing module 62 can also judge whether information is touch according to the identification feature added in information is reported
Information of the contact surface of body and touch screen in increase.
When processing module 62 be sequentially received above-mentioned two information and recognize its value increase when, then assert touch body just
Pressing touch screen, at this time according to reported the x got, y-coordinate information determine touch body and touch screen contact surface position,
And then start application program corresponding with the contact surface position.
Referring to Fig. 7, the structure that Fig. 7 is another terminal device for accelerating application starting provided in an embodiment of the present invention is shown
It is intended to.As shown in fig. 7, the terminal device of the embodiment of the present invention may include at least one communication bus 71, at least one processor
72, at least one processor 73, at least one user interface 74 and at least one network interface 75.Communication bus 71 is for real
Connection communication between these existing components.Wherein, which includes display (for example, touch screen, LCD, CRT, holography
(Holographic) or projection (Projector) etc. is imaged), pointing device (such as mouse, trace ball (trackball) touching
Feel plate or touch screen etc.), camera and/or sound pick up equipment etc..
Wherein, memory 73 may include read-only memory and random access memory, and provide instruction to processor 72
And data.A part of in memory 73 can also include nonvolatile RAM (NVRAM).
In some embodiments, memory 73 stores following element, executable modules or data structures, or
Their subset or their superset: operating system 731 includes various system programs, for realizing various basic businesses
And the hardware based task of processing.Application program module 732 includes various application programs, for realizing various applied business.
In embodiments of the present invention, by the program or instruction of calling memory 73 to store, processor 72 is for detecting touching
Touch the touch screen whether body has just touched terminal device;If touching the touch screen that body has just touched terminal device, report current
What is got touches the information of the contact surface size of body and touch screen, and actively reports one to touch connecing for body and touch screen in advance
Information of the contacting surface in increase;When application layer is sequentially received above-mentioned two information, then assert that touching body is pressing touch screen,
Start application program corresponding with contact surface position at this time.
In some embodiment of the invention, the value of the flag bit of the available preset touch screen of processor 72;And according to
The value of flag bit judges to touch the touch screen whether body has just touched terminal device.When touch body just touches touch screen, mark
The value of will position may be defined as 1;When touch body leaves touch screen, the value of flag bit may be defined as 0, that is, be zeroed.
In some embodiment of the invention, two information that processor 72 is handled can be respectively WIDTH_MAJOR information,
Two WIDTH_MAJOR information separately include the value for touching the contact surface size of body and touch screen.Processor 72 can pass through
Analysis reports the value of contact surface size corresponding to information to judge whether the contact surface for touching body and touch screen is increasing.Work as master
Contact surface value corresponding to the information of increase of touch body and touch screen that dynamic premise reports is greater than when touch body has just touched
When what is reported when touch screen touches value corresponding to the information of the contact surface size of body and touch screen, show to touch body and touch screen
Contact surface increasing, at this time it is believed that touch body clicking pressing touch screen.
Optionally, the contact surface size for touching body and touch screen reported when touching body and just touching touch screen
Value corresponding to information can be set to (raw_x+raw_y)/2, and touch body that the active premise reports and touch screen connect
Contacting surface value corresponding to the information of increase can be set to (raw_x+raw_y)/2+n, wherein raw_x is to touch body and touching
The length of the contact surface of screen is touched, raw_y is the width for touching the contact surface of body and touch screen, and n is the nature more than or equal to 1
Number.
Certainly, processor 72 can also judge whether information is to touch body according to the identification feature added in information is reported
With the contact surface of touch screen increase information.
When processor 72 be sequentially received above-mentioned two information and recognize its value increase when, then assert touch body
Press touch screen, at this time according to reported the x got, y-coordinate information determine touch body and touch screen contact surface position, into
And start application program corresponding with the contact surface position.
The embodiment of the present invention provides a kind of computer storage medium, wherein and above-mentioned computer storage medium is stored with program,
Above procedure execute when include as the above embodiment of the present invention provide any one accelerate application starting method part or
Overall Steps.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of
Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because
According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know
It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention
It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way
It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of said units, it is only a kind of
Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can
To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit,
It can be electrical or other forms.
Above-mentioned unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can for personal computer, server or communication equipment etc.) execute each embodiment the method for the present invention whole or
Part steps.And storage medium above-mentioned includes: that USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. be various to can store program code
Medium.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to before
Stating embodiment, invention is explained in detail, those skilled in the art should understand that: it still can be to preceding
Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these
It modifies or replaces, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.
Claims (10)
1. a kind of method for accelerating application starting, which is characterized in that method includes the following steps:
Detection touches the touch screen whether body has just touched terminal device;
If touching the touch screen that body has just touched terminal device, the contact surface of the touch body and touch screen that currently get is reported
The information of size, and report the contact surface for touching body and touch screen in increase in advance before reporting x, y-coordinate information
Information, corresponding to the information of the contact surface size for touching body and touch screen for touching and being reported when body just touches touch screen
Value to be less than the contact surface for touching body and touch screen reported in advance before reporting x, y-coordinate information right in the information institute of increase
The value answered;
When application layer is sequentially received above-mentioned two information, then assert that touching body is pressing touch screen, starts at this time and connects
The corresponding application program in contacting surface position.
2. the method according to claim 1 for accelerating application starting, which is characterized in that the detection touches whether body has just connect
The step of contacting the touch screen of terminal device specifically includes:
Obtain the value of the flag bit of preset touch screen;
According to the value of flag bit, judge to touch the touch screen whether body has just touched terminal device.
3. the method according to claim 2 for accelerating application starting, which is characterized in that just touch touch screen when touching body
When, the value of flag bit is defined as 1;When touch body leaves touch screen, the value of flag bit is defined as 0.
4. the method according to claim 1 for accelerating application starting, which is characterized in that when the touch body has just touched touching
It is (raw_x+raw_y)/2 that is reported when touching screen, which touches value corresponding to the information of the contact surface size of body and touch screen, described
Contact surface value corresponding to the information of increase of the touch body and touch screen that report in advance before reporting x, y-coordinate information is
(raw_x+raw_y)/2+n, wherein raw_x is the length for touching the contact surface of body and touch screen, and raw_y is to touch body and touching
The width of the contact surface of screen is touched, n is the natural number more than or equal to 1.
5. the method according to claim 1 for accelerating application starting, which is characterized in that described when application layer is sequentially received
When above-mentioned two information, then assert that touching body is pressing touch screen, start at this time corresponding with contact surface position using journey
The step of sequence, specifically includes:
When application layer be sequentially received above-mentioned two information and recognize its value increase when, then assert touch body pressing touching
Touch screen, at this time according to reported the x got, y-coordinate information determine touch body and touch screen contact surface position, and then start
Application program corresponding with the contact surface position.
6. a kind of device for accelerating application starting, which is characterized in that the device includes:
Detection module, for detecting the touch screen for touching body and whether just having touched terminal device;
Reporting module, if just having touched the touch screen of terminal device for touching body, report the touch body that currently gets with
The information of the contact surface size of touch screen, and report before reporting x, y-coordinate information one to touch body and touch screen in advance
For contact surface in the information of increase, the contact surface for touching body and touch screen reported when the touch body just touches touch screen is big
The contact surface that value corresponding to small information is less than the touch body and touch screen that report in advance before reporting x, y-coordinate information exists
Value corresponding to the information of increase;
Starting module, for when application layer is sequentially received above-mentioned two information, then assert that touching body is pressing touch screen,
Start application program corresponding with contact surface position at this time.
7. the device according to claim 6 for accelerating application starting, which is characterized in that the detection module specifically includes:
Acquiring unit, the value of the flag bit for obtaining preset touch screen;
Judging unit judges to touch the touch screen whether body has just touched terminal device for the value according to flag bit.
8. the device according to claim 7 for accelerating application starting, which is characterized in that just touch touch screen when touching body
When, the value of flag bit is defined as 1;When touch body leaves touch screen, the value of flag bit is defined as 0.
9. the device according to claim 6 for accelerating application starting, which is characterized in that when the touch body has just touched touching
It is (raw_x+raw_y)/2 that is reported when touching screen, which touches value corresponding to the information of the contact surface size of body and touch screen, described
Contact surface value corresponding to the information of increase of the touch body and touch screen that report in advance before reporting x, y-coordinate information is
(raw_x+raw_y)/2+n, wherein raw_x is the length for touching the contact surface of body and touch screen, and raw_y is to touch body and touching
The width of the contact surface of screen is touched, n is the natural number more than or equal to 1.
10. the device according to claim 6 for accelerating application starting, which is characterized in that the starting module is further used
In when application layer be sequentially received above-mentioned two information and recognize its value increase when, then assert touch body pressing touch
Screen, at this time according to reported the x got, y-coordinate information determine touch body and touch screen contact surface position, and then start with
The corresponding application program in contact surface position.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610814804.4A CN106383653B (en) | 2016-09-09 | 2016-09-09 | Method and device for accelerating application starting |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610814804.4A CN106383653B (en) | 2016-09-09 | 2016-09-09 | Method and device for accelerating application starting |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106383653A CN106383653A (en) | 2017-02-08 |
CN106383653B true CN106383653B (en) | 2019-04-26 |
Family
ID=57935443
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610814804.4A Expired - Fee Related CN106383653B (en) | 2016-09-09 | 2016-09-09 | Method and device for accelerating application starting |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106383653B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102043566A (en) * | 2009-10-19 | 2011-05-04 | 纬创资通股份有限公司 | Electronic device with touch panel and operation method thereof |
CN104423629A (en) * | 2013-09-11 | 2015-03-18 | 联想(北京)有限公司 | Electronic equipment and data processing method |
CN104487928A (en) * | 2012-05-09 | 2015-04-01 | 苹果公司 | Apparatus, method and graphical user interface for transitioning between display states in response to gestures |
CN104699532A (en) * | 2013-12-09 | 2015-06-10 | 深圳桑菲消费通信有限公司 | Method and device for rapidly starting and switching application program |
CN104898961A (en) * | 2015-05-27 | 2015-09-09 | 努比亚技术有限公司 | Application rapid starting method and apparatus |
CN105353933A (en) * | 2015-12-02 | 2016-02-24 | 北京海杭通讯科技有限公司 | Capacitive touch screen control method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9406025B2 (en) * | 2014-06-04 | 2016-08-02 | International Business Machines Corporation | Touch prediction for visual displays |
-
2016
- 2016-09-09 CN CN201610814804.4A patent/CN106383653B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102043566A (en) * | 2009-10-19 | 2011-05-04 | 纬创资通股份有限公司 | Electronic device with touch panel and operation method thereof |
CN104487928A (en) * | 2012-05-09 | 2015-04-01 | 苹果公司 | Apparatus, method and graphical user interface for transitioning between display states in response to gestures |
CN104423629A (en) * | 2013-09-11 | 2015-03-18 | 联想(北京)有限公司 | Electronic equipment and data processing method |
CN104699532A (en) * | 2013-12-09 | 2015-06-10 | 深圳桑菲消费通信有限公司 | Method and device for rapidly starting and switching application program |
CN104898961A (en) * | 2015-05-27 | 2015-09-09 | 努比亚技术有限公司 | Application rapid starting method and apparatus |
CN105353933A (en) * | 2015-12-02 | 2016-02-24 | 北京海杭通讯科技有限公司 | Capacitive touch screen control method |
Also Published As
Publication number | Publication date |
---|---|
CN106383653A (en) | 2017-02-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110019279B (en) | Collaborative update method, device, device and storage medium for online documents | |
EP2638452B1 (en) | Resolving merged touch contacts | |
CN107193743B (en) | Application evaluation method and device, computer equipment and storage medium | |
CN107329750A (en) | The recognition methods of advertisement page, jump method and mobile terminal in application program | |
CN109726543B (en) | Login method and device of application program, terminal equipment and storage medium | |
CN109614207A (en) | Processing method, device and computer-readable storage medium for hosting application | |
US12189926B2 (en) | Systems and methods for proactively identifying and providing an internet link on an electronic device | |
US12141097B2 (en) | Method and system for providing pre-approved A/A data buckets | |
CN110688319B (en) | Application keep-alive capability test method and related device | |
US20190057118A1 (en) | Method and System for Detecting Data Bucket Inconsistencies for A/B Experimentation | |
WO2022104999A1 (en) | Handwriting graphics analysis method and apparatus, and electronic device | |
CN113110976A (en) | Abnormity analysis method and device, electronic equipment and readable storage medium | |
CN110493125A (en) | Instant communicating method, equipment and computer readable storage medium | |
CN115445212A (en) | Game gift bag pushing method and device, computer equipment and storage medium | |
CN104932772B (en) | The application display method and device of smartwatch | |
CN106383653B (en) | Method and device for accelerating application starting | |
CN104024991A (en) | Supporting different event models using single input source | |
CN112685299B (en) | Automatic test method, device, electronic equipment and readable storage medium | |
CN106020712B (en) | Touch gesture recognition method and device | |
CN115599375B (en) | Data processing method and device based on RPA system | |
CN113515217B (en) | Touch processing method, device, storage medium and electronic device | |
CN107885452A (en) | 3D Touch analogy methods and device, computer installation and computer-readable recording medium | |
CN104423844A (en) | Information processing method and device, electronic device | |
CN114048392A (en) | Multimedia resource pushing method and device, electronic equipment and storage medium | |
CN113360356B (en) | Method for identifying reading cheating behaviors, computing device and computer storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190426 |