CN109725959A - Response method, display equipment and the computer readable storage medium of page control - Google Patents

Response method, display equipment and the computer readable storage medium of page control Download PDF

Info

Publication number
CN109725959A
CN109725959A CN201810435720.9A CN201810435720A CN109725959A CN 109725959 A CN109725959 A CN 109725959A CN 201810435720 A CN201810435720 A CN 201810435720A CN 109725959 A CN109725959 A CN 109725959A
Authority
CN
China
Prior art keywords
control
touch
response region
child
response
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810435720.9A
Other languages
Chinese (zh)
Inventor
梁承飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Puhui Enterprise Management Co Ltd
Original Assignee
Ping An Puhui Enterprise Management Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN201810435720.9A priority Critical patent/CN109725959A/en
Publication of CN109725959A publication Critical patent/CN109725959A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a kind of response methods of page control, show equipment and computer readable storage medium, the page control includes father's control and the child control that is arranged on father's control, the method includes the steps: the corresponding response region of the child control is set;Obtain the touch-control response region that user generates corresponding touch event when touch operation;Judge whether the touch-control response region of the touch event is included in the corresponding response region of the child control;When the touch-control response region of the touch event is included in the corresponding response region of the child control, shields father's control and respond the child control.The present invention is conducive to improve the accuracy of page control response.

Description

