CN109144364A - Exchange method, system, equipment and the storage medium that floating layer is dismissed - Google Patents

Exchange method, system, equipment and the storage medium that floating layer is dismissed Download PDF

Info

Publication number
CN109144364A
CN109144364A CN201810827945.9A CN201810827945A CN109144364A CN 109144364 A CN109144364 A CN 109144364A CN 201810827945 A CN201810827945 A CN 201810827945A CN 109144364 A CN109144364 A CN 109144364A
Authority
CN
China
Prior art keywords
area
floating layer
touch control
control operation
display screen
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.)
Granted
Application number
CN201810827945.9A
Other languages
Chinese (zh)
Other versions
CN109144364B (en
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.)
Shanghai Ctrip Business Co Ltd
Original Assignee
Shanghai Ctrip Business 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 Shanghai Ctrip Business Co Ltd filed Critical Shanghai Ctrip Business Co Ltd
Priority to CN201810827945.9A priority Critical patent/CN109144364B/en
Publication of CN109144364A publication Critical patent/CN109144364A/en
Application granted granted Critical
Publication of CN109144364B publication Critical patent/CN109144364B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present invention provides a kind of exchange method, system, equipment and storage medium that floating layer is dismissed, applied to the mobile terminal with touching display screen, wherein method includes: to obtain the floating layer area that floating layer is shown on touching display screen, and floating layer area accounts for the whole display areas or part display area of touching display screen;Based on floating layer area, first area and second area are obtained, first area is two strip regions comprising floating layer area left side and right edge, and second area is the strip region comprising floating layer area bottom edge;Monitor the touch control operation in floating layer area;When the touch control operation in floating layer area is persistently moved from first area to second area, and lasting mobile movable length along the vertical direction is greater than the residue length that floating layer is hidden in floating layer area top, the floating layer is dismissed, the page before floating layer is opened is shown on touching display screen.The present invention dismisses the interactive mode of floating layer when providing one-handed performance for user, promote interaction convenience, interactive experience is made more to suit user's scene.

Description

