CN104020955B - Based on touch equipment desktop customizing method and the system of WinCE system - Google Patents

Based on touch equipment desktop customizing method and the system of WinCE system Download PDF

Info

Publication number
CN104020955B
CN104020955B CN201410237020.0A CN201410237020A CN104020955B CN 104020955 B CN104020955 B CN 104020955B CN 201410237020 A CN201410237020 A CN 201410237020A CN 104020955 B CN104020955 B CN 104020955B
Authority
CN
China
Prior art keywords
touch action
icon
touch
time
advance
Prior art date
Application number
CN201410237020.0A
Other languages
Chinese (zh)
Other versions
CN104020955A (en
Inventor
杨轶
Original Assignee
深圳市爱培科技术股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市爱培科技术股份有限公司 filed Critical 深圳市爱培科技术股份有限公司
Priority to CN201410237020.0A priority Critical patent/CN104020955B/en
Publication of CN104020955A publication Critical patent/CN104020955A/en
Application granted granted Critical
Publication of CN104020955B publication Critical patent/CN104020955B/en

Links

Abstract

A kind of touch equipment desktop customizing method and system based on WinCE system provided by the present invention, by detecting user at the sliding distance of the touch action at mobile device user interface and touching the duration, judge whether initial page to switch to next interface, or whether will select icon and be positioned over an appointed area. The present invention has realized self-defined desktop flexibly under WinCE platform, can greatly promote thus user the touch of the mobile device based on WinCE platform is felt alternately, makes user operate better smoothness.

Description

Based on touch equipment desktop customizing method and the system of WinCE system
Technical field
The present invention relates to field of mobile terminals, in particular a kind of touch equipment desktop customizing method and system based on WinCE system.
Background technology
Increasingly popular due to the intelligent embedded system such as Android and iOS, consumers in general have been provided by the flexile desktop form providing based on the platform of Android and iOS system. Under Android system platform, desktop can increase number of pages along with the continuous increase of number of icons, and can drag flexibly page turning between the adjacent page. In addition, user can, according to the picture mark position on self-defined each page of the hobby of oneself, can be dragged and dropped into comparatively conventional icon on first page, and icon lower frequency of utilization is dragged and dropped on the page below etc.
At present, the design concept of the desktop programs of WinCE platform acquiescence is very outmoded, does not support the page to slide, pull the functions such as icon, icon transposition, icon exchange, page animation, the page are translucent, shortcut navigation hurdle. And the desktop of WinCE platform acquiescence only has a single desktop page, all icons are all presented in this single page, and each picture mark position is all irremovable. In the time that the quantity of icon increases, due to the restriction of single page, its display size corresponding dwindling of just having to, between icon and control, become crowded simultaneously, this traditional desktop form obviously can have influence on the first impression of user to the mobile device based on WinCE platform, thereby had a strong impact on other advantage of these mobile devices, user feels poor alternately with the mobile device based on WinCE platform.
Therefore, prior art has yet to be improved and developed.
Summary of the invention
In view of above-mentioned the deficiencies in the prior art, the object of the present invention is to provide a kind of touch equipment desktop customizing method and system based on WinCE system, touch the poor defect of mutual sense thereby overcome the mobile device desktop based on WinCE system in prior art.
Technical scheme of the present invention is as follows:
Based on a touch equipment desktop customizing method for WinCE system, wherein, described method comprises:
The touch action in initial page detects in real time to user for A, mobile device, in the time the touch action of user in initial page being detected, judges whether the sliding distance of described touch action exceedes a distance setting in advance;
B, when described in the sliding distance of described touch action is more than or equal to, set in advance distance time, the user interface of mobile device is switched to next page; When described in the sliding distance of described touch action is less than, set in advance distance time, described user interface is returned to described initial page;
C, in the time the touch action of user in initial page icon area being detected, judge whether the touch duration of the selected icon of described touch action exceedes a time threshold setting in advance;
D, when described in the described touch duration is more than or equal to, set in advance time threshold time, the corresponding movement of motion track that described selected icon is followed described touch action; When the stop position of described touch action is non-navigation shortcuts bar region, described selected icon is positioned over to the position that user's touch action stops, and upgrades current interface; When the stop position of described touch action is navigation shortcuts bar region, described selected icon is positioned over to described navigation shortcuts bar region, and upgrades current interface; When described in the described touch duration is less than, set in advance time threshold time, start selected application program corresponding to icon of described page icon touch action.
The described touch equipment desktop customizing method based on WinCE system, wherein, also comprises before described steps A:
S1, the background picture that obtains initial page and foreground picture, and described background picture and described foreground picture are decoded, afterwards the decoded data of the decoded data of described background picture and described foreground picture is all converted into the data format of ARGB form, obtains the foreground picture of background picture and the ARGB form of ARGB form;
S2, according to predefined mixing computing formula, the image data of the background picture of described ARGB form is carried out to hybrid operation, obtain the background picture of blended data form;
S3, be the background picture of described blended data form by the context update of described initial page.
The described touch equipment desktop customizing method based on WinCE system, wherein, described step B specifically comprises:
B1, when described in the sliding distance of described touch action is more than or equal to, set in advance distance time, the user interface of mobile device is switched to next page;
B2, the distance setting in advance described in being less than when the sliding distance of described touch action, and while being more than or equal to a predefined second distance, described user interface is refreshed;
B3, in the time that the sliding distance of described touch action is less than described second distance, described user interface is returned to described initial page.
The described touch equipment desktop customizing method based on WinCE system, wherein, described step D specifically comprises:
D1, when described in the described touch duration is more than or equal to, set in advance time threshold time, the corresponding movement of motion track that described selected icon is followed described touch action;
D2, when the stop position of described touch action is non-navigation shortcuts bar region, described selected icon is positioned over to the position that user's touch action stops, and upgrades current interface;
D3, when the stop position of described touch action is navigation shortcuts bar region, judge whether the stop position of described touch action is the white space in navigation shortcuts bar region, in the time being, described selected icon is positioned over to the stop position of described touch action; When no, delete the original shortcut of the stop position of described touch action, and described selected icon is positioned over to the stop position of described touch action;
D4, when described in the described touch duration is less than, set in advance time threshold time, start application program corresponding to described selected icon.
The described touch equipment desktop customizing method based on WinCE system, wherein, the user interface of described mobile device comprises non-navigation shortcuts bar region and navigation shortcuts bar region, described non-navigation shortcuts bar region comprises icon area and white space.
The described touch equipment desktop customizing method based on WinCE system, wherein, described in the time threshold that sets in advance be 1 second, described in the distance that sets in advance be 10 pixels.
The self-defined system of touch equipment desktop based on WinCE system, wherein, comprising:
Touch action detection module, for mobile device, to user, the touch action in initial page detects in real time, in the time the touch action of user in initial page being detected, judges whether the sliding distance of described touch action exceedes a distance setting in advance;
Page handover module, for when described in the sliding distance of described touch action is more than or equal to, set in advance distance time, the user interface of mobile device is switched to next page; When described in the sliding distance of described touch action is less than, set in advance distance time, described user interface is returned to described initial page;
Touch time detecting module, in the time the touch action of user in initial page icon area being detected, judge whether the touch duration of the selected icon of described touch action exceedes a time threshold setting in advance;
Icon drag and drop module, for set in advance described in being more than or equal to when the described touch duration time threshold time, the corresponding movement of motion track that described selected icon is followed described touch action; When the stop position of described touch action is non-navigation shortcuts bar region, described selected icon is positioned over to the position that user's touch action stops, and upgrades current interface; When the stop position of described touch action is navigation shortcuts bar region, described selected icon is positioned over to described navigation shortcuts bar region, and upgrades current interface; When described in the described touch duration is less than, set in advance time threshold time, start selected application program corresponding to icon of described page icon touch action.
The described self-defined system of touch equipment desktop based on WinCE system, wherein, also comprises:
Decoding transcoding module, for obtaining background picture and the foreground picture of initial page, and described background picture and described foreground picture are decoded, afterwards the decoded data of the decoded data of described background picture and described foreground picture is all converted into the data format of ARGB form, obtains the foreground picture of background picture and the ARGB form of ARGB form;
Computing module, for according to predefined mixing computing formula, the image data of the background picture of described ARGB form being carried out to hybrid operation, obtains the background picture of blended data form;
Background transitions module, for being the background picture of described blended data form by the context update of described initial page.
The described self-defined system of touch equipment desktop based on WinCE system, wherein, described page handover module specifically comprises:
Page switch unit, for when described in the sliding distance of described touch action is more than or equal to, set in advance distance time, the user interface of mobile device is switched to next page;
Page furbishing unit, for the distance setting in advance described in being less than when the described sliding distance when described touch action, and while being more than or equal to a predefined second distance, refreshes described user interface;
The page returns to unit, and in the time that the described sliding distance when described touch action is less than described second distance, described user interface is returned to described initial page.
The described self-defined system of touch equipment desktop based on WinCE system, wherein, described icon drag and drop module specifically comprises:
Icon moving unit, for set in advance described in being more than or equal to when the described touch duration time threshold time, the corresponding movement of motion track that described selected icon is followed described touch action;
The first icon placement unit, is non-navigation shortcuts bar region for the stop position when described touch action, described selected icon is positioned over to the position that user's touch action stops, and upgrades current interface;
The second icon placement unit, be navigation shortcuts bar region for the stop position when described touch action, whether the stop position that judges described touch action is the white space in navigation shortcuts bar region, described selected icon is positioned over to the stop position of described touch action in the time being; When no, delete the original shortcut of the stop position of described touch action, and described selected icon is positioned over to the stop position of described touch action;
Program start unit, for set in advance described in being less than when the described touch duration time threshold time, start application program corresponding to described selected icon.
A kind of touch equipment desktop customizing method and system based on WinCE system provided by the present invention, by detecting user at the sliding distance of the touch action at mobile device user interface and touching the duration, judge whether initial page to switch to next interface, or whether will select icon and be positioned over an appointed area. The present invention has realized self-defined desktop flexibly under WinCE platform, can greatly promote thus user the touch of the mobile device based on WinCE platform is felt alternately, makes user operate better smoothness.
Brief description of the drawings
Fig. 1 is the flow chart of the preferred embodiment of the touch equipment desktop customizing method based on WinCE system of the present invention.
Fig. 2 is the particular flow sheet that Application Example 1 page of the present invention slides page.
Fig. 3 is the particular flow sheet that Application Example 2 icons of the present invention pull.
Fig. 4 is the particular flow sheet that the translucent Alpha of Application Example 3 page of the present invention mixes.
Fig. 5 is the particular flow sheet on Application Example of the present invention 4 shortcut navigation hurdles.
Fig. 6 is the structured flowchart that the present invention is based on the preferred embodiment of the self-defined system of touch equipment desktop of WinCE system.
Detailed description of the invention
The invention provides one one kinds of touch equipment desktop customizing method and systems based on WinCE system, for making object of the present invention, technical scheme and effect clearer, clear and definite, developing simultaneously referring to accompanying drawing, the present invention is described in more detail for embodiment. Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
Refer to Fig. 1, Fig. 1 is the flow chart of the preferred embodiment of the touch equipment desktop customizing method based on WinCE system of the present invention. As shown in Figure 1, the described touch equipment desktop customizing method based on WinCE system, comprises the following steps:
The touch action in initial page detects in real time to user for step S100, mobile device, in the time the touch action of user in initial page being detected, judges whether the sliding distance of described touch action exceedes a distance setting in advance;
In preferred embodiment of the present invention, to user, the touch action in initial page detects mobile device in real time, in the time the touch action of user in initial page being detected, obtain initial position coordinate and the final position coordinate of described touch action, according to described touch action initial position coordinate and final position coordinate calculate the sliding distance of digital-to-analogue action. Wherein, described initial page can be divided into non-navigation shortcuts bar region and navigation shortcuts bar region, and described non-navigation shortcuts bar region is divided into again icon area and white space. In the time of arbitrary region in the initial position of the described touch action above-mentioned three kinds of regions in initial page, do not affect the switching of user interface, that is to say, user, without sliding in the appointed area of initial page, also can carry out page switching.
Step S200, when described in the sliding distance of described touch action is more than or equal to, set in advance distance time, the user interface of mobile device is switched to next page; When described in the sliding distance of described touch action is less than, set in advance distance time, described user interface is returned to described initial page;
Obviously,, in the time that the sliding distance of described touch action meets page switching condition, can carry out the switching of the page. Preferably, the distance that described predefined distance is 10 pixels. For the clearer size of understanding pixel, lift an example below and illustrate. The main screen of supposing mobile device display screen is of a size of 4 cun, main screen resolution ratio is 800x480 pixel, and calculating known its length and width by Pythagorean theorem is 3.430 cun of x2.058 cun, namely 87.1 millimeters of x52.3 millimeters, therefore each pixel has 87.1/800 millimeters long, it is also 0.109 millimeters long. From above-mentioned example, the size of each pixel is determined jointly by size and the resolution ratio of mobile device display screen.
Step S300, in the time the touch action of user in initial page icon area being detected, judge whether the touch duration of the selected icon of described touch action exceedes a time threshold setting in advance;
In step S300, to user, the touch action in initial page detects mobile device in real time, in the time the touch action of user in the icon area of initial page being detected, obtain the selected icon of described touch action and touch duration of described selected icon. Different from the sliding distance that judges touch action in step S100, in step S300, only judge whether touch action continues to concentrate on selected icon. When touch action continues to concentrate on time on a certain selected icon while exceeding a predefined time threshold, can drag described selected icon and move in initial page, the motion track of icon is consistent with the motion track of touch action.
Step S400, when described in the described touch duration is more than or equal to, set in advance time threshold time, the corresponding movement of motion track that described selected icon is followed described touch action; When the stop position of described touch action is non-navigation shortcuts bar region, described selected icon is positioned over to the position that user's touch action stops, and upgrades current interface; When the stop position of described touch action is navigation shortcuts bar region, described selected icon is positioned over to described navigation shortcuts bar region, and upgrades current interface; When described in the described touch duration is less than, set in advance time threshold time, start selected application program corresponding to icon of described page icon touch action.
Obviously, when the described touch duration exceed one set in advance time threshold time, can drag selected icon and move. Preferably, described predefined time threshold is 1 second.
Embodiment further, described step S100 also comprises before detecting touch action:
Step S10, the background picture that obtains initial page and foreground picture, and described background picture and described foreground picture are decoded, afterwards the decoded data of the decoded data of described background picture and described foreground picture is all converted into the data format of ARGB form, obtains the foreground picture of background picture and the ARGB form of ARGB form;
Wherein, ARGB(Alpha, Red, Green, Blue) be a kind of rgb color pattern of additional Alpha transparency passage. When the decoded data of the decoded data of the described background picture obtaining and described foreground picture being all converted into the data format of ARGB form, obtain after the background picture of ARGB form and the foreground picture of ARGB form, again the background picture of AGB form is further processed, can obtains the translucent display effect of the page.
Step S20, according to predefined mixing computing formula, the image data of the background picture of described ARGB form is carried out to hybrid operation, obtain the background picture of blended data form;
In step S20, according to predefined reduction formula, the image data of the background picture of described ARGB form is carried out to hybrid operation.
Preferably, described mixed calculation formula is:
Dst=(Src*Alpha+(256–Src.Alpha*Alpha/255)*Dst)/255(1)
Wherein, Dst represents Target Photo corresponding pixel points color value (R, G, B one of them), Src represents source picture (needing the picture of pinup picture) corresponding pixel points color value (R, G, B one of them), Alpha represents the transparency of Target Photo corresponding pixel points, and Src.Alpha represents the transparency of source picture (needing the picture of pinup picture) corresponding pixel points.
Step S30, be the background picture of described blended data form by the context update of described initial page.
Obviously, after the context update of described initial page is the background picture of described blended data form, user interface can present translucent display effect, has promoted greatly user's visual experience.
Embodiment further, the concrete steps that in described step S200, the page switches comprise:
Step S201, when described in the sliding distance of described touch action is more than or equal to, set in advance distance time, the user interface of mobile device is switched to next page;
Step S202, the distance setting in advance described in being less than when the sliding distance of described touch action, and while being more than or equal to a predefined second distance, described user interface is refreshed;
Step S203, in the time that the sliding distance of described touch action is less than described second distance, described user interface is returned to described initial page.
Embodiment further, in described step S400, the concrete steps of icon drag and drop comprise:
Step S401, when described in the described touch duration is more than or equal to, set in advance time threshold time, the corresponding movement of motion track that described selected icon is followed described touch action;
Step S402, when the stop position of described touch action is non-navigation shortcuts bar region, described selected icon is positioned over to the position that user's touch action stops, and upgrades current interface;
Step S403, when the stop position of described touch action be navigation shortcuts bar region, whether the stop position that judges described touch action is the white space in navigation shortcuts bar region, described selected icon is positioned over to the stop position of described touch action in the time being; When no, delete the original shortcut of the stop position of described touch action, and described selected icon is positioned over to the stop position of described touch action;
Step S404, when described in the described touch duration is less than, set in advance time threshold time, start application program corresponding to described selected icon.
For clearer understanding technical scheme of the present invention, below by the Application Example by concrete, the present invention will be further described:
The Application Example that Application Example 1 slides page for the page, as shown in Figure 2, its idiographic flow comprises its flow chart:
100 judge user points whether point touching shields;
101 users point and click after screen, a bit of distance that judges whether to have slided (default setting is 10 pixels). If finger displacement exceedes 10 pixels, represent that user wishes to carry out page slide, carry out 104; If finger displacement does not exceed 10 pixels, represent that user does not wish to carry out slide, carry out 102;
In the situation of not sliding in 102 interfaces, judge whether finger has clicked certain icon or plug-in unit, if clicked certain icon or plug-in unit, carry out 103; Otherwise finish this operation;
103 have clicked certain icon or plug-in unit when finger, respond clickable icon, start application program corresponding to icon;
104 are moved beyond after default distance (10 pixels) when pointing, and interface is followed finger and moved and slide, and synchronous refresh interface all elements;
105 judge whether finger frames out, if finger frames out, carries out 106, otherwise continue to carry out 104;
106 judge whether the distance of finger sliding exceedes the minimum range of the interface switching setting in advance (acquiescence is 1/3rd screen width), if meet interface switching distance, carry out 108. Otherwise carry out 107.
107 switch requirement when finger sliding distance does not meet the page, and original interface state is returned at interface, and interface automatically switches to state before finger is pressed (handoff procedure adds the animation effect of bounce-back);
108 finger sliding distances meet interface and switch requirement, and interface automatic Transition is switched to the next page (add switching animation in handoff procedure, can follow up and need to select different animation effects).
The Application Example that Application Example 2 pulls for icon, as shown in Figure 3, its idiographic flow comprises its flow chart:
200 judge whether finger touches certain application icon of clicking above screen;
201 judge whether this icon of finger click exceedes length by time (being defaulted as 1 second), does not do slide if long by this icon, carries out 203, otherwise carries out 202;
202 start application program corresponding to icon;
203 when finger certain icon length by time exceed after the time of acquiescence, finger drags icon and leaves home position, and this icon of choosing of painting at finger position place (demonstrating the effect that finger drives icon to move together);
204 fingers slide at screen, and it is mobile that icon is followed finger, and other elements on synchronous refresh interface;
205 judge whether finger frames out, if finger does not frame out, continue to carry out 204, if finger frames out, carry out 206;
206 discharge trailing button, and judge whether the position that finger frames out can put down icon, if can, carry out 208. Otherwise carry out 207.
207 in the time that button can not be put in icon off-position, and icon returns to the initial position while not dragged by finger;
208 in the time that button can be put in icon off-position, and the icon switch and existing upgrades interface data and keeps interface to arrange.
Application Example 3 is the Application Example that the translucent Alpha of the page mixes, and as shown in Figure 4, its idiographic flow comprises its flow chart:
300 load the Background and the foreground picture that need mixing, picture file are loaded into internal memory, file reading data flow;
301 decoding foreground picture and background pictures, the image data that decoding is obtained is saved in self-defining data structure;
302 conversion image datas, according to the PNG picture format save data of 32, data are preserved according to the position of ARGB and are preserved;
303 foreground picture and background picture data are according to formula:
Dst=(Src*Alpha+ (256-Src.Alpha*Alpha/255) * Dst)/255 carries out hybrid operation;
Wherein, Dst represents Target Photo corresponding pixel points color value (R, G, B one of them), Src represents source picture (needing the picture of pinup picture) corresponding pixel points color value (R, G, B one of them), Alpha represents the transparency of Target Photo corresponding pixel points, and Src.Alpha represents the transparency of source picture (needing the picture of pinup picture) corresponding pixel points;
304 by the new data of hybrid operation, is updated in the data flow of background picture.
Application Example 4 is the Application Example on shortcut navigation hurdle, and as shown in Figure 5, its idiographic flow comprises its flow chart:
400, judge whether selected icon is long pressed and move;
401, judge that whether icon off-position is navigation shortcuts bar, if so, carries out 403, otherwise carries out 402;
402, judge that whether icon off-position is navigation shortcuts bar, returns to the initial position while not dragged by finger;
403 judge whether icon off-position has had shortcut, if there has been shortcut, carries out 405, if there is no shortcut, carries out 404.
404 icon off-positions do not have shortcut, directly add shortcut to navigation bar, upgrade interface data;
If there has been shortcut 405 icon off-positions, replace original shortcut, and upgrade interface data,
The related data of icon is sent to the navigation bar (starting which App, the data such as App path) on shortcut navigation hurdle by 406, and navigation bar carries out Data Update according to the related data of icon;
The shortcut of 407 icons is added local configuration to.
Therefore the described touch equipment based on WinCE system adopts after desktop customizing method, the touch having promoted greatly between user and the touch-screen of touch mobile device is felt alternately, makes user operate better smoothness.
Based on said method, the present invention also provides a kind of self-defined system of touch equipment desktop based on WinCE system, and as shown in Figure 6, the described self-defined system of touch equipment desktop based on WinCE system comprises:
Touch action detection module 100, for mobile device, to user, the touch action in initial page detects in real time, in the time the touch action of user in initial page being detected, judge whether the sliding distance of described touch action exceedes a distance setting in advance;
Page handover module 200, for when described in the sliding distance of described touch action is more than or equal to, set in advance distance time, the user interface of mobile device is switched to next page; When described in the sliding distance of described touch action is less than, set in advance distance time, described user interface is returned to described initial page;
Touch time detecting module 300, in the time the touch action of user in initial page icon area being detected, judge whether the touch duration of the selected icon of described touch action exceedes a time threshold setting in advance;
Icon drag and drop module 400, for set in advance described in being more than or equal to when the described touch duration time threshold time, the corresponding movement of motion track that described selected icon is followed described touch action; When the stop position of described touch action is non-navigation shortcuts bar region, described selected icon is positioned over to the position that user's touch action stops, and upgrades current interface; When the stop position of described touch action is navigation shortcuts bar region, described selected icon is positioned over to described navigation shortcuts bar region, and upgrades current interface; When described in the described touch duration is less than, set in advance time threshold time, start selected application program corresponding to icon of described page icon touch action.
Embodiment further, the self-defined system that realizes of desktop of the described touch mobile device based on WinCE system also comprises:
Decoding transcoding module 10, for obtaining background picture and the foreground picture of initial page, and described background picture and described foreground picture are decoded, afterwards the decoded data of the decoded data of described background picture and described foreground picture is all converted into the data format of ARGB form, obtains the foreground picture of background picture and the ARGB form of ARGB form;
Computing module 20, for according to predefined mixing computing formula, the image data of the background picture of described ARGB form being carried out to hybrid operation, obtains the background picture of blended data form;
Background transitions module 30, for being the background picture of described blended data form by the context update of described initial page.
Embodiment further, described page handover module 200 specifically comprises:
Page switch unit, for when described in the sliding distance of described touch action is more than or equal to, set in advance distance time, the user interface of mobile device is switched to next page;
Page furbishing unit, for the distance setting in advance described in being less than when the sliding distance of described touch action, and while being more than or equal to a predefined second distance, refreshes described user interface;
The page returns to unit, and in the time that the sliding distance of described touch action is less than described second distance, described user interface is returned to described initial page.
Embodiment further, described icon drag and drop module 400 specifically comprises:
Icon moving unit, for set in advance described in being more than or equal to when the described touch duration time threshold time, the corresponding movement of motion track that described selected icon is followed described touch action;
The first icon placement unit, is non-navigation shortcuts bar region for the stop position when described touch action, described selected icon is positioned over to the position that user's touch action stops, and upgrades current interface;
The second icon placement unit, be navigation shortcuts bar region for the stop position when described touch action, whether the stop position that judges described touch action is the white space in navigation shortcuts bar region, described selected icon is positioned over to the stop position of described touch action in the time being; When no, delete the original shortcut of the stop position of described touch action, and described selected icon is positioned over to the stop position of described touch action;
Program start unit, for set in advance described in being less than when the described touch duration time threshold time, start application program corresponding to described selected icon.
In sum, a kind of touch equipment desktop customizing method and system based on WinCE system provided by the present invention, by detecting user at the sliding distance of the touch action at mobile device user interface and touching the duration, judge whether initial page to switch to next interface, or whether will select icon and be positioned over an appointed area. The present invention has realized self-defined desktop flexibly under WinCE platform, can greatly promote thus user the touch of the mobile device based on WinCE platform is felt alternately, makes user operate better smoothness.
Should be understood that, application of the present invention is not limited to above-mentioned giving an example, and for those of ordinary skills, can be improved according to the above description or convert, and all these improvement and conversion all should belong to the protection domain of claims of the present invention.

Claims (7)

1. the touch equipment desktop customizing method based on WinCE system, is characterized in that, described method comprises:
The touch action in initial page detects in real time to user for A, mobile device, in the time the touch action of user in initial page being detected, judges whether the sliding distance of described touch action exceedes a distance setting in advance;
B, when described in the sliding distance of described touch action is more than or equal to, set in advance distance time, the user interface of mobile device is switched to next page; When described in the sliding distance of described touch action is less than, set in advance distance time, described user interface is returned to described initial page;
C, in the time the touch action of user in initial page icon area being detected, judge whether the touch duration of the selected icon of described touch action exceedes a time threshold setting in advance;
D, when described in the described touch duration is more than or equal to, set in advance time threshold time, the corresponding movement of motion track that described selected icon is followed described touch action; When the stop position of described touch action is non-navigation shortcuts bar region, described selected icon is positioned over to the position that user's touch action stops, and upgrades current interface; When the stop position of described touch action is navigation shortcuts bar region, described selected icon is positioned over to described navigation shortcuts bar region, and upgrades current interface; When described in the described touch duration is less than, set in advance time threshold time, start selected application program corresponding to icon of described page icon touch action;
The user interface of described mobile device comprises non-navigation shortcuts bar region and navigation shortcuts bar region, and described non-navigation shortcuts bar region comprises icon area and white space;
In the time of arbitrary region in this three kinds of regions in icon area in initial page of the initial position of described touch action, white space, non-navigation shortcuts bar region, all do not affect the switching at interface;
Before described steps A, also comprise:
S1, the background picture that obtains initial page and foreground picture, and described background picture and described foreground picture are decoded, afterwards the decoded data of the decoded data of described background picture and described foreground picture is all converted into the data format of ARGB form, obtains the foreground picture of background picture and the ARGB form of ARGB form;
S2, according to predefined mixing computing formula, the image data of the background picture of described ARGB form is carried out to hybrid operation, obtain the background picture of blended data form;
S3, be the background picture of described blended data form by the context update of described initial page;
Described mixed calculation formula is: Dst=(Src*Alpha+ (256 – Src.Alpha*Alpha/255) * Dst)/255; Wherein, Dst represents Target Photo corresponding pixel points color value, and Src represents source picture corresponding pixel points color value, and Alpha represents the transparency of Target Photo corresponding pixel points, and Src.Alpha represents the transparency of source picture corresponding pixel points.
2. the touch equipment desktop customizing method based on WinCE system according to claim 1, is characterized in that, described step B specifically comprises:
B1, when described in the sliding distance of described touch action is more than or equal to, set in advance distance time, the user interface of mobile device is switched to next page;
B2, the distance setting in advance described in being less than when the sliding distance of described touch action, and while being more than or equal to a predefined second distance, described user interface is refreshed;
B3, in the time that the sliding distance of described touch action is less than described second distance, described user interface is returned to described initial page.
3. the touch equipment desktop customizing method based on WinCE system according to claim 1, is characterized in that, described step D specifically comprises:
D1, when described in the described touch duration is more than or equal to, set in advance time threshold time, the corresponding movement of motion track that described selected icon is followed described touch action;
D2, when the stop position of described touch action is non-navigation shortcuts bar region, described selected icon is positioned over to the position that user's touch action stops, and upgrades current interface;
D3, when the stop position of described touch action is navigation shortcuts bar region, judge whether the stop position of described touch action is the white space in navigation shortcuts bar region, in the time being, described selected icon is positioned over to the stop position of described touch action; When no, delete the original shortcut of the stop position of described touch action, and described selected icon is positioned over to the stop position of described touch action;
D4, when described in the described touch duration is less than, set in advance time threshold time, start application program corresponding to described selected icon.
4. according to the touch equipment desktop customizing method based on WinCE system described in claim 1-3 any one, it is characterized in that, described in the time threshold that sets in advance be 1 second, described in the distance that sets in advance be 10 pixels.
5. the self-defined system of touch equipment desktop based on WinCE system, is characterized in that, comprising:
Touch action detection module, for mobile device, to user, the touch action in initial page detects in real time, in the time the touch action of user in initial page being detected, judges whether the sliding distance of described touch action exceedes a distance setting in advance;
Page handover module, for when described in the sliding distance of described touch action is more than or equal to, set in advance distance time, the user interface of mobile device is switched to next page; When described in the sliding distance of described touch action is less than, set in advance distance time, described user interface is returned to described initial page;
Touch time detecting module, in the time the touch action of user in initial page icon area being detected, judge whether the touch duration of the selected icon of described touch action exceedes a time threshold setting in advance;
Icon drag and drop module, for set in advance described in being more than or equal to when the described touch duration time threshold time, the corresponding movement of motion track that described selected icon is followed described touch action; When the stop position of described touch action is non-navigation shortcuts bar region, described selected icon is positioned over to the position that user's touch action stops, and upgrades current interface; When the stop position of described touch action is navigation shortcuts bar region, described selected icon is positioned over to described navigation shortcuts bar region, and upgrades current interface; When described in the described touch duration is less than, set in advance time threshold time, start selected application program corresponding to icon of described page icon touch action;
The user interface of described mobile device comprises non-navigation shortcuts bar region and navigation shortcuts bar region, and described non-navigation shortcuts bar region comprises icon area and white space;
In the time of arbitrary region in the initial position of the described touch action above-mentioned three kinds of regions in initial page, all do not affect the switching at interface;
Also comprise:
Decoding transcoding module, for obtaining background picture and the foreground picture of initial page, and described background picture and described foreground picture are decoded, afterwards the decoded data of the decoded data of described background picture and described foreground picture is all converted into the data format of ARGB form, obtains the foreground picture of background picture and the ARGB form of ARGB form;
Computing module, for according to predefined mixing computing formula, the image data of the background picture of described ARGB form being carried out to hybrid operation, obtains the background picture of blended data form;
Background transitions module, for being the background picture of described blended data form by the context update of described initial page;
Described mixed calculation formula is: Dst=(Src*Alpha+ (256 – Src.Alpha*Alpha/255) * Dst)/255; Wherein, Dst represents Target Photo corresponding pixel points color value, and Src represents source picture corresponding pixel points color value, and Alpha represents the transparency of Target Photo corresponding pixel points, and Src.Alpha represents the transparency of source picture corresponding pixel points.
6. the self-defined system of touch equipment desktop based on WinCE system according to claim 5, is characterized in that, described page handover module specifically comprises:
Page switch unit, for when described in the sliding distance of described touch action is more than or equal to, set in advance distance time, the user interface of mobile device is switched to next page;
Page furbishing unit, for the distance setting in advance described in being less than when the sliding distance of described touch action, and while being more than or equal to a predefined second distance, refreshes described user interface;
The page returns to unit, and in the time that the sliding distance of described touch action is less than described second distance, described user interface is returned to described initial page.
7. the self-defined system of touch equipment desktop based on WinCE system according to claim 5, is characterized in that, described icon drag and drop module specifically comprises:
Icon moving unit, for set in advance described in being more than or equal to when the described touch duration time threshold time, the corresponding movement of motion track that described selected icon is followed described touch action;
The first icon placement unit, is non-navigation shortcuts bar region for the stop position when described touch action, described selected icon is positioned over to the position that user's touch action stops, and upgrades current interface;
The second icon placement unit, be navigation shortcuts bar region for the stop position when described touch action, whether the stop position that judges described touch action is the white space in navigation shortcuts bar region, described selected icon is positioned over to the stop position of described touch action in the time being; When no, delete the original shortcut of the stop position of described touch action, and described selected icon is positioned over to the stop position of described touch action;
Program start unit, for set in advance described in being less than when the described touch duration time threshold time, start application program corresponding to described selected icon.
CN201410237020.0A 2014-05-30 2014-05-30 Based on touch equipment desktop customizing method and the system of WinCE system CN104020955B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410237020.0A CN104020955B (en) 2014-05-30 2014-05-30 Based on touch equipment desktop customizing method and the system of WinCE system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410237020.0A CN104020955B (en) 2014-05-30 2014-05-30 Based on touch equipment desktop customizing method and the system of WinCE system

Publications (2)

Publication Number Publication Date
CN104020955A CN104020955A (en) 2014-09-03
CN104020955B true CN104020955B (en) 2016-05-11

Family

ID=51437738

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410237020.0A CN104020955B (en) 2014-05-30 2014-05-30 Based on touch equipment desktop customizing method and the system of WinCE system

Country Status (1)

Country Link
CN (1) CN104020955B (en)

Families Citing this family (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6082458B2 (en) 2012-05-09 2017-02-15 アップル インコーポレイテッド Device, method, and graphical user interface for providing tactile feedback of actions performed within a user interface
EP2975512B1 (en) 2012-05-09 2019-02-06 Apple Inc. Device and method for displaying a virtual loupe in response to a user contact
WO2013169854A2 (en) 2012-05-09 2013-11-14 Yknots Industries Llc Device, method, and graphical user interface for providing feedback for changing activation states of a user interface object
AU2013259642A1 (en) 2012-05-09 2014-12-04 Apple Inc. Device, method, and graphical user interface for moving and dropping a user interface object
WO2013169849A2 (en) 2012-05-09 2013-11-14 Industries Llc Yknots Device, method, and graphical user interface for displaying user interface objects corresponding to an application
WO2013169842A2 (en) 2012-05-09 2013-11-14 Yknots Industries Llc Device, method, and graphical user interface for selecting object within a group of objects
EP2939096B1 (en) 2012-12-29 2019-08-28 Apple Inc. Device, method, and graphical user interface for determining whether to scroll or select contents
WO2014105277A2 (en) 2012-12-29 2014-07-03 Yknots Industries Llc Device, method, and graphical user interface for moving a cursor according to a change in an appearance of a control icon with simulated three-dimensional characteristics
CN104536680B (en) * 2014-12-03 2018-06-19 惠州Tcl移动通信有限公司 Mobile terminal operation triggering method and system based on the touch screen operation time
CN104714723A (en) * 2015-01-22 2015-06-17 上海华豚科技有限公司 Widget starting and exiting method for application software
US9632664B2 (en) 2015-03-08 2017-04-25 Apple Inc. Devices, methods, and graphical user interfaces for manipulating user interface objects with visual and/or haptic feedback
US9639184B2 (en) 2015-03-19 2017-05-02 Apple Inc. Touch input cursor manipulation
CN106156594A (en) * 2015-03-27 2016-11-23 酷派软件技术(深圳)有限公司 A kind of unlocking screen method and device
US9891811B2 (en) 2015-06-07 2018-02-13 Apple Inc. Devices and methods for navigating between user interfaces
US10200598B2 (en) 2015-06-07 2019-02-05 Apple Inc. Devices and methods for capturing and interacting with enhanced digital images
US10235035B2 (en) 2015-08-10 2019-03-19 Apple Inc. Devices, methods, and graphical user interfaces for content navigation and manipulation
US9880735B2 (en) 2015-08-10 2018-01-30 Apple Inc. Devices, methods, and graphical user interfaces for manipulating user interface objects with visual and/or haptic feedback
CN106873863B (en) * 2015-12-09 2021-02-19 斑马智行网络(香港)有限公司 Method and device for setting interface switching animation
CN106126040B (en) * 2016-06-30 2020-06-16 北京安云世纪科技有限公司 Batch processing method and device of icons and mobile terminal
CN106484233A (en) * 2016-10-09 2017-03-08 合网络技术(北京)有限公司 Interface control method and system based on slide
CN108664177A (en) * 2017-03-29 2018-10-16 上海耕岩智能科技有限公司 A kind of method and apparatus that application is opened based on fingerprint recognition

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102736901A (en) * 2011-04-01 2012-10-17 希姆通信息技术(上海)有限公司 Implementation method for WinCE platform self-defining desktop
CN102841724A (en) * 2011-06-20 2012-12-26 阿里巴巴集团控股有限公司 Method and device for displaying content of index icon
CN103389878A (en) * 2013-07-29 2013-11-13 广东欧珀移动通信有限公司 Method and mobile terminal for coordinate control of touch screen

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102736901A (en) * 2011-04-01 2012-10-17 希姆通信息技术(上海)有限公司 Implementation method for WinCE platform self-defining desktop
CN102841724A (en) * 2011-06-20 2012-12-26 阿里巴巴集团控股有限公司 Method and device for displaying content of index icon
CN103389878A (en) * 2013-07-29 2013-11-13 广东欧珀移动通信有限公司 Method and mobile terminal for coordinate control of touch screen

Also Published As

Publication number Publication date
CN104020955A (en) 2014-09-03

Similar Documents

Publication Publication Date Title
US10452333B2 (en) User terminal device providing user interaction and method therefor
US20160070463A1 (en) Flexible touch-based scrolling
KR102099646B1 (en) Apparatus and method for switching an application displayed split view in portable terminal
KR102091235B1 (en) Apparatus and method for editing a message in a portable terminal
CN104360798B (en) The method and terminal of a kind of desktop layouts
KR101683356B1 (en) Navigating among content items in a browser using an array mode
JP5726909B2 (en) Multi-layer user interface with flexible translation and vertical movement
US9405463B2 (en) Device and method for gesturally changing object attributes
US8739053B2 (en) Electronic device capable of transferring object between two display units and controlling method thereof
CN102467318B (en) Method and device for fast desktop switching of touch screen
WO2015037389A1 (en) Map information display device, map information display method, and map information display program
CN103019427B (en) Control method and electronic equipment
US20130300702A1 (en) Method of displaying information by using touch input in mobile terminal
CN107704177A (en) interface display method, device and terminal
KR101734972B1 (en) Mechanical actuator apparatus for a touchscreen
JP5782810B2 (en) Information processing apparatus, information processing method, and program
US9467729B2 (en) Method for remotely controlling smart television
US20150309678A1 (en) Methods and apparatus for rendering a collection of widgets on a mobile device display
CN102609210B (en) Configuration method for functional icons of mobile terminal and mobile terminal
CN102364428B (en) Electronic equipment and page processing method thereof
CA2830636C (en) Mobile terminal and object change support method for the same
WO2012169730A2 (en) Method and apparatus for providing character input interface
EP2924550B1 (en) Split-screen display method and electronic device thereof
EP2738661A2 (en) Method for displaying applications and electronic device thereof
CN103106000B (en) The implementation method of multifocal window and communication terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
COR Change of bibliographic data
CB02 Change of applicant information

Address after: 518057 Guangdong city of Shenzhen province Nanshan District science and Technology Park North Long Road Thunis Information Port R & D building B Building 9 layer

Applicant after: Shenzhen Aipei Science and Technology Co., Ltd

Address before: 518057 Guangdong city of Shenzhen province Nanshan District science and Technology Park North Long Road Thunis Information Port R & D building B Building 9 layer

Applicant before: Apical technology development (Shenzhen) Co., Ltd.

Address after: 518057 Guangdong city of Shenzhen province Nanshan District science and Technology Park North Long Road Thunis Information Port R & D building B Building 9 layer

Applicant after: Shenzhen Aipei Science and Technology Co., Ltd

Address before: 518057 Guangdong city of Shenzhen province Nanshan District science and Technology Park North Long Road Thunis Information Port R & D building B Building 9 layer

Applicant before: Apical technology development (Shenzhen) Co., Ltd.

CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Yu Zhengzhong

Inventor after: Chen Kai

Inventor before: Yang Die