Method, system and device for controlling dynamic character display effect and medium
By obtaining the user's interaction preference data and instructions, the display effect of dynamic text is dynamically adjusted, which solves the problem of traditional technology that cannot be adjusted in real time and realizes a personalized and diversified display experience.
Patent Information
- Application Number
- CN202510773994.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-10
- Publication Date
- 2025-09-12
AI Technical Summary
Traditional dynamic text display technology cannot be adjusted in real time according to user behavior and cannot meet users' personalized and instant interaction needs.
By acquiring the user's interaction preference data and interaction instructions, the first display parameter and the second display parameter are determined, and the target display parameter is determined in combination with these parameters to control the display effect of the dynamic text.
It realizes real-time adjustment of the display effect of dynamic text according to user needs, provides personalized and diversified display experience, and enhances the user's immersive and interactive experience.
Smart Images

Figure CN120631489A_ABST
Abstract
Description
Technical Field
[0001] This specification relates to the field of display control technology, and in particular to a method, system, device, and medium for controlling dynamic text display effects. Background Art
[0002] As digital interactive scenarios become increasingly complex, dynamic text display technology has become an important vehicle for information transmission. Traditional dynamic text display effects (such as scrolling and particle effects) typically rely on preset parameters. However, this approach lacks awareness of environmental variables and user status, and cannot adapt to user behavior in real time. Adapting to actual user needs and achieving personalized and immediate satisfaction of user interaction preferences for dynamic text display effects is an urgent challenge.
[0003] Therefore, it is necessary to provide a method, system, device and medium for controlling the display effect of dynamic text, which can accurately and dynamically adjust the display effect of dynamic text according to the user's interaction preferences and interaction instructions, and meet the user's demand for diversified display of dynamic text. Summary of the Invention
[0004] One or more embodiments of the present specification provide a method for controlling the display effect of dynamic text, the method comprising: determining a first display parameter based on user interaction preference data; determining a second display parameter based on an interaction instruction issued by the user; determining a target display parameter based on at least one of the first display parameter and the second display parameter; and controlling the display effect of the dynamic text based on the target display parameter.
[0005] One or more embodiments of this specification provide a system for controlling the display effects of dynamic text, the system comprising: an acquisition module, a parameter determination module, and a display module. The acquisition module is configured to acquire user interaction preference data and interaction instructions issued by the user; the parameter determination module is configured to: determine a first display parameter based on the user interaction preference data; determine a second display parameter based on the interaction instructions issued by the user; determine a target display parameter based on at least one of the first display parameter and the second display parameter; and the display module is configured to control the display effects of the dynamic text based on the target display parameter.
[0006] One or more embodiments of the present specification provide a device for controlling dynamic text display effects, comprising at least one processor and at least one memory; the at least one memory is used to store computer instructions; and the at least one processor is used to execute at least part of the computer instructions to implement a method for controlling dynamic text display effects.
[0007] One or more embodiments of this specification provide a computer-readable storage medium that stores computer instructions. When a computer reads the computer instructions in the storage medium, the computer executes a method for controlling dynamic text display effects. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] This specification will be further described in the form of exemplary embodiments, which will be described in detail with reference to the accompanying drawings. These embodiments are not limiting, and in these embodiments, like numbers represent like structures, wherein: Figure 1 This is a schematic diagram of an application scenario of the method for controlling the display effect of dynamic text according to some embodiments of this specification; Figure 2 is an exemplary module diagram of a system for controlling dynamic text display effects according to some embodiments of this specification; Figure 3 is an exemplary flow chart of a method for controlling dynamic text display effects according to some embodiments of this specification; Figure 4 is an exemplary flow chart of determining a first display parameter according to some embodiments of this specification; Figure 5 This is an exemplary schematic diagram of determining the second display parameter according to some embodiments of this specification. DETAILED DESCRIPTION
[0009] To more clearly illustrate the technical solutions of the embodiments of this specification, the following briefly describes the drawings required for describing the embodiments. Obviously, the drawings described below are merely examples or embodiments of this specification. Those skilled in the art can apply this specification to other similar scenarios based on these drawings without inventive effort. Unless otherwise apparent from the context or otherwise noted, the same reference numerals in the figures represent the same structure or operation.
[0010] It should be understood that the terms "system," "device," "unit," and / or "module" used herein are a method for distinguishing different components, elements, parts, portions, or assemblies at different levels. However, if other terms can achieve the same purpose, the terms may be replaced by other expressions.
[0011] Flowcharts are used throughout this specification to illustrate the operations performed by systems according to embodiments of this specification. It should be understood that preceding or following operations do not necessarily need to be performed in exact order. Instead, the steps may be processed in reverse order or simultaneously. Furthermore, other operations may be added to these processes, or one or more operations may be removed from these processes.
[0012] Figure 1 This is a schematic diagram of an application scenario of the method for controlling the dynamic text display effect shown in some embodiments of this specification.
[0013] In some embodiments, as Figure 1 As shown, an application scenario (hereinafter referred to as application scenario) 100 of the method for controlling dynamic text display effects may include a user terminal 110 , a network 120 , a processor 130 and a storage device 140 .
[0014] In some embodiments, application scenarios 100 may include listening to music, reciting poetry, etc. For example, if application scenario 100 involves listening to music, and the user wishes to enrich the display of lyrics to enhance the user's singing or dancing immersion experience, the user terminal 110 may be used to control the display of the desired song lyrics. For another example, if application scenario 100 involves reciting poetry, and the user wishes to enrich the display of the poetry to enhance the user's memory of the poetry, the user terminal 110 may be used to control the display of the desired poetry.
[0015] In some embodiments, one or more components in the application scenario 100 may transmit data to other components in the application scenario 100 via the network 120. For example, the processor 130 may obtain information and / or data from the user terminal 110 and the storage device 140 via the network 120, or may send information and / or data to the user terminal 110 and the storage device 140 via the network 120.
[0016] User terminal 110 is used to display dynamic text. In some embodiments, user terminal 110 may include a tablet computer 111, a portable computer 112, or the like. A user may issue interactive commands through user terminal 110 to control the display of dynamic text. The user may issue interactive commands by at least one of touch screen, voice input, and text input.
[0017] Dynamic text refers to text that is dynamically displayed on user terminal 110. Dynamic display can be a display method that changes in real time during the user's interaction with user terminal 110. Dynamic text can include at least one of lyrics, poetry, and commentary that the user desires to view. The following description uses lyrics as an example to illustrate the content.
[0018] The network 120 can be any suitable network capable of facilitating information and / or data exchange. In some embodiments, the network 120 can be any one or more of a wired network and a wireless network. The network 120 can include one or more network access points. Through these network access points, one or more components in the application scenario 100 can connect to the network 120 to exchange data and / or information.
[0019] The processor 130 is configured to process data from one or more components in the application scenario 100 or an external data source. For example, the processor 130 may determine target display parameters and send the target display parameters to the user terminal 110 via the network 120 .
[0020] In some embodiments, the processor 130 may include a central processing unit (CPU), an application-specific integrated circuit (ASIC), an application-specific instruction set processor (ASIP), a graphics processing unit (GPU), a physical processing unit (PPU), a digital signal processor (DSP), a controller, a microcontroller unit, a reduced instruction set computer (RISC), a microprocessor, or the like, or any combination thereof. In some embodiments, the processor 130 may be local or remote.
[0021] Storage device 140 is used to store data, instructions, and / or any other information. In some embodiments, storage device 140 may store data and / or information (e.g., interaction instructions and target display parameters) transmitted or retrieved by user terminal 110 and processor 130. In some embodiments, storage device 140 may store data and / or instructions used by processor 130 to execute or perform the exemplary methods described herein. For example, target display parameters determined by processor 130 may be stored in storage device 140. In some embodiments, storage device 140 may include mass storage, removable storage, or any combination thereof. In some embodiments, storage device 140 may be integrated into processor 130.
[0022] In some embodiments, the process of controlling the dynamic text display effect includes: the processor 130 obtains the interactive instructions or data sent by the user terminal 110 through the network 120, processes the interactive instructions or data to generate target display parameters, and sends the target display parameters to the user terminal 110 through the network 120. During this process, the storage device 140 can store all data, instructions and / or any other information in this process.
[0023] For more information about the above components, see Figure 2-Figure 5 and its related descriptions.
[0024] It should be noted that the application scenario 100 of the system for controlling dynamic text display effects is provided for illustrative purposes only and is not intended to limit the scope of this specification. A person of ordinary skill in the art may make various modifications or variations based on the description of this specification. However, such modifications and variations will not deviate from the scope of this specification.
[0025] Figure 2 This is an exemplary module diagram of a system for controlling dynamic text display effects according to some embodiments of this specification.
[0026] In some embodiments, as Figure 2 As shown, the system 200 for controlling dynamic text display effects may include an acquisition module 210, a parameter determination module 220, and a display module 230. In some embodiments, the acquisition module 210 and the parameter determination module 220 may be integrated into the processor 130. The display module 230 may be integrated into the user terminal 110. For an explanation of the processor 130 and the user terminal 110, see Figure 1 and its related descriptions.
[0027] In some embodiments, the acquisition module may be configured to acquire the user's interaction preference data and the interaction instructions issued by the user.
[0028] In some embodiments, the parameter determination module can be configured to determine a first display parameter based on the user's interaction preference data; determine a second display parameter based on an interaction instruction issued by the user; and determine a target display parameter based on at least one of the first display parameter and the second display parameter.
[0029] In some embodiments, the parameter determination module can be further configured to determine multiple key frames of the audio data based on the audio data corresponding to the dynamic text; divide the audio data into multiple reference paragraphs based on the multiple key frames; and for each reference paragraph, determine the first display parameter corresponding to the reference paragraph based on the audio feature data and / or interaction preference data corresponding to the reference paragraph.
[0030] In some embodiments, the parameter determination module may be further configured to determine user interaction information based on the interaction instruction; and determine the second display parameter based on the user interaction information.
[0031] In some embodiments, the parameter determination module can be further configured to determine tactile feedback parameters and / or auditory feedback parameters based on at least one of audio feature data, playback volume, and playback environment data within a reference paragraph corresponding to the interaction time point.
[0032] In some embodiments, the display module may be configured to control the display effect of the dynamic text based on the target display parameter. The display module may include a user terminal, etc.
[0033] For more information about the above modules, please refer to Figure 3-Figure 5 and related instructions.
[0034] In some embodiments of the present specification, the system 200 for controlling the dynamic text display effect can quickly obtain the user's interaction instructions, and accurately adjust the text display effect in real time according to the interaction instructions and the user's interaction preferences, thereby meeting the user's demand for diversified display of dynamic text.
[0035] It should be noted that the above description of the dynamic text display effect control system 200 and its modules is for convenience only and does not limit this specification to the scope of the embodiments. It is understandable that those skilled in the art, after understanding the principles of the system, may arbitrarily combine the modules or form subsystems connected to other modules without deviating from the principles. In some embodiments, Figure 2 The acquisition module 210, parameter determination module 220, and display module 230 disclosed herein may be different modules within a system, or a single module may implement the functions of two or more of the aforementioned modules. For example, the modules may share a storage module, or each module may have its own storage module. Such variations are within the scope of protection of this specification.
[0036] Figure 3 FIG3 is an exemplary flow chart of a method for controlling dynamic text display effects according to some embodiments of this specification. In some embodiments, process 300 is executed by a processor. Process 300 includes steps 310 to 340.
[0037] Step 310: Determine a first display parameter based on the user's interaction preference data.
[0038] Interaction preference data refers to data related to the display effect preferred by the user. In some embodiments, the display effect may include at least one of the color, size, style, transparency, reference movement speed, and reference arrangement effect of the dynamic text. Transparency refers to the transparency of the dynamic text font. For an explanation of dynamic text, see Figure 1 and its related descriptions.
[0039] Reference motion speed refers to the speed at which dynamic text moves.
[0040] The reference arrangement effect refers to the arrangement form of dynamic text. For example, Flower Surround (i.e., the dynamic text is arranged in a flower pattern) or Circular Surround (i.e., the dynamic text is arranged in a circle), etc. The storage device can store multiple preset reference arrangement effects, and users can select a reference arrangement effect as needed.
[0041] In some embodiments, the processor can obtain interaction preference data in various ways. For example, the processor can obtain a display effect preset by a user and determine the user-set display effect as the interaction preference data. For another example, the processor can obtain display effects set by the user historically from a storage device and determine the display effect that appears the most frequently as the interaction preference data.
[0042] For more information about processors and storage devices, see Figure 1and its related descriptions.
[0043] The first display parameter refers to a parameter related to the display effect set by the user before interaction. In some embodiments, the first display parameter may include at least one of the color, size, style, transparency, reference motion speed, and reference arrangement effect of the dynamic text.
[0044] In some embodiments, the processor may determine the first display parameter in various ways. For example, based on the interaction preference data, the processor may use the color, size, style, transparency, reference motion speed, and reference arrangement effect of the dynamic text in the interaction preference data as the first display parameter.
[0045] In some embodiments, the processor may also determine the first display parameter corresponding to the reference paragraph based on the audio feature data and / or interaction preference data corresponding to the reference paragraph. Figure 4 and its related descriptions.
[0046] Step 320: Determine a second display parameter based on the interaction instruction issued by the user.
[0047] An interaction instruction is an instruction indicating that the user is interacting. In some embodiments, in response to a user touching the interaction interface or performing voice input, the user terminal may send an interaction instruction (such as a specific code) to the processor to indicate that the user is interacting.
[0048] In some embodiments, users can interact in a variety of ways, for example, users can issue interactive instructions or input information by touching the interactive interface or voice input. The interactive interface may include a display screen of the user terminal, etc. For a description of the user terminal, see Figure 1 and its related descriptions.
[0049] In some embodiments, if the user interacts through a touch interaction interface, the interaction instruction may also include the interaction time point, interaction position, and interaction gesture, etc.
[0050] The interaction time point refers to the time when the user interacts. The interaction location refers to the location on the interface where the user interacts. The interaction gesture refers to the gesture used by the user during interaction, such as at least one of a single finger tap, finger clustering, or finger spread. Finger clustering refers to the movement of multiple fingers from a spread state to a single position. Finger spread refers to the movement of multiple fingers from a spread state to a single position and then spreading.
[0051] The second display parameter refers to a parameter related to the display effect determined by the processor during user interaction. In some embodiments, the second display parameter may include parameters corresponding to the display effect that are not included in the first display parameter. For example, if the first display parameter includes the color and size of the dynamic text, the second display parameter may include the style and transparency of the dynamic text.
[0052] It is understandable that when setting the interaction preference data, the user may only set the parameters that he or she is interested in. Then the processor can automatically determine other parameters related to the display effect when the user interacts.
[0053] In some embodiments, the processor can determine the second display parameter in various ways based on the interaction instruction issued by the user. For example, if the parameter corresponding to the display effect not included in the first display parameter is the transparency of the dynamic text, the processor can use random transparency as the second display parameter of the dynamic text at the interaction time point based on the interaction time point in the interaction instruction. Random transparency refers to a transparency randomly generated by the processor within a preset transparency range. The preset transparency range can be pre-set based on historical experience.
[0054] If the parameter corresponding to the display effect not included in the first display parameter is the style of the dynamic text, etc., the method for determining the style of the dynamic text is similar to the method for determining the transparency of the dynamic text.
[0055] If the parameter corresponding to the display effect not included in the first display parameter is a reference arrangement effect of dynamic text, the processor may randomly select a reference arrangement effect from the storage device as the second display parameter.
[0056] In some embodiments, the processor may also determine user interaction information based on the interaction instruction, and determine the second display parameter based on the user interaction information. Figure 5 and its related descriptions.
[0057] Step 330: Determine a target display parameter based on at least one of the first display parameter and the second display parameter.
[0058] Target display parameters refer to the parameters that control the display effect of dynamic text.
[0059] In some embodiments, the processor may determine the target display parameter based on at least one of the first display parameter and the second display parameter. For example, the processor may determine the target display parameter by taking the union of the first display parameter and the second display parameter as the target display parameter. This method of determining the target display parameter may be referred to as a semi-random mode.
[0060] In some embodiments, the processor may also determine the target display parameters using a fully random mode or a fixed mode. In a fixed mode, the processor may use the first display parameter input by the user as the target display parameter (i.e., in a fixed mode, the user sets the parameters corresponding to all display effects before interaction). In a fully random mode, when the user issues an interaction instruction, the processor randomly generates a second display parameter and uses the second display parameter as the target display parameter (i.e., in a fully random mode, the user does not set the parameters corresponding to any display effect, but the processor randomly generates the parameters corresponding to all display effects). The user may choose one of the semi-random mode, the fully random mode, or the fixed mode when using it.
[0061] Step 340: Control the display effect of the dynamic text based on the target display parameters.
[0062] In some embodiments, the processor may generate a control instruction based on the target display parameter and send the control instruction to the user terminal, and the user terminal controls the display effect of the dynamic text on the interactive interface based on the control instruction.
[0063] In some embodiments, the interactive interface may include a font display area and an interactive area.
[0064] The interactive area may be an area on the interactive interface where the user interacts. In some embodiments, in response to the user touching the interactive area, the user terminal may send an interactive instruction (such as sending a specific code, etc.) to the processor to indicate that the user is interacting.
[0065] The font display area can be an area on the interactive interface where dynamic text is displayed. In some embodiments, the processor can generate a control instruction based on the target display parameter and send it to the user terminal. The user terminal controls the dynamic text to be displayed in the font display area based on the control instruction.
[0066] In some embodiments, the position and size of the font display area and the interactive area can be set by the user.
[0067] In some embodiments of the present specification, by dividing the interactive interface into an interactive area and a font display area, the display effect of dynamic text can be more clearly presented, while facilitating free interaction for users.
[0068] In some embodiments, the dynamic text can also be displayed in 3D, and users can view the dynamic text display effect by wearing VR glasses or other tools. If the dynamic text is displayed in 3D, the interactive interface can also be presented in 3D, not limited to the display screen of the user terminal. In this case, the user can interact through the 3D interactive interface in space (such as by tapping a finger in the air).
[0069] In some embodiments of this specification, based on the user's interaction preference data and the interaction instructions issued by the user, the target display parameters that conform to the user's daily usage habits can be determined, the display effect of the text can be accurately and dynamically adjusted, and a variety of text display effects can be provided to the user.
[0070] It should be noted that the above description of process 300 is for illustration and purpose only and does not limit the scope of application of this specification. Those skilled in the art may make various modifications and variations to process 300 under the guidance of this specification. However, such modifications and variations are still within the scope of this specification.
[0071] Figure 4 FIG4 is an exemplary flow chart of determining a first display parameter according to some embodiments of the present disclosure. In some embodiments, process 400 is executed by a processor. Process 400 includes steps 410 to 430.
[0072] In some embodiments, the processor can also determine multiple key frames of the audio data based on the audio data corresponding to the dynamic text; divide the audio data into multiple reference paragraphs based on the multiple key frames; and for each reference paragraph, determine the first display parameter corresponding to the reference paragraph based on the audio feature data and / or interaction preference data corresponding to the reference paragraph.
[0073] Step 410: Determine a plurality of key frames of the audio data based on the audio data corresponding to the dynamic text.
[0074] Audio data refers to the audio data of the complete text corresponding to the dynamic text. For example, if the dynamic text is a line of lyrics, the audio data of the complete text is the audio of the song corresponding to the line of lyrics. The following description uses the dynamic text as an example of lyrics.
[0075] In some embodiments, the processor may obtain audio data corresponding to the dynamic text from a storage device.
[0076] A keyframe is a frame at a specific time point in the audio data.
[0077] In some embodiments, the processor can determine key frames based on audio data. For example, using a song as an example, the processor can extract audio feature data for each line of lyrics using an audio feature extraction algorithm, determine time points between adjacent lyrics where the audio feature data differs significantly, and use frames corresponding to these time points as key frames. The time points between adjacent lyrics can be the time points when two lyrics switch.
[0078] For another example, the processor uses the frame at the beginning and the frame at the end of each line of lyrics as key frames.
[0079] Audio feature data refers to data that characterizes the characteristics of audio data. In some embodiments, the audio feature data may include at least one of the rhythm, beat, and pitch of the lyrics. The audio feature extraction algorithm may include, for example, Fourier transform followed by frequency domain analysis.
[0080] In some embodiments, the processor may normalize the rhythm, beat, pitch, etc. and construct a feature vector based on the normalized rhythm, beat, pitch, etc. The difference in the audio feature data of two lyrics is represented by the similarity between the feature vectors corresponding to the two lyrics. The higher the similarity, the smaller the difference in the audio feature data. The similarity between feature vectors may be negatively correlated with the distance between the feature vectors (such as the Euclidean distance).
[0081] In some embodiments, a large difference in audio feature data may be indicated by the similarity between feature vectors being less than a similarity threshold. The similarity threshold may be pre-set based on historical experience.
[0082] In some embodiments, the audio feature data may also include lyrics text, etc. The processor may obtain the lyrics text from the storage device. The lyrics text is not involved in the determination of the difference in the audio feature data.
[0083] Step 420 : Divide the audio data into a plurality of reference sections based on the plurality of key frames.
[0084] The reference segment refers to an audio segment obtained by dividing the audio data in chronological order.
[0085] In some embodiments, the processor may divide the audio data into multiple reference segments based on key frames. For example, the processor may use the audio segment between two adjacent key frames as a reference segment. For another example, the processor may use the audio segment of a preset duration before and after the key frames as a reference segment. The preset duration may be pre-set based on historical experience.
[0086] Step 430 : For each reference paragraph, determine a first display parameter corresponding to the reference paragraph based on the audio feature data and / or interaction preference data corresponding to the reference paragraph.
[0087] For the description of the first display parameter, see Figure 3 and its related descriptions.
[0088] In some embodiments, the processor may determine the first display parameter corresponding to the reference paragraph based on the audio feature data and / or interaction preference data corresponding to the reference paragraph. For example, the processor may include the color, size, style, and transparency of the dynamic text in the interaction preference data in the first display parameter corresponding to the reference paragraph, and determine the reference motion speed and reference arrangement effect corresponding to the reference paragraph based on the audio feature data corresponding to the reference paragraph.
[0089] In some embodiments, the processor may determine the reference motion speed corresponding to the reference paragraph by querying a first preset table based on the audio feature data corresponding to the reference paragraph.
[0090] In some embodiments, the first preset table can be pre-set based on historical experience and includes the relationship between the audio feature data and the reference motion speed. For example, the slower the tempo and the lower the pitch, the slower the reference motion speed.
[0091] In some embodiments, the reference movement speed in the first preset table can be represented by a speed range, that is, the reference movement speed corresponding to the reference paragraph can be a speed range, and the processor can select a speed from the reference movement speed range as the movement speed of the lyrics corresponding to the reference paragraph.
[0092] In some embodiments, the processor may select, from a storage device, a reference arrangement effect corresponding to the lyrics text in the audio feature data corresponding to the reference paragraph as the reference arrangement effect corresponding to the reference paragraph. For example, if the lyrics text includes flowers, the reference arrangement effect corresponding to the reference paragraph may be a flower surround.
[0093] If there is no reference arrangement effect corresponding to the lyrics text in the storage device, the processor may randomly select a reference arrangement effect from the storage device as the reference arrangement effect corresponding to the reference paragraph.
[0094] In some embodiments, the reference paragraph may correspond to multiple lyrics, and the multiple lyrics in the reference paragraph are all displayed according to the first display parameter corresponding to the reference paragraph.
[0095] In some embodiments of the present specification, audio data is divided into multiple paragraphs according to multiple key frames, which is conducive to the specialized setting of the first display parameter for different paragraphs, further providing users with richer text display effects and enhancing the user experience.
[0096] It should be noted that the above description of process 400 is for illustration and purpose only and does not limit the scope of application of this specification. Those skilled in the art may make various modifications and variations to process 400 under the guidance of this specification. However, such modifications and variations are still within the scope of this specification.
[0097] Figure 5 This is an exemplary schematic diagram of determining the second display parameter according to some embodiments of this specification.
[0098] In some embodiments, as Figure 5As shown, the processor can determine user interaction information 520 based on the interaction instruction 510; and determine second display parameters 530 based on the user interaction information 520. The second display parameters 530 include visual feedback parameters 531. For a description of the interaction instruction and the second display parameters, see Figure 3 and its related descriptions.
[0099] Visual feedback parameters refer to parameters related to the visual effects of dynamic text movement.
[0100] In some embodiments, the visual feedback parameter may include at least one of a target movement position, a target movement path, and a target movement speed of the target interaction unit.
[0101] The target interaction unit refers to the dynamic text that needs to be moved on the interactive interface. In some embodiments, there may be multiple target interaction units on the interactive interface, and the target interaction unit may include at least one of a single character or a single word.
[0102] The target interaction unit refers to the smallest text unit displayed on the interactive interface. The target interaction unit can include at least one of a single character or a single word.
[0103] The target motion position refers to the position to which the target interaction unit needs to move on the interaction interface.
[0104] The target motion path refers to the path that the target interaction unit moves from the current position to the target motion position. The target motion path may include a straight line or a curve.
[0105] Target motion speed refers to the speed at which the target interaction unit moves.
[0106] User interaction information refers to information related to the user's interactive behavior. In some embodiments, user interaction information may include interaction time, interaction location, and interaction gestures. For details about interaction time, interaction location, and interaction gestures, see Figure 3 and its related descriptions.
[0107] In some embodiments, the processor may extract the interaction time point, interaction position, and interaction gesture in the interaction instruction as user interaction information based on the interaction instruction.
[0108] In some embodiments, if the display effect and interactive interface of the dynamic text are presented in 3D form, the interactive position can be represented by a coordinate point in space.
[0109] In some embodiments, the processor may determine the second display parameter based on the user interaction information. For example, the processor may determine a reference arrangement effect corresponding to the interaction gesture based on the interaction gesture in the user interaction information, and determine the visual feedback parameter in the second display parameter based on the reference arrangement effect.
[0110] In some embodiments, the reference arrangement effect corresponding to the interaction gesture can be pre-set. For example, if the interaction gesture is a finger-gathering gesture, the reference arrangement effect corresponding to the interaction gesture can be that the target interaction units gather toward the interaction position. For another example, if the interaction gesture is a finger-diverging gesture, the reference arrangement effect corresponding to the interaction gesture can be that the target interaction units spread outward.
[0111] In some embodiments, the processor may determine the target motion position of the target interaction unit based on a reference arrangement effect. For example, if the interaction gesture is a finger-converging gesture, the target motion position may be a circle of a preset diameter centered at the interaction position, and each target interaction unit may be arranged sequentially on the circle at equal intervals or in other manners. For another example, if the interaction gesture is a finger-diverging gesture, the processor may randomly determine the target motion position.
[0112] In some embodiments, the processor may determine the target motion path based on the target motion position and the current position of the target interaction unit. For example, the processor may use a straight line or curve between the target motion position and the current position of the target interaction unit as the target motion path.
[0113] In some embodiments, the processor may randomly select a speed from the reference motion speed range corresponding to the reference paragraph as the target motion speed of the target interaction unit based on the reference paragraph where the target interaction unit is located. The target motion speeds of different target interaction units may be different. For an explanation of the reference paragraph and the reference motion speed range, please refer to Figure 4 and its related descriptions.
[0114] In some embodiments, if the dynamic text display effect and interactive interface are presented in 3D, the target motion position of the target interaction unit can be represented by coordinate points in space. The target motion position, target motion path, and target motion speed in the 3D format are determined in a manner similar to the above-described method for determining the target motion position, target motion path, and target motion speed.
[0115] In some embodiments, the user interaction information may further include contact force, and the processor may determine the target motion speed based on the contact force.
[0116] The contact force may be the force applied by the user when touching the interactive interface. The contact force may be represented by a numerical value, where a larger numerical value indicates a greater contact force. In some embodiments, the processor may obtain the contact force using a pressure sensor, etc., deployed on the user terminal.
[0117] In some embodiments, the processor may determine the target movement speed based on the contact force. For example, the target movement speed is positively correlated with the contact force, and the greater the contact force, the faster the target movement speed.
[0118] In some implementations, the user interaction information may further include user facial expression information and / or user physiological indicators. The processor may further determine a user emotion score based on the user facial expression information and / or user physiological indicators, and determine the target motion speed based on the emotion score.
[0119] User expression information refers to data related to the user's facial expression. In some embodiments, user expression information may include smiling, frowning, etc.
[0120] In some embodiments, the processor may capture a user's facial image using a camera deployed on the user terminal, and determine the user's facial expression information based on the facial image using an image recognition algorithm. The image recognition algorithm may include a support vector machine algorithm, etc. When capturing the user's facial image, the user terminal may send a request to the user to capture the facial image. Once the user agrees to the capture, the camera, etc., will capture the facial image.
[0121] User physiological indicators refer to data related to the user's physiological state. In some embodiments, user physiological indicators may include heart rate, skin charge, etc. In some embodiments, the processor may obtain user physiological indicators through a monitoring device connected to the user terminal (such as a sports watch that monitors physiological indicators such as heart rate and skin charge). The monitoring device can be connected to the user terminal via a communication connection or a line connection.
[0122] The emotion score refers to data that evaluates the degree of excitement of the user's emotions. The larger the emotion score, the more excited the user is.
[0123] In some embodiments, the processor may determine the emotion score based on the user's facial expression information and / or physiological indicators by querying a second preset table. The second preset table may include the relationship between the user's facial expression information and / or physiological indicators and the emotion score. For example, if the user smiles and has a faster heart rate, the emotion score is higher. The second preset table may be preset by a technician based on experience.
[0124] In some embodiments, the processor may determine the target's movement speed based on the emotion score. For example, if the target's movement speed is positively correlated with the emotion score, the processor may determine the target's movement speed based on the emotion score within a preset speed range. The preset speed range may be pre-set based on historical experience.
[0125] For example, if the user smiles, the emotion score is high, and the target movement speed of the lyrics is faster. If the user frowns or has a faster heart rate, the emotion score is also high, and the target movement speed of the lyrics is faster.
[0126] In some embodiments of the present specification, a specific target motion speed can be determined based on the contact force and the user's emotional score during the user's interaction, so that the display effect of the dynamic text is closely related to the user's current state, and the user's unconscious emotional state is integrated into the visual expression of the lyrics, allowing the dynamic text to resonate emotionally with the user, further enriching the user's usage experience.
[0127] In some implementations, the user interaction information may further include a special interaction action initiated by the user. In response to the user interaction information including the special interaction action, the processor may further control the dynamic text to present a special display effect.
[0128] In some embodiments, the special interaction action may include the user quickly shaking the user terminal, etc.
[0129] In some embodiments, the processor may determine the user's special interaction action through sensors configured in the user terminal (such as a gyroscope, a vibration sensor, etc.).
[0130] Special display effects refer to display effects corresponding to special interactive actions. For example, special display effects may include scrambling dynamic text, dropping dynamic text, and stacking dynamic text.
[0131] In some embodiments, special interactive actions and special display effects can be set by the user.
[0132] In some embodiments of the present specification, by setting special interactive actions and special display effects, the user's special visual needs can be met and the visual effects of dynamic text can be enriched.
[0133] In some embodiments, the second display parameter may further include a tactile feedback parameter and / or an auditory feedback parameter. The processor may further determine the tactile feedback parameter and / or the auditory feedback parameter based on at least one of the audio feature data, playback volume, and playback environment data in the reference paragraph corresponding to the interaction time point. For an explanation of the interaction time point, reference paragraph, and audio feature data, see Figure 3 and Figure 4 and its related descriptions.
[0134] The playback volume refers to the volume of the audio feature data played by the user terminal. The processor can obtain the playback volume from the user terminal.
[0135] Playback environment data refers to data related to the environment in which the user terminal is located. In some embodiments, the playback environment data may include light intensity, etc. In some embodiments, the processor may obtain the playback environment data through a light sensor deployed on the user terminal.
[0136] Haptic feedback parameters refer to parameters related to the tactile effect of the dynamic text moving. In some embodiments, the tactile feedback parameters may include vibration intensity, vibration duration, etc. Based on the tactile feedback parameters, the user terminal can emit vibrations when the user performs touch, slide, or other interactive operations to enhance the sense of physical connection with the user. For example, when the lyrics converge at the user's interactive position, the user terminal may emit a vibration.
[0137] Auditory feedback parameters refer to parameters related to the auditory effect of the dynamic text moving. In some embodiments, the auditory feedback parameters may include interaction sounds and their intensity. Based on the auditory feedback parameters, the user terminal can emit sounds when the user performs interactive operations such as touch and swipe to enhance the user's interactive experience. For example, when lyrics converge at the user's interactive location, the user terminal can emit a sound that does not interfere with the audio data (such as a "rustling" sound).
[0138] Interaction sounds are the sounds played by the user terminal when a user interacts with the user. Interaction sounds can be pre-configured. Interaction sounds are different from the audio data played by the user terminal.
[0139] In some implementations, the processor may determine the tactile feedback parameter and / or the auditory feedback parameter based on at least one of audio feature data, playback volume, and playback environment data within a reference paragraph corresponding to the interaction time point. For example, the processor may determine the tactile feedback parameter and / or the auditory feedback parameter by querying a third preset table based on at least one of audio feature data, playback volume, and playback environment data within a reference paragraph corresponding to the interaction time point.
[0140] In some embodiments, the third preset table can be pre-set based on historical experience and includes the relationship between audio feature data, playback volume, playback environment data, auditory feedback parameters, and tactile feedback parameters. For example, the faster the tempo and the higher the pitch of the audio data, the higher the playback volume, the lower the illumination intensity, the higher the vibration intensity, and the longer the vibration duration. For another example, the faster the tempo and the higher the pitch of the audio data, the higher the playback volume, the lower the illumination intensity, and the higher the intensity of the interactive sound.
[0141] In some embodiments of this specification, tactile feedback parameters and / or auditory feedback parameters are determined based on at least one of audio feature data, playback volume, and playback environment data, which can provide users with tactile and auditory experiences and enrich the user's immersive experience based on different scenarios.
[0142] In some embodiments of this specification, the moving position, path, and speed of the dynamic text can be determined in more detail based on user interaction information, thereby obtaining a more accurate second display parameter and adjusting the display effect of the dynamic text in a more refined manner.
[0143] The embodiments of this specification also provide a device for controlling dynamic text display effects, comprising at least one processor and at least one memory. The at least one memory is configured to store computer instructions. The at least one processor is configured to execute at least some of the computer instructions to implement the method for controlling dynamic text display effects described in any of the above embodiments.
[0144] The embodiments of this specification also provide a computer-readable storage medium that stores computer instructions. When a computer reads the computer instructions in the storage medium, the computer executes the method for controlling the dynamic text display effect described in any of the above embodiments.
[0145] While the basic concepts have been described above, it will be apparent to those skilled in the art that the detailed disclosure is merely illustrative and does not limit this specification. Although not explicitly stated herein, various modifications, improvements, and revisions to this specification may be made by those skilled in the art. Such modifications, improvements, and revisions are suggested in this specification and remain within the spirit and scope of the exemplary embodiments of this specification.
[0146] Finally, it should be understood that the embodiments described in this specification are intended only to illustrate the principles of the embodiments of this specification. Other variations may also fall within the scope of this specification. Therefore, by way of example and not limitation, alternative configurations of the embodiments of this specification may be considered consistent with the teachings of this specification. Accordingly, the embodiments of this specification are not limited to the embodiments explicitly described and illustrated in this specification.
Claims
1. A method for controlling the display effect of dynamic text, characterized in that: include: determining a first display parameter based on the user's interaction preference data; determining a second display parameter based on the interaction instruction issued by the user; determining a target display parameter based on at least one of the first display parameter and the second display parameter; Based on the target display parameters, the display effect of the dynamic text is controlled.
2. The method according to claim 1, wherein The determining of the first display parameter based on the user's interaction preference data includes: Determining a plurality of key frames of the audio data based on the audio data corresponding to the dynamic text; Based on the multiple key frames, dividing the audio data into multiple reference segments; For each reference paragraph, the first display parameter corresponding to the reference paragraph is determined based on the audio feature data and / or the interaction preference data corresponding to the reference paragraph.
3. The method according to claim 1, wherein The second display parameter includes a visual feedback parameter, and the visual feedback parameter includes at least one of a target motion position, a motion path, and a motion speed of the target interaction unit; and determining the second display parameter based on the interaction instruction issued by the user includes: determining user interaction information based on the interaction instruction; The second display parameter is determined based on the user interaction information.
4. The method according to claim 3, wherein The second display parameter further includes a tactile feedback parameter and / or an auditory feedback parameter; and determining the second display parameter based on the user interaction information includes: The tactile feedback parameter and / or the auditory feedback parameter is determined based on at least one of the audio feature data, playback volume, and playback environment data in the reference paragraph corresponding to the interaction time point, where the interaction time point is the time point when the user interacts.
5. A system for controlling dynamic text display effects, characterized in that: The system includes an acquisition module, a parameter determination module and a display module; The acquisition module is configured to acquire the user's interaction preference data and the interaction instruction issued by the user; The parameter determination module is configured to: determining a first display parameter based on the user's interaction preference data; determining a second display parameter based on the interaction instruction issued by the user; determining a target display parameter based on at least one of the first display parameter and the second display parameter; The display module is configured to control the display effect of the dynamic text based on the target display parameter.
6. The system according to claim 5, wherein: The parameter determination module is further configured to: Determining a plurality of key frames of the audio data based on the audio data corresponding to the dynamic text; Based on the multiple key frames, dividing the audio data into multiple reference segments; For each reference paragraph, the first display parameter corresponding to the reference paragraph is determined based on the audio feature data and / or the interaction preference data corresponding to the reference paragraph.
7. The system according to claim 5, wherein: The second display parameter includes a visual feedback parameter, and the visual feedback parameter includes at least one of a target motion position, a motion path, and a motion speed of the target interaction unit; the parameter determination module is further configured to: determining user interaction information based on the interaction instruction; The second display parameter is determined based on the user interaction information.
8. The system according to claim 7, wherein: The second display parameter further includes a tactile feedback parameter and / or an auditory feedback parameter; and the parameter determination module is further configured to: The tactile feedback parameter and / or the auditory feedback parameter is determined based on at least one of the audio feature data, playback volume, and playback environment data in the reference paragraph corresponding to the interaction time point, where the interaction time point is the time point when the user interacts.
9. A device for controlling the display effect of dynamic text, characterized in that: The apparatus comprises at least one processor and at least one memory; The at least one memory is for storing computer instructions; The at least one processor is configured to execute at least part of the computer instructions to implement the method according to any one of claims 1 to 4.
10. A computer-readable storage medium, characterized in that The storage medium stores computer instructions. When a computer reads the computer instructions in the storage medium, the computer executes the method according to any one of claims 1 to 4.