Response method, display equipment and the computer readable storage medium of page control
Technical field
The present invention relates to the response method of software field more particularly to page control, display equipment and computer-readable deposit Storage media.
Background technique
Page control includes father's control and the child control that is arranged on father's control.In the software process of display equipment, show Show that the view layer of equipment can generate touch event according to the touch operation of user, touch event is then passed into logical layer, by Logical layer executes the response of different page controls.But in actual moving process, it usually will appear following situations: when user generates When the control that touch operation and needs respond is child control, the page control of real response is father's control, the response of page control Inaccuracy.
Summary of the invention
The main purpose of the present invention is to provide a kind of response method of page control, display equipment and computer-readable deposit Storage media, it is intended to solve the technical problem of the response inaccuracy of page control.
To achieve the above object, the present invention provides a kind of response method of page control, and the page control includes father's control Part and the child control being arranged on father's control, the method includes the steps:
The corresponding response region of the child control is set;
Obtain the touch-control response region that user generates corresponding touch event when touch operation;
Judge whether the touch-control response region of the touch event is included in the corresponding response region of the child control;
When the touch-control response region of the touch event is included in the corresponding response region of the child control, institute is shielded It states father's control and responds the child control.
Optionally, character string is shown on the child control, the character string includes concatenation character string;
The step of setting child control corresponding response region includes:
It is corresponding to response region according to child control described in preset region setting function sets;
The concatenation character string is searched from the character string shown on the child control;
The concatenation character string found is associated with described to response region, and by described in after association to response area Domain is set as the corresponding response region of the child control.
Optionally, whether the touch-control response region for judging the touch event is included in the corresponding sound of the child control The step in region is answered to include:
Judge whether the touch-control response region of the touch event is included in the associated response region of concatenation character string It is interior;
It is described to shield father's control and include: the step of responding the child control
Father's control is shielded, and passes through the associated concatenation character string jump page of the response region.
Optionally, it is also wrapped after the step of concatenation character string jump page associated by the response region It includes:
Whether monitoring receives the status data that the child control returns within a preset time;
When not receiving the status data that the child control returns within a preset time, confirm that the child control completes page Face jumps.
Optionally, when being provided with multiple child controls on father's control, the touch-control of the judgement touch event is rung Answer whether region includes that step in the corresponding response region of the child control includes:
Obtain time data when each child control in multiple child controls is respectively provided to father's control;
Child control is successively selected from evening to early sequence according to time data, and judges the touch-control response of the touch event Whether region is included in the corresponding response region of the child control;
When the touch-control response region of the touch event is not included in the corresponding response region of the child control, under selection One child control;
When the touch-control response region of the touch event is included in the corresponding response region of the child control, stop selection Child control, and the step of executing shielding father's control and responding the child control;
It is described to shield father's control and include: the step of responding the child control
It shields father's control and responds the child control of selection.
Optionally, the touch operation includes slide, long press operation and clicking operation;The acquisition user generates The step of touch-control response region of corresponding touch event, includes: when touch operation
When the touch operation is slide, obtains user and generates corresponding sliding trace region when slide, And using the sliding trace region as the touch-control response region of the touch event;
When the touch operation is long press operation, obtains user and generates corresponding pressing position coordinate when long press operation, And using the pressing position coordinate as the touch-control response region of the touch event;
When the touch operation is clicking operation, obtains user and generate corresponding click coordinate when clicking operation, and will Touch-control response region of the click coordinate as the touch event.
Optionally, whether the touch-control response region for judging the touch event is included in the corresponding sound of the child control After answering the step in region further include:
When the touch-control response region of the touch event is not included in the corresponding response region of the child control, judgement The touch-control response region of touch event response region whether corresponding with the child control mutually from;
When corresponding with the child control response region of the touch-control response region of the touch event mutually from when, described in response Father's control.
To achieve the above object, the present invention also provides a kind of display equipment, page control is shown in the display equipment, The page control includes father's control and the child control that is arranged on father's control, and the terminal includes setup module, obtains Modulus block, judgment module and execution module;Wherein,
The setup module, for the corresponding response region of the child control to be arranged;
The acquisition module, the touch-control response region of corresponding touch event when for obtaining user's generation touch operation;
The judgment module, for judging whether the touch-control response region of the touch event is included in the child control pair In the response region answered;And when the touch-control response region of the touch event is included in the corresponding response region of the child control When, it triggers the execution module and executes the step of shielding father's control and responding the child control.
To achieve the above object, the present invention also provides a kind of display equipment, the display equipment includes: display touch-control mould Block, communication module, memory, processor and it is stored in the computer journey that can be run on the memory and on the processor The step of sequence, the computer program realizes the response method of page control as described above when being executed by the processor.
To achieve the above object, the present invention also provides a kind of computer readable storage medium, the computer-readable storages Computer program is stored on medium, the computer program realizes the sound of page control as described above when being executed by processor The step of induction method.
Response method, display equipment and the computer readable storage medium of a kind of page control proposed by the present invention, pass through The corresponding response region of the child control is set;Obtain the touch-control response area that user generates corresponding touch event when touch operation Domain;Judge whether the touch-control response region of the touch event is included in the corresponding response region of the child control;When described When the touch-control response region of touch event is included in the corresponding response region of the child control, shields father's control and respond The child control.To when the touch-control response region of touch event is included in the corresponding response region of child control, by father's control Shielding prevents father's control when needing to respond child control from responding, and solves the problems, such as page control response inaccuracy, improves The accuracy of page control response.
Detailed description of the invention
Fig. 1 is the structural schematic diagram for the display equipment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of the response method first embodiment of page control of the present invention;
Fig. 3 is the flow diagram of the response method other embodiments of page control of the present invention;
Fig. 4 is the operation scenario schematic diagram of the response method other embodiments of page control of the present invention;
Fig. 5 is the refinement flow diagram of step S10 in the response method second embodiment of page control of the present invention;
Fig. 6 is the flow diagram of the response method 3rd embodiment of page control of the present invention;
Fig. 7 is the flow diagram of the response method fourth embodiment of page control of the present invention;
Fig. 8 is the flow diagram of the 5th embodiment of response method of page control of the present invention;
Fig. 9 is the operation scenario schematic diagram of the 5th embodiment of response method of page control of the present invention;
Figure 10 is that the invention shows the functional block diagrams of equipment.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Fig. 1 is please referred to, Fig. 1 is the hardware structural diagram of the display equipment 100 in each embodiment of the present invention, in this hair It may include communication module 10, memory 20, processor 30 and display touch-control module in display equipment 100 provided by bright 40 equal components.The display equipment 100 can be communicated to connect with server or other electronic equipments, and the display equipment 100 can To be computer, mobile phone and tablet computer etc..Wherein, the processor 30 respectively with the display touch-control module 40, described deposit Reservoir 20 and the communication module 10 connect, and are stored with computer program on the memory 20, the computer program is simultaneously It is executed by processor 30.
Communication module 10 can be connect by network with external communications equipment.Communication module 10 can receive external communication and set The request that preparation goes out, can also send request, instruction and information to the external communications equipment.The external communications equipment can be with It is server or other electronic equipments.
Memory 20 can be used for storing software program and various data.Memory 20 can mainly include storing program area The storage data area and, wherein storing program area can application program needed for storage program area, at least one function (for example control Part response) etc.;Storage data area may include database, and storage data area can be stored to be created according to using for display equipment 100 Data or information etc..In addition, memory 20 may include high-speed random access memory, it can also include non-volatile memories Device, for example, at least a disk memory, flush memory device or other volatile solid-state parts.
Processor 30, is the control centre for showing equipment 100, entirely shows equipment using various interfaces and connection 100 various pieces, by running or executing the software program and/or module that are stored in memory 20, and calling storage Data in memory 20 execute the various functions and processing data of display equipment 100, to carry out to display equipment 100 Integral monitoring.Processor 30 may include one or more processing units;Preferably, processor 30 can integrate application processor and tune Demodulation processor processed, wherein the main processing operation system of application processor, user interface and application program etc., modulatedemodulate is mediated Reason device mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 30.
It shows touch-control module 40, is the display unit for showing equipment 100 and the component for receiving the instruction of user's touch control operation.Example Such as, it can be capacitor touch-control display screen component, can also be electric resistance touch-control display screen component.The display touch-control module 40 Data can be extracted from memory 20, and show the operation interface of application program.It include multiple page controls in operation interface, There are incidence relation between page control, such as control A and control B is on control C, but control A and control B are independent of one another, There are respective touch-control response events, wherein control C is father's control, and control A and control B are the child control relative to control C. The display touch-control module 40 can also receive the touch control operation of user, and record the touch-control rail generated by the touch control operation of user Then mark converts corresponding touch control operation for touch trajectory and instructs.Further, touch control operation can also be instructed and is sent to Processor 30.
Although Fig. 1 is not shown, above-mentioned display equipment 100 can also include circuit control module, for connecting to power supply, Guarantee the normal work of other component.It will be understood by those skilled in the art that showing 100 structure of equipment shown in Fig. 1 not Constitute the restriction to display equipment 100, may include than illustrating more or fewer components, perhaps combine certain components or Different component layouts.
Based on above-mentioned hardware configuration, each embodiment of the method for the present invention is proposed.
Referring to Fig. 2, in the first embodiment of the response method of page control of the present invention, the page control includes father's control Part and the child control being arranged on father's control, which comprises
The corresponding response region of the child control is arranged in step S10;
In the page control of display equipment, each page control has respective response region and the response of corresponding touch-control Operation.When user initiates touch operation to response region by touch control display module, the control in the response region will be held The response operation of row touch-control.Therefore when carrying out the exploitation of page display control, need to set the corresponding response region of each control, And page control includes father's control and the child control that is arranged on father's control, the region of father's control and child control response can be with It is configured according to actual needs, such as the response region of father's control is the polygonal region in addition to the response region of child control, The response region of child control is the display area being overlapped with father's control.In addition, the child control on father's control can only be arranged one, Also it can be set multiple.
Step S20 obtains the touch-control response region that user generates corresponding touch event when touch operation;
When user touches the touch control display module of display equipment, touch control display module receives the touch operation and can generate Touch event, the type for the touch operation that the event information record of the touch event has user to generate, the corresponding touching of touch operation Control track or touch-control coordinate.Time and touch behaviour when the event information can also include user's touch touch control display module Make the displacement etc. generated.
Show equipment processor can according to the type of touch operation, obtain event information in corresponding touch track or Touch-control coordinate, for use as the touch-control response region of touch event.For example, the touch operation may include slide, long-pressing Operation and clicking operation.When the touch operation is slide, processor is obtained when user generates slide and is corresponded to Sliding trace region, and using the sliding trace region as the touch-control response region of the touch event;When the touch When operation is long press operation, processor obtains corresponding pressing position coordinate when user generates long press operation, and by the pressing Touch-control response region of the position coordinates as the touch event;When the touch operation is clicking operation, processor is obtained User generates corresponding click coordinate when clicking operation, and using the click coordinate as the touch-control response area of the touch event Domain.
Step S30, judges whether the touch-control response region of the touch event is included in the corresponding response of the child control In region;If so, thening follow the steps S40;
The touch-control response region of touch event can be the coordinate of a point, such as click the corresponding click coordinate of event, Or the corresponding pressing position coordinate of long press operation;It is also possible to a panel region, such as the corresponding long opsition dependent area of long press operation Domain or slide correspondence obtain sliding trace region.
When the touch-control response region of touch event is the coordinate of a point, the only level represented by the coordinate of the point When the position on position and vertical direction on direction is in the corresponding response region of child control, the touch-control thing just can determine that The touch-control response region of part is located in the corresponding response region of child control.The water represented by the touch-control response region of touch event When any one in position on square upward position and vertical direction be not in the corresponding response region of the child control, really The touch-control response region for recognizing the touch event is located in the corresponding response region of father's control.
When the touch-control response region of touch event is a panel region, which is possibly comprised in child control pair In the response region answered, may response region corresponding with child control intersect, it is also possible to response region corresponding with child control is mutual It is mutually independent, it is in disjoint relationship.
When intersecting when the touch-control response region of touch event response region corresponding with child control, it can be set by child control Response, can also be responded, or may be arranged as all controls and be not responding to by father's control.When the touch-control of touch event responds Corresponding with the child control response region in region mutually from when, can be set to the touch operation of father's control response user, or judgement Whether there are inclusion relations with other child controls on father's control for the touch-control response region, when the touch-control response region and father's control On other child controls there are when inclusion relation, by there are the responses of the child control of inclusion relation;As the touch-control response region and father When inclusion relation is also not present in other child controls on control, responded by father's control.
Step S40 shields father's control and responds the child control.
Due in page control response process, when there is event to need to handle, it then follows principle be that back to front, i.e., father is controlled Part is traversed toward child control, until it can not find again qualified control, the finally qualified control when stopping traversal Part is control to be responded.If occurring wrong responded by father's control instead of child control in these links will affect page control The accuracy of part response, therefore father's control is shielded while needing to respond child control, the accurate of page control response can be improved Property.
It should be noted that the judgement of child control itself is ineligible when father's control needs to respond, i.e., child control is not It can respond, therefore also not need to add this step again.
Referring to Fig. 3, in other embodiments, when the judging result of the step S30 is "No", S50 is thened follow the steps;
Step S50 judges the touch-control response region of touch event response region whether corresponding with the child control Mutually from;If so, thening follow the steps S60;
Step S60 responds father's control.
When inclusion relation is not present in the touch-control response region of touch event response region corresponding with child control, Ke Yijin One step judge the touch-control response region of touch event response region corresponding with child control whether mutually from.If judging the touch-control The touch-control response region of event response region corresponding with child control not mutually from when, indicate the touch-control response region of touch event with The corresponding response region intersection of child control, can be not responding to any control, or a certain control is specified to respond.Please together referring to figure 4, wherein region A is the touch-control response region of touch event, and region B is the corresponding response region of child control, region A and region B It is separated from each other, responds father's control C at this time.
Further, referring to Fig. 5, the first embodiment of the response method based on page control of the present invention proposes page of the present invention The second embodiment of the response method of face control shows character string, the character string in the present embodiment on the child control Including concatenation character string, child control is link child control at this time.The step S10 includes:
Step S11, it is corresponding to response region according to child control described in preset region setting function sets;
The present embodiment has been set for further limiting for how to carry out the response region of child control.
In the present embodiment, function can be set according to the region pre-set to be arranged as child control to response region, It includes how to define the zone boundary to response region in region setting function.
Step S12 searches the concatenation character string from the character string shown on the child control;
Wherein, when child control is link child control, the character string that child control is shown includes concatenation character string, can also be wrapped Include text-string and other character strings.And in order to make user when clicking the link child control, link the chain of child control It connects and jumps response, need to find out concatenation character string from all character strings.It is alternatively possible to be supervised using regular expression The character string that child control is shown is surveyed, and therefrom finds out concatenation character string.In addition, the link of link child control may include multiple Or one.For example, being retrieved and being searched by regular expression when linking in child control includes simultaneously two links It links two groups of concatenation character strings in child control to two to distinguish, to find the concatenation character string of needs.
The concatenation character string found is associated with described to response region by step S13, and will be described in after association The corresponding response region of the child control is set as to response region.
Can establish concatenation character string and the mapping table to response region, concatenation character string and child control wait respond Region is corresponding, is the corresponding response region of child control to response region after association.This gives link child controls Response region setting and correlating method, be conducive to link child control specific response.
Further, in other embodiments, can also include: after the step S13
The display color of the concatenation character string after change association.
For example, the concatenation character found can be serially added upper color by code.It optionally, can also be in concatenation character String lower section add underscore, highlighted with carrying out character, thus by the concatenation character string being associated be not associated Concatenation character string distinguish.The present embodiment is conducive to highlighting for concatenation character string, help link character string and other Character string is effectively distinguished.
Further, referring to Fig. 6, the second embodiment of the response method based on page control of the present invention proposes page of the present invention The 3rd embodiment of the response method of face control, in the present embodiment, the step S30 includes:
It is associated to judge whether the touch-control response region of the touch event is included in the concatenation character string by step S31 In response region;
The step S40 includes:
Step S41 shields father's control, and jumps page by the associated concatenation character string of the response region Face.
When user generates touch operation and the child control is link child control, the touch-control response region of touch event is The response region corresponding with concatenation character string carries out position judgement.When touch-control response region is associated with included in concatenation character string Response region when, the response of child control can be completed by the concatenation character string jump page.Present solution provides detailed The response method of child control is linked, the significant response for realizing link child control is helped, improves the touch-control response area of touch event Response accuracy when domain is in the associated response region of concatenation character string.
Further, referring to Fig. 7, the 3rd embodiment of the response method based on page control of the present invention proposes page of the present invention The fourth embodiment of the response method of face control, in the present embodiment, after the step S41 further include:
Whether step S70, monitoring receive the status data that the child control returns within a preset time;If it is not, then holding Row step S80;
S80 confirms that the child control completes page jump.
In the link jump procedure of child control, when link jumps it is unsuccessful when, jumping unsuccessful child control can return Status data is to processor, and wherein status data may include that link jumps unsuccessful reason mark code, by processor according to The status data, which is made, to be further processed, such as carries out the page jump of the link again.If child control does not return to shape State data indicate that passing through linking for child control successfully jumps to the new page, which completes response.By being returned to child control The status data returned is monitored, and has ensured the real-time acquisition of page control responsive state, carries out control response knot convenient for whole The grasp of fruit.
Further, referring to Fig. 8, the first embodiment of the response method based on page control of the present invention proposes page of the present invention 5th embodiment of the response method of face control is provided with multiple child controls, the step in the present embodiment on father's control Suddenly S30 includes:
Step S32 obtains time data when each child control in multiple child controls is respectively provided to father's control;
In software development process, the position to all page controls is needed to be laid out, it is all in this process to set Setting the child control on father's control has the different addition time, can recorde and saves all child controls and is added to father's control On time data.
Step S33 successively selects child control from evening to early sequence according to time data;
It can be after the time data for obtaining all child controls directly according to time data from evening to early sequential selection Control, can also by the time data of all child controls according to being ranked up from evening to early sequence after, selection control in order Part.
Step S34, judges whether the touch-control response region of the touch event is included in the corresponding response area of the child control In domain;If it is not, thening follow the steps S35;If so, thening follow the steps S36;
Step S35 selects next child control;
After selecting a child control, can by the response region of the touch-control response region of touch event and the child control into Line position sets judgement, and if there is no inclusion relation, then the next child control of selection time a little earlier continues to judge in order.
Step S36 stops selection child control, and enters step S40;
The step S40 includes:
Step S42 shields father's control and responds the child control of selection.
If the touch-control response region of touch event is contained in the response region of the child control, then it represents that on father's control When having multiple child controls, by determining that the response for carrying out page control there are the current child control of inclusion relation operates.
While carrying out page control response there are the current child control of inclusion relation by determining, it is also necessary to shield father's control Part prevents the response of father's control from causing page control response chaotic.
For example, please referring to Fig. 9, Fig. 9 is when being provided with multiple child controls in the page control for show equipment on father's control Schematic diagram of a scenario.Wherein child control 1 and child control 2 intersect, and child control 3 is arrived independently of other child controls, each child control setting Time on father's control are as follows: the time of child control 1, the time of child control 2 was earlier than child control 3 earlier than child control 2.If touch event Touch-control response region when including in the response region of child control 2, the actually response sequence of page control are as follows: first by most The child control 3 of evening setting carries out positional relationship judgement and then judges since the positional relationship of child control 3 does not meet sets requirement The positional relationship of child control 2, due to including the touch-control response region of touch event in the response region of child control 2, screen Cover father's control response child control 2.Further, the position judgement for carrying out child control 1 again is not needed at this time, and can also shield to remove needs Other child controls outside the child control 2 to be responded prevent page control response chaotic.
The present invention also proposes a kind of display equipment, referring to Figure 10, shows page control in the display equipment 100, institute The child control that page control includes father's control and is arranged on father's control is stated, the display equipment 100 includes setting mould Block 10 obtains module 20, judgment module 30 and execution module 40;Wherein,
The setup module 10, for the corresponding response region of the child control to be arranged;
The acquisition module 20, the touch-control response area of corresponding touch event when for obtaining user's generation touch operation Domain;
The judgment module 30, for judging whether the touch-control response region of the touch event is included in the child control In corresponding response region;And when the touch-control response region of the touch event is included in the corresponding response region of the child control When interior, trigger the execution module 40 and shield father's control and respond the child control.
Due in page control response process, when there is event to need to handle, it then follows principle be that back to front, i.e., father is controlled Part is traversed toward child control, until it can not find again qualified control, the finally qualified control when stopping traversal Part is control to be responded.There is father's control that child control response is replaced to will affect page control if occurring mistake in these links The accuracy of part response, the present invention is by the way that when child control needs to respond, setting execution module 40 is for shielding father's control and sound The child control is answered, interfere father's control will not to the response of child control, realizes the accurate response of page control, is improved The accuracy of page control response.
Further, in another embodiment, character string is shown on the child control, the character string includes link word Symbol string;
The setup module 10 includes:
Setup unit 11, it is corresponding to response region for the child control according to preset region setting function sets;
Searching unit 12, for searching the concatenation character string from the character string shown on the child control;
Associative cell 13, for the concatenation character string found to be associated with described to response region;
Setting unit 14, for being set as the corresponding response area of the child control to response region described in after being associated with Domain.
Further, in another embodiment, the judgment module 30 is also used to judge that the touch-control of the touch event is rung Answer whether region is included in the associated response region of concatenation character string;
The execution module 40 includes:
Screen unit 41, for shielding father's control;
Jump-transfer unit 42, for passing through the associated concatenation character string jump page of the response region.
Further, in another embodiment, the display equipment 100 further include:
Monitoring modular 50, for monitoring the status data for whether receiving the child control within a preset time and returning;
Determining module 60, for confirming when not receiving the status data that the child control returns within a preset time The child control completes page jump.
Further, in another embodiment, when being provided with multiple child controls on father's control, the judgment module 30 include:
First acquisition unit 31, when each child control for obtaining in multiple child controls is respectively provided to father's control Time data;
Selecting unit 32, for successively selecting child control from evening to early sequence according to time data;
Judging unit 33, for judging it is corresponding whether the touch-control response region of the touch event is included in the child control In response region;And when the touch-control response region of the touch event is not included in the corresponding response region of the child control, It triggers the selecting unit 32 and selects next child control;
Stop unit 34 is included in the corresponding response area of the child control for the touch-control response region when the touch event When in domain, stop selection child control, and triggers the execution module 40 and execute the son for shielding father's control and responding selection The step of control.
Further, in another embodiment, the touch operation includes slide, long press operation and click behaviour Make;The acquisition module 20 includes:
Second acquisition unit 21, when generating slide for obtaining user when the touch operation is slide Corresponding sliding trace region, and using the sliding trace region as the touch-control response region of the touch event;
Third acquiring unit 22, when generating long press operation for obtaining user when the touch operation is long press operation Corresponding pressing position coordinate, and using the pressing position coordinate as the touch-control response region of the touch event;
4th acquiring unit 23, when generating clicking operation for obtaining user when the touch operation is clicking operation Corresponding click coordinate, and using the click coordinate as the touch-control response region of the touch event.
Further, in another embodiment, the judgment module 30 is also used to respond when the touch-control of the touch event When region is not included in the corresponding response region of the child control, judge the touch event touch-control response region whether with The corresponding response region of the child control mutually from;And when the touch-control response region of the touch event is corresponding with the child control Response region mutually from when, trigger the execution module 40 and respond father's control.
The present invention also proposes a kind of computer readable storage medium, is stored thereon with computer program, the computer journey The step of response method such as above-mentioned page control is realized when sequence is executed by processor.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the server-side that include a series of elements not only include those elements, It but also including other elements that are not explicitly listed, or further include for this process, method, article or server-side institute Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that wrapping Include in process, method, article or the server-side of the element that there is also other identical elements.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in one as described above In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone, Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of response method of page control, the page control includes father's control and the son that is arranged on father's control Control, which is characterized in that the method includes the steps:
The corresponding response region of the child control is set;
Obtain the touch-control response region that user generates corresponding touch event when touch operation;
Judge whether the touch-control response region of the touch event is included in the corresponding response region of the child control;
When the touch-control response region of the touch event is included in the corresponding response region of the child control, the father is shielded Control simultaneously responds the child control.
2. the response method of page control as described in claim 1, which is characterized in that show character on the child control String, the character string includes concatenation character string;
The step of setting child control corresponding response region includes:
It is corresponding to response region according to child control described in preset region setting function sets;
The concatenation character string is searched from the character string shown on the child control;
The concatenation character string found is associated with described to response region, and will be set to response region described in after association It is set to the corresponding response region of the child control.
3. the response method of page control as claimed in claim 2, which is characterized in that the touching of the judgement touch event Whether control response region includes that step in the corresponding response region of the child control includes:
Judge whether the touch-control response region of the touch event is included in the associated response region of concatenation character string;
It is described to shield father's control and include: the step of responding the child control
Father's control is shielded, and passes through the associated concatenation character string jump page of the response region.
4. the response method of page control as claimed in claim 3, which is characterized in that described to be associated with by the response region The concatenation character string jump page the step of after further include:
Whether monitoring receives the status data that the child control returns within a preset time;
When not receiving the status data that the child control returns within a preset time, confirm that the child control is completed the page and jumped Turn.
5. the response method of page control as described in claim 1, which is characterized in that multiple when being provided on father's control When child control, whether the touch-control response region for judging the touch event is included in the corresponding response region of the child control Interior step includes:
Obtain time data when each child control in multiple child controls is respectively provided to father's control;
Child control is successively selected from evening to early sequence according to time data, and judges the touch-control response region of the touch event Whether it is included in the corresponding response region of the child control;
When the touch-control response region of the touch event is not included in the corresponding response region of the child control, select next Child control;
When the touch-control response region of the touch event is included in the corresponding response region of the child control, stop selection son control Part, and the step of executing shielding father's control and responding the child control;
It is described to shield father's control and include: the step of responding the child control
It shields father's control and responds the child control of selection.
6. the response method of page control as described in any one in claim 1-5, which is characterized in that the touch operation includes Slide, long press operation and clicking operation;The touch-control for obtaining user and generating corresponding touch event when touch operation The step of response region includes:
When the touch operation is slide, obtains user and generate corresponding sliding trace region when slide, and will Touch-control response region of the sliding trace region as the touch event;
When the touch operation is long press operation, obtains user and generate corresponding pressing position coordinate when long press operation, and will Touch-control response region of the pressing position coordinate as the touch event;
When the touch operation is clicking operation, obtains user and generate corresponding click coordinate when clicking operation, and will be described Touch-control response region of the click coordinate as the touch event.
7. the response method of page control as described in any one in claim 1-5, which is characterized in that the judgement touch-control Whether the touch-control response region of event includes after the step in the corresponding response region of the child control further include:
When the touch-control response region of the touch event is not included in the corresponding response region of the child control, described in judgement The touch-control response region of touch event response region whether corresponding with the child control mutually from;
When corresponding with the child control response region of the touch-control response region of the touch event mutually from when, respond father's control Part.
8. a kind of display equipment, page control is shown in the display equipment, the page control includes father's control and sets Set the child control on father's control, which is characterized in that the terminal include setup module, obtain module, judgment module with And execution module;Wherein,
The setup module, for the corresponding response region of the child control to be arranged;
The acquisition module, the touch-control response region of corresponding touch event when for obtaining user's generation touch operation;
The judgment module, for judging it is corresponding whether the touch-control response region of the touch event is included in the child control In response region;And when the touch-control response region of the touch event is included in the corresponding response region of the child control, Triggering execution module executes the step of shielding father's control and responding the child control.
9. a kind of display equipment, which is characterized in that the display equipment include: display touch-control module, communication module, memory, Processor and it is stored in the computer program that can be run on the memory and on the processor, the computer program quilt The step of response method of the page control as described in any one of claims 1 to 7 is realized when the processor executes.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes the sound of the page control as described in any one of claims 1 to 7 when the computer program is executed by processor The step of induction method.
CN201810435720.9A 2018-05-08 2018-05-08 Response method, display equipment and the computer readable storage medium of page control Pending CN109725959A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810435720.9A CN109725959A (en) 2018-05-08 2018-05-08 Response method, display equipment and the computer readable storage medium of page control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810435720.9A CN109725959A (en) 2018-05-08 2018-05-08 Response method, display equipment and the computer readable storage medium of page control

