CN107317853B - Method, device and system for displaying dynamic effect of message popup window - Google Patents
Method, device and system for displaying dynamic effect of message popup window Download PDFInfo
- Publication number
- CN107317853B CN107317853B CN201710471873.4A CN201710471873A CN107317853B CN 107317853 B CN107317853 B CN 107317853B CN 201710471873 A CN201710471873 A CN 201710471873A CN 107317853 B CN107317853 B CN 107317853B
- Authority
- CN
- China
- Prior art keywords
- displayed
- message popup
- message
- popup
- information
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/51—Discovery or management thereof, e.g. service location protocol [SLP] or web services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/50—Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention provides a method, a device and a system for displaying the dynamic effect of a message popup window, wherein the method comprises the following steps: receiving a message popup window triggering instruction of a terminal user and receiving information of a message popup window to be displayed, which is returned by a server and matched with the message popup window triggering instruction, wherein the information comprises: the dynamic effect display mode and the size information of the message popup to be displayed, and the position information and the size information of each control are displayed; the method comprises the steps of determining the display size information of the message popup to be displayed at each stage in the display process according to the dynamic effect display mode of the message popup to be displayed, rendering the message popup to be displayed according to the display size information of the message popup to be displayed at each stage and the preset rendering speed until the message popup to be displayed is completely displayed, avoiding repeated calculation of position information and size information of each control in the dynamic effect display process of the message popup, avoiding repeated rendering of each control, reducing consumption of resources such as a display terminal CPU (central processing unit), improving the display speed and improving the display effect.
Description
Technical Field
The invention relates to the technical field of network communication, in particular to a method, a device and a system for displaying the dynamic effect of a message popup window.
Background
In the current market, there are many implementation manners for displaying the dynamic effect of the message popup, wherein the main implementation manner is that in the dynamic effect displaying process of the message popup, a display terminal calculates the size information and the position information of each control in the message popup according to the current display size information of the message popup, and performs rendering operation according to the size information and the position information of each control; when the display size information of the message popup is changed, the display terminal needs to calculate the size information and the position information of each control in the popup again according to the current display size information of the message popup, and perform rendering operation again to display the message popup.
However, in the above dynamic effect display method for the message popup, multiple computations and multiple renderings need to be performed on each control, which increases the consumption of resources such as a CPU of the display terminal, reduces the display speed, and provides a terminal user with a popup window which is continuously and heuristically displayed, resulting in poor display effect.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art.
Therefore, a first objective of the present invention is to provide a method for displaying a message popup window dynamic effect, which is used to solve the problems of large resource consumption and poor display effect in the prior art.
The second purpose of the invention is to provide a message popup window dynamic effect display device.
The third purpose of the invention is to provide a message popup window dynamic effect display system.
The fourth purpose of the invention is to provide another message popup window dynamic effect display device.
A fifth object of the invention is to propose a non-transitory computer-readable storage medium.
A sixth object of the invention is to propose a computer program product.
To achieve the above object, an embodiment of a first aspect of the present invention provides a method for displaying a message popup window dynamic effect, including:
receiving a message popup triggering instruction of a terminal user; the message popup trigger instruction carries: model information of the terminal and an identifier of a message popup;
sending the message popup window triggering instruction to a server;
receiving information of a message popup to be displayed, which is returned by the server and matched with the message popup triggering instruction, wherein the information of the message popup to be displayed comprises: the method comprises the steps that a dynamic effect display mode of a message popup to be displayed, size information of the message popup to be displayed, and position information and size information of each control in the message popup to be displayed are obtained;
the method comprises the steps of determining display size information of a message popup to be displayed at each stage in a display process according to a dynamic effect display mode of the message popup to be displayed, and rendering the message popup to be displayed according to the display size information of the message popup to be displayed at each stage and a preset rendering speed until the message popup to be displayed is completely displayed.
The message popup dynamic effect display method of the embodiment of the invention receives a message popup trigger instruction of a terminal user; the message popup trigger instruction carries: model information of the terminal and an identifier of a message popup; sending a message popup window triggering instruction to a server; receiving information of a message popup to be displayed, which is returned by the server and matched with the message popup triggering instruction, wherein the information of the message popup to be displayed comprises: the method comprises the steps that the dynamic effect display mode of a message popup to be displayed, the size information of the message popup to be displayed, and the position information and the size information of each control in the message popup to be displayed are determined; the method comprises the steps of determining the display size information of the message popup to be displayed at each stage in the display process according to the dynamic effect display mode of the message popup to be displayed, rendering the message popup to be displayed according to the display size information of the message popup to be displayed at each stage and the preset rendering speed until the message popup to be displayed is completely displayed, avoiding repeated calculation of position information and size information of each control in the dynamic effect display process of the message popup, avoiding repeated rendering of each control, reducing consumption of resources such as a display terminal CPU (central processing unit), improving the display speed and improving the display effect.
In order to achieve the above object, a second aspect of the present invention provides a message popup window dynamic effect display apparatus, including:
the first receiving module is used for receiving a message popup window triggering instruction of a terminal user; the message popup trigger instruction carries: model information of the terminal and an identifier of a message popup;
the sending module is used for sending the message popup window triggering instruction to a server;
a second receiving module, configured to receive information of a message popup to be displayed, where the information of the message popup to be displayed is matched with the message popup trigger instruction and is returned by the server, where the information of the message popup to be displayed includes: the method comprises the steps that a dynamic effect display mode of a message popup to be displayed, size information of the message popup to be displayed, and position information and size information of each control in the message popup to be displayed are obtained;
the determining module is used for determining the display size information of the message popup to be displayed at each stage in the display process according to the dynamic effect display mode of the message popup to be displayed, and rendering the message popup to be displayed according to the display size information of the message popup to be displayed at each stage and the preset rendering speed until the message popup to be displayed is completely displayed.
The message popup window dynamic effect display device of the embodiment of the invention receives a message popup window triggering instruction of a terminal user; the message popup trigger instruction carries: model information of the terminal and an identifier of a message popup; sending a message popup window triggering instruction to a server; receiving information of a message popup to be displayed, which is returned by the server and matched with the message popup triggering instruction, wherein the information of the message popup to be displayed comprises: the method comprises the steps that the dynamic effect display mode of a message popup to be displayed, the size information of the message popup to be displayed, and the position information and the size information of each control in the message popup to be displayed are determined; the method comprises the steps of determining the display size information of the message popup to be displayed at each stage in the display process according to the dynamic effect display mode of the message popup to be displayed, rendering the message popup to be displayed according to the display size information of the message popup to be displayed at each stage and the preset rendering speed until the message popup to be displayed is completely displayed, avoiding repeated calculation of position information and size information of each control in the dynamic effect display process of the message popup, avoiding repeated rendering of each control, reducing consumption of resources such as a display terminal CPU (central processing unit), improving the display speed and improving the display effect.
In order to achieve the above object, a third embodiment of the present invention provides another message popup window dynamic effect display system, including:
a terminal and a server;
the terminal is connected with the server and used for receiving a message popup window triggering instruction of a terminal user; the message popup trigger instruction carries: model information of the terminal and an identifier of a message popup;
sending the message popup window triggering instruction to a server;
receiving information of a message popup to be displayed, which is returned by the server and matched with the message popup triggering instruction, wherein the information of the message popup to be displayed comprises: the method comprises the steps that a dynamic effect display mode of a message popup to be displayed, size information of the message popup to be displayed, and position information and size information of each control in the message popup to be displayed are obtained;
the method comprises the steps of determining display size information of a message popup to be displayed at each stage in a display process according to a dynamic effect display mode of the message popup to be displayed, and rendering the message popup to be displayed according to the display size information of the message popup to be displayed at each stage and a preset rendering speed until the message popup to be displayed is completely displayed.
In order to achieve the above object, a fourth aspect of the present invention provides another message popup window effect display apparatus, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the message popup window effect display method as described above when executing the program.
To achieve the above object, a fifth embodiment of the present invention proposes a non-transitory computer-readable storage medium, wherein instructions of the storage medium, when executed by a processor, implement the method as described above.
To achieve the above object, a sixth aspect of the present invention provides a computer program product, wherein when being executed by an instruction processor of the computer program product, a message popup window animation effect display method is performed, and the method includes:
receiving a message popup triggering instruction of a terminal user; the message popup trigger instruction carries: model information of the terminal and an identifier of a message popup;
sending the message popup window triggering instruction to a server;
receiving information of a message popup to be displayed, which is returned by the server and matched with the message popup triggering instruction, wherein the information of the message popup to be displayed comprises: the method comprises the steps that a dynamic effect display mode of a message popup to be displayed, size information of the message popup to be displayed, and position information and size information of each control in the message popup to be displayed are obtained;
the method comprises the steps of determining display size information of a message popup to be displayed at each stage in a display process according to a dynamic effect display mode of the message popup to be displayed, and rendering the message popup to be displayed according to the display size information of the message popup to be displayed at each stage and a preset rendering speed until the message popup to be displayed is completely displayed.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flowchart of a method for displaying a message popup window dynamic effect according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a message popup window dynamic effect display apparatus according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of another message popup window dynamic effect display apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of another message popup window dynamic effect display apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a message popup window dynamic effect display system according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of another message popup window dynamic effect display apparatus according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
The following describes a message popup window dynamic effect display method and device according to an embodiment of the present invention with reference to the accompanying drawings.
Fig. 1 is a flowchart illustrating a method for displaying a message popup window dynamic effect according to an embodiment of the present invention. As shown in fig. 1, the method for displaying the dynamic effect of the message popup window includes the following steps:
s101, receiving a message popup window triggering instruction of a terminal user; the message popup trigger instruction carries: model information of the terminal and an identifier of a message popup.
The execution main body of the message popup window dynamic effect display method is a message popup window dynamic effect display device, and the message popup window dynamic effect display device can be a terminal capable of displaying message popup windows, such as a mobile phone, a PAD, a touch display screen and the like. The terminal model information includes, for example, applet 4, applet 5, applet 6, and applet 6 plus. The identification of the message popup may be, for example, the number or serial number of the message popup. In this embodiment, the message popup trigger instruction is an action of the terminal user when clicking a corresponding button on the touch display screen of the terminal, and the terminal recognizes the action as the message popup trigger instruction.
And S102, sending the message popup window triggering instruction to a server.
In this embodiment, before the terminal sends the message popup trigger instruction to the server, the server may obtain model information of each terminal and corresponding information of each message popup to be displayed; determining the screen size of each terminal according to the model information of each terminal, and determining the appropriate size information of a message popup window displayed on the screen of each terminal according to the screen size of each terminal; calculating and determining the position information and the size information of each control in the message popup according to the proper size information of the message popup; and storing the model information of the terminal, the appropriate size information of each corresponding message popup, the size information and the position information of each control in the message popup, and the mapping relation between other information of the message popup into a preset database for query.
S103, receiving information of the message popup to be displayed, which is returned by the server and matched with the message popup triggering instruction, wherein the information of the message popup to be displayed comprises: the method comprises the steps of displaying the dynamic effect of a message popup to be displayed, displaying the size information of the message popup to be displayed, and displaying the position information and the size information of each control in the message popup to be displayed.
In this embodiment, when receiving the message popup trigger instruction, the server queries a preset database according to the model information of the terminal and the identifier of the message popup in the message popup trigger instruction, obtains the appropriate size information of the corresponding message popup matched with the model information, the size information and the position information of each control in the message popup, and parameter information such as the dynamic effect display mode of the message popup, and carries the information in the information of the message popup to be displayed to provide to the terminal.
S104, determining the display size information of the message popup to be displayed at each stage in the display process according to the dynamic effect display mode of the message popup to be displayed, and rendering the message popup to be displayed according to the display size information of the message popup to be displayed at each stage and the preset rendering speed until the message popup to be displayed is completely displayed.
In this step, the message popup dynamic effect display device may specifically execute the following process: determining the display size information of the message popup to be displayed at each stage in the display process according to the dynamic effect display mode of the message popup to be displayed; determining rendering parameter information of a first stage according to the display size information of the popup window of the message to be displayed of the first stage; rendering the message popup to be displayed according to the rendering parameter information of the first stage and a preset rendering speed so as to display a first dynamic effect of the message popup to be displayed; and when the displayed size of the message popup to be displayed meets the display size information, determining rendering parameter information of the second stage according to the display size information of the message popup to be displayed of the second stage and rendering until the message popup to be displayed is completely displayed.
For example, the dynamic effect display of the message popup from the middle of the terminal display screen to the two sides is taken as an example for explanation, it is assumed that the dynamic effect display of the message popup comprises three stages, and the message popup displayed in the first stage is a rectangular area with a first width; the message popup displayed in the second stage is a rectangular area with a second width; and the message popup displayed in the third stage is a rectangular area with a third width matched with the model information. In the first stage, the message popup window dynamic effect display device only renders partial controls or partial areas of the controls in the rectangular area with the first width, so that a terminal user can view partial message popup window contents in the rectangular area with the first width; in the second stage, the message popup window moving effect display device only renders partial controls or partial areas of the controls in the rectangular area with the second width, so that a terminal user can view partial message popup window contents in the rectangular area with the second width; in the third stage, the message popup dynamic effect display device renders all areas of the message popup, so that the terminal user can view all contents of the message popup. Wherein the first width is less than the second width; the second width is less than the third width.
Further, before step 104, the method may further include: receiving a control attribute setting instruction of a terminal user carrying the attributes of each control, wherein the attributes of each control comprise: the color and rendering speed of the control; and setting the attribute of each control in the message popup to be displayed according to the control attribute setting instruction.
In this embodiment, the attribute of the control setTouchAble () may be set, including color, rendering speed, and the like.
The message popup dynamic effect display method provided by the invention receives a message popup trigger instruction of a terminal user; the message popup trigger instruction carries: model information of the terminal and an identifier of a message popup; sending a message popup window triggering instruction to a server; receiving information of a message popup to be displayed, which is returned by the server and matched with the message popup triggering instruction, wherein the information of the message popup to be displayed comprises: the method comprises the steps that the dynamic effect display mode of a message popup to be displayed, the size information of the message popup to be displayed, and the position information and the size information of each control in the message popup to be displayed are determined; the method comprises the steps of determining the display size information of the message popup to be displayed at each stage in the display process according to the dynamic effect display mode of the message popup to be displayed, rendering the message popup to be displayed according to the display size information of the message popup to be displayed at each stage and the preset rendering speed until the message popup to be displayed is completely displayed, avoiding repeated calculation of position information and size information of each control in the dynamic effect display process of the message popup, avoiding repeated rendering of each control, reducing consumption of resources such as a display terminal CPU (central processing unit), improving the display speed and improving the display effect.
Fig. 2 is a schematic structural diagram of a message popup window dynamic effect display apparatus according to an embodiment of the present invention. As shown in fig. 2, includes: a first receiving module 21, a sending module 22, a second receiving module 23 and a determining module 24.
The first receiving module 21 is configured to receive a message popup trigger instruction of a terminal user; the message popup trigger instruction carries: model information of the terminal and an identifier of a message popup;
the sending module 22 is configured to send the message popup trigger instruction to a server;
a second receiving module 23, configured to receive information of a message popup to be displayed, which is returned by the server and matches the message popup trigger instruction, where the information of the message popup to be displayed includes: the method comprises the steps that a dynamic effect display mode of a message popup to be displayed, size information of the message popup to be displayed, and position information and size information of each control in the message popup to be displayed are obtained;
the determining module 24 is configured to determine display size information of the message popup to be displayed at each stage in a display process according to a dynamic effect display mode of the message popup to be displayed, and render the message popup to be displayed according to the display size information of the message popup to be displayed at each stage and a preset rendering speed until the message popup to be displayed is completely displayed.
The message popup window dynamic effect display device provided by the invention can be a terminal capable of displaying message popup windows, such as a mobile phone, a PAD, a touch display screen and the like. The terminal model information includes, for example, applet 4, applet 5, applet 6, and applet 6 plus. The identification of the message popup may be, for example, the number or serial number of the message popup. In this embodiment, the message popup trigger instruction is an action of the terminal user when clicking a corresponding button on the touch display screen of the terminal, and the terminal recognizes the action as the message popup trigger instruction.
In this embodiment, before the terminal sends the message popup trigger instruction to the server, the server may obtain model information of each terminal and corresponding information of each message popup to be displayed; determining the screen size of each terminal according to the model information of each terminal, and determining the appropriate size information of a message popup window displayed on the screen of each terminal according to the screen size of each terminal; calculating and determining the position information and the size information of each control in the message popup according to the proper size information of the message popup; and storing the model information of the terminal, the appropriate size information of each corresponding message popup, the size information and the position information of each control in the message popup, and the mapping relation between other information of the message popup into a preset database for query.
In this embodiment, when receiving the message popup trigger instruction, the server queries a preset database according to the model information of the terminal and the identifier of the message popup in the message popup trigger instruction, obtains the appropriate size information of the corresponding message popup matched with the model information, the size information and the position information of each control in the message popup, and parameter information such as the dynamic effect display mode of the message popup, and carries the information in the information of the message popup to be displayed to provide to the terminal.
The message popup dynamic effect display device provided by the invention receives a message popup trigger instruction of a terminal user; the message popup trigger instruction carries: model information of the terminal and an identifier of a message popup; sending a message popup window triggering instruction to a server; receiving information of a message popup to be displayed, which is returned by the server and matched with the message popup triggering instruction, wherein the information of the message popup to be displayed comprises: the method comprises the steps that the dynamic effect display mode of a message popup to be displayed, the size information of the message popup to be displayed, and the position information and the size information of each control in the message popup to be displayed are determined; the method comprises the steps of determining the display size information of the message popup to be displayed at each stage in the display process according to the dynamic effect display mode of the message popup to be displayed, rendering the message popup to be displayed according to the display size information of the message popup to be displayed at each stage and the preset rendering speed until the message popup to be displayed is completely displayed, avoiding repeated calculation of position information and size information of each control in the dynamic effect display process of the message popup, avoiding repeated rendering of each control, reducing consumption of resources such as a display terminal CPU (central processing unit), improving the display speed and improving the display effect.
Further, as shown in fig. 3, based on the embodiment shown in fig. 2, the message popup window dynamic effect display apparatus may further include: a third receiving module 25 and a setting module 26.
The third receiving module 25 is configured to receive a control attribute setting instruction of the terminal user, where the control attribute setting instruction carries an attribute of each control, where the attribute of each control includes: the color and rendering speed of the control;
and the setting module 26 is configured to set the attribute of each control in the message popup to be displayed according to the control attribute setting instruction.
In this embodiment, the attribute of the control setTouchAble () may be set, including color, rendering speed, and the like.
Further, as shown in fig. 4, on the basis of the embodiment shown in fig. 2, the determining module 24 may include: a first determination unit 241, a second determination unit 242, a rendering unit 243, and a third determination unit 244.
The first determining unit 241 is configured to determine, according to the dynamic effect display manner of the message popup to be displayed, display size information of the message popup to be displayed at each stage in the display process;
a second determining unit 242, configured to determine rendering parameter information of the first stage according to the display size information of the message popup to be displayed of the first stage;
a rendering unit 243, configured to render the message popup to be displayed according to the rendering parameter information of the first stage and a preset rendering speed, so as to display a first dynamic effect of the message popup to be displayed;
a third determining unit 244, configured to determine rendering parameter information of the second stage according to the display size information of the message popup to be displayed of the second stage and perform rendering until the message popup to be displayed is completely displayed when the displayed size of the message popup to be displayed satisfies the display size information.
For example, the dynamic effect display of the message popup from the middle of the terminal display screen to the two sides is taken as an example for explanation, it is assumed that the dynamic effect display of the message popup comprises three stages, and the message popup displayed in the first stage is a rectangular area with a first width; the message popup displayed in the second stage is a rectangular area with a second width; and the message popup displayed in the third stage is a rectangular area with a third width matched with the model information. In the first stage, the message popup window dynamic effect display device only renders partial controls or partial areas of the controls in the rectangular area with the first width, so that a terminal user can view partial message popup window contents in the rectangular area with the first width; in the second stage, the message popup window moving effect display device only renders partial controls or partial areas of the controls in the rectangular area with the second width, so that a terminal user can view partial message popup window contents in the rectangular area with the second width; in the third stage, the message popup dynamic effect display device renders all areas of the message popup, so that the terminal user can view all contents of the message popup. Wherein the first width is less than the second width; the second width is less than the third width.
Fig. 5 is a schematic structural diagram of a message popup window dynamic effect display system according to an embodiment of the present invention. As shown in fig. 5, includes: a terminal 51 and a server 52;
the terminal 51 is connected with the server 52 and is used for receiving a message popup triggering instruction of a terminal user; the message popup trigger instruction carries: model information of the terminal and an identifier of a message popup;
sending the message popup window triggering instruction to a server;
receiving information of a message popup to be displayed, which is returned by the server and matched with the message popup triggering instruction, wherein the information of the message popup to be displayed comprises: the method comprises the steps that a dynamic effect display mode of a message popup to be displayed, size information of the message popup to be displayed, and position information and size information of each control in the message popup to be displayed are obtained;
the method comprises the steps of determining display size information of a message popup to be displayed at each stage in a display process according to a dynamic effect display mode of the message popup to be displayed, and rendering the message popup to be displayed according to the display size information of the message popup to be displayed at each stage and a preset rendering speed until the message popup to be displayed is completely displayed.
In this embodiment, the specific operation process of the terminal and the server may refer to the embodiment shown in fig. 1, and will not be described in detail here.
Fig. 6 is a schematic structural diagram of another message popup window dynamic effect display apparatus according to an embodiment of the present invention. This news popup window moves imitates display device includes:
The processor 1002, when executing the program, implements the message popup dynamic effect display method provided in the above embodiments.
Further, the message popup window dynamic effect display device further comprises:
a communication interface 1003 for communicating between the memory 1001 and the processor 1002.
A memory 1001 for storing computer programs that may be run on the processor 1002.
The processor 1002 is configured to implement the message popup window dynamic effect display method according to the foregoing embodiment when executing the program.
If the memory 1001, the processor 1002, and the communication interface 1003 are implemented independently, the communication interface 1003, the memory 1001, and the processor 1002 may be connected to each other through a bus and perform communication with each other. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (Extended Industry Standard Architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 6, but this is not intended to represent only one bus or type of bus.
Optionally, in a specific implementation, if the memory 1001, the processor 1002, and the communication interface 1003 are integrated on one chip, the memory 1001, the processor 1002, and the communication interface 1003 may complete communication with each other through an internal interface.
The processor 1002 may be a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement embodiments of the present invention.
The present embodiment also provides a non-transitory computer readable storage medium, on which a computer program is stored, wherein the program is executed by a processor to implement the message popup window animation effect displaying method as described above.
The present embodiment also provides a computer program product, wherein when being executed by an instruction processor in the computer program product, a method for displaying a message popup window effect is performed, the method comprising:
receiving a message popup triggering instruction of a terminal user; the message popup trigger instruction carries: model information of the terminal and an identifier of a message popup;
sending the message popup window triggering instruction to a server;
receiving information of a message popup to be displayed, which is returned by the server and matched with the message popup triggering instruction, wherein the information of the message popup to be displayed comprises: the method comprises the steps that a dynamic effect display mode of a message popup to be displayed, size information of the message popup to be displayed, and position information and size information of each control in the message popup to be displayed are obtained;
the method comprises the steps of determining display size information of a message popup to be displayed at each stage in a display process according to a dynamic effect display mode of the message popup to be displayed, and rendering the message popup to be displayed according to the display size information of the message popup to be displayed at each stage and a preset rendering speed until the message popup to be displayed is completely displayed.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.
Claims (9)
1. A message popup window dynamic effect display method is characterized by comprising the following steps:
receiving a message popup triggering instruction of a terminal user; the message popup trigger instruction carries: model information of the terminal and an identifier of a message popup;
sending the message popup window triggering instruction to a server;
receiving information of a message popup to be displayed, which is returned by the server and matched with the message popup triggering instruction, wherein the information of the message popup to be displayed comprises: the method comprises the steps that a dynamic effect display mode of a message popup to be displayed, size information of the message popup to be displayed, and position information and size information of each control in the message popup to be displayed are obtained;
the method comprises the steps of determining display size information of a message popup to be displayed at each stage in time in a display process according to a dynamic effect display mode of the message popup to be displayed, and rendering the message popup to be displayed according to the display size information of the message popup to be displayed at each stage and a preset rendering speed until the message popup to be displayed is completely displayed.
2. The method according to claim 1, wherein before determining the display size information of the message popup to be displayed at each stage in the display process according to the dynamic effect display mode of the message popup to be displayed, the method further comprises:
receiving a control attribute setting instruction of the terminal user carrying the attributes of each control, wherein the attributes of each control comprise: the color and rendering speed of the control;
and setting the attribute of each control in the message popup to be displayed according to the control attribute setting instruction.
3. The method according to claim 1 or 2, wherein the determining of the display size information of the message popup to be displayed at each stage in the display process according to the dynamic effect display mode of the message popup to be displayed, and the rendering of the message popup to be displayed according to the display size information of the message popup to be displayed at each stage and a preset rendering speed until the message popup to be displayed is completely displayed comprises:
determining the display size information of the message popup to be displayed at each stage in the display process according to the dynamic effect display mode of the message popup to be displayed;
determining rendering parameter information of a first stage according to the display size information of the message popup to be displayed of the first stage;
rendering the message popup window to be displayed according to the rendering parameter information of the first stage and a preset rendering speed so as to display a first dynamic effect of the message popup window to be displayed;
and when the displayed size of the message popup window to be displayed meets the display size information, determining rendering parameter information of a second stage according to the display size information of the message popup window to be displayed of the second stage and rendering until the message popup window to be displayed is completely displayed.
4. A message popup window dynamic effect display device is characterized by comprising:
the first receiving module is used for receiving a message popup window triggering instruction of a terminal user; the message popup trigger instruction carries: model information of the terminal and an identifier of a message popup;
the sending module is used for sending the message popup window triggering instruction to a server;
a second receiving module, configured to receive information of a message popup to be displayed, where the information of the message popup to be displayed is matched with the message popup trigger instruction and is returned by the server, where the information of the message popup to be displayed includes: the method comprises the steps that a dynamic effect display mode of a message popup to be displayed, size information of the message popup to be displayed, and position information and size information of each control in the message popup to be displayed are obtained;
the determining module is used for determining the display size information of the message popup to be displayed at each stage in time in the display process according to the dynamic effect display mode of the message popup to be displayed, and rendering the message popup to be displayed according to the display size information of the message popup to be displayed at each stage and a preset rendering speed until the message popup to be displayed is completely displayed.
5. The apparatus of claim 4, further comprising:
a third receiving module, configured to receive a control attribute setting instruction of the terminal user, where the control attribute setting instruction carries an attribute of each control, where the attribute of each control includes: the color and rendering speed of the control;
and the setting module is used for setting the attribute of each control in the message popup to be displayed according to the control attribute setting instruction.
6. The apparatus of claim 4 or 5, wherein the determining module comprises:
the first determining unit is used for determining the display size information of the message popup to be displayed at each stage in the display process according to the dynamic effect display mode of the message popup to be displayed;
the second determining unit is used for determining rendering parameter information of the first stage according to the display size information of the message popup to be displayed of the first stage;
the rendering unit is used for rendering the message popup window to be displayed according to the rendering parameter information of the first stage and a preset rendering speed so as to display a first dynamic effect of the message popup window to be displayed;
and the third determining unit is used for determining rendering parameter information of the second stage according to the display size information of the message popup to be displayed of the second stage and rendering the message popup until the message popup to be displayed is completely displayed when the displayed size of the message popup to be displayed meets the display size information.
7. A message popup window dynamic effect display system, comprising:
a terminal and a server;
the terminal is connected with the server and used for receiving a message popup window triggering instruction of a terminal user; the message popup trigger instruction carries: model information of the terminal and an identifier of a message popup;
sending the message popup window triggering instruction to a server;
receiving information of a message popup to be displayed, which is returned by the server and matched with the message popup triggering instruction, wherein the information of the message popup to be displayed comprises: the method comprises the steps that a dynamic effect display mode of a message popup to be displayed, size information of the message popup to be displayed, and position information and size information of each control in the message popup to be displayed are obtained;
the method comprises the steps of determining display size information of a message popup to be displayed at each stage in time in a display process according to a dynamic effect display mode of the message popup to be displayed, and rendering the message popup to be displayed according to the display size information of the message popup to be displayed at each stage and a preset rendering speed until the message popup to be displayed is completely displayed.
8. A message popup window dynamic effect display device is characterized by comprising:
memory, processor and computer program stored on the memory and executable on the processor, characterized in that the processor implements the message popup dynamic effect presentation method according to any of claims 1 to 3 when executing the program.
9. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the program, when executed by a processor, implements the message popup dynamic effect presentation method of any of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710471873.4A CN107317853B (en) | 2017-06-20 | 2017-06-20 | Method, device and system for displaying dynamic effect of message popup window |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710471873.4A CN107317853B (en) | 2017-06-20 | 2017-06-20 | Method, device and system for displaying dynamic effect of message popup window |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107317853A CN107317853A (en) | 2017-11-03 |
CN107317853B true CN107317853B (en) | 2020-04-28 |
Family
ID=60182016
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710471873.4A Active CN107317853B (en) | 2017-06-20 | 2017-06-20 | Method, device and system for displaying dynamic effect of message popup window |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107317853B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107808010A (en) * | 2017-11-17 | 2018-03-16 | 北京锐安科技有限公司 | A kind of pop-up page generation method, device, browser and storage medium |
CN109032737A (en) * | 2018-07-18 | 2018-12-18 | 上海哔哩哔哩科技有限公司 | Pop-up message display system, method, storage medium and intelligent terminal |
CN111385240A (en) * | 2018-12-27 | 2020-07-07 | 北京奇虎科技有限公司 | Method and device for reminding access of equipment in network and computing equipment |
CN111258582B (en) * | 2020-02-10 | 2023-09-05 | 北京字节跳动网络技术有限公司 | Window rendering method and device, computer equipment and storage medium |
CN112346796A (en) * | 2020-09-25 | 2021-02-09 | 北京淇瑀信息科技有限公司 | Popup window storage display method and device and electronic equipment |
CN114995929B (en) * | 2021-11-17 | 2023-04-21 | 荣耀终端有限公司 | Popup window display method and device |
CN114205636A (en) * | 2021-12-06 | 2022-03-18 | 广州方硅信息技术有限公司 | Method, device, equipment and storage medium for displaying window information of live broadcast room |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7860937B2 (en) * | 2003-11-07 | 2010-12-28 | Sony Corporation | Messaging and service system for mobile computer |
CN105045579A (en) * | 2015-07-01 | 2015-11-11 | 新奥特(北京)视频技术有限公司 | Track generation method and apparatus |
CN105761298A (en) * | 2016-02-22 | 2016-07-13 | 浙江传媒学院 | Adaptive rendering method using linear prediction |
CN106570142A (en) * | 2016-11-04 | 2017-04-19 | 北京神州绿盟信息安全科技股份有限公司 | Data rendering method and device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9401948B2 (en) * | 2013-09-13 | 2016-07-26 | Yahoo! Inc. | System and method for enhancing multi-module experience |
-
2017
- 2017-06-20 CN CN201710471873.4A patent/CN107317853B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7860937B2 (en) * | 2003-11-07 | 2010-12-28 | Sony Corporation | Messaging and service system for mobile computer |
CN105045579A (en) * | 2015-07-01 | 2015-11-11 | 新奥特(北京)视频技术有限公司 | Track generation method and apparatus |
CN105761298A (en) * | 2016-02-22 | 2016-07-13 | 浙江传媒学院 | Adaptive rendering method using linear prediction |
CN106570142A (en) * | 2016-11-04 | 2017-04-19 | 北京神州绿盟信息安全科技股份有限公司 | Data rendering method and device |
Also Published As
Publication number | Publication date |
---|---|
CN107317853A (en) | 2017-11-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107317853B (en) | Method, device and system for displaying dynamic effect of message popup window | |
US11842438B2 (en) | Method and terminal device for determining occluded area of virtual object | |
CN110069580B (en) | Road marking display method and device, electronic equipment and storage medium | |
CN111765900B (en) | Step counting method, step counting device and computer readable storage medium | |
CN108846791B (en) | Rendering method and device of physical model and electronic equipment | |
CN107193440A (en) | A kind of method for showing interface and device, computer installation and readable storage medium storing program for executing | |
CN108415657B (en) | Message sending method, device, medium and electronic equipment | |
CN107544903B (en) | Page specification detection method and device and computer equipment | |
CN108965575B (en) | Gesture action recognition method and device and terminal equipment | |
CN108153454B (en) | Multi-touch switching method and device, storage medium and terminal equipment | |
CN107332991B (en) | Screen locking interface information processing method and device | |
CN109508216B (en) | Screen capture processing method and device, storage medium and user terminal | |
CN111123728A (en) | Unmanned vehicle simulation method, device, equipment and computer readable medium | |
CN111879333B (en) | Motion determination method, determination device, and computer-readable storage medium | |
CN107291564B (en) | Information copying and pasting method and device and electronic equipment | |
CN110471751B (en) | Terminal equipment interaction method and device, readable storage medium and terminal equipment | |
CN110069313B (en) | Image switching method and device, electronic equipment and storage medium | |
CN108830674A (en) | Trip order production method, device and terminal device | |
CN107341196B (en) | Relation map display method and device | |
CN109741624A (en) | Parking data processing unit and method based on block chain | |
CN113852763B (en) | Audio and video processing method and device, electronic equipment and storage medium | |
CN110287431B (en) | Image file loading method and device, electronic equipment and storage medium | |
CN115357179A (en) | Display screen management method, display screen management device, electronic equipment and storage medium | |
CN109269628B (en) | Method for monitoring motor vibration, terminal device and computer readable storage medium | |
CN108415656B (en) | Display control method, device, medium and electronic equipment in virtual scene |
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 |