Gesture recognition method and device based on touch pad and related system

文档序号:1754947 发布日期:2019-11-29 浏览:12次 中文

阅读说明:本技术 一种基于触摸板的手势识别方法、装置及相关系统 (Gesture recognition method and device based on touch pad and related system ) 是由 王爽 张运胜 于 2019-07-19 设计创作,主要内容包括:本发明提供的一种基于触摸板的手势识别方法、装置及相关系统,在一些可选的实施例中,本发明方法首先将终端屏幕画页进行区域划分,将画页中的各个元器件划分到不同的区域中,然后识别触摸板上手势的触摸事件,根据手势的触摸位置映射到终端屏幕画页的区域确定手势触发的焦点元器件,最后将识别的手势的触摸事件分发至所述焦点元器件,并触发焦点元器件执行分发的手势的触摸事件对应的操作,本发明在支持识别一般用户操作以外,还支持对列表区域以及列表滑动翻页识别、适配手写区域和手写操作以及识别图像区域的多指操作以及相应处理。(According to the gesture recognition method, device and related system based on the touch pad, in some optional embodiments, the method comprises the steps of firstly carrying out area division on a terminal screen drawing page, dividing all components in the drawing page into different areas, then recognizing a touch event of a gesture on the touch pad, determining a focus component triggered by the gesture according to the area mapped to the terminal screen drawing page by the touch position of the gesture, finally distributing the recognized touch event of the gesture to the focus component, and triggering the focus component to execute the operation corresponding to the distributed touch event of the gesture.)

1. a kind of gesture identification method based on touch tablet characterized by comprising

Terminal screen picture page is subjected to region division, each component in picture page is divided into different regions;

The touch event for identifying gesture on touch tablet is determined according to the region that the touch location of gesture is mapped to terminal screen picture page The focus component of gesture trigger;

The touch event of the gesture of identification is distributed to the focus component, and triggers the gesture that focus component executes distribution The corresponding operation of touch event.

2. the method as described in claim 1, which is characterized in that it is described that terminal screen picture page is subjected to region division, by picture page In each component be divided into different regions after, further includes:

The regional document information of the terminal screen picture page is recorded by configuration file, the regional document information includes: region File ID, region ID, the width in region be high, region vertex relative position information;

Configuration file is parsed simultaneously when parsing the picture page resource information of terminal screen, the picture page resource information includes: picture page cloth Office, picture page ID, component information and the corresponding region ID of component.

3. method according to claim 1 or 2, which is characterized in that described to be mapped to end panel according to the touch location of gesture The region of curtain picture page determines the focus component of gesture trigger, comprising:

When recognizing the touch event of touch tablet, determine that the touch location of gesture is mapped to the focus logical layer of screen picture page;

It determines the region of the touch location mapping of corresponding gesture on the focus logical layer, and determines its region ID;

The corresponding region ID of component in traverses screen picture page obtains ID pairs of the region with the touch location mapping area of gesture The focus component answered.

4. method as claimed in claim 3, which is characterized in that the component includes: image-region component, hand-written first device Part, list component, button component;

It include the button component of each list items in the list component;

The touch event of gesture on the touch tablet, including singly refer to operation.

5. method as claimed in claim 4, which is characterized in that the triggering focus component executes the touch of the gesture of distribution The corresponding operation of event, comprising:

If current focus component is button component, the display state of focus point component is updated, and trigger button Component executes the corresponding push-botton operation of touch event of the gesture of distribution.

6. method as claimed in claim 4, which is characterized in that the triggering focus component executes the touch of the gesture of distribution The corresponding operation of event, comprising:

If current focus component is list component, judge whether the type of current gesture is from the bottom to top or from top to bottom Sliding, if so, trigger list component executes page turn over operation, otherwise, to the button component of list items in list component Display state be updated, and in trigger list component list items button component execute distribution gesture touch thing The corresponding push-botton operation of part.

7. method as claimed in claim 4, which is characterized in that the triggering focus component executes the touch of the gesture of distribution The corresponding operation of event, comprising:

If current focus component is hand-written component, the touch event for triggering the gesture that hand-written component executes distribution is corresponding Hand-written operation.

8. method as claimed in claim 4, which is characterized in that the triggering focus component executes the touch of the gesture of distribution The corresponding operation of event, comprising:

If current focus component is image-region component, the touch that image-region component executes the gesture of distribution is triggered The corresponding image single-point touch operation of event.

9. method as claimed in claim 4, which is characterized in that the touch event of gesture on the touch tablet, further includes two fingers Operation;

The triggering focus component executes the corresponding operation of touch event of the gesture of distribution, further includes:

If current focus component be image-region component, and the type of the touch event currently identified be two fingers operate when, Then trigger the corresponding image multi-point touch operation of touch event that image-region component executes the gesture of distribution.

10. method according to claim 2, which is characterized in that the width in the region is high, region vertex relative position can be with It is adjusted according to picture page layout change.

11. a kind of gesture identifying device based on touch tablet characterized by comprising

Each component in picture page is divided into not by region division module for terminal screen picture page to be carried out region division In same region;

Gesture recognition module, for identification on touch tablet gesture touch event, terminal is mapped to according to the touch location of gesture The region of screen picture page determines the focus component of gesture trigger.

Case distribution module for the touch event of the gesture of identification to be distributed to the focus component, and triggers focus member Device executes the corresponding operation of touch event of the gesture of distribution.

Technical field

The present invention relates to electronic technology field, in particular to a kind of gesture identification method based on touch tablet, device and phase Relationship system.

Background technique

Touch tablet (Touch Pad) is a kind of on smooth Trackpad, using the slide of finger come moving cursor Input unit.Capacitance can be made to change when the finger of user is close to touch tablet, touch tablet itself will detect that capacitor changes Variable is converted into coordinate.Touch tablet is that finger situation of movement is known by capacitive sensing, to finger heat and insensitive.Its Advantage is that use scope is wider, and complete built-in, ultra-thin notebook is applicable in, and power consumption is few, can provide handwriting input Function;Because it be without mobile mechanism member, when use can guarantee it is durable with it is reliable.With the development of science and technology, at present Some navigation equipments on the market are that navigation operation is realized by touch tablet, different from the operation of touch screen navigation instrument, are touched The navigator of plate is identified according to the region of click, less using the navigation equipment of touch tablet at present, and general only support Some basic operations of user, gesture correlation function is simple, how can not identify two fingers operation or the operation such as consult a map It can preferably identify various operations of the user to touch tablet, improve operability, the ease for use of user, and improve user's body It tests, is urgent problem to be solved instantly.

Summary of the invention

In view of technological deficiency existing in the prior art and technology drawback, the embodiment of the present invention offer overcome the above problem or Person at least is partially solved a kind of gesture identification method based on touch tablet, device and the related system of the above problem.

As the one aspect of the embodiment of the present invention, it is related to a kind of gesture identification method based on touch tablet, comprising:

Terminal screen picture page is subjected to region division, each component in picture page is divided into different regions;

The touch event for identifying gesture on touch tablet, the region of terminal screen picture page is mapped to according to the touch location of gesture Determine the focus component of gesture trigger;

The touch event of the gesture of identification is distributed to the focus component, and triggers focus component and executes distribution The corresponding operation of the touch event of gesture.

Optionally, described that terminal screen picture page is subjected to region division, each component in picture page is divided into difference Region in after, further includes:

The regional document information of the terminal screen picture page is recorded by configuration file, the regional document information includes: Regional document ID, region ID, the width in region be high, region vertex relative position information;

Configuration file is parsed simultaneously when parsing the picture page resource information of terminal screen, the picture page resource information includes: picture Page layout, picture page ID, component information and the corresponding region ID of component.

Optionally, the region that the touch location according to gesture is mapped to terminal screen picture page determines the coke of gesture trigger Point component, comprising:

When recognizing the touch event of touch tablet, determine that the touch location of gesture is mapped to the focus logic of screen picture page Layer;

It determines the region of the touch location mapping of corresponding gesture on the focus logical layer, and determines its region ID;

The corresponding region ID of component in traverses screen picture page obtains the region with the touch location mapping area of gesture The corresponding focus component of ID.

Optionally, the component includes: image-region component, hand-written component, list component, button member device Part;

It include the button component of each list items in the list component;

The touch event of gesture on the touch tablet, including singly refer to operation.

Optionally, the triggering focus component executes the corresponding operation of touch event of the gesture of distribution, comprising:

If current focus component is button component, the display state of focus point component is updated, and is triggered Button component executes the corresponding push-botton operation of touch event of the gesture of distribution.