Exchange method, system, equipment and the storage medium that floating layer is dismissed
Technical field
The present invention relates to Internet technical fields, specifically, being related to a kind of exchange method of floating layer dismission, system, setting Standby and storage medium.
Background technique
The dismission mode of floating layer is substantially using the black mask clicked outside floating layer region or clicks in floating layer at present The mode of side " x " dismisses floating layer.This mode needs the cooperation of two hand of user to complete operation, and laborious degree is high.User is difficult one hand Hold the dismission operation that electronic equipment completes floating layer.This brings inconvenience to using.
It should be noted that information is only used for reinforcing the reason to background of the invention disclosed in above-mentioned background technology part Solution, therefore may include the information not constituted to the prior art known to persons of ordinary skill in the art.
Summary of the invention
For the problems of the prior art, the present invention provides a kind of exchange method, system, equipment and storage that floating layer is dismissed Medium solves dismission floating layer in the prior art and both hands is needed to cooperate, and operates laborious problem.
According to an aspect of the present invention, a kind of exchange method that floating layer is dismissed is provided, is applied to that there is touching display screen Mobile terminal, the exchange method includes: to obtain show the floating layer area of floating layer on touching display screen, described in the floating layer area accounts for The whole display areas or part display area of touching display screen;Based on the floating layer area, first area and second area are obtained, The first area is two strip regions comprising floating layer area left side and right edge, and the second area is comprising described The strip region on floating layer area bottom edge;Monitor the touch control operation in the floating layer area;When the touch control operation in the floating layer area is from institute It states first area persistently to move to the second area, and the movable length of the lasting movement along the vertical direction is greater than described float Floor is hidden in the residue length on floating layer area top, dismisses the floating layer, and the floating layer is shown on the touching display screen The page before opening.
Preferably, in above-mentioned exchange method, determine touch control operation in the floating layer area from the first area to institute Stating the step that second area persistently moves includes: to obtain the starting point of the touch control operation in the floating layer area, judges the starting Whether point is Chong Die with the first area;When the starting point is Chong Die with the first area, continue to track the touch control operation; It is mobile in the floating layer area with the touch control operation, obtain the end point of the touch control operation;Judge the end point whether with The second area overlapping;When the end point is Chong Die with the second area, determine the touch control operation from firstth area It is persistently moved to the second area in domain.
Preferably, it in above-mentioned exchange method, is preset when the contact area of the starting point and the first area is greater than Value, then determine that the starting point is Chong Die with the first area;When the end point and the contact area of the second area are big In preset value, then determine that the end point is Chong Die with the second area.
Preferably, above-mentioned exchange method further include: when the movable length of the touch control operation in the vertical direction is less than It is mobile in the floating layer area with the touch control operation equal to the residue length, pull down the floating layer.
Preferably, in above-mentioned exchange method, the step of showing the floating layer area of floating layer on the acquisition touching display screen, is wrapped It includes: obtaining the edge pixel point for showing floating layer on touching display screen, the floating layer area is obtained according to each edge pixel point.
Preferably, in above-mentioned exchange method, the lasting movement includes from the first area to the second area Curve movement and linear movement.
Preferably, in above-mentioned exchange method, the width of each first area in the horizontal direction and floating layer area edge The ratio between width of horizontal direction is no more than preset value, and the width of the second area along the vertical direction is with the floating layer area along vertical The ratio between the width in direction is no more than preset value.
Preferably, in above-mentioned exchange method, the first area contacts with the second area and is not overlapped.
According to another aspect of the present invention, a kind of interactive system that floating layer is dismissed is provided, is applied to that there is touch-control to show The mobile terminal of screen, the interactive system include: the first acquisition module, obtain the floating layer area that floating layer is shown on touching display screen, The floating layer area accounts for the whole display areas or part display area of the touching display screen;Second obtains module, based on described Floating layer area, obtains first area and second area, and the first area is two comprising floating layer area left side and right edge Strip region, the second area are the strip region comprising floating layer area bottom edge;Touch control detection module monitors the floating layer Touch control operation in area;Floating layer dismisses module, when the touch control operation in the floating layer area is from the first area to described second Regional sustained is mobile, and the movable length of the lasting movement along the vertical direction is greater than the floating layer and is hidden in the floating layer area top The residue length at end dismisses the floating layer, and the page before the floating layer is opened is shown on the touching display screen.
Preferably, in above-mentioned interactive system, the touch control detection module is determined in the following way in the floating layer area Touch control operation persistently moved from the first area to the second area: obtaining the touch control operation in the floating layer area Initial point judges whether the starting point is Chong Die with the first area;When the starting point is Chong Die with the first area, continue Track the touch control operation;It is mobile in the floating layer area with the touch control operation, obtain the end point of the touch control operation;Judgement Whether the end point is Chong Die with the second area;When the end point is Chong Die with the second area, the touch-control is determined Operation is persistently moved from the first area to the second area.
According to another aspect of the present invention, a kind of electronic equipment is provided, the electronic equipment includes at least: processor; Memory, for storing executable instruction;Wherein, the processor is configured to execute via the executable instruction is executed The step of exchange method that the floating layer stated is dismissed.
According to another aspect of the present invention, a kind of computer-readable storage medium is provided, computer is stored thereon with The step of program, the computer program realizes the exchange method that above-mentioned floating layer is dismissed when being executed by processor.
The beneficial effect of the present invention compared with prior art is:
The present invention is that user dismisses the convenient and fast interactive mode of floating layer setting, user's one-handed performance, on the floating layer lower left corner or the right side Inferior horn slides and meets corresponding conditions, can dismiss floating layer, provides convenience for user's operation, interactive experience is made more to suit user Scene.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not It can the limitation present invention.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention Example, and be used to explain the principle of the present invention together with specification.It should be evident that the accompanying drawings in the following description is only the present invention Some embodiments for those of ordinary skill in the art without creative efforts, can also basis These attached drawings obtain other attached drawings.
Fig. 1 shows the step schematic diagram for the exchange method that floating layer is dismissed in embodiment;
Fig. 2 shows the steps for determining that the touch control operation in floating layer area is persistently moved from first area to second area in embodiment Rapid schematic diagram;
Fig. 3 to Fig. 6 shows the interaction scenarios figure that floating layer is dismissed in embodiment;
Fig. 7 shows the module diagram for the interactive system that floating layer is dismissed in embodiment;
Fig. 8 shows the structural schematic diagram of electronic equipment in embodiment;
Fig. 9 shows the structural schematic diagram of computer readable storage medium in embodiment.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be with a variety of shapes Formula is implemented, and is not understood as limited to embodiment set forth herein.On the contrary, thesing embodiments are provided so that the present invention will Fully and completely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.It is identical attached in figure Icon note indicates same or similar structure, thus will omit repetition thereof.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or Program product.Therefore, various aspects of the invention can be embodied in the following forms, it may be assumed that complete hardware embodiment, complete The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here Referred to as " circuit ", " module " or " platform ".
Exchange method of the invention is suitable for the mobile terminal configured with touching display screen, such as smart phone, plate electricity Brain etc..Fig. 1 is the step schematic diagram for the exchange method that floating layer is dismissed in embodiment, shown referring to Fig.1, floating layer solution in the present embodiment Scattered exchange method includes:
Step S10, the floating layer area that floating layer is shown on touching display screen is obtained, the whole that floating layer area can account for touching display screen is aobvious Show region or part display area.Namely floating layer area can be displayed in full screen on touching display screen or part is shown.
In a preferred embodiment, the edge pixel point that can show floating layer on touching display screen by obtaining, according to each Edge pixel point obtains floating layer area.Or it is easier, referring to shown in Fig. 3, obtained on the touching display screen 1 of mobile terminal The coordinate of the pixel 20 (being indicated in figure with black dot) on four vertex in floating layer area, to determine the position in floating layer area 2.
Step S20, it is based on floating layer area, obtains first area and second area, first area is to include floating layer area left side With two strip regions of right edge, second area is the strip region comprising floating layer area bottom edge.
In an implement scene, referring to shown in Fig. 4, after determining floating layer area 2 on touching display screen 1, acquisition includes One strip region of the left side in the floating layer area 2, and a strip region of the right edge comprising the floating layer area 2, as first Region 21.That is, first area 21 includes two strip regions being located at left and right sides of floating layer area, no matter user is in this way Left hand-held set or right hand-held set, are convenient to interact touch-control.Also, obtain one of the bottom edge comprising floating layer area 2 Shape region, as second area 22.
In a preferred embodiment, the width of each first area 21 in the horizontal direction and floating layer area 2 be in the horizontal direction The ratio between width is no more than preset value, such as no more than 1/10;The width of second area 22 along the vertical direction is with floating layer area 2 along vertical The ratio between the width in direction is no more than preset value, such as no more than 1/10.It, can be more smart in this way when subsequent detection interaction touch-control The interaction touch-control for meeting related application scene is detected quasi-ly, while also closer to actual user's scene.
First area 21 can contact with second area 22 or not contact, and preferably contact, and be not overlapped, and be handed over promoting detection The accuracy of mutual touch-control, is convenient for quick response user's operation.
Step S30, the touch control operation in floating layer area is monitored;And step S40, when the touch control operation in floating layer area is from first Region is persistently moved to second area, and lasting mobile movable length along the vertical direction is greater than floating layer and is hidden in floating layer area top Residue length, dismiss floating layer, show on touching display screen floating layer opening before the page.
Determine that the touch control operation in floating layer area is persistently moved from first area to second area referring to shown in Fig. 2, in step S40 Dynamic step include: S401, obtain floating layer area on touch control operation starting point, S402, judge starting point whether with the firstth area Domain overlapping, S403, when starting point it is Chong Die with first area, continue tracking touch control operation, S404, with touch control operation floating layer area shifting It is dynamic, the end point of touch control operation is obtained, S405, judges whether end point is Chong Die with second area, S406, when end point and second Region overlapping determines that touch control operation is persistently moved from first area to second area.
Further, determine starting point it is whether Chong Die with first area, end point whether the mode Chong Die with second area Are as follows: when starting point and the contact area of first area are greater than preset value, then determine that starting point is Chong Die with first area;Work as end point It is greater than preset value with the contact area of second area, then determines that end point is Chong Die with second area.The preset value is, for example, User refers to 1/3 or more of face size.
Referring to Figure 5, the scene of user's left hand one-handed performance, when needing to dismiss floating layer, in touching display screen 1 Floating layer area 2 on carry out touch control operation, leave sliding trace.When the starting point for detecting sliding trace (as shown by arrows in figure) 31 is Chong Die with the first area 21 in 2 left side of floating layer area, and end point 32 is Chong Die with the second area 22 of 2 bottom of floating layer area, and from Initial point 31 is persistently mobile to end point 32, skids off the track of arbitrary curve or straight line in floating layer area 2, then in response to this from floating layer area Floating layer is dismissed in lasting movement of 2 first area 21 to second area 22, before showing that floating layer is opened on touching display screen 1 The page.The scene of right hand one-handed performance is similar with the scene of left hand one-handed performance, is not repeated to illustrate.
Further, more for floating layer content referring to shown in Fig. 6, in the scene that floating layer area 2 is not exclusively shown, when sentencing Determine the touch control operation in floating layer area 2 after lasting movement, need to judge to continue mobile along vertical from first area 21 to second area 22 Whether the movable length H in direction is greater than the residue length h that floating layer is hidden in 2 top of floating layer area, if lasting movement is along the vertical direction Movable length H be greater than floating layer and be hidden in the residue length h on 2 top of floating layer area, then floating layer is dismissed, if touch control operation is in vertical side Upward movable length H is less than or equal to residue length h, then mobile in floating layer area 2 with touch control operation, pulls down floating layer.
Above-mentioned exchange method is that user dismisses the convenient and fast interactive mode of floating layer setting, user's one-handed performance, on a floating layer left side Corresponding conditions are slided and meet in inferior horn or the lower right corner, can dismiss floating layer.For example, user passes through after having browsed floating layer content Thumb slides to bottom edge from floating layer side in the region of floating layer area most convenient, can dismiss floating layer.Interactive experience suits user very much Scene.
The embodiment of the present invention also provides a kind of interactive system that floating layer is dismissed, applied to the mobile end with touching display screen End, referring to shown in Fig. 7, interactive system 50 includes:
First obtains module 501, obtains the floating layer area that floating layer is shown on touching display screen, floating layer area accounts for touching display screen Whole display areas or part display area;
Second obtains module 502, is based on floating layer area, obtains first area and second area, and first area is to include floating layer Two strip regions of area's left side and right edge, second area are the strip region comprising floating layer area bottom edge;
Touch control detection module 503 monitors the touch control operation in floating layer area;
Floating layer dismisses module 504, when the touch control operation in floating layer area is persistently moved from first area to second area, and holds The movable length of continuous movement along the vertical direction is greater than the residue length that floating layer is hidden in floating layer area top, floating layer is dismissed, in touch-control Show the page before screen display floating layer is opened.
Further, touch control detection module 503 determines that the touch control operation in floating layer area is held from first area to second area Continue mobile mode are as follows: the starting point for obtaining the touch control operation in floating layer area judges whether starting point is Chong Die with first area;When Starting point is Chong Die with first area, continues to track touch control operation;It is mobile in floating layer area with touch control operation, obtain the knot of touch control operation Beam spot;Judge whether end point is Chong Die with second area;When end point is Chong Die with second area, determine touch control operation from the firstth area It is persistently moved to second area in domain.
Wherein, each module specifically executes step and principle can refer to above-mentioned embodiment of the method.Through this embodiment Interactive system provides convenient and fast floating layer for user and dismisses interactive mode, and user's one-handed performance is sliding in the floating layer lower left corner or the lower right corner Corresponding conditions are moved and met, floating layer can be dismissed, interactive experience is made more to suit user's scene.
The embodiment of the present invention also provides a kind of electronic equipment, including processor and memory, and being stored in memory can hold Row instruction, processor are configured as executing the exchange method of the dismission of the floating layer in above-described embodiment via executable instruction is executed The step of.
As described above, electronic equipment of the invention can provide convenient and fast floating layer for user dismisses interactive mode, Yong Hudan Hand operation, slides and meets corresponding conditions in the floating layer lower left corner or the lower right corner, can dismiss floating layer, suit interactive experience more User's scene.
Fig. 8 is the structural schematic diagram of electronic equipment in the embodiment of the present invention, it should be appreciated that Fig. 8 is only schematic Ground shows modules, these modules can be virtual software module or actual hardware module, and the merging of these modules is torn open Point and its complementary modul block increase all within protection scope of the present invention.
The electronic equipment 600 of this embodiment according to the present invention is described referring to Fig. 8.The electronics that Fig. 8 is shown Equipment 600 is only an example, should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in figure 8, electronic equipment 600 is showed in the form of universal computing device.The component of electronic equipment 600 can wrap Include but be not limited to: at least one processing unit 610, at least one storage unit 620, connection different platform component (including storage Unit 620 and processing unit 610) bus 630, display unit 640 etc..
Wherein, storage unit is stored with program code, and program code can be executed with unit 610 processed, so that processing is single Member 610 executes described in the exchange method part that the above-mentioned floating layer of this specification is dismissed various exemplary embodiment party according to the present invention The step of formula.For example, processing unit 610 can execute step as shown in fig. 1.
Storage unit 620 may include the readable medium of volatile memory cell form, such as Random Access Storage Unit (RAM) 6201 and/or cache memory unit 6202, it can further include read-only memory unit (ROM) 6203.
Storage unit 620 can also include program/utility with one group of (at least one) program module 6205 6204, such program module 6205 includes but is not limited to: operating system, one or more application program, other program moulds It may include the realization of network environment in block and program data, each of these examples or certain combination.
Bus 630 can be to indicate one of a few class bus structures or a variety of, including storage unit bus or storage Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in a variety of bus structures Local bus.
Electronic equipment 600 can also be with one or more external equipments 700 (such as keyboard, sensing equipment, bluetooth equipment Deng) communication, can also be enabled a user to one or more equipment interact with the electronic equipment 600 communicate, and/or with make Any equipment (such as the router, modulation /demodulation that the electronic equipment 600 can be communicated with one or more of the other calculating equipment Device etc.) communication.This communication can be carried out by input/output (I/O) interface 650.Also, electronic equipment 600 can be with By network adapter 660 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network, Such as internet) communication.Network adapter 660 can be communicated by bus 630 with other modules of electronic equipment 600.It should Understand, although not shown in the drawings, other hardware and/or software module can be used in conjunction with electronic equipment 600, including but unlimited In: microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and number According to backup storage platform etc..
The embodiment of the present invention also provides a kind of computer readable storage medium, and for storing program, program is performed reality The step of exchange method that the floating layer of existing above-described embodiment is dismissed.In some possible embodiments, each side of the invention Face is also implemented as a kind of form of program product comprising program code, when program product is run on the terminal device, Program code is used to that terminal device to be made to execute described in the exchange method part that the above-mentioned floating layer of this specification is dismissed according to this hair The step of bright various illustrative embodiments.
As described above, computer readable storage medium of the invention can provide convenient and fast floating layer for user dismisses interaction side Formula, user's one-handed performance slide and meet corresponding conditions in the floating layer lower left corner or the lower right corner, can dismiss floating layer, make interactive body It tests and more suits user's scene.
Fig. 9 is the structural schematic diagram of computer readable storage medium of the invention.Refering to what is shown in Fig. 9, describing according to this The program product 800 for realizing the above method of the embodiment of invention can use the read-only storage of portable compact disc Device (CD-ROM) and including program code, and can be run on terminal device, such as PC.However, journey of the invention Sequence product is without being limited thereto, and in this document, readable storage medium storing program for executing can be any tangible medium for including or store program, the journey Sequence can be commanded execution system, device or device use or in connection.
Program product can be using any combination of one or more readable mediums.Readable medium can be readable signal Jie Matter or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or partly lead System, device or the device of body, or any above combination.More specific example (the non exhaustive column of readable storage medium storing program for executing Table) it include: the electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), read-only storage Device (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory (CD- ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
Computer readable storage medium may include in a base band or as carrier wave a part propagate data-signal, In carry readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetic signal, Optical signal or above-mentioned any appropriate combination.Readable storage medium storing program for executing can also be any readable Jie other than readable storage medium storing program for executing Matter, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or and its The program of combined use.The program code for including on readable storage medium storing program for executing can transmit with any suitable medium, including but not It is limited to wireless, wired, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages Code, programming language include object oriented program language-Java, C++ etc., further include conventional process Formula programming language-such as " C " language or similar programming language.Program code can be calculated fully in user It executes in equipment, partly execute on a user device, executing, as an independent software package partially in user calculating equipment Upper part executes on a remote computing or executes in remote computing device or server completely.It is being related to remotely counting In the situation for calculating equipment, remote computing device can pass through the network of any kind, including local area network (LAN) or wide area network (WAN), it is connected to user calculating equipment, or, it may be connected to external computing device (such as utilize ISP To be connected by internet).
The above content is a further detailed description of the present invention in conjunction with specific preferred embodiments, and it cannot be said that Specific implementation of the invention is only limited to these instructions.For those of ordinary skill in the art to which the present invention belongs, exist Under the premise of not departing from present inventive concept, a number of simple deductions or replacements can also be made, all shall be regarded as belonging to of the invention Protection scope.

Claims (12)

1. the exchange method that a kind of floating layer is dismissed, applied to the mobile terminal with touching display screen, which is characterized in that the friendship Mutual method includes the following steps:
The floating layer area that floating layer is shown on touching display screen is obtained, the floating layer area accounts for whole display areas of the touching display screen Or part display area;
Based on the floating layer area, first area and second area are obtained, the first area is to include floating layer area left side With two strip regions of right edge, the second area is the strip region comprising floating layer area bottom edge;
Monitor the touch control operation in the floating layer area;
When the touch control operation in the floating layer area is persistently moved from the first area to the second area, and the lasting shifting Dynamic movable length along the vertical direction is greater than the residue length that the floating layer is hidden in floating layer area top, dismisses described floating Layer shows the page before the floating layer is opened on the touching display screen.
2. exchange method as described in claim 1, which is characterized in that determine touch control operation in the floating layer area from described One region includes: to the step that the second area persistently moves
The starting point for obtaining the touch control operation in the floating layer area judges whether the starting point is Chong Die with the first area;
When the starting point is Chong Die with the first area, continue to track the touch control operation;
It is mobile in the floating layer area with the touch control operation, obtain the end point of the touch control operation;
Judge whether the end point is Chong Die with the second area;
When the end point is Chong Die with the second area, determine the touch control operation from the first area to secondth area It persistently moves in domain.
3. exchange method as claimed in claim 2, which is characterized in that
When the contact area of the starting point and the first area is greater than preset value, then the starting point and described first are determined Region overlapping;
When the contact area of the end point and the second area is greater than preset value, then the end point and described second are determined Region overlapping.
4. exchange method as described in claim 1, which is characterized in that further include:
When the movable length of the touch control operation in the vertical direction be less than or equal to the residue length, exist with the touch control operation The floating layer area is mobile, pulls down the floating layer.
5. exchange method as described in claim 1, which is characterized in that described to obtain the floating layer for showing floating layer on touching display screen The step of area includes:
The edge pixel point for showing floating layer on touching display screen is obtained, the floating layer area is obtained according to each edge pixel point.
6. exchange method as described in claim 1, which is characterized in that the lasting movement includes from the first area to institute State curve movement and the linear movement of second area.
7. exchange method as described in claim 1, which is characterized in that each first area width in the horizontal direction and institute The ratio between the width of floating layer area in the horizontal direction is stated no more than preset value, the width of the second area along the vertical direction is floated with described The ratio between the width of floor area along the vertical direction is no more than preset value.
8. exchange method as described in claim 1, which is characterized in that the first area contacts and not with the second area Overlapping.
9. the interactive system that a kind of floating layer is dismissed, applied to the mobile terminal with touching display screen, which is characterized in that the friendship Mutually system includes:
First obtains module, obtains the floating layer area that floating layer is shown on touching display screen, the floating layer area accounts for the touching display screen Whole display areas or part display area;
Second obtains module, is based on the floating layer area, obtains first area and second area, and the first area is comprising described Two strip regions of floating layer area left side and right edge, the second area are the strip region comprising floating layer area bottom edge;
Touch control detection module monitors the touch control operation in the floating layer area;
Floating layer dismisses module, when the touch control operation in the floating layer area is persistently moved from the first area to the second area It is dynamic, and the movable length of the lasting movement along the vertical direction is greater than the residue length that the floating layer is hidden in floating layer area top Degree, dismisses the floating layer, and the page before the floating layer is opened is shown on the touching display screen.
10. interactive system as claimed in claim 9, which is characterized in that the touch control detection module determines in the following way Touch control operation in the floating layer area is persistently moved from the first area to the second area:
The starting point for obtaining the touch control operation in the floating layer area judges whether the starting point is Chong Die with the first area;
When the starting point is Chong Die with the first area, continue to track the touch control operation;
It is mobile in the floating layer area with the touch control operation, obtain the end point of the touch control operation;
Judge whether the end point is Chong Die with the second area;
When the end point is Chong Die with the second area, determine the touch control operation from the first area to secondth area It persistently moves in domain.
11. a kind of electronic equipment, which is characterized in that the electronic equipment includes at least:
Processor;
Memory, for storing executable instruction;
Wherein, the processor be configured to via execute the executable instruction come perform claim require it is 1~8 described in any item The step of exchange method that floating layer is dismissed.
12. a kind of computer-readable storage medium, is stored thereon with computer program, which is characterized in that the computer journey The step of exchange method that floating layer according to any one of claims 1 to 8 is dismissed is realized when sequence is executed by processor.
CN201810827945.9A 2018-07-25 2018-07-25 Interaction method, system, equipment and storage medium for floating layer dissolving Active CN109144364B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810827945.9A CN109144364B (en) 2018-07-25 2018-07-25 Interaction method, system, equipment and storage medium for floating layer dissolving

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810827945.9A CN109144364B (en) 2018-07-25 2018-07-25 Interaction method, system, equipment and storage medium for floating layer dissolving

Publications (2)

Publication Number Publication Date
CN109144364A true CN109144364A (en) 2019-01-04
CN109144364B CN109144364B (en) 2020-11-10

Family

ID=64797973

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810827945.9A Active CN109144364B (en) 2018-07-25 2018-07-25 Interaction method, system, equipment and storage medium for floating layer dissolving

Country Status (1)

Country Link
CN (1) CN109144364B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103226446A (en) * 2013-05-16 2013-07-31 北京奇虎科技有限公司 Event response method for user interfacof mobile equipment and mobile equipment
CN104346086A (en) * 2013-07-29 2015-02-11 联想(北京)有限公司 Information processing method and electronic equipment
CN104615373A (en) * 2015-01-29 2015-05-13 上海华豚科技有限公司 Method for touch screen device to quit current operation and touch screen device
CN105392054A (en) * 2014-09-03 2016-03-09 乐视致新电子科技(天津)有限公司 Interface switching method and device, and intelligent television
CN106444830A (en) * 2016-09-23 2017-02-22 重庆零度智控智能科技有限公司 Braking method and device for flying device
CN107066174A (en) * 2017-04-13 2017-08-18 广州神马移动信息科技有限公司 Floating layer display methods, device and user terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103226446A (en) * 2013-05-16 2013-07-31 北京奇虎科技有限公司 Event response method for user interfacof mobile equipment and mobile equipment
CN104346086A (en) * 2013-07-29 2015-02-11 联想(北京)有限公司 Information processing method and electronic equipment
CN105392054A (en) * 2014-09-03 2016-03-09 乐视致新电子科技(天津)有限公司 Interface switching method and device, and intelligent television
CN104615373A (en) * 2015-01-29 2015-05-13 上海华豚科技有限公司 Method for touch screen device to quit current operation and touch screen device
CN106444830A (en) * 2016-09-23 2017-02-22 重庆零度智控智能科技有限公司 Braking method and device for flying device
CN107066174A (en) * 2017-04-13 2017-08-18 广州神马移动信息科技有限公司 Floating layer display methods, device and user terminal

Also Published As

Publication number Publication date
CN109144364B (en) 2020-11-10

Similar Documents

Publication Publication Date Title
CN103097996B (en) Motion control touch screen method and apparatus
CN106293315B (en) Method and device for displaying floating window
US8614682B2 (en) Touchscreen panel unit, scrolling control method, and recording medium
KR102092132B1 (en) Electronic apparatus providing hovering input effect and control method thereof
US20140362003A1 (en) Apparatus and method for selecting object by using multi-touch, and computer readable recording medium
CN108037888B (en) Skill control method, skill control device, electronic equipment and storage medium
CN104615374B (en) The method and device that terminal is entered the operating instructions
CN108553894B (en) Display control method and device, electronic equipment and storage medium
CN108897489A (en) Exchange method, system, equipment and the storage medium that the page returns
CN107562338B (en) Picture inspection method, device, electronic equipment and storage medium
CN107291277B (en) Method, device, equipment and storage medium for preventing false touch
CN105144072A (en) Emulating pressure sensitivity on multi-touch devices
CN103389850B (en) A kind of method and device realizing prompt operation on a web browser
CN103955339A (en) Terminal operation method and terminal equipment
CN103699259A (en) Cursor positioning method, cursor positioning system and touch equipment
CN104679485A (en) Page element control method and device
US10345932B2 (en) Disambiguation of indirect input
CN107092434A (en) Overlay target system of selection and device, storage medium, electronic equipment
CN110162218A (en) Interface control method and device, storage medium, the electronic equipment of application program
CN103488424A (en) Method and device for displaying information
CN103279304B (en) Method and device for displaying selected icon and mobile device
CN117130518A (en) Control display method, head display device, electronic device and readable storage medium
US20170031463A1 (en) Single-hand, full-screen interaction on a mobile device
CN109144364A (en) Exchange method, system, equipment and the storage medium that floating layer is dismissed
CN110248023A (en) Intelligent terminal control method, device, equipment and medium

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
GR01 Patent grant
GR01 Patent grant