Publications (1)

Publication Number Publication Date
CN109725959A true CN109725959A (en) 2019-05-07

Family

ID=66293721

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810435720.9A Pending CN109725959A (en) 2018-05-08 2018-05-08 Response method, display equipment and the computer readable storage medium of page control

Country Status (1)

Country Link
CN (1) CN109725959A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111176769A (en) * 2019-12-19 2020-05-19 贵阳语玩科技有限公司 Multi-picture display method for Android terminal
CN111176768A (en) * 2019-12-18 2020-05-19 福建升腾资讯有限公司 Nested parent control and child control multi-level display method and device
CN111767002A (en) * 2019-05-20 2020-10-13 北京京东尚科信息技术有限公司 Page display method, device, equipment and storage medium
CN113672330A (en) * 2021-08-20 2021-11-19 北京得间科技有限公司 E-book-based media resource page display method and computing equipment
CN114780001A (en) * 2022-04-19 2022-07-22 青岛海信智慧生活科技股份有限公司 Control method of multi-way switch equipment, terminal equipment and server
WO2023134655A1 (en) * 2022-01-12 2023-07-20 京东方科技集团股份有限公司 Operation method and apparatus, and electronic device and computer-readable storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102207864A (en) * 2011-05-19 2011-10-05 中兴通讯股份有限公司 Method and device for creating list control
CN103677518A (en) * 2013-12-02 2014-03-26 北京像素软件科技股份有限公司 Method and device for responding to touch messages on mobile terminal
CN104035703A (en) * 2013-03-07 2014-09-10 腾讯科技(深圳)有限公司 Client side, method and system for changing view display
US20150347095A1 (en) * 2014-05-30 2015-12-03 International Business Machines Corporation Customized ready-to-go componentized application definitions
CN105975190A (en) * 2016-05-20 2016-09-28 腾讯科技(深圳)有限公司 Graph interface processing method, device and system
US20160291702A1 (en) * 2015-04-02 2016-10-06 Samsung Electronics Co., Ltd. Auxiliary input device of electronic device and method of executing function thereof
CN106462351A (en) * 2015-03-19 2017-02-22 华为技术有限公司 Touch event processing method, apparatus and terminal device
CN107092475A (en) * 2016-12-21 2017-08-25 阿里巴巴集团控股有限公司 The call method and device of a kind of interactive controls
US20180113671A1 (en) * 2016-10-25 2018-04-26 Beijing Xiaomi Mobile Software Co., Ltd. Method and device for processing text information

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102207864A (en) * 2011-05-19 2011-10-05 中兴通讯股份有限公司 Method and device for creating list control
CN104035703A (en) * 2013-03-07 2014-09-10 腾讯科技(深圳)有限公司 Client side, method and system for changing view display
CN103677518A (en) * 2013-12-02 2014-03-26 北京像素软件科技股份有限公司 Method and device for responding to touch messages on mobile terminal
US20150347095A1 (en) * 2014-05-30 2015-12-03 International Business Machines Corporation Customized ready-to-go componentized application definitions
CN106462351A (en) * 2015-03-19 2017-02-22 华为技术有限公司 Touch event processing method, apparatus and terminal device
US20160291702A1 (en) * 2015-04-02 2016-10-06 Samsung Electronics Co., Ltd. Auxiliary input device of electronic device and method of executing function thereof
CN105975190A (en) * 2016-05-20 2016-09-28 腾讯科技(深圳)有限公司 Graph interface processing method, device and system
US20180113671A1 (en) * 2016-10-25 2018-04-26 Beijing Xiaomi Mobile Software Co., Ltd. Method and device for processing text information
CN107092475A (en) * 2016-12-21 2017-08-25 阿里巴巴集团控股有限公司 The call method and device of a kind of interactive controls

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111767002A (en) * 2019-05-20 2020-10-13 北京京东尚科信息技术有限公司 Page display method, device, equipment and storage medium
CN111767002B (en) * 2019-05-20 2022-03-04 北京京东尚科信息技术有限公司 Page display method, device, equipment and storage medium
CN111176768A (en) * 2019-12-18 2020-05-19 福建升腾资讯有限公司 Nested parent control and child control multi-level display method and device
CN111176769A (en) * 2019-12-19 2020-05-19 贵阳语玩科技有限公司 Multi-picture display method for Android terminal
CN113672330A (en) * 2021-08-20 2021-11-19 北京得间科技有限公司 E-book-based media resource page display method and computing equipment
WO2023134655A1 (en) * 2022-01-12 2023-07-20 京东方科技集团股份有限公司 Operation method and apparatus, and electronic device and computer-readable storage medium
CN114780001A (en) * 2022-04-19 2022-07-22 青岛海信智慧生活科技股份有限公司 Control method of multi-way switch equipment, terminal equipment and server
CN114780001B (en) * 2022-04-19 2023-04-25 青岛海信智慧生活科技股份有限公司 Control method of multi-way switch equipment, terminal equipment and server