Optionally, corresponding operate of touch event of the gesture of the triggering focus component execution distribution includes:

If current focus component is list component, judge whether the type of current gesture is from the bottom to top or by upper To lower slider, if so, trigger list component executes page turn over operation, otherwise, to the button member of list items in list component The display state of device is updated, and the button component of list items executes the touching of the gesture of distribution in trigger list component Touch the corresponding push-botton operation of event.

Optionally, the triggering focus component executes the corresponding operation of touch event of the gesture of distribution, comprising:

If current focus component is hand-written component, the touch event that hand-written component executes the gesture of distribution is triggered Corresponding hand-written operation.

Optionally, the triggering focus component executes the corresponding operation of touch event of the gesture of distribution, comprising:

If current focus component is image-region component, triggers image-region component and execute the gesture distributed The corresponding image single-point touch operation of touch event.

Optionally, on the touch tablet gesture touch event, further include two fingers operation;

The triggering focus component executes the corresponding operation of touch event of the gesture of distribution, further includes:

If current focus component is image-region component, and the type of the touch event currently identified is two fingers operation When, then trigger the corresponding image multi-point touch operation of touch event that image-region component executes the gesture of distribution.

Optionally, the width height in the region, the relative position on region vertex can be adjusted according to picture page layout change.

As the other side of the embodiment of the present invention, it is related to a kind of gesture identifying device based on touch tablet, comprising:

Region division module divides each component in picture page for terminal screen picture page to be carried out region division Into different regions;

Gesture recognition module, for identification on touch tablet gesture touch event, be mapped to according to the touch location of gesture The region of terminal screen picture page determines the focus component of gesture trigger.

Case distribution module for the touch event of the gesture of identification to be distributed to the focus component, and triggers coke Point component executes the corresponding operation of touch event of the gesture of distribution.

Optionally, based on the gesture identifying device of touch tablet, further includes:

Regional document configuration module records the regional document information of the terminal screen picture page by configuration file, described Regional document information includes: that regional document ID, region ID, the width in region be high, relative position information of region vertex;

Picture page resource resolution module when for parsing the picture page resource information of terminal screen while parsing configuration file, institute Stating picture page resource information includes: picture page layout, picture page ID, component information and the corresponding region ID of component.

As the other side of the embodiment of the present invention, it is related to a kind of electronic device, including memory and processor, it is described Computer program is stored in memory, when the computer program is executed by the processor, so that the processor executes The step of above-mentioned gesture identification method based on touch tablet.

As the other side of the embodiment of the present invention, it is related to a kind of computer readable storage medium, is stored thereon with meter The above-mentioned gesture identification method based on touch tablet is realized in the instruction of calculation machine, the instruction when being executed by processor.

The beneficial effect of above-mentioned technical proposal provided in an embodiment of the present invention includes at least:

A kind of gesture identification method based on touch tablet, device and related system provided in an embodiment of the present invention, some In optional embodiment, terminal screen picture page is carried out region division first by the method for the present invention, by each component in picture page It is divided into different regions, then identifies the touch event of gesture on touch tablet, end is mapped to according to the touch location of gesture The region of end screen picture page determines the focus component of gesture trigger, is finally distributed to the touch event of the gesture of identification described Focus component, and the corresponding operation of touch event that focus component executes the gesture of distribution is triggered, the present invention is supporting to know Other than other general user's operation, slide page to list area and list identification, adaptation handwriting area and hand-written behaviour are also supported Make and identify the multifingered manipulation and respective handling of image-region.Other features and advantages of the present invention will be in subsequent explanation It is illustrated in book, also, partly as will become apparent from the description, or understand through the implementation of the invention.Of the invention Purpose and other advantages can be by structures specifically indicated in the written description, claims, and drawings come real Now and obtain.

Below by drawings and examples, technical scheme of the present invention will be described in further detail.

Detailed description of the invention

It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution in the prior art Embodiment or attached drawing needed to be used in the description of the prior art be briefly described, it should be apparent that, it is described below Attached drawing is some embodiments of the present invention, for those of ordinary skill in the art, before not making the creative labor It puts, is also possible to obtain other drawings based on these drawings.

Fig. 1 is the flow chart of the gesture identification method based on touch tablet in one embodiment of the invention;

Fig. 2 is to carry out region division to the layout of component different in screen picture page in one embodiment of the invention Schematic diagram;

Fig. 3 is that the step S11 of the gesture identification method based on touch tablet in one embodiment of the invention is executed later The flow chart of step;

Fig. 4 is true for the region that the touch location according to gesture in one embodiment of the invention is mapped to terminal screen picture page Determine the flow chart of the focus component of gesture trigger;

The operation chart that Fig. 5 is the focus component in one embodiment of the invention when being list component;

The operation chart that Fig. 6 is the focus component in one embodiment of the invention when being hand-written component;

The operation chart that Fig. 7 is the focus component in one embodiment of the invention when being image-region component;

Fig. 8 is the structural schematic diagram of the gesture identifying device based on touch tablet in another embodiment of the present invention.

Specific embodiment

Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.

The embodiment of the present invention is in view of the above-mentioned problems of the prior art, provide a kind of gesture identification based on touch tablet Method, as shown in Figure 1, this method comprises the following steps S11-S13:

S11: terminal screen picture page is subjected to region division, each component in picture page is divided into different regions In.

In the present embodiment, the picture page layout of the screen of mobile terminal or navigator terminal has various operation components, first device Part includes image-region component, hand-written component, list component, button component.Include in the list component There is the button component of each list items.

Image-region component, that is, the picture or map shown, the operation that can be carried out include display, amplification, contracting Small, rotation, sliding, pickup, dragging, double-click etc..Handwriting area component, it can carry out the component of hand-written operation, mainly Hand-written text, figure etc. for identification.List component, that is, the components such as the menu operated, catalogue can slide page aobvious Show.Button component, i.e. operation button can mainly carry out the operation such as clicking.

Based on the layout of component different in terminal screen picture page, different components is divided into different regions, Region is corresponding with component, according to design requirement, can also correspond at least one region with a component, as shown in Fig. 2, with The screen picture page of one navigator " searches for " button, " local collection " is pressed for example, share seven components in the picture page Button, " coming from wechat " button, " coming from mobile phone " button, " adding common address ' family ' " button, " adding common address ' company ' " Button, " handwriting area " seven components, are divided into seven regions for the picture page, dotted line frame is each region in Fig. 2.

S12: the touch event of gesture on identification touch tablet is mapped to terminal screen picture page according to the touch location of gesture Region determines the focus component of gesture trigger.

In the present embodiment, the gesture acted on touch tablet mainly has: touching click, touches movement, touches and lift, press Under, pressure lift, depress it is mobile etc. operate, gesture is determined according to the region that the touch location of gesture is mapped to terminal screen picture page The focus component of triggering finds the corresponding region in position of gesture touch, and according to corresponding regional search to corresponding The component that gesture touches, as focus component.

S13: being distributed to the focus component for the touch event of the gesture of identification, and triggers focus component and execute and divide The corresponding operation of the touch event of the gesture of hair.

In the present embodiment, the touch event of gesture on touch tablet includes singly to refer to operation and two fingers operation.

In one embodiment, after executing step S11, i.e., terminal screen picture page is subjected to region division, by picture page In each component be divided into different regions after, as shown in figure 3, this method comprises the following steps S21-S22:

S21: the regional document information of the terminal screen picture page, the regional document packet are recorded by configuration file Include: regional document ID, region ID, the width in region be high, region vertex relative position information.

In the present embodiment, the regional document after dividing to screen picture page, Mei Gehua can be stored by configuration file The corresponding regional document of page, a regional document can correspond to multiple picture pages of similar arrangement, and regional document information includes: area Domain file ID, region ID, the width in region be high, region vertex relative position information.In the present embodiment, the position in region can be moved State adjustment, i.e. the width height in region, the relative position on region vertex can be adjusted according to picture page layout change, picture page layout master It to include the position of picture page component in the position of screen and picture page, therefore, when being changed such as the content of picture page on the screen, When component amplification, diminution or display are hidden i.e. in picture page, the position in region will do it dynamic adjustment, the wide high, area in region The relative position on domain vertex can be adjusted according to picture page layout change.

S22: when parsing the picture page resource information of terminal screen while configuration file, the picture page resource information packet being parsed It includes: picture page layout, picture page ID, component information and the corresponding region ID of component.In the present embodiment, in terminal parsing screen The configuration file for parsing the picture page when picture page resource information simultaneously, that is, parse the corresponding regional document information of the picture page, drawing When page load, is matched by regional document ID with picture page ID, parse the corresponding regional document information of picture page.Picture page resource Information generally comprises the picture of picture page, picture page layout, picture page ID, component information and the corresponding region ID of component, first device Part information includes: the type of component.Picture page layout mainly includes the position of picture page component in the position of screen and picture page, In Fig. 2, " search " button in layout, that is, picture page of the picture page, " coming from wechat " button, " comes from hand at " local collection " button Machine " button, the first row positioned at picture page, " add common address ' family ' " button are located at the second row of picture page, " the common ground of addition Location ' company ' " button is located at the third line of picture page, and " handwriting area " is located at the fourth line of picture page.

In one embodiment, it step S12: is determined according to the region that the touch location of gesture is mapped to terminal screen picture page The focus component of gesture trigger, as shown in figure 4, this method comprises the following steps S121-S126:

S121: when recognizing the touch event of touch tablet, determine that the touch location of gesture is mapped to the coke of screen picture page Point logical layer position.

In the present embodiment, when recognizing the touch event of touch tablet, that is, the touch thing of the gesture on touch tablet is received When the type of part touches clicking operation singly to refer to, it is first determined gesture touch location is mapped to the focus logical layer of screen picture page, I.e. different logical layers corresponds to different picture pages, it is determined that focus logical layer just can determine which the operation of gesture acts on and draw The region of page.

S122: it determines the region of the touch location mapping of corresponding gesture on the focus logical layer, and determines its region ID。

In the present embodiment, focus logic is determined according to the position coordinates of the coordinate of the touch location of gesture and each region The region of the touch location mapping of corresponding gesture on layer, and determine its region ID.

S123: the corresponding region ID of component in traverses screen picture page, obtain the touch location mapping area with gesture The corresponding focus component of region ID.

In the present embodiment, if whether the type of the gesture on current touch plate is when touching click or touching mobile, that is, to touch Template receives the touch event of gesture, needs to be determined the component that gesture touches, according to the touch location of gesture The region ID of mapping area, the corresponding region ID of component in traverses screen picture page are obtained and are mapped with the touch location of gesture The corresponding focus component of the region ID in region, i.e., by the touch location map section of all components corresponding region ID and gesture The region ID in domain is compared one by one, determines component corresponding with the touch location mapping area of gesture according to ID number, i.e., Focus component;

It may be to touch lift, depress, pressing if the type of the gesture of current touch plate not touches click and touches movement Under lift, depress the operation such as mobile, i.e. the touch tablet touch event that has received gesture, the focus member for needing to touch gesture Device is matched, i.e., by the region ID of the touch location mapping area of region ID and gesture where upper focus component into Row matching, the region ID where even upper focus component is consistent with the region ID of touch location mapping area of gesture, then Upper focus component is current focus component, otherwise, according to the region ID of the touch location mapping area of gesture, traversal The corresponding region ID of component in screen picture page obtains focus corresponding with the region ID of touch location mapping area of gesture It is a pair of to be carried out one by component by the corresponding region ID of all components and region ID of the touch location mapping area of gesture Than determining component corresponding with the touch location mapping area of gesture, i.e. focus component according to ID number.

In one embodiment, triggering focus component executes the corresponding operation of touch event of the gesture of distribution, comprising:

If current focus component is button component, the display state of focus point component is updated, and is triggered Button component executes the corresponding push-botton operation of touch event of the gesture of distribution.

In the present embodiment, component includes image-region component, hand-written component, list component, button member device Part.When focus component is that different types of component can then trigger its touch event pair for executing the corresponding gesture of the component The operation answered.

In the present embodiment, the display state of button component has generally comprised " pressure " state, " focus " state, " selection " State, " non-selected " state etc., when triggering button component, if gesture is to touch pressure, then the display of button component State is updated to " select " state by " non-selected " state, meanwhile, when pressure is lifted, triggers button component and execute click Operation can trigger the operation for jumping to search interface when such as " search " button is triggered.

In one embodiment, triggering focus component executes the corresponding operation of touch event of the gesture of distribution, comprising:

If current focus component is list component, judge whether the type of current gesture is from the bottom to top or by upper To lower slider, if so, trigger list component executes page turn over operation, otherwise, to the button member of list items in list component The display state of device is updated, and the button component of list items executes the touching of the gesture of distribution in trigger list component Touch the corresponding push-botton operation of event.

In the present embodiment, as shown in figure 5, if current focus component is list component, that is, the menu operated, catalogue etc. When component, can identify whether the type of gesture is the operation slided, i.e., whether is by up to sliding lower or from the bottom to top Operation, if sliding from top to bottom, then trigger list executes the operation for turning to page up, if sliding from the bottom to top, then Trigger list executes the operation for turning to lower one page, meanwhile, different components have different levels, each column in list component List item is then button component, if the type of gesture is not page turn over operation from top to bottom or from the bottom to top, its essence is will The touch event of the gesture of identification by list component be distributed to it includes button component, then in trigger list component The button component of list items executes in the update of the display state of the button component of list items and trigger list component The corresponding push-botton operation of the touch event of the gesture of distribution.

When button component in recognized list component, since list component has the operation for rolling page turning, really On the fixed focus logical layer when region of the touch location mapping of corresponding gesture, an offset is set, by button member device The position of part region adds the offset, as the position in region new where the button component, if list component When scrolling up, then the coordinate of button component region adds the offset upwards, as the position in new region, thus Determine that focus component, triggering corresponding button component execute the corresponding push-botton operation of touch event of the gesture of distribution.

In one embodiment, triggering focus component executes the corresponding operation of touch event of the gesture of distribution, comprising:

If current focus component is hand-written component, the touch event that hand-written component executes the gesture of distribution is triggered Corresponding hand-written operation.

In the present embodiment, as shown in fig. 6, triggering hand-written component if current focus component is hand-written component and holding The corresponding hand-written operation of touch event of the gesture of row distribution, specifically:

When the type of gesture is to touch click, hand-written display is initialized;

When the type of gesture is to touch mobile, then the point position that the gesture moved in hand-written component touches is saved, and The line drawing that the point that mobile gesture touches connects into will be saved and be drawn in the corresponding motion track of screen handwriting area;

When the type of gesture is to touch to lift, starts timing, judge whether timing touches clicking operation before terminating, if Clicking operation is touched, then continues to initialize hand-written display, and reclocking, otherwise, the point for saving all motion tracks is believed It ceases and identifies association word, and empty the handwriting tracks in the point information and screen of preservation.

In one embodiment, triggering focus component executes the corresponding operation of touch event of the gesture of distribution, comprising:

If current focus component is image-region component, triggers image-region component and execute the gesture distributed The corresponding image single-point touch operation of touch event.

In the present embodiment, as shown in fig. 7, including the picture or map of display, touching for image-region component The corresponding image single-point touch operation of event is touched to include sliding, click the operations such as pickup, dragging, double-click amplification.

If current focus component is image-region component, and the type of the touch event currently identified is two fingers operation When, then trigger the corresponding image multi-point touch operation of touch event that image-region component executes distribution.

In the present embodiment, it is also necessary to identify current touch event type whether be two fingers operation, i.e., whether identify The point of two touches, image multi-point touch operation include amplification, mediate and the operation such as reduce, rotate.

Based on the same inventive concept, the embodiment of the invention also provides gesture identifying device and system based on touch tablet, Since the principle of the solved problem of gesture identifying device and system based on touch tablet and the aforementioned gesture based on touch tablet are known Other method is similar, therefore the device and system are implemented to may refer to the implementation of preceding method, and overlaps will not be repeated.

The embodiment of the present invention provides a kind of gesture identifying device based on touch tablet, as shown in Figure 8, comprising:

Region division module 10 draws each component in picture page for terminal screen picture page to be carried out region division It assigns in different regions.

Gesture recognition module 20, for identification on touch tablet gesture touch event, according to the touch location of gesture map The focus component of gesture trigger is determined to the region of terminal screen picture page.

Case distribution module 30 for the touch event of the gesture of identification to be distributed to the focus component, and triggers Focus component executes the corresponding operation of touch event of the gesture of distribution.

In one embodiment, further includes: regional document configuration module 40, for recording the terminal by configuration file The regional document information of screen picture page, the regional document information include: regional document ID, region ID, the width height in region, region The relative position information on vertex.

Picture page resource resolution module 50 when for parsing the picture page resource information of terminal screen while parsing configuration file, The picture page resource information includes: picture page layout, picture page ID, component information and the corresponding region ID of component.

