CN109960448B - Scene special effect display method, electronic device and computer storage medium - Google Patents

Scene special effect display method, electronic device and computer storage medium Download PDF

Info

Publication number
CN109960448B
CN109960448B CN201910218393.6A CN201910218393A CN109960448B CN 109960448 B CN109960448 B CN 109960448B CN 201910218393 A CN201910218393 A CN 201910218393A CN 109960448 B CN109960448 B CN 109960448B
Authority
CN
China
Prior art keywords
motion
track
target
point
determining
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
Application number
CN201910218393.6A
Other languages
Chinese (zh)
Other versions
CN109960448A (en
Inventor
刘先坤
蔡小星
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhangyue Technology Co Ltd
Original Assignee
Zhangyue 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 Zhangyue Technology Co Ltd filed Critical Zhangyue Technology Co Ltd
Priority to CN201910218393.6A priority Critical patent/CN109960448B/en
Publication of CN109960448A publication Critical patent/CN109960448A/en
Application granted granted Critical
Publication of CN109960448B publication Critical patent/CN109960448B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G06F3/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

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

Abstract

The invention discloses a scene special effect display method, electronic equipment and a computer storage medium, which are used for carrying out dynamic special effect display on point touch operation acted on a current display page by a user. The method comprises the following steps: responding to a received trigger operation acted on a current display page by a user, and determining a target trigger state and at least one target display element associated with the trigger operation; determining a target motion track of each target display element in the at least one target display element according to the target trigger state; and controlling each target display element to move along the associated target motion track, and displaying the special effect of the dynamic scene on the current display page. Therefore, the embodiment of the invention enriches the triggering modes of the page control by identifying the triggering state associated with the user triggering operation and displaying the special effect of the dynamic scene, improves the interestingness and flexibility of the user operation, and further improves the participation sense and user experience of the user in using the electronic book.

Description

Scene special effect display method, electronic device and computer storage medium
Technical Field
The invention relates to the technical field of computers, in particular to a scene special effect display method, electronic equipment and a computer storage medium.
Background
With the popularization of mobile terminals such as mobile phones and the development of electronic book readers, electronic books are more and more favored by reading users. The users can perform favorite labeling and interaction among the users through point touch operation on the display pages of the electronic book.
Currently, in an electronic book, a user may perform corresponding annotation or interaction by clicking a specific control, such as a like or favorite button. After the user performs the point touch operation, the user can obtain the point touch feedback of the control through the popup window or the conversion of the display mode of the designated control, so that the user is informed that the user completes the corresponding point touch operation.
However, in the existing electronic book, the point touch operation of the user on the designated control in the page is limited greatly, the point touch mode and the feedback mode of the point touch operation of the user are single, the page is difficult to immediately feed back the point touch operation of the user, and the experience and the participation sense of the user are reduced.
Disclosure of Invention
In view of the above, the present invention has been made to provide a scene effect display method, an electronic device, and a computer storage medium that overcome or at least partially solve the above problems.
According to an aspect of the present invention, there is provided a scene special effect display method for performing dynamic special effect display on a point touch operation applied to a current display page by a user, the method including:
responding to a received trigger operation acted on a current display page by a user, and determining a target trigger state and at least one target display element associated with the trigger operation;
determining a target motion track of each target display element in the at least one target display element according to the target trigger state;
and controlling each target display element to move along the associated target motion track, and displaying the special effect of the dynamic scene on the current display page.
According to another aspect of the present invention, there is provided an electronic apparatus including: the processor, the memory and the communication interface complete mutual communication through the communication bus; the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the following operations:
responding to a received trigger operation acted on a current display page by a user, and determining a target trigger state and at least one target display element associated with the trigger operation;
determining a target motion track of each target display element in the at least one target display element according to the target trigger state;
and controlling each target display element to move along the associated target motion track, and displaying the special effect of the dynamic scene on the current display page.
According to yet another aspect of the present invention, there is provided a computer storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to:
responding to a received trigger operation acted on a current display page by a user, and determining a target trigger state and at least one target display element associated with the trigger operation;
determining a target motion track of each target display element in the at least one target display element according to the target trigger state;
and controlling each target display element to move along the associated target motion track, and displaying the special effect of the dynamic scene on the current display page.
According to the scene special effect display method, the electronic equipment and the computer storage medium, the trigger operation acted on the current display page by the user is responded, the target trigger state to which the current trigger operation belongs and the associated at least one target display element are determined according to the trigger operation, so that the target motion track is designed for the target display element according to the target trigger state, and the target display element is controlled to move according to the target motion track, so that the dynamic scene special effect is displayed at the trigger operation position in the page. Therefore, the embodiment of the invention enriches the triggering mode of the page control, improves the interestingness and flexibility of user operation and further improves the participation sense and user experience of the user in using the electronic book by identifying the triggering state associated with the user triggering operation and displaying the special effect of the dynamic scene.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart illustrating a method for displaying a scene special effect according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a scene special effect display method according to a second embodiment of the present invention;
fig. 3 shows a flow chart of determining key track points according to the second embodiment of the present invention;
fig. 4 shows an exemplary diagram of planning key track points provided by the second embodiment of the present invention;
FIG. 5 is a diagram illustrating an example of a motion trajectory provided by the second embodiment of the present invention;
FIG. 6 is a diagram illustrating an example of displaying special effects of a scene provided in a second embodiment of the present invention;
fig. 7 shows a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Example one
Fig. 1 is a flowchart illustrating a scene special effect display method according to an embodiment of the present invention, which is used for performing dynamic special effect display on a point touch operation that a user acts on a current display page. The method can be executed by a scene effect display device, which can be implemented in software and/or hardware, and is preferably configured to an electronic book. As shown in fig. 1, the method comprises the steps of:
step S101, responding to the received trigger operation acted on the current display page by the user, and determining a target trigger state and at least one target display element associated with the trigger operation.
In the specific embodiment of the present invention, the currently displayed page may refer to a currently displayed page of the electronic book, and may be a user check-in page, a book text page, a book recommendation page, a user comment page, an activity page, and the like, which correspond to the electronic book. The currently displayed page may include a target control or a target area, which can trigger a special effect of the dynamic scene, such as a like control or a lottery control.
The dynamic scene special effect means that after a user clicks a designated control or an area of a current display page, the flying dynamic special effect is displayed around a user clicking position in the current display page within a certain time. Correspondingly, the flying dynamic special effect is composed of different motion tracks, and each track realizes the dynamic display effect through the running point motion of the corresponding display element.
Accordingly, the user can execute a trigger operation for triggering the special effect of the dynamic scene on the current display page. Specifically, the trigger operation may be a click, a double click, a long press, or a pop on a target control or a target area of a currently displayed page in the electronic book. The trigger mode of the trigger operation determines the display mode of the special effect of the dynamic scene; the trigger position corresponding to the trigger operation determines the display element of the special effect of the dynamic scene.
In this embodiment, the display form of the special effect of the dynamic scene may be described by using a trigger state. Specifically, according to the trigger mode of the trigger operation, associated trigger states may be set for various trigger operations in advance, and display conditions, which are limited by the special effect display form of the corresponding dynamic scene, are set in advance in the trigger states, for example, the display conditions may be limited to include the number of motion trajectories, the special effect display duration, and the element ratio. For example, the trigger state associated with the click operation may be set to be a conventional special effect state, that is, the special effect of the dynamic scene is limited to include 5 motion tracks, the special effect display time is 3 seconds, and at least two display elements alternately appear in adjacent dynamic tracks; for the trigger state associated with the attack operation, a large-scale dynamic scene special effect can be set, namely the dynamic scene special effect is limited to comprise 15 motion tracks, and the special effect display time is 5 seconds; for the trigger state associated with the long-press operation, the special effect display duration can be determined according to the long-press duration of the user.
In addition, the display elements refer to display contents in a special effect of a dynamic scene, each motion track is presented through the motion of the display elements, and the display elements can be icons in different styles. Specifically, according to a trigger position corresponding to the trigger operation, such as a control or a region, associated element material libraries may be set in advance for each trigger position, each element material library includes at least one display element, and styles of various display elements in the same element material library are the same or similar. Illustratively, an associated element material library can be constructed for the praise control in advance, wherein the associated element material library can comprise display elements such as love hearts, smiling faces, flowers and the like; associated libraries of element materials, which may include display elements such as bombs, slippers, and pans, may be built in advance for the point lottery controls.
In this embodiment, when a received trigger operation that a user acts on a current display page is received, a trigger mode and a trigger position corresponding to the trigger operation are determined, a trigger state associated with the trigger mode is determined as a target trigger state, and at least one display element extracted from an element material library associated with the trigger position is determined as a target display element. Therefore, the display form of the special effect of the dynamic scene is determined through the target trigger state, and the display content of the special effect of the dynamic scene is determined through the target display element.
It should be noted that the dynamic scene special effect of the page, the trigger operation, the trigger state, and the display element limitation may be specifically set according to the requirement of the electronic book, and is not limited to the page, the trigger operation, the trigger state, and the display element in the above example.
Step S102, determining a target motion track of each target display element in at least one target display element according to the target trigger state.
In the specific embodiment of the present invention, after the display form and the display content of the special effect of the dynamic scene are determined, a corresponding target motion trajectory may be planned for each target display element. Specifically, the number of motion tracks in the special effect of the dynamic scene corresponding to the current trigger operation is determined according to the target trigger state. And determining the element quantity of various target display elements according to the extracted type quantity of the target display elements, the extracted motion trail quantity and the preset element proportion associated with the target trigger state so as to ensure that the quantity of the target display elements is the same as the quantity of the motion trail. Thereby determining target display elements for each motion trajectory and planning a target motion trajectory for each target display element.
Wherein, each motion track radiates outwards from the trigger point, and is dispersed around the trigger point. Each motion trajectory is a smooth curve with a finite trajectory length. Specifically, a plurality of key track points, such as trigger points and peaks, can be set for each motion trajectory according to the dynamic scene special effect display range, so that the plurality of key track points are connected into a smooth curve to form a target motion trajectory of the target display element.
And step S103, controlling each target display element to move along the associated target motion track, and displaying the special effect of the dynamic scene on the current display page.
In a specific embodiment of the present invention, the target motion trajectory may be represented by a set formed by a series of points on the page, where the points in the set may be a preset number of points that are uniformly distributed according to the length of the trajectory, the preset number represents the density of the points on the trajectory, and may be set according to the size of the target display element, or may be determined according to the display effect. And controlling the target display element to start from the trigger point, and sequentially displaying on each track motion point according to the track motion point set of the target motion track associated with the target display element within a preset time length of a target trigger state, so that the special effect of the dynamic scene of the motion of the target display element is displayed in the current display page. And forming a dynamic display effect that the target display element performs curvilinear motion by rapidly displaying on each point in sequence in a short time.
The current motion progress of each target display element can be determined according to the track motion point set of each target motion track and the current track motion point where each target display element is located currently; controlling a target display element to be displayed on a current track motion point according to the current motion progress and a preset display condition associated with the current motion progress; the preset display condition at least comprises a display size condition and a display transparency condition.
Illustratively, it is assumed that the element material library associated with the like control includes display elements such as love, smiling face and flowers; a conventional special display scale is specified in a target trigger state associated with the click trigger operation, the number of motion tracks is limited to 5, the special display time is limited to 3 seconds, and the preset element ratio is 2 to 3. When the click trigger operation of the user on the praise control is detected, 3 love hearts and 2 smiling faces can be extracted from the element material library as target display elements according to the target trigger state associated with the click trigger operation. And planning target motion tracks for each target display element by arranging different types of display elements in a crossed manner. Therefore, the sizes of the elements are changed from small to large in the process that the love and the smiling face respectively move in the associated target motion trail, the transparent and the opaque are displayed at intervals, and finally the overall transparency of the elements is reduced until the elements disappear.
According to the scene special effect display method provided by the embodiment, the trigger operation of the user on the current display page can be responded, the target trigger state to which the current trigger operation belongs and the associated at least one target display element are determined according to the trigger operation, so that the target motion track is designed for the target display element according to the target trigger state, and the target display element is controlled to move according to the target motion track, so that the dynamic scene special effect is displayed at the trigger operation position in the interface. By utilizing the scene special effect display method of the embodiment, the trigger mode of the interface control is enriched by identifying the trigger state associated with the user trigger operation and displaying the dynamic scene special effect, the interestingness and flexibility of the user operation are improved, and the participation sense and the user experience of the user using the electronic book are further improved.
Example two
On the basis of the first embodiment, the present embodiment provides a preferred implementation of the scene special effect display method, which can plan a target motion trajectory for each target display element. Fig. 2 shows a flowchart of a scene special effect display method according to a second embodiment of the present invention, where step S101 may specifically include steps S201 to S203, and step S102 may specifically include steps S204 to S206. As shown in fig. 2, the method includes:
step S201, in response to a received trigger operation applied to the currently displayed page by the user, determining a target trigger state associated with the trigger operation and a triggered target control.
In a specific embodiment of the present invention, the currently displayed page may refer to a currently displayed page of the electronic book, and the currently displayed page may include a control, such as a like control or a lottery control. Correspondingly, the control has a function of triggering a special effect of a dynamic scene, and can also have other functions in the electronic book, and the function is not limited here. The triggering operation of the target control can be clicking, double clicking, long pressing or sudden clicking on the target control, and the like.
Different control pieces can be associated with different element material libraries and are used for providing display contents with corresponding styles for the special effects of the dynamic scenes. Furthermore, the element material library associated with the target control and the specific triggering mode of the triggering operation jointly determine the display effect of the special effect of the dynamic scene. The target control determines the display content of the special effect of the dynamic scene, and the trigger operation determines the display form of the special effect of the dynamic scene. Specifically, on one hand, identifiers may be added to the controls having the function of triggering the special effect of the dynamic scene in advance, and the target control and the element material library associated with the target control are determined by identifying the identifiers of the triggered controls. On the other hand, the trigger operations in different trigger modes may be associated with trigger states in advance, and the trigger states are used to limit display forms of the special effects of the dynamic scene initiated by different trigger operations, for example, the display forms may be limited to include the number of motion trajectories, the display duration of the special effects, the element proportions, and the like.
In this embodiment, when a received trigger operation that a user acts on a currently displayed page is received, a control triggered by the trigger operation is used as a target control, and according to an identifier of the target control, if it is determined that the target control has a function of triggering a special effect of a dynamic scene, a trigger mode of the trigger operation is identified, and a trigger state associated with the trigger operation is determined to be a target trigger state.
Step S202, at least one target display element is extracted from an element material library associated with the target control according to the motion trail quantity associated with the target trigger state.
In the specific embodiment of the invention, after the target control corresponding to the trigger operation is determined, the element material library associated with the target control can be determined. Because the styles of the display elements in the element material library are the same or similar, at least one target display element can be extracted from the element material library within the motion trail number range associated with the target trigger state to serve as the display content of the special effect of the dynamic scene.
Step S203, determining the number of elements of each target display element in at least one target display element according to the preset element ratio associated with the target trigger state, and obtaining target display elements corresponding to the number of motion trajectories.
In the specific embodiment of the present invention, each motion trajectory in the special effect of the dynamic scene needs to be presented by the motion of one target display element, so that target display elements corresponding to the number of motion trajectories are needed, that is, the sum of the number of elements of each target display element is the number of motion trajectories. And when the extracted target display element is only one type, the number of the elements of the target display element can be directly determined as the number of the motion tracks. When the extracted target display elements are at least two, the number of the elements of each target display element can be respectively determined according to the preset element proportion associated with the target trigger state based on the number of the motion tracks. The associated element proportions may be set in advance for different types of quantities, so that after the target display elements are extracted, before the quantity of the elements of each type of target display elements is determined, the associated element proportions are determined according to the extracted types of quantities, and the target display elements corresponding to the quantity of the motion trajectories are obtained.
For example, assuming that the number of motion trajectories is 5, the preset element ratio is 2 to 3, and the target display elements include two types, the numbers of the two types of target display elements may be determined to be 2 and 3, respectively, that is, the total number of the target display elements is the number of motion trajectories.
And step S204, according to the preset element proportion associated with the target trigger state, designating a motion trail to be planned for each target display element.
In the specific embodiment of the invention, the movement track to be planned is specified for each target display element according to the preset element proportion associated with the target trigger state and on the principle that the display elements of adjacent movement tracks are different. The motion trail to be planned is used for identifying the relative position relation of the motion trail corresponding to each target display element. And if the extracted target display elements are only one, the target display elements on each motion track are the same. If the target display elements are at least two, different types of target display elements can be alternately or sequentially arranged on the adjacent motion tracks to ensure that the display elements on the adjacent motion tracks do not repeatedly appear.
Step S205, at least four key track points of each motion track to be planned are respectively determined, and the four key track points are connected into a smooth curve according to the at least four key track points to form a target motion track of the motion track to be planned.
In the specific embodiment of the invention, at least four key track points of each motion trajectory to be planned refer to key points capable of determining a trajectory trend, such as a starting point, a key inflection point and the like, so that the phenomenon of superposition or intersection among the motion trajectories is avoided, and a dispersive effect is achieved. In the flying scene special effect, all the motion tracks start from the same point, namely the position acted by the trigger operation on the current display page. The closer to the motion track of the radiation center of the flying object, the more the track tends to be straight and the higher the radiation height is; the closer to the motion tracks on both sides of the flyer, the more the tracks are bent, and the lower the radiation height is.
Specifically, if it is determined that the motion trajectory to be planned is not the center motion trajectory of each motion trajectory to be planned, as shown in fig. 3, the four key points may be determined according to the following steps:
step S2051, according to the trigger operation, determines the position acted on the current display page by the trigger operation as the first key track point of each motion trajectory to be planned.
And step S2052, determining a highest point for each motion track to be planned by taking the first key track point as a coordinate origin, and determining each highest point as a second key track point of the associated motion track to be planned.
In this embodiment, the highest point is an inflection point at which a target display element changes from rising to falling in the flying special effect, and is an essential point in the planning of the target motion trajectory.
Optionally, the first key track point is used as a coordinate origin, and at least two equal intervals at two sides of the origin are determined on a coordinate horizontal axis according to a preset interval; determining the highest point in each equally-divided interval based on the principle that the farther the distance from the origin is, the higher the height of the highest point is; and respectively determining the highest point in each equally divided interval as a second key track point corresponding to the motion track to be planned.
In this embodiment, the preset interval determines the dispersion degree of each motion trajectory in the flying effect, and the interval may be predetermined according to the radiation range of the flying special effect. Thus, the equal division is carried out on the two sides of the original point according to the preset interval. If the number of the motion tracks is odd, the central motion track of each motion track is a coordinate longitudinal axis, key points of the central motion track are on the coordinate longitudinal axis, and equal number of equal intervals are uniformly distributed on two sides of the origin. Since the central motion track is the longitudinal axis of the coordinate, the number of the equally divided intervals is the number of the motion tracks associated with the target trigger state minus one. If the number of the motion tracks is even, equal number of equal intervals can be equally divided on two sides of the origin, and the number of the equal intervals is the number of the motion tracks associated with the target trigger state. And determining the highest point in each equally divided interval based on the principle that the highest point is higher when the highest point is farther from the origin, and determining the highest point as a second key track point corresponding to the motion track to be planned. The position of the horizontal axis corresponding to the highest point is not limited and can be within the corresponding interval.
And step S2053, determining two points which are mutually symmetrical by taking a straight line which is perpendicular to the horizontal axis of the coordinate and is positioned by the second key track point of each motion track to be planned as a symmetrical axis, and taking the two points as a third key track point and a fourth key track point of the motion track to be planned.
In this embodiment, the two symmetric points are key points for constructing a trajectory curve, and the overall contour of the motion trajectory can be described by the symmetric points.
Optionally, determining the motion trend of each motion trajectory to be planned and the target slope of a straight line formed by the first key track point and the second key track point of each motion trajectory to be planned according to the first key track point and the second key track point of each motion trajectory to be planned; according to the motion trend of each motion track to be planned and the target slope, in the interval between the first key track point and the second key track point, determining a point which is lower than the second key track point in height and higher than the target slope of the slope of a straight line formed by the first key track point as a third key track point; and determining the symmetrical point of the third key track point as a fourth key track point by taking the straight line which is perpendicular to the coordinate transverse axis and is where the second key track point of each motion track to be planned is as a symmetrical axis.
In this embodiment, the first key track point points to the second key track point, that is, the motion direction of the motion trajectory to be planned, and the symmetrical points should be planned within the motion direction range. The target slope refers to the inclination degree of a straight line formed by the first key track point and the second key track point relative to the horizontal axis of the coordinate, and can be represented by a tangent value of an included angle between the straight line and the horizontal axis of the coordinate. And determining a point which is lower than the second key track point in height and has the slope of a straight line formed by the point and the first key track point higher than the target slope as a third key track point in the interval between the first key track point and the second key track point according to the motion trend of the motion track to be planned and the target slope. Thereby ensuring that the motion track and the adjacent motion track do not overlap or cross. Therefore, the straight line perpendicular to the coordinate transverse axis where the second key track point is located is used as a symmetry axis, and the symmetry point of the third key track point is determined to be the fourth key track point.
Illustratively, fig. 4 is an exemplary diagram of planning key trajectory points. As shown in fig. 4, it is assumed that the number of motion trajectories is 5. Firstly, a trigger point corresponding to a trigger operation is uniformly determined as a first key track point 401 of each motion track to be planned. Secondly, 2 equally divided intervals at two sides of the origin are determined by taking the first key track point 401 as the coordinate origin, the horizontal direction as the coordinate horizontal axis and the vertical direction as the coordinate vertical axis. And determining the highest point in each equally divided interval based on the principle that the farther the distance from the origin is, the higher the height of the highest point is. As shown in fig. 4, the highest point in the first bisecting interval to the right of the origin is lower than the highest point in the second bisecting interval to the right of the origin. And respectively determining the highest point in each equally divided interval as a second key track point 402 corresponding to the motion track to be planned. Then, the direction of the first key track point 401 pointing to the second key track point 402 of each motion track to be planned is taken as the motion trend, in the interval between the first key track point 401 and the second key track point 402 and belonging to the motion trend, the slope of the straight line which is lower than the second key track point 402 and is formed by the first key track point 401 is determined, and the point which is higher than the target slope of the straight line formed by the first key track point 401 and the second key track point 402 is taken as a third key track point 403. And finally, taking a straight line perpendicular to the coordinate horizontal axis where the second key track point 402 of each motion track to be planned is as a symmetry axis, and determining a symmetry point of the third key track point 403 as a fourth key track point 404. Therefore, according to the sequence of the first key track point 401, the third key track point 403, the second key track point 402 and the fourth key track point 404, a smooth curve is formed by connection, and the target motion track 400 is formed.
It should be noted that the above-mentioned path planning manner is an exemplary illustration, and may be specifically set according to the requirements of the electronic book, for example, the overall orientation of the coordinate system is not limited to the horizontal and vertical directions.
Step S206, determining each track motion point in each target motion track and the coordinates of each track motion point to obtain a track motion point set of each target motion track.
In a specific embodiment of the present invention, the target motion trajectory may be represented by a set formed by a series of trajectory motion points on the page, where the trajectory motion points in the set may be a preset number of points that are uniformly distributed according to the length of the trajectory, and the preset number represents the density of the points on the trajectory, and may be set according to the size of the target display element, or may be determined according to the display effect. And determining each track motion point in each target motion track and the coordinates of each track motion point to obtain a track motion point set of each target motion track.
Exemplarily, fig. 5 is an exemplary diagram of a motion trajectory. As shown in fig. 5, the target motion trajectory 400 may be composed of 10 motion trajectory points, and coordinates of the 10 motion trajectory points in the current display page are determined to obtain a trajectory motion point set of the target motion trajectory.
And step S207, controlling each target display element to move along the associated target motion track, and displaying the special effect of the dynamic scene on the current display page.
In a specific embodiment of the present invention, a target display element is controlled to start from a trigger point, and within a preset time duration of a target trigger state, the target display element is sequentially displayed on each trajectory movement point according to a trajectory movement point set of a target movement trajectory associated with the target display element, so that a dynamic scene special effect of movement of the target display element is displayed in a current display page. And forming a dynamic display effect that the target display element performs curvilinear motion by rapidly displaying on each point in sequence in a short time.
Optionally, determining the current motion progress of each target display element according to the track motion point set of each target motion track and the current track motion point where each target display element is currently located; and controlling the target display element to be displayed on the current track motion point according to the current motion progress and the preset display condition associated with the current motion progress and the preset display condition.
In this embodiment, a display effect may also be added to the dynamic scene special effect according to the running point progress of the target display element. The method comprises the steps of determining an exercise progress corresponding to effect change in advance, setting corresponding display conditions for association of the exercise progress, wherein the preset display conditions at least comprise a display size condition and a display transparency condition. Thereby realizing the change of the display effect in the process of the movement of the target display element.
Specifically, the number of points run through in the set of trajectory motion points is determined according to the current trajectory motion point where the target display element is located, so that the current motion progress of the target display element is determined according to the number of points in the set of trajectory motion points. For example, in the above example, if the current trajectory movement point where the target display element is located is the 5 th point from the trigger point, the current movement progress of the target display element is determined to be 50%. And controlling the target display element to be displayed on the current track motion point according to the current motion progress and the preset display condition associated with the current motion progress. For example, if the effect of the display element flickering is to be achieved, a display transparency which is small and large may be set for each motion progress in sequence.
Exemplarily, fig. 6 is a diagram illustrating a scene effect display. As shown in fig. 6, a control a and a control B are included below the current display page, and both the control a and the control B have a function of triggering a special effect of a dynamic scene and are associated with element material libraries of different styles. When the user clicks the control B, the display form and the display content of the special effect of the dynamic scene are determined through triggering operation and identification of the target control, and each motion track is planned. Finally, the flying dynamic scene special effect as shown in fig. 6 can be obtained.
According to the scene special effect display method provided by the embodiment, the trigger operation of the user on the current display page can be responded, the target trigger state for controlling the special effect display form of the dynamic scene and the target control for limiting the special effect display content of the dynamic scene are determined according to the trigger operation, so that according to the target trigger state and an element material library associated with the target control, all parameters of the special effect of the dynamic scene are determined and a motion track is planned, and the display elements are controlled to move according to the motion track, so that the special effect of the dynamic scene is displayed at the trigger operation position in the interface. By utilizing the scene special effect display method of the embodiment, the trigger mode of the interface control is enriched by identifying the trigger state associated with the user trigger operation and displaying the dynamic scene special effect, the interestingness and flexibility of the user operation are improved, and the participation sense and the user experience of the user using the electronic book are further improved.
EXAMPLE III
The third embodiment of the present invention further provides a non-volatile computer storage medium, where at least one executable instruction is stored in the computer storage medium, and the computer executable instruction may execute the scene special effect display method in any of the above method embodiments.
The executable instructions may be specifically configured to cause the processor to:
responding to a received trigger operation acted on a current display page by a user, and determining a target trigger state and at least one target display element associated with the trigger operation;
determining a target motion track of each target display element in the at least one target display element according to the target trigger state;
and controlling each target display element to move along the associated target motion track, and displaying the special effect of the dynamic scene on the current display page.
In an alternative, the executable instructions further cause the processor to:
responding to a received trigger operation acted on a current display page by a user, and determining a target trigger state associated with the trigger operation and a triggered target control;
extracting at least one target display element from an element material library associated with the target control according to the motion trail quantity associated with the target trigger state;
and determining the element number of each target display element in the at least one target display element according to the preset element proportion associated with the target trigger state to obtain the target display elements corresponding to the motion trail number.
In an alternative, the executable instructions further cause the processor to:
according to the preset element proportion associated with the target trigger state, a motion track to be planned is appointed for each target display element;
respectively determining at least four key track points of each motion track to be planned, and connecting the key track points into a smooth curve according to the at least four key track points to form a target motion track of the motion track to be planned;
and determining each track motion point in each target motion track and the coordinates of each track motion point to obtain a track motion point set of each target motion track.
In an alternative, the executable instructions further cause the processor to:
determining the position acted by the trigger operation on the current display page as a first key track point of each motion track to be planned according to the trigger operation;
determining a highest point for each motion track to be planned by taking the first key track point as a coordinate origin, and determining each highest point as a second key track point of the associated motion track to be planned;
and determining two points which are mutually symmetrical by taking a straight line which is perpendicular to the horizontal axis of the coordinate and is positioned by the second key track point of each motion track to be planned as a symmetrical axis, and taking the two points as a third key track point and a fourth key track point of the motion track to be planned.
In an alternative, the executable instructions further cause the processor to:
determining at least two equal intervals at two sides of the origin on a coordinate transverse axis by taking the first key track point as the origin of coordinates according to a preset interval;
determining the highest point in each equally-divided interval based on the principle that the farther the distance from the origin is, the higher the height of the highest point is;
and respectively determining the highest point in each equally divided interval as a second key track point corresponding to the motion track to be planned.
In an alternative, the executable instructions further cause the processor to:
determining the motion trend of each motion track to be planned and the target slope of a straight line formed by the first key track point and the second key track point of each motion track to be planned according to the first key track point and the second key track point of each motion track to be planned;
according to the motion trend of each motion track to be planned and the target slope, determining a point which is lower than the second key track point in height and higher than the target slope of a straight line formed by the first key track point as a third key track point in an interval between the first key track point and the second key track point;
and determining the symmetrical point of the third key track point as a fourth key track point by taking the straight line perpendicular to the coordinate transverse axis where the second key track point of each motion track to be planned is as a symmetrical axis.
In an alternative, the executable instructions further cause the processor to:
and if the motion trail to be planned is judged to be the central motion trail of each motion trail to be planned according to the motion trail quantity associated with the target trigger state, determining that four key track points of the motion trail to be planned are on the coordinate longitudinal axis.
In an alternative, the executable instructions further cause the processor to:
and controlling each target display element, and sequentially displaying on each track motion point according to the track motion point set of the target motion track associated with the target display element in preset time so as to display the special effect of the dynamic scene of the motion of the target display element in the current display page.
In an alternative, the executable instructions further cause the processor to:
determining the current motion progress of each target display element according to the track motion point set of each target motion track and the current track motion point where each target display element is located;
and controlling a target display element to be displayed on the current track motion point according to the current motion progress and a preset display condition associated with the current motion progress and the preset display condition.
In an alternative mode, the preset display condition at least includes a display size condition and a display transparency condition.
Example four
Fig. 7 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention, and the specific embodiment of the present invention does not limit the specific implementation of the electronic device.
As shown in fig. 7, the electronic device may include: a processor (processor)702, a Communications Interface 704, a memory 706, and a communication bus 708.
Wherein:
the processor 702, communication interface 704, and memory 706 communicate with each other via a communication bus 708.
A communication interface 704 for communicating with network elements of other devices, such as clients or other servers.
The processor 702 is configured to execute the program 710, and may specifically execute relevant steps in the above-described scene special effect display method embodiment.
In particular, the program 710 may include program code that includes computer operating instructions.
The processor 702 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement an embodiment of the invention. The electronic device comprises one or more processors, which can be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.
The memory 706 stores a program 710. The memory 706 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The program 710 may specifically be used to cause the processor 702 to perform the following operations:
responding to a received trigger operation acted on a current display page by a user, and determining a target trigger state and at least one target display element associated with the trigger operation;
determining a target motion track of each target display element in the at least one target display element according to the target trigger state;
and controlling each target display element to move along the associated target motion track, and displaying the special effect of the dynamic scene on the current display page.
In an optional manner, the program 710 may be further specifically configured to cause the processor 702 to perform the following operations:
responding to a received trigger operation acted on a current display page by a user, and determining a target trigger state associated with the trigger operation and a triggered target control;
extracting at least one target display element from an element material library associated with the target control according to the motion trail quantity associated with the target trigger state;
and determining the element number of each target display element in the at least one target display element according to the preset element proportion associated with the target trigger state to obtain the target display elements corresponding to the motion trail number.
In an optional manner, the program 710 may be further specifically configured to cause the processor 702 to perform the following operations:
according to the preset element proportion associated with the target trigger state, a motion track to be planned is appointed for each target display element;
respectively determining at least four key track points of each motion track to be planned, and connecting the key track points into a smooth curve according to the at least four key track points to form a target motion track of the motion track to be planned;
and determining each track motion point in each target motion track and the coordinates of each track motion point to obtain a track motion point set of each target motion track.
In an optional manner, the program 710 may be further specifically configured to cause the processor 702 to perform the following operations:
determining the position acted by the trigger operation on the current display page as a first key track point of each motion track to be planned according to the trigger operation;
determining a highest point for each motion track to be planned by taking the first key track point as a coordinate origin, and determining each highest point as a second key track point of the associated motion track to be planned;
and determining two points which are mutually symmetrical by taking a straight line which is perpendicular to the horizontal axis of the coordinate and is positioned by the second key track point of each motion track to be planned as a symmetrical axis, and taking the two points as a third key track point and a fourth key track point of the motion track to be planned.
In an optional manner, the program 710 may be further specifically configured to cause the processor 702 to perform the following operations:
determining at least two equal intervals at two sides of the origin on a coordinate transverse axis by taking the first key track point as the origin of coordinates according to a preset interval;
determining the highest point in each equally-divided interval based on the principle that the farther the distance from the origin is, the higher the height of the highest point is;
and respectively determining the highest point in each equally divided interval as a second key track point corresponding to the motion track to be planned.
In an optional manner, the program 710 may be further specifically configured to cause the processor 702 to perform the following operations:
determining the motion trend of each motion track to be planned and the target slope of a straight line formed by the first key track point and the second key track point of each motion track to be planned according to the first key track point and the second key track point of each motion track to be planned;
according to the motion trend of each motion track to be planned and the target slope, determining a point which is lower than the second key track point in height and higher than the target slope of a straight line formed by the first key track point as a third key track point in an interval between the first key track point and the second key track point;
and determining the symmetrical point of the third key track point as a fourth key track point by taking the straight line perpendicular to the coordinate transverse axis where the second key track point of each motion track to be planned is as a symmetrical axis.
In an optional manner, the program 710 may be further specifically configured to cause the processor 702 to perform the following operations:
and if the motion trail to be planned is judged to be the central motion trail of each motion trail to be planned according to the motion trail quantity associated with the target trigger state, determining that four key track points of the motion trail to be planned are on the coordinate longitudinal axis.
In an optional manner, the program 710 may be further specifically configured to cause the processor 702 to perform the following operations:
and controlling each target display element, and sequentially displaying on each track motion point according to the track motion point set of the target motion track associated with the target display element in preset time so as to display the special effect of the dynamic scene of the motion of the target display element in the current display page.
In an optional manner, the program 710 may be further specifically configured to cause the processor 702 to perform the following operations:
determining the current motion progress of each target display element according to the track motion point set of each target motion track and the current track motion point where each target display element is located;
and controlling a target display element to be displayed on the current track motion point according to the current motion progress and a preset display condition associated with the current motion progress and the preset display condition.
In an alternative mode, the preset display condition at least includes a display size condition and a display transparency condition.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.

Claims (24)

1. A scene special effect display method is used for carrying out dynamic special effect display on point touch operation acted on a current display page by a user, and comprises the following steps:
responding to a received trigger operation acted on a current display page by a user, and determining a target trigger state and at least one target display element associated with the trigger operation;
determining a target motion track of each target display element in the at least one target display element according to the target trigger state;
controlling each target display element to move along the associated target motion track, and displaying a special effect of a dynamic scene on the current display page;
wherein, the determining the target motion trajectory of each target display element in the at least one target display element according to the target trigger state includes:
according to the preset element proportion associated with the target trigger state, a motion track to be planned is appointed for each target display element;
respectively determining at least four key track points of each motion track to be planned, and connecting the key track points into a smooth curve according to the at least four key track points to form a target motion track of the motion track to be planned;
determining each track motion point in each target motion track and the coordinates of each track motion point to obtain a track motion point set of each target motion track;
wherein, the determining at least four key track points of each motion track to be planned respectively includes:
determining the position acted by the trigger operation on the current display page as a first key track point of each motion track to be planned according to the trigger operation;
determining a highest point for each motion track to be planned by taking the first key track point as a coordinate origin, and determining each highest point as a second key track point of the associated motion track to be planned;
and determining two points which are mutually symmetrical by taking a straight line which is perpendicular to the horizontal axis of the coordinate and is positioned by the second key track point of each motion track to be planned as a symmetrical axis, and taking the two points as a third key track point and a fourth key track point of the motion track to be planned.
2. The method of claim 1, wherein the determining, in response to a received trigger operation of a user on a currently displayed page, a target trigger state and at least one target display element associated with the trigger operation comprises:
responding to a received trigger operation acted on a current display page by a user, and determining a target trigger state associated with the trigger operation and a triggered target control;
extracting at least one target display element from an element material library associated with the target control according to the motion trail quantity associated with the target trigger state;
and determining the element number of each target display element in the at least one target display element according to the preset element proportion associated with the target trigger state to obtain the target display elements corresponding to the motion trail number.
3. The method according to claim 1, wherein the determining the highest point for each motion trajectory to be planned with the first key trajectory point as the origin of coordinates and determining each highest point as the second key trajectory point of the associated motion trajectory to be planned includes:
determining at least two equal intervals at two sides of the origin on a coordinate transverse axis by taking the first key track point as the origin of coordinates according to a preset interval;
determining the highest point in each equally-divided interval based on the principle that the farther the distance from the origin is, the higher the height of the highest point is;
and respectively determining the highest point in each equally divided interval as a second key track point corresponding to the motion track to be planned.
4. The method according to claim 1, wherein the determining two points which are symmetrical to each other with respect to a symmetry axis which is a straight line perpendicular to a coordinate horizontal axis and in which the second key track point of each motion trajectory to be planned is located as the symmetry axis, as the third key track point and the fourth key track point of the motion trajectory to be planned, includes:
determining the motion trend of each motion track to be planned and the target slope of a straight line formed by the first key track point and the second key track point of each motion track to be planned according to the first key track point and the second key track point of each motion track to be planned;
according to the motion trend of each motion track to be planned and the target slope, determining a point which is lower than the second key track point in height and higher than the target slope of a straight line formed by the first key track point as a third key track point in an interval between the first key track point and the second key track point;
and determining the symmetrical point of the third key track point as a fourth key track point by taking the straight line perpendicular to the coordinate transverse axis where the second key track point of each motion track to be planned is as a symmetrical axis.
5. The method according to claim 1, wherein after determining, as the first key track point of each motion trajectory to be planned, the position acted on the current display page by the trigger operation according to the trigger operation, the method further comprises:
and if the motion trail to be planned is judged to be the central motion trail of each motion trail to be planned according to the motion trail quantity associated with the target trigger state, determining that four key track points of the motion trail to be planned are on the coordinate longitudinal axis.
6. The method of claim 1, wherein the controlling each target display element to move along an associated target motion trajectory to display a dynamic scene special effect on the current display page comprises:
and controlling each target display element, and sequentially displaying on each track motion point according to the track motion point set of the target motion track associated with the target display element in preset time so as to display the special effect of the dynamic scene of the motion of the target display element in the current display page.
7. The method of claim 1, wherein the controlling each target display element to move along an associated target motion trajectory to display a dynamic scene special effect on the current display page comprises:
determining the current motion progress of each target display element according to the track motion point set of each target motion track and the current track motion point where each target display element is located;
and controlling a target display element to be displayed on the current track motion point according to the current motion progress and a preset display condition associated with the current motion progress and the preset display condition.
8. The method of claim 7, wherein the preset display conditions include at least a display size condition and a display transparency condition.
9. An electronic device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is configured to store at least one executable instruction that causes the processor to:
responding to a received trigger operation acted on a current display page by a user, and determining a target trigger state and at least one target display element associated with the trigger operation;
determining a target motion track of each target display element in the at least one target display element according to the target trigger state;
controlling each target display element to move along the associated target motion track, and displaying a special effect of a dynamic scene on the current display page;
wherein, the determining the target motion trajectory of each target display element in the at least one target display element according to the target trigger state includes:
according to the preset element proportion associated with the target trigger state, a motion track to be planned is appointed for each target display element;
respectively determining at least four key track points of each motion track to be planned, and connecting the key track points into a smooth curve according to the at least four key track points to form a target motion track of the motion track to be planned;
determining each track motion point in each target motion track and the coordinates of each track motion point to obtain a track motion point set of each target motion track;
wherein, the determining at least four key track points of each motion track to be planned respectively includes:
determining the position acted by the trigger operation on the current display page as a first key track point of each motion track to be planned according to the trigger operation;
determining a highest point for each motion track to be planned by taking the first key track point as a coordinate origin, and determining each highest point as a second key track point of the associated motion track to be planned;
and determining two points which are mutually symmetrical by taking a straight line which is perpendicular to the horizontal axis of the coordinate and is positioned by the second key track point of each motion track to be planned as a symmetrical axis, and taking the two points as a third key track point and a fourth key track point of the motion track to be planned.
10. The electronic device of claim 9, the executable instructions further cause the processor to:
responding to a received trigger operation acted on a current display page by a user, and determining a target trigger state associated with the trigger operation and a triggered target control;
extracting at least one target display element from an element material library associated with the target control according to the motion trail quantity associated with the target trigger state;
and determining the element number of each target display element in the at least one target display element according to the preset element proportion associated with the target trigger state to obtain the target display elements corresponding to the motion trail number.
11. The electronic device of claim 9, the executable instructions further cause the processor to:
determining at least two equal intervals at two sides of the origin on a coordinate transverse axis by taking the first key track point as the origin of coordinates according to a preset interval;
determining the highest point in each equally-divided interval based on the principle that the farther the distance from the origin is, the higher the height of the highest point is;
and respectively determining the highest point in each equally divided interval as a second key track point corresponding to the motion track to be planned.
12. The electronic device of claim 9, the executable instructions further cause the processor to:
determining the motion trend of each motion track to be planned and the target slope of a straight line formed by the first key track point and the second key track point of each motion track to be planned according to the first key track point and the second key track point of each motion track to be planned;
according to the motion trend of each motion track to be planned and the target slope, determining a point which is lower than the second key track point in height and higher than the target slope of a straight line formed by the first key track point as a third key track point in an interval between the first key track point and the second key track point;
and determining the symmetrical point of the third key track point as a fourth key track point by taking the straight line perpendicular to the coordinate transverse axis where the second key track point of each motion track to be planned is as a symmetrical axis.
13. The electronic device of claim 9, the executable instructions further cause the processor to:
and if the motion trail to be planned is judged to be the central motion trail of each motion trail to be planned according to the motion trail quantity associated with the target trigger state, determining that four key track points of the motion trail to be planned are on the coordinate longitudinal axis.
14. The electronic device of claim 9, the executable instructions further cause the processor to:
and controlling each target display element, and sequentially displaying on each track motion point according to the track motion point set of the target motion track associated with the target display element in preset time so as to display the special effect of the dynamic scene of the motion of the target display element in the current display page.
15. The electronic device of claim 9, the executable instructions further cause the processor to:
determining the current motion progress of each target display element according to the track motion point set of each target motion track and the current track motion point where each target display element is located;
and controlling a target display element to be displayed on the current track motion point according to the current motion progress and a preset display condition associated with the current motion progress and the preset display condition.
16. The electronic device of claim 15, the preset display condition comprising at least a display size condition and a display transparency condition.
17. A computer storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to:
responding to a received trigger operation acted on a current display page by a user, and determining a target trigger state and at least one target display element associated with the trigger operation;
determining a target motion track of each target display element in the at least one target display element according to the target trigger state;
controlling each target display element to move along the associated target motion track, and displaying a special effect of a dynamic scene on the current display page;
wherein, the determining the target motion trajectory of each target display element in the at least one target display element according to the target trigger state includes:
according to the preset element proportion associated with the target trigger state, a motion track to be planned is appointed for each target display element;
respectively determining at least four key track points of each motion track to be planned, and connecting the key track points into a smooth curve according to the at least four key track points to form a target motion track of the motion track to be planned;
determining each track motion point in each target motion track and the coordinates of each track motion point to obtain a track motion point set of each target motion track;
wherein, the determining at least four key track points of each motion track to be planned respectively includes:
determining the position acted by the trigger operation on the current display page as a first key track point of each motion track to be planned according to the trigger operation;
determining a highest point for each motion track to be planned by taking the first key track point as a coordinate origin, and determining each highest point as a second key track point of the associated motion track to be planned;
and determining two points which are mutually symmetrical by taking a straight line which is perpendicular to the horizontal axis of the coordinate and is positioned by the second key track point of each motion track to be planned as a symmetrical axis, and taking the two points as a third key track point and a fourth key track point of the motion track to be planned.
18. The computer storage medium of claim 17, the executable instructions further causing the processor to:
responding to a received trigger operation acted on a current display page by a user, and determining a target trigger state associated with the trigger operation and a triggered target control;
extracting at least one target display element from an element material library associated with the target control according to the motion trail quantity associated with the target trigger state;
and determining the element number of each target display element in the at least one target display element according to the preset element proportion associated with the target trigger state to obtain the target display elements corresponding to the motion trail number.
19. The computer storage medium of claim 17, the executable instructions further causing the processor to:
determining at least two equal intervals at two sides of the origin on a coordinate transverse axis by taking the first key track point as the origin of coordinates according to a preset interval;
determining the highest point in each equally-divided interval based on the principle that the farther the distance from the origin is, the higher the height of the highest point is;
and respectively determining the highest point in each equally divided interval as a second key track point corresponding to the motion track to be planned.
20. The computer storage medium of claim 17, the executable instructions further causing the processor to:
determining the motion trend of each motion track to be planned and the target slope of a straight line formed by the first key track point and the second key track point of each motion track to be planned according to the first key track point and the second key track point of each motion track to be planned;
according to the motion trend of each motion track to be planned and the target slope, determining a point which is lower than the second key track point in height and higher than the target slope of a straight line formed by the first key track point as a third key track point in an interval between the first key track point and the second key track point;
and determining the symmetrical point of the third key track point as a fourth key track point by taking the straight line perpendicular to the coordinate transverse axis where the second key track point of each motion track to be planned is as a symmetrical axis.
21. The computer storage medium of claim 17, the executable instructions further causing the processor to:
and if the motion trail to be planned is judged to be the central motion trail of each motion trail to be planned according to the motion trail quantity associated with the target trigger state, determining that four key track points of the motion trail to be planned are on the coordinate longitudinal axis.
22. The computer storage medium of claim 17, the executable instructions further causing the processor to:
and controlling each target display element, and sequentially displaying on each track motion point according to the track motion point set of the target motion track associated with the target display element in preset time so as to display the special effect of the dynamic scene of the motion of the target display element in the current display page.
23. The computer storage medium of claim 17, the executable instructions further causing the processor to:
determining the current motion progress of each target display element according to the track motion point set of each target motion track and the current track motion point where each target display element is located;
and controlling a target display element to be displayed on the current track motion point according to the current motion progress and a preset display condition associated with the current motion progress and the preset display condition.
24. The computer storage medium of claim 23, the preset display conditions comprising at least a display size condition and a display transparency condition.
CN201910218393.6A 2019-03-21 2019-03-21 Scene special effect display method, electronic device and computer storage medium Active CN109960448B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910218393.6A CN109960448B (en) 2019-03-21 2019-03-21 Scene special effect display method, electronic device and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910218393.6A CN109960448B (en) 2019-03-21 2019-03-21 Scene special effect display method, electronic device and computer storage medium

Publications (2)

Publication Number Publication Date
CN109960448A CN109960448A (en) 2019-07-02
CN109960448B true CN109960448B (en) 2020-01-17

Family

ID=67024774

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910218393.6A Active CN109960448B (en) 2019-03-21 2019-03-21 Scene special effect display method, electronic device and computer storage medium

Country Status (1)

Country Link
CN (1) CN109960448B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111443845A (en) * 2020-03-30 2020-07-24 北京小米移动软件有限公司 Operation response method and device, electronic equipment and computer readable storage medium
CN113709573B (en) * 2020-05-21 2023-10-24 抖音视界有限公司 Method, device, equipment and storage medium for configuring video special effects
CN112764612A (en) * 2021-01-21 2021-05-07 北京字跳网络技术有限公司 Interaction method, interaction device, electronic equipment and storage medium
CN112988002A (en) * 2021-03-30 2021-06-18 武汉悦学帮网络技术有限公司 Method and device for processing picture book, electronic equipment and storage medium
CN113778301A (en) * 2021-08-16 2021-12-10 盒马(中国)有限公司 Emotion interaction method based on content service and electronic equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108076375A (en) * 2017-11-28 2018-05-25 北京川上科技有限公司 The finger motion track special efficacy implementation method and device of a kind of video

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9081499B2 (en) * 2010-03-02 2015-07-14 Sony Corporation Mobile terminal device and input device
CN105808041B (en) * 2014-12-29 2019-05-31 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN104598112B (en) * 2015-01-23 2019-01-18 小米科技有限责任公司 Button interaction method and apparatus
CN105159539B (en) * 2015-09-10 2018-06-01 京东方科技集团股份有限公司 Touch-control response method, device and the wearable device of wearable device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108076375A (en) * 2017-11-28 2018-05-25 北京川上科技有限公司 The finger motion track special efficacy implementation method and device of a kind of video

Also Published As

Publication number Publication date
CN109960448A (en) 2019-07-02

Similar Documents

Publication Publication Date Title
CN109960448B (en) Scene special effect display method, electronic device and computer storage medium
CN110019766B (en) Knowledge graph display method and device, mobile terminal and readable storage medium
US10341268B2 (en) Method and device for implementing instant messaging
US9678658B2 (en) Method for displaying interface content and user equipment
US20160048412A1 (en) Method and apparatus for switching applications
CN109939440A (en) Generation method, device, processor and the terminal of 3d gaming map
IL276621B1 (en) Browser for mixed reality systems
CN112711372B (en) Page response method in visual impairment mode, computing device and computer storage medium
CN107479818B (en) Information interaction method and mobile terminal
CN111240543A (en) Comment method and device, computer equipment and storage medium
CN110362257B (en) Data processing method, display method and client
US20230405452A1 (en) Method for controlling game display, non-transitory computer-readable storage medium and electronic device
CN114296595A (en) Display method and device and electronic equipment
CN108491140B (en) Interactive content display method and device
CN113891140A (en) Material editing method, device, equipment and storage medium
CN109040767B (en) Live broadcast room loading method, system, server and storage medium
CN111831180B (en) Icon sorting method and device and electronic equipment
CN112911052A (en) Information sharing method and device
CN110968814B (en) Information management system and method for communication application and display terminal
CN108597010A (en) Cut-fill rendering intent and device
CN104102367A (en) Information processing method and device
CN109002293B (en) UI element display method and device, electronic equipment and storage medium
CN107562324A (en) The method and terminal of data display control
CN104679395A (en) Document presenting method and user terminal
CN111744181A (en) In-game information display method and device, game client and medium

Legal Events

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