Similar Documents

Publication Publication Date Title
CN109725959A (en) Response method, display equipment and the computer readable storage medium of page control
CN106095666B (en) Game automated testing method and relevant apparatus
CN105512023B (en) A kind of Monkey test method and device
CN107450800A (en) A kind of task method to set up, mobile terminal and computer-readable recording medium
CN106527888B (en) The method and device of the screen sliding lookup page
CN106354407B (en) A kind of information sharing method and mobile terminal
CN106951141B (en) A kind of processing method and mobile terminal of icon
CN103902057B (en) Webpage input method and device for mobile terminal device
CN106201177B (en) A kind of operation execution method and mobile terminal
CN104461900A (en) User interface testing method, center control server, test terminal and system
CN106126013A (en) A kind of application management method and mobile terminal
CN107368580B (en) A kind of Webpage display process and mobile terminal
CN106155480A (en) The interface display method of a kind of application program and mobile terminal
CN108399124A (en) Application testing method, device, computer equipment and storage medium
CN106293705A (en) A kind of collecting method and mobile terminal
CN107391246A (en) One kind applies startup method, mobile terminal and computer-readable recording medium
CN106161811A (en) A kind of reminding method and mobile terminal
CN103294805A (en) Creation method and device for data warehouse personalized dimension table
CN109634570A (en) Front and back end integrated development method, device, equipment and computer readable storage medium
CN106503501A (en) A kind of startup method of user model and mobile terminal
CN105988931A (en) Test method and device
CN108205417A (en) Switching method and device, the computer installation and readable storage medium storing program for executing of foreground application
CN106534200A (en) Identity authentication method and mobile terminal
CN109740041A (en) Web page crawl method, apparatus, storage medium and computer equipment
CN106231113A (en) A kind of Dialing Method and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination