CN113867589A - Page floating window generation method, device, equipment and storage medium - Google Patents

Page floating window generation method, device, equipment and storage medium Download PDF

Info

Publication number
CN113867589A
CN113867589A CN202111155391.0A CN202111155391A CN113867589A CN 113867589 A CN113867589 A CN 113867589A CN 202111155391 A CN202111155391 A CN 202111155391A CN 113867589 A CN113867589 A CN 113867589A
Authority
CN
China
Prior art keywords
floating window
gesture animation
preset
preset control
generating
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
CN202111155391.0A
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.)
Guangzhou Quwan Network Technology Co Ltd
Original Assignee
Guangzhou Quwan Network Technology 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 Guangzhou Quwan Network Technology Co Ltd filed Critical Guangzhou Quwan Network Technology Co Ltd
Priority to CN202111155391.0A priority Critical patent/CN113867589A/en
Publication of CN113867589A publication Critical patent/CN113867589A/en
Pending legal-status Critical Current

Links

Images

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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • 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
    • G06F3/04883Interaction 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 for inputting data by handwriting, e.g. gesture or text

Landscapes

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

Abstract

The application discloses a method, a device, equipment and a storage medium for generating a page floating window, wherein the method comprises the following steps: acquiring a floating window generation instruction input through a preset control of the intelligent terminal; when the floating window generation instruction is judged to be a gesture animation passing state, judging whether the gesture animation corresponding to the floating window generation instruction is a preset gesture animation; when the gesture animation is judged to be preset gesture animation, judging whether the ending position of the gesture animation at the end is located in the preset control or not; and when the finger position at the end of the gesture animation is judged to be positioned in the preset control, generating a page floating window corresponding to the floating window generating instruction. The method solves the technical problem that the existing page floating window generation method is relatively complicated in operation of a user in the generation process and causes relatively poor user experience.

Description

Page floating window generation method, device, equipment and storage medium
Technical Field
The application relates to the technical field of mobile internet, in particular to a method, a device, equipment and a storage medium for generating a page floating window.
Background
With the development of mobile internet, intelligent terminals (such as smart phones) are more and more popular, and meanwhile, application programs of the intelligent terminals are more and more abundant. Many application developers have employed floating window technology to increase the affinity of applications for user interaction, i.e., when an application moves back to the background, a control (hereinafter referred to as a "floating window") is displayed on the desktop or other application interface in a floating manner, in order to hopefully allow the user to view the relevant information on the application in a timely manner. Gradually, with the development of application program technology, a floating window of a certain page can be realized in an application program so as to view page information at any time.
In the prior art, when a certain APP wants a certain page to generate a floating window, a page closing button needs to be clicked first, at the moment, a control pops up to inquire whether a user needs to generate the floating window or not, the user clicks and confirms and then generates the floating window, and the operation of the user in the whole generation process is complex, so that the user experience is poor. Therefore, it is an urgent technical problem to be solved by those skilled in the art to provide a page floating window generation method with convenient operation.
Disclosure of Invention
The application provides a method, a device, equipment and a storage medium for generating a floating page window, which solve the technical problem that the existing method for generating the floating page window is relatively complicated in operation of a user in the generation process and causes poor user experience.
In view of this, a first aspect of the present application provides a method for generating a floating window of a page, including:
acquiring a floating window generation instruction input through a preset control of the intelligent terminal;
when the floating window generation instruction is judged to be a gesture animation passing state, judging whether the gesture animation corresponding to the floating window generation instruction is a preset gesture animation;
when the gesture animation is judged to be preset gesture animation, judging whether the ending position of the gesture animation at the end is located in the preset control or not;
and when the finger position at the end of the gesture animation is judged to be positioned in the preset control, generating a page floating window corresponding to the floating window generating instruction.
Optionally, before obtaining the floating window generation instruction input through the preset control of the intelligent terminal, the method further includes:
judging whether the preset control exists in a screen of the intelligent terminal;
when the situation that the preset control does not exist in the screen of the intelligent terminal is judged, acquiring a control adding instruction of the preset control;
and adding the preset control in the screen of the intelligent terminal according to the control adding instruction.
Optionally, the preset gesture animation is a gesture animation with a sliding length larger than half of the screen length of the intelligent terminal;
judging whether the gesture animation corresponding to the floating window generation instruction is a preset gesture animation, specifically comprising the following steps:
acquiring a sliding length corresponding to the gesture animation;
acquiring the screen length of the intelligent terminal;
and judging whether the sliding length is greater than half of the length of the screen, if so, judging that the gesture animation is a preset gesture animation.
Optionally, the preset control is loaded and displayed in a preset area of the intelligent terminal.
Optionally, the method further comprises:
and when the finger position at the end of the gesture animation is judged not to be positioned in the preset control, closing the generation process of the floating window.
Optionally, the determining whether the ending position of the gesture animation when ending is located in the preset control specifically includes:
acquiring the coordinates of the ending position when the gesture animation ends;
and judging whether the ending position coordinate is located in a coordinate area corresponding to the preset control, and if so, judging that the position of the gesture animation at the end is located in the preset control.
Optionally, the preset control is in a semicircular shape.
The second aspect of the present application provides a page floating window generating apparatus, including:
the system comprises a first acquisition unit, a second acquisition unit and a control unit, wherein the first acquisition unit is used for acquiring a floating window generation instruction input through a preset control of the intelligent terminal;
the first judgment unit is used for judging whether the gesture animation corresponding to the floating window generation instruction is a preset gesture animation or not when the floating window generation instruction is judged to be the gesture animation passing;
the second judging unit is used for judging whether the ending position of the gesture animation is positioned in the preset control or not when the gesture animation is judged to be the preset gesture animation;
and the generating unit is used for generating a page floating window corresponding to the floating window generating instruction when the finger position at the end of the gesture animation is judged to be positioned in the preset control.
Optionally, the apparatus for generating a floating page window further includes:
the third judging unit is used for judging whether the preset control exists in the screen of the intelligent terminal;
the second obtaining unit is used for obtaining a control adding instruction of the preset control when the situation that the preset control does not exist in the screen of the intelligent terminal is judged;
and the adding unit is used for adding the preset control in the screen of the intelligent terminal according to the control adding instruction.
A third aspect of the present application provides a floating-window generating device, including a processor and a memory;
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is configured to execute any of the above floating window generation methods according to instructions in the program code.
A fourth aspect of the present application provides a storage medium, where the storage medium is used to store a program code, and the program code is used to execute any one of the above floating window generating methods of the first aspect.
From the above technical method, the present application has the following advantages:
the method for generating the page floating window comprises the steps of firstly obtaining a floating window generation instruction input through a preset control of an intelligent terminal, then judging whether a gesture animation corresponding to the floating window generation instruction is a preset gesture animation when the floating window generation instruction is judged to be the gesture animation, then judging whether an end position of the gesture animation when the gesture animation is judged to be the preset gesture animation is located in the preset control, and finally generating the page floating window corresponding to the floating window generation instruction when a finger position of the gesture animation when the gesture animation is judged to be ended is located in the preset control. In the whole process, a user can generate the corresponding page floating window only by inputting a floating window generating instruction in a gesture mode, and the operation is simple, so that the technical problem that the user experience is poor due to the fact that the operation of the user is complicated in the generating process in the existing page floating window generating method is solved.
Drawings
In order to more clearly illustrate the technical method in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without inventive labor.
Fig. 1 is a schematic flowchart of a first embodiment of a method for generating a floating window of a page in an embodiment of the present application;
fig. 2 is a flowchart illustrating a second embodiment of a method for generating a floating window of a page in an embodiment of the present application;
fig. 3 is a schematic structural diagram of an embodiment of a floating page window generation apparatus in an embodiment of the present application.
Detailed Description
The embodiment of the application provides a method, a device, equipment and a storage medium for generating a page floating window, and solves the technical problem that the existing page floating window generating method is relatively complex in operation of a user in the generating process, so that the user experience is relatively poor.
In order to make the method of the present application better understood, the technical method in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
To facilitate understanding, please refer to fig. 1, where fig. 1 is a schematic flowchart of a first embodiment of a method for generating a floating window of a page in an embodiment of the present application.
The method for generating the floating window of the page in the embodiment comprises the following steps:
step 101, obtaining a floating window generation instruction input through a preset control of an intelligent terminal.
And 102, when the floating window generation instruction is judged to be the gesture animation passing, judging whether the gesture animation corresponding to the floating window generation instruction is the preset gesture animation.
And 103, when the gesture animation is judged to be the preset gesture animation, judging whether the ending position of the gesture animation is located in the preset control or not.
And step 104, when the finger position at the end of the gesture animation is judged to be positioned in the preset control, generating a page floating window corresponding to the floating window generation instruction.
The method for generating the page floating window in the embodiment includes the steps of firstly obtaining a floating window generation instruction input through a preset control of an intelligent terminal, then judging whether a gesture animation corresponding to the floating window generation instruction is a preset gesture animation when the floating window generation instruction is judged to be the gesture animation, then judging whether an end position of the gesture animation when the gesture animation is judged to be the preset gesture animation is located in the preset control, and finally generating the page floating window corresponding to the floating window generation instruction when a finger position of the gesture animation when the gesture animation is judged to be ended is located in the preset control. In the whole process, a user can generate the corresponding page floating window only by inputting a floating window generating instruction in a gesture mode, and the operation is simple, so that the technical problem that the user experience is poor due to the fact that the operation of the user is complicated in the generating process in the existing page floating window generating method is solved.
The above is a first embodiment of a method for generating a floating window of a page provided in the present application, and the following is a second embodiment of the method for generating a floating window of a page provided in the present application.
Referring to fig. 2, fig. 2 is a flowchart illustrating a second embodiment of a method for generating a floating window of a page in the present application.
The method for generating the floating window of the page in the embodiment comprises the following steps:
step 201, judging whether a screen of the intelligent terminal has a preset control.
It can be understood that the preset control is loaded and displayed in a preset area of the intelligent terminal. Further, the preset control in this embodiment corresponds to a semicircular shape.
Step 202, when it is judged that no preset control exists in the screen of the intelligent terminal, acquiring a control adding instruction of the preset control.
And 203, adding a preset control in the screen of the intelligent terminal according to the control adding instruction.
And 204, acquiring a floating window generation instruction input through a preset control of the intelligent terminal.
And step 205, when the floating window generation instruction is judged to pass through the gesture animation, acquiring the sliding length corresponding to the gesture animation.
And step 206, acquiring the screen length of the intelligent terminal.
And step 207, judging whether the sliding length is larger than half of the screen length, and if so, judging the gesture animation to be a preset gesture animation.
And step 208, when the gesture animation is judged to be the preset gesture animation, acquiring the ending position coordinate when the gesture animation is ended.
And 209, judging whether the ending position coordinate is located in a coordinate area corresponding to the preset control, and if so, judging that the position of the gesture animation at the end is located in the preset control.
And step 210, when the finger position at the end of the gesture animation is judged to be in the preset control, generating a page floating window corresponding to the floating window generation instruction.
And step 211, closing the generation process of the floating window when the finger position at the end of the gesture animation is judged not to be positioned in the preset control.
The method for generating the page floating window in the embodiment includes the steps of firstly obtaining a floating window generation instruction input through a preset control of an intelligent terminal, then judging whether a gesture animation corresponding to the floating window generation instruction is a preset gesture animation when the floating window generation instruction is judged to be the gesture animation, then judging whether an end position of the gesture animation when the gesture animation is judged to be the preset gesture animation is located in the preset control, and finally generating the page floating window corresponding to the floating window generation instruction when a finger position of the gesture animation when the gesture animation is judged to be ended is located in the preset control. In the whole process, a user can generate the corresponding page floating window only by inputting a floating window generating instruction in a gesture mode, and the operation is simple, so that the technical problem that the user experience is poor due to the fact that the operation of the user is complicated in the generating process in the existing page floating window generating method is solved.
For convenience of understanding, in this embodiment, a detailed description is given to a generation process of the page floating window by taking a preset gesture animation as a sideslip animation as an example:
the system sideslip return animation is transition animation, but the system does not disclose the relevant interface of the animation, the progress of gesture return is required to be acquired, the snooping can be realized through Runtime, and the relevant interface is found from a stack of interfaces:
1. updateInteractiveTransition, a sideslip process;
2. finish sideslip in finshInteractivetransition, transitionContext;
3. cancel Interactive transition TransitionContext cancels sideslip.
Obviously, the 3 interfaces are private interfaces for controlling the sideslip animation through gestures, and if the existence of the interfaces is known, the Runtime exchange is used for monitoring the gesture of the user for realizing the process, and the specific steps are as follows:
step one, creating a single case for managing a judgment semicircle (namely, a preset control, which can be customized into other views, and a semicircle demonstration is used here) at the lower right corner and a controller needing to generate a floating window:
step two, firstly, judging that the semicircle is added to the screen of the mobile phone before the updateInteractiveTransition, determining that the semicircle is added through a sideslip animation triggered by a gesture, then obtaining the sliding progress in the updateInteractiveTransition, for example, the judging condition is that the semicircle can be generated when the sliding exceeds half of the screen, and finally, judging whether the finger is in the area of the judging semicircle in the finshinteractivetransition, and if so, generating the floating window.
Specifically, for the animation generated by the page floating window, the mask view is firstly used for shrinking, and then the center is set as the target point.
And for the stop of generating the animation, establishing a View for making the floating window animation, putting a screenshot acquired by calling snapshot View to the View of the controller, and setting the initial position of the floating window animation. In the process of the sideslip animation, percentage can be regarded as the ratio of x of the view of the controller on a screen, is placed on a navigation controller. Opening the animation and floating window animation are opposite processes, and reference may be specifically made to the above description, which is not described herein again.
The above is an embodiment of a method for generating a floating page window provided in the embodiments of the present application, and the following is an embodiment of a device for generating a floating page window provided in the embodiments of the present application.
Referring to fig. 3, the apparatus for generating a floating page window in the present embodiment specifically includes:
a first obtaining unit 301, configured to obtain a floating window generation instruction input through a preset control of an intelligent terminal;
the first judging unit 302 is configured to, when it is judged that the floating window generation instruction passes through the gesture animation, judge whether the gesture animation corresponding to the floating window generation instruction is a preset gesture animation;
the second judging unit 303 is configured to, when it is judged that the gesture animation is the preset gesture animation, judge whether an end position of the gesture animation at the end is located in the preset control;
and the generating unit 304 is configured to generate a page floating window corresponding to the floating window generating instruction when it is determined that the finger position at the time of ending the gesture animation is located in the preset control.
Optionally, the method further comprises:
the third judging unit is used for judging whether a preset control exists in a screen of the intelligent terminal;
the second acquisition unit is used for acquiring a control adding instruction of the preset control when the situation that the screen of the intelligent terminal does not have the preset control is judged;
and the adding unit is used for adding a preset control in the screen of the intelligent terminal according to the control adding instruction.
Optionally, the preset gesture animation is gesture animation with a sliding length larger than half of the screen length of the intelligent terminal;
judging whether the gesture animation corresponding to the floating window generation instruction is a preset gesture animation, specifically comprising the following steps:
acquiring a sliding length corresponding to the gesture animation;
acquiring the screen length of the intelligent terminal;
and judging whether the sliding length is greater than half of the screen length, and if so, judging the gesture animation to be a preset gesture animation.
Optionally, the preset control is loaded and displayed in a preset area of the intelligent terminal.
Optionally, the method further comprises:
and the closing unit is used for closing the generation process of the floating window when the finger position at the end of the gesture animation is judged not to be positioned in the preset control.
Optionally, the determining whether the ending position of the gesture animation when ending is located in the preset control specifically includes:
acquiring an ending position coordinate when the gesture animation is ended;
and judging whether the ending position coordinate is located in a coordinate area corresponding to the preset control, and if so, judging that the position of the gesture animation at the end is located in the preset control.
The device for generating the page floating window in the embodiment first obtains a floating window generation instruction input through a preset control of an intelligent terminal, then judges whether a gesture animation corresponding to the floating window generation instruction is a preset gesture animation when the floating window generation instruction is judged to be the gesture animation, then judges whether an end position of the gesture animation when the gesture animation is judged to be the preset gesture animation is located in the preset control, and finally generates the page floating window corresponding to the floating window generation instruction when a finger position of the gesture animation when the gesture animation is judged to be ended is located in the preset control. In the whole process, a user can generate the corresponding page floating window only by inputting a floating window generating instruction in a gesture mode, and the operation is simple, so that the technical problem that the user experience is poor due to the fact that the operation of the user is complicated in the generating process in the existing page floating window generating method is solved.
The embodiment of the application also provides an embodiment of a page floating window generating device, wherein the detecting device in the embodiment comprises a processor and a memory; the memory is used for storing the program codes and transmitting the program codes to the processor; the processor is used for executing the page floating window generation method in the foregoing embodiment according to instructions in the program code.
The embodiment of the present application further provides an embodiment of a storage medium, where the storage medium in this embodiment is used to store a program code, and the program code is used to execute the page floating window generating method in the foregoing embodiment.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The terms "first," "second," "third," "fourth," and the like in the description of the application and the above-described figures, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be understood that in the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" for describing an association relationship of associated objects, indicating that there may be three relationships, e.g., "a and/or B" may indicate: only A, only B and both A and B are present, wherein A and B may be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of single item(s) or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b, c may be single or plural.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method of the embodiments of the present application. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (10)

1. A method for generating a floating window of a page is characterized by comprising the following steps:
acquiring a floating window generation instruction input through a preset control of the intelligent terminal;
when the floating window generation instruction is judged to be a gesture animation passing state, judging whether the gesture animation corresponding to the floating window generation instruction is a preset gesture animation;
when the gesture animation is judged to be preset gesture animation, judging whether the ending position of the gesture animation at the end is located in the preset control or not;
and when the finger position at the end of the gesture animation is judged to be positioned in the preset control, generating a page floating window corresponding to the floating window generating instruction.
2. The method for generating the floating window of the page according to claim 1, wherein before acquiring the floating window generation instruction input through the preset control of the intelligent terminal, the method further comprises:
judging whether the preset control exists in a screen of the intelligent terminal;
when the situation that the preset control does not exist in the screen of the intelligent terminal is judged, acquiring a control adding instruction of the preset control;
and adding the preset control in the screen of the intelligent terminal according to the control adding instruction.
3. The page floating window generation method according to claim 1, wherein the preset gesture animation is a gesture animation with a sliding length greater than half of a screen length of the intelligent terminal;
judging whether the gesture animation corresponding to the floating window generation instruction is a preset gesture animation, specifically comprising the following steps:
acquiring a sliding length corresponding to the gesture animation;
acquiring the screen length of the intelligent terminal;
and judging whether the sliding length is greater than half of the length of the screen, if so, judging that the gesture animation is a preset gesture animation.
4. The method for generating the floating window on the page according to claim 1, wherein the preset control is loaded and displayed in a preset area of the intelligent terminal.
5. The method of generating a floating window in a page of claim 1, wherein the method further comprises:
and when the finger position at the end of the gesture animation is judged not to be positioned in the preset control, closing the generation process of the floating window.
6. The method for generating a page floating window according to claim 1, wherein the step of judging whether the ending position of the gesture animation is located in the preset control specifically comprises:
acquiring the coordinates of the ending position when the gesture animation ends;
and judging whether the ending position coordinate is located in a coordinate area corresponding to the preset control, and if so, judging that the position of the gesture animation at the end is located in the preset control.
7. A floating-window page generating apparatus, comprising:
the system comprises a first acquisition unit, a second acquisition unit and a control unit, wherein the first acquisition unit is used for acquiring a floating window generation instruction input through a preset control of the intelligent terminal;
the first judgment unit is used for judging whether the gesture animation corresponding to the floating window generation instruction is a preset gesture animation or not when the floating window generation instruction is judged to be the gesture animation passing;
the second judging unit is used for judging whether the ending position of the gesture animation is positioned in the preset control or not when the gesture animation is judged to be the preset gesture animation;
and the generating unit is used for generating a page floating window corresponding to the floating window generating instruction when the finger position at the end of the gesture animation is judged to be positioned in the preset control.
8. The apparatus for generating a floating page window according to claim 7, further comprising:
the third judging unit is used for judging whether the preset control exists in the screen of the intelligent terminal;
the second obtaining unit is used for obtaining a control adding instruction of the preset control when the situation that the preset control does not exist in the screen of the intelligent terminal is judged;
and the adding unit is used for adding the preset control in the screen of the intelligent terminal according to the control adding instruction.
9. A floating-window generating device, comprising a processor and a memory;
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is configured to execute the floating window generation method according to any one of claims 1 to 6 according to instructions in the program code.
10. A storage medium for storing program code for executing the floating window generation method of any one of claims 1 to 6.
CN202111155391.0A 2021-09-29 2021-09-29 Page floating window generation method, device, equipment and storage medium Pending CN113867589A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111155391.0A CN113867589A (en) 2021-09-29 2021-09-29 Page floating window generation method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111155391.0A CN113867589A (en) 2021-09-29 2021-09-29 Page floating window generation method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113867589A true CN113867589A (en) 2021-12-31

Family

ID=79000842

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111155391.0A Pending CN113867589A (en) 2021-09-29 2021-09-29 Page floating window generation method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113867589A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104049900A (en) * 2014-06-30 2014-09-17 北京安兔兔科技有限公司 Floating window closing method and device
CN108776568A (en) * 2018-06-07 2018-11-09 腾讯科技(深圳)有限公司 Display methods, device, terminal and the storage medium of Webpage
CN110069183A (en) * 2019-04-29 2019-07-30 上海盛付通电子支付服务有限公司 The method and apparatus of information for rendering
CN112241227A (en) * 2019-07-19 2021-01-19 腾讯科技(深圳)有限公司 Interface display method, device, terminal and storage medium
CN112732157A (en) * 2020-12-31 2021-04-30 展讯通信(天津)有限公司 Media file playing control method and device, electronic equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104049900A (en) * 2014-06-30 2014-09-17 北京安兔兔科技有限公司 Floating window closing method and device
CN108776568A (en) * 2018-06-07 2018-11-09 腾讯科技(深圳)有限公司 Display methods, device, terminal and the storage medium of Webpage
CN110069183A (en) * 2019-04-29 2019-07-30 上海盛付通电子支付服务有限公司 The method and apparatus of information for rendering
CN112241227A (en) * 2019-07-19 2021-01-19 腾讯科技(深圳)有限公司 Interface display method, device, terminal and storage medium
CN112732157A (en) * 2020-12-31 2021-04-30 展讯通信(天津)有限公司 Media file playing control method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110890970B (en) Method and device for creating group, storage medium and electronic equipment
CN108287657B (en) Skill applying method and device, storage medium and electronic equipment
US9152529B2 (en) Systems and methods for dynamically altering a user interface based on user interface actions
CN108037888B (en) Skill control method, skill control device, electronic equipment and storage medium
US9519401B2 (en) Providing context menu based on predicted commands
CN108579089B (en) Virtual item control method and device, storage medium and electronic equipment
CN109857303B (en) Interaction control method and device
CN107066188B (en) A kind of method and terminal sending screenshot picture
CN108764873B (en) Service processing method, device and equipment
CN113407086A (en) Object dragging method, device and storage medium
CN107766106B (en) The method and apparatus for generating configuration file
KR20150001095A (en) Method for processing character input and apparatus for the same
CN110968553A (en) Method and device for sorting elements in directory tree
CN111597009B (en) Application program display method and device and terminal equipment
CN113244611B (en) Virtual article processing method, device, equipment and storage medium
CN109298809A (en) A kind of touch action recognition methods, device and terminal device
US20170168581A1 (en) Method and Device for Controlling Operation Components Based on Somatosensory
CN105393214B (en) Self-revealing symbolic gestures
CN107272989B (en) Using starting method, apparatus and terminal device
CN106934616A (en) A kind of service implementation method and device based on NFC technique
CN113867589A (en) Page floating window generation method, device, equipment and storage medium
CN114625253A (en) Interaction method, interaction device and storage medium
CN107077272B (en) Hit testing to determine enabling direct manipulation in response to user action
CN107885452A (en) 3D Touch analogy methods and device, computer installation and computer-readable recording medium
CN107291351A (en) Data entry device and device

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