Based on the same inventive concept, the embodiment of the present invention provides a kind of electronic device, including memory and processor, described Computer program is stored in memory, when the computer program is executed by the processor, so that the processor executes The step of above-mentioned gesture identification method based on touch tablet.

Based on the same inventive concept, it the embodiment of the invention also provides a kind of computer readable storage medium, stores thereon There is computer instruction, which is executed by processor the above-mentioned gesture identification method based on touch tablet.

Unless otherwise specific statement, term such as handle, calculate, operation, determination, display etc. can refer to it is one or more A processing or the movement and/or process of computing system or similar devices, the movement and/or process will be indicated as processing system It the data manipulation of the register of system or physics (such as electronics) amount in memory and is converted into and is similarly represented as processing system Memory, register or other this type of information storage, transmitting or display equipment in other data of physical quantity.Information Any one of a variety of different technology and methods can be used with signal to indicate.For example, in above description Data, instruction, order, information, signal, bit, symbol and the chip referred to can use voltage, electric current, electromagnetic wave, magnetic field or grain Son, light field or particle or any combination thereof indicate.

It should be understood that the particular order or level of the step of during disclosed are the examples of illustrative methods.Based on setting Count preference, it should be appreciated that in the process the step of particular order or level can be in the feelings for the protection scope for not departing from the disclosure It is rearranged under condition.Appended claim to a method is not illustratively sequentially to give the element of various steps, and not It is to be limited to the particular order or level.

In above-mentioned detailed description, various features are combined together in single embodiment, to simplify the disclosure.No This published method should be construed to reflect such intention, that is, the embodiment of theme claimed needs clear The more features of the feature stated in each claim to Chu.On the contrary, that reflected such as appended claims Sample, the present invention are in the state fewer than whole features of disclosed single embodiment.Therefore, appended claims is special This is expressly incorporated into detailed description, and wherein each claim is used as alone the individual preferred embodiment of the present invention.

It should also be appreciated by one skilled in the art that various illustrative logical boxs, mould in conjunction with the embodiments herein description Electronic hardware, computer software or combinations thereof may be implemented into block, circuit and algorithm steps.In order to clearly demonstrate hardware and Interchangeability between software surrounds its function to various illustrative components, frame, module, circuit and step above and carries out It is generally described.Hardware is implemented as this function and is also implemented as software, depends on specific application and to entire The design constraint that system is applied.Those skilled in the art can be directed to each specific application, be realized in a manner of flexible Described function, still, this realization decision should not be construed as a departure from the scope of protection of this disclosure.

The step of method in conjunction with described in the embodiments herein or algorithm, can be embodied directly in hardware, be held by processor Capable software module or combinations thereof.Software module can be located at RAM memory, flash memory, ROM memory, eprom memory, The storage of eeprom memory, register, hard disk, mobile disk, CD-ROM or any other form well known in the art is situated between In matter.A kind of illustrative storage medium is connected to processor, thus enable a processor to from the read information, and Information can be written to the storage medium.Certainly, storage medium is also possible to the component part of processor.Pocessor and storage media It can be located in ASIC.The ASIC can be located in user terminal.Certainly, pocessor and storage media can also be used as discrete sets Part is present in user terminal.

For software implementations, technology described in this application can be with the module of the herein described function of execution (for example, mistake Journey, function etc.) Lai Shixian.These software codes can store in memory cell and be executed by processor.Memory cell can With realize in processor, also may be implemented outside the processor, in the latter case, it via various means by correspondence It is coupled to processor, these are all well known in the art.

Description above includes the citing of one or more embodiments.Certainly, in order to describe above-described embodiment and description portion The all possible combination of part or method is impossible, but it will be appreciated by one of ordinary skill in the art that each implementation Example can do further combinations and permutations.Therefore, embodiment described herein is intended to cover fall into the appended claims Protection scope in all such changes, modifications and variations.In addition, with regard to term used in specification or claims "comprising", the word cover mode similar to term " includes ", are used as transitional word in the claims just as " comprising " and are solved As releasing.In addition, the use of any one of specification in claims term "or" being to indicate " non-exclusionism Or ".

Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.The present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and can not take off It carry out various modifications and changes from its range.The scope of the present disclosure is only limited by the accompanying claims.If in this way, this hair Within the scope of the claims of the present invention and its equivalent technology, then the present invention is also intended to encompass these bright modifications and variations Including these modification and variations.

15页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种智能手写笔、笔记存储方法及服务器

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类