CN110825292B - Character information display method and device, storage medium and control terminal - Google Patents

Character information display method and device, storage medium and control terminal Download PDF

Info

Publication number
CN110825292B
CN110825292B CN201911047713.2A CN201911047713A CN110825292B CN 110825292 B CN110825292 B CN 110825292B CN 201911047713 A CN201911047713 A CN 201911047713A CN 110825292 B CN110825292 B CN 110825292B
Authority
CN
China
Prior art keywords
character
sub
characters
information
character information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911047713.2A
Other languages
Chinese (zh)
Other versions
CN110825292A (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.)
Guangzhou Huaduo Network Technology Co Ltd
Original Assignee
Guangzhou Huaduo Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Huaduo Network Technology Co Ltd filed Critical Guangzhou Huaduo Network Technology Co Ltd
Priority to CN201911047713.2A priority Critical patent/CN110825292B/en
Publication of CN110825292A publication Critical patent/CN110825292A/en
Application granted granted Critical
Publication of CN110825292B publication Critical patent/CN110825292B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/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/0483Interaction with page-structured environments, e.g. book metaphor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The application relates to the field of application design, in particular to a character information display method, a device, a storage medium and a control terminal, wherein the method comprises the following steps: creating a character information display container; acquiring sub-characters contained in character information, and drawing corresponding sub-characters in the character information display container according to the characteristic information of each sub-character; receiving a change instruction of the sub-characters, and updating characteristic information of each sub-character according to the change instruction; and acquiring a refresh time interval, refreshing corresponding sub-characters based on a preset sequence according to the refresh time interval, wherein refreshing the corresponding sub-characters comprises drawing corresponding sub-characters in the character information display container according to the characteristic information of the updated sub-characters. The application can smoothly display the character information and the change of the character information.

Description

Character information display method and device, storage medium and control terminal
Technical Field
The application relates to the field of application design, in particular to a character information display method, a device, a storage medium and a control terminal.
Background
Along with the development of internet technology, a control is added on a page to display a certain numerical value and the change of the numerical value, and the existing scheme controls each numerical value by setting a single control, when a certain numerical value needs to be displayed, each control is adjusted to a corresponding numerical value, and the scheme brings great trouble to the number expansion of the numerical value; meanwhile, when the numerical value is changed, each control needs to be controlled to change, namely, each control needs to be provided with an animation, the change of a plurality of controls has larger terminal performance loss, the requirements of the numerical value with larger change degree are not met, and the numerical value information cannot be displayed smoothly and efficiently, and the change of the numerical value information cannot be displayed.
Disclosure of Invention
In order to solve the technical problems, in particular to the problems of fluency and high-efficiency display of character information and the change process thereof in the prior art, the following technical scheme is specifically provided:
in a first aspect, the present application provides a method for displaying character information, including:
creating a character information display container;
acquiring sub-characters contained in character information, and drawing corresponding sub-characters in the character information display container according to the characteristic information of each sub-character;
receiving a change instruction of the sub-characters, and updating characteristic information of each sub-character according to the change instruction;
and acquiring a refresh time interval, refreshing corresponding sub-characters based on a preset sequence according to the refresh time interval, wherein refreshing the corresponding sub-characters comprises drawing corresponding sub-characters in the character information display container according to the characteristic information of the updated sub-characters.
Further, the acquiring the refresh time interval includes:
acquiring a refresh frame rate of a system screen, determining a refresh time interval according to the refresh frame rate, and configuring a timer as the refresh time interval;
the refreshing corresponding sub-characters based on a preset sequence according to the refreshing time interval comprises the following steps:
and refreshing corresponding sub-characters based on a preset sequence when the timing moment of the timer is reached.
Further, after the character information display container draws the corresponding sub-character according to the updated feature information of the sub-character, the method further includes:
if all the sub-characters are drawn in the character information display container, stopping the timer and waiting for the next change instruction;
after receiving the next change instruction, continuing to execute the change instruction of the received sub-characters, and updating the characteristic information of each sub-character according to the change instruction; and acquiring a refresh time interval, refreshing corresponding sub-characters based on a preset sequence according to the refresh time interval, wherein refreshing the corresponding sub-characters comprises drawing corresponding sub-characters in the character information display container according to the characteristic information of the updated sub-characters.
Further, the characteristic information of the sub-character comprises coordinate information of the sub-character; and drawing the corresponding sub-character in the character information display container according to the characteristic information of each sub-character, wherein the drawing comprises the following steps:
determining the position of each sub-character in the character information display container according to the coordinate information of each sub-character;
and drawing the corresponding sub-characters at the positions corresponding to the character information display containers.
Further, the drawing the corresponding sub-character in the character information display container according to the updated feature information of the sub-character includes:
acquiring intermediate feature information of the sub-character from the feature information of the sub-character before updating to the feature information of the sub-character after updating;
and drawing corresponding sub-characters in the character information display container according to the intermediate characteristic information of the sub-characters in sequence until the corresponding sub-characters are drawn in the character information display container according to the updated characteristic information of the sub-characters.
Further, the receiving the change instruction of the sub-character, after updating the feature information of each sub-character according to the change instruction, further includes:
determining the degree of change of the character information according to the change instruction;
and according to the special effect information of the change degree matching character information change, synchronously outputting the special effect information in the process of refreshing the corresponding sub-characters.
Further, before the special effect information according to the change degree matching character change, the method further includes:
detecting system hardware information, and determining first special effect information according to the system opinion information;
the special effect information changed according to the change degree matching character information comprises:
and matching the character information modified special effect information according to the change degree and the first special effect information.
In a second aspect, the present application provides a character information display apparatus, comprising:
the container creation module: for creating a character information display container;
a first drawing module: the character information display container is used for acquiring the sub-characters contained in the character information and drawing the corresponding sub-characters according to the characteristic information of each sub-character;
and the characteristic information module is used for: the character updating module is used for receiving a change instruction of the sub-characters and updating the characteristic information of each sub-character according to the change instruction;
and a second drawing module: the method comprises the steps of acquiring a refreshing time interval, refreshing corresponding sub-characters based on a preset sequence according to the refreshing time interval, wherein refreshing the corresponding sub-characters comprises drawing the corresponding sub-characters in the character information display container according to the characteristic information of the updated sub-characters.
In a third aspect, the present application also provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the character information presentation method described above.
In a fourth aspect, the present application also provides a control terminal comprising one or more processors, a memory, one or more computer programs, wherein the one or more computer programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the character information presentation method described above.
Compared with the prior art, the application has the following beneficial effects:
the application provides a method for integrally displaying character information and a change process of the character information based on a character information display container, which is characterized in that through acquiring sub-characters contained in the character information, corresponding sub-characters are drawn in the character information display container according to the characteristic information of each sub-character, so that the current character information is drawn in the character information display container, the character information can change along with actual operation, when a change instruction of each sub-character is received, the characteristic information of each updated sub-character is updated according to the change instruction, after the characteristic information of each updated sub-character is determined, refreshing is started to be carried out on the sub-characters, when refreshing is started to one sub-character, refreshing is started to be carried out on the other sub-character according to a preset sequence after a refreshing time interval, the corresponding sub-characters are drawn in the character information display container according to the characteristic information of each updated sub-character, and therefore updated character information is drawn, a plurality of character information display containers are not required to be configured for a plurality of characters, so that the performance loss of a terminal is reduced, the updating efficiency of the character information is improved, and the character information and the change of the character information is displayed smoothly.
Additional aspects and advantages of the application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application.
Drawings
The foregoing and/or additional aspects and advantages of the application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings, in which:
FIG. 1 is a flowchart of a character information display method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an embodiment of refreshing corresponding sub-characters based on a predetermined sequence according to the present application;
FIG. 3 is a diagram illustrating an embodiment of the present application in which character information changes from 1236 to 1239;
FIG. 4 is a schematic diagram of a character information display device according to an embodiment of the application;
fig. 5 is a schematic structural diagram of an embodiment of a control terminal according to the present application.
Detailed Description
Embodiments of the present application are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative only and are not to be construed as limiting the application.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless expressly stated otherwise, as understood by those skilled in the art. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, but do not preclude the presence or addition of one or more other features, integers, steps, operations.
It will be understood by those skilled in the art that all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs unless defined otherwise. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
The embodiment of the application provides a character information display method, as shown in fig. 1, which comprises the following steps:
s10: a character information presentation container is created.
The embodiment is applied to an application program, a character information display container is created on a display interface of the application program, the character information display container is used for displaying character information drawn on the character information display container, in one implementation, the character information display container is a view container (view), the view container is a control of a system base, page structure division, page layout adjustment and the like can be achieved, and information content displayed by the view container can be further modified by modifying attributes of the view container.
S20: and acquiring the sub-characters contained in the character information, and drawing the corresponding sub-characters in the character information display container according to the characteristic information of each sub-character.
After the character information display container is created, acquiring character information to be displayed in the character information display container, wherein the character information comprises a plurality of sub-characters, for example, if the character information is 1236, the character information comprises four sub-characters including 1, 2, 3 and 6.
S30: and receiving a change instruction of the sub-characters, and updating the characteristic information of each sub-character according to the change instruction.
When the current character information is drawn and then the character information changes with the actual operation, if a change instruction of the character information is received, the change instruction of each sub-character is triggered, then the characteristic information of each sub-character is updated according to the change instruction, in one implementation mode, the character information is digital character information, the number of digital coins received by a host is counted through the digital character information in a living broadcast room, the digital character information is displayed in a character information display container on a page of the living broadcast room, in step S20, the current character information is drawn, namely, the number of digital coins received by the current host is displayed in the character information display container, for example, the number of digital coins received by the current host is 12836, the current character information is 12836, the sub-characters comprise 1, 2, 8, 3 and 6, if the host receives the number of digital coins again, the change instruction of the character information is triggered, namely, the change instruction of each character information is triggered, then the characteristic information of each sub-character is updated according to the change instruction, for example, the number of the host is updated, and the current character information is updated to be 1, 2, and the current character information is received again, for example, and the current character information is 1, 2, and the current character information is shown as gift 1, 2, and the current character information is shown.
S40: and acquiring a refresh time interval, refreshing corresponding sub-characters based on a preset sequence according to the refresh time interval, wherein refreshing the corresponding sub-characters comprises drawing corresponding sub-characters in the character information display container according to the characteristic information of the updated sub-characters.
In this embodiment, after feature information of each updated sub-character is determined, a refresh time interval is obtained, where the refresh time interval is a time interval for starting update of each sub-character, when one sub-character starts refresh, and then after the refresh time interval, another sub-character starts to refresh, and a character string included in the character information has a corresponding arrangement sequence, in this embodiment, the corresponding sub-character is refreshed according to the refresh time interval based on a preset sequence, in one embodiment, refresh of the sub-character is started in turn from right to left according to the refresh time interval, and the corresponding sub-character is updated, and in particular, the corresponding sub-character is drawn in the character information display container according to the feature information of the updated sub-character, so as to draw updated character information.
The embodiment provides a method for integrally displaying character information and a change process of the character information based on a character information display container, which is characterized in that through acquiring sub-characters contained in the character information, corresponding sub-characters are drawn in the character information display container according to the characteristic information of each sub-character, so that current character information is drawn in the character information display container, the character information can change along with actual operation, when a change instruction of the sub-characters is received, the characteristic information of each sub-character is updated according to the change instruction, after the characteristic information of each updated sub-character is determined, refreshing is started to the sub-characters, when refreshing is started to one sub-character, refreshing is started to the other sub-character based on a preset sequence after a refreshing time interval, the corresponding sub-characters are drawn in the character information display container according to the characteristic information of each updated sub-character, and therefore updated character information is manufactured, a plurality of character information display containers are not required to be configured for a plurality of characters, so that the performance loss of a terminal is reduced, the updating efficiency of the character information is improved, and the character information and the change of the character information and the character information are displayed smoothly.
In one embodiment of the present application, the acquiring the refresh time interval includes:
acquiring a refresh frame rate of a system screen, determining a refresh time interval according to the refresh frame rate, and configuring a timer as the refresh time interval;
the refreshing corresponding sub-characters based on a preset sequence according to the refreshing time interval comprises the following steps:
and refreshing corresponding sub-characters based on a preset sequence when the timing moment of the timer is reached.
In this embodiment, in a process of refreshing each sub-character in character information, a refresh time interval of each sub-character information needs to be set, and in this embodiment, refreshing of each sub-character is achieved by setting a timing task, specifically, a refresh frame rate of a system screen is obtained, a refresh time interval of the system screen is determined according to the refresh frame rate, then a timer is configured as the refresh time interval, when a refresh operation is required for a sub-character, when a timing time of the timer is reached, a corresponding sub-character is refreshed based on a preset sequence, when one sub-character starts refreshing, and then when a next timing time of the timer is reached, refreshing of a next sub-character is started again, and the corresponding sub-character is refreshed based on the preset sequence. In one embodiment, if the refresh frame rate of the system screen is 60fps, that is, the screen is refreshed 60 times in 1s, the refresh interval of each time is 0.1s, and in this embodiment, the refresh time interval is determined to be 0.1s according to the refresh frame rate, that is, the timer is 0.1s. In another embodiment, if the refresh frame rate of the system screen is 120fps, determining that the refresh time interval is 0.05s; if the refresh frame rate of the system screen is 30fps, the refresh time interval is determined to be 0.2s. The method and the device keep the drawing frequency of the character information container consistent with the refreshing frequency of the screen, ensure continuous and smooth refreshing of the sub-characters, ensure smoother drawing of the character information container, improve resource utilization, and further, add a timer into the event cycle of the system to avoid the influence of the timer on UI performance. As shown in fig. 2, the corresponding sub-character is refreshed based on the preset sequence, the sub-character 6 is first started to be refreshed, the sub-character 5 is restarted to be refreshed at the next timing moment, and the sub-character 4 is restarted to be refreshed, so that a continuous visual animation is visually generated, the sub-character 6 is started firstly, and then the sub-character 5, the sub-character 4, the sub-character 3, the sub-character 2 and the sub-character 1 are started firstly.
According to an embodiment of the present application, after the character information display container draws the corresponding sub-character according to the updated feature information of the sub-character, the method further includes:
if all the sub-characters are drawn in the character information display container, stopping the timer and waiting for the next change instruction;
after receiving the next change instruction, continuing to execute the change instruction of the received sub-characters, and updating the characteristic information of each sub-character according to the change instruction; and acquiring a refresh time interval, refreshing corresponding sub-characters based on a preset sequence according to the refresh time interval, wherein refreshing the corresponding sub-characters comprises drawing corresponding sub-characters in the character information display container according to the characteristic information of the updated sub-characters.
In this embodiment, after the corresponding sub-characters are drawn in the character information display container according to the feature information of the updated sub-characters, if all the sub-characters are drawn in the character information display container, the updated character information can be displayed in the character information display container, the current timer is stopped at this time, then the next change instruction is waited, after the next change instruction is received, the change instruction of the sub-characters is continuously executed, the feature information of each sub-character is updated according to the change instruction, the timer is restarted, a refresh time interval is acquired, the corresponding sub-characters are refreshed according to the refresh time interval based on a preset sequence, and the corresponding sub-characters are refreshed, specifically, the corresponding sub-characters are drawn in the character information display container according to the feature information of the updated sub-characters, so that the updated character information is drawn. The timer is stopped after each refreshing, so that the timer is prevented from continuously working to influence the operation of other functions, and the utilization rate of system resources is improved.
In one embodiment of the present application, the characteristic information of the sub-character includes coordinate information of the sub-character; and drawing the corresponding sub-character in the character information display container according to the characteristic information of each sub-character, wherein the drawing comprises the following steps:
determining the position of each sub-character in the character information display container according to the coordinate information of each sub-character;
and drawing the corresponding sub-characters at the positions corresponding to the character information display containers.
In this embodiment, the feature information of the sub-characters includes coordinate information of the sub-characters, that is, coordinates of each sub-character in the character information display container, a current position of each sub-character in the character information display container may be determined according to the coordinate information of each sub-character, and then, a corresponding sub-character is drawn at a position corresponding to the character information display container according to the feature information of each sub-character. In the different stages, the positions of the sub-characters in the character information display container are offset, and in one implementation mode, if the number of the sub-characters is smaller than the preset number, all the sub-characters are arranged and displayed in the character information display container from the middle of the character information display container; and if the number of the sub-characters exceeds the preset number, displaying all the sub-characters in the character information display container from the right end of the character information display container in a arrayed manner. According to the method and the device, the positions of the sub-characters in the character information display container are determined through the coordinate information of the sub-characters, so that the corresponding sub-characters are drawn at the positions corresponding to the character information display container, the number of the sub-characters can be conveniently expanded, the drawing process is still the same, the character information of the sub-characters with different numbers can be smoothly drawn, the application universality is improved, and the display efficiency of the character information is improved.
According to one embodiment of the present application, the drawing of the corresponding sub-character in the character information display container according to the updated feature information of the sub-character includes:
acquiring intermediate feature information of the sub-character from the feature information of the sub-character before updating to the feature information of the sub-character after updating;
and drawing corresponding sub-characters in the character information display container according to the intermediate characteristic information of the sub-characters in sequence until the corresponding sub-characters are drawn in the character information display container according to the updated characteristic information of the sub-characters.
In this embodiment, when the corresponding sub-character is drawn in the character information display container according to the feature information of the updated sub-character, the intermediate feature information of the sub-character from the feature information of the sub-character before the update to the feature information of the sub-character after the update is obtained, and then the corresponding sub-character is drawn in the character information display container according to the intermediate feature information of the sub-character in turn until the corresponding sub-character is drawn in the character information display container according to the feature information of the sub-character after the update. In this embodiment, the sub-character before updating is defined as the current character, the updated sub-character is defined as the target character, and a certain intermediate character exists between the current character and the target character, when the corresponding sub-character is drawn in the character information display container according to the characteristic information of the updated sub-character, instead of directly converting from the current character to the target character, the corresponding sub-character is drawn in the character information display container according to the intermediate characteristic information of the sub-character in turn until the corresponding sub-character is drawn in the character information display container according to the characteristic information of the updated sub-character, that is, the current character is sequentially converted into the intermediate character until the corresponding sub-character is converted into the target character. And sequentially drawing the intermediate characters until the target character, so that the smooth change from the current character to the target character is realized, and the fluency of the character information change in the character information display container is improved. As shown in fig. 3, a schematic diagram of changing the character information from 1236 to 1239 is shown, in which the current character includes intermediate characters 7 and 8 in the process of changing the character information from 1236 to the target character 9, and the character information 1237, 1238 and 1239 are sequentially drawn in the process of changing the character information from 1236 to 1239, so that updated character information is drawn.
In one embodiment of the present application, the receiving the change instruction of the sub-character, after updating the feature information of each sub-character according to the change instruction, further includes:
determining the degree of change of the character information according to the change instruction;
and according to the special effect information of the change degree matching character information change, synchronously outputting the special effect information in the process of refreshing the corresponding sub-characters.
In this embodiment, after receiving a change instruction of the sub-character, updating feature information of each sub-character according to the change instruction, a process of changing the sub-character from current feature information to target feature information according to the change instruction may be performed, and then a degree of change of the character information may be determined, for example, the character information may be changed from 10000 to 19999, and a degree of change of the character information may be determined to be large, for example, the character information may be changed from 10000 to 10100; and then according to the special effect information of the change of the character information, synchronously outputting the special effect information in the process of refreshing the corresponding sub-characters, wherein in one implementation mode, the special effect information is sound special effect information, when the change of the character information is large, the matched sound special effect information is sound special effect information A, and then in the process of refreshing the sub-characters, namely, the process of refreshing the character information, the sound special effect information A is synchronously output, for example, the character information is changed from 10000 to 19999, the matched sound special effect information is sound special effect information of gold coin dropping in a large amount, and then when the character information is refreshed from 10000 to 19999, the sound special effect information of gold coin dropping in a large amount is synchronously output, so that the visual degree of the character information change is improved, and the attention of a user to the character information change is improved.
In one embodiment of the present application, before the matching of the character changed special effect information according to the degree of change, the method further includes:
detecting system hardware information, and determining first special effect information according to the system opinion information;
the special effect information changed according to the change degree matching character information comprises:
and matching the character information modified special effect information according to the change degree and the first special effect information.
In the embodiment, before the special effect information of character change is matched according to the change degree, the system hardware information is detected, the first special effect information is determined according to the system opinion information, then the special effect information of character information change is matched according to the change degree and the first special effect information, the simple special effect information is matched for the terminal with lower hardware configuration, and the complex and attractive special effect information can be matched for the terminal with lower hardware configuration, so that the resource utilization rate of the terminals with different configurations is improved, and the fluency of displaying the character information change and the fluency of displaying the special effect information by the terminal with lower configuration is improved.
As shown in fig. 4, in another embodiment, the present application provides a character information display apparatus, including:
container creation module 10: for creating a character information display container;
the first drawing module 20: the character information display container is used for acquiring the sub-characters contained in the character information and drawing the corresponding sub-characters according to the characteristic information of each sub-character;
feature information module 30: the character updating module is used for receiving a change instruction of the sub-characters and updating the characteristic information of each sub-character according to the change instruction;
the second drawing module 40: the method comprises the steps of acquiring a refreshing time interval, refreshing corresponding sub-characters based on a preset sequence according to the refreshing time interval, wherein refreshing the corresponding sub-characters comprises drawing the corresponding sub-characters in the character information display container according to the characteristic information of the updated sub-characters.
In one embodiment of the present application, the second drawing module 40 further includes performing:
acquiring a refresh frame rate of a system screen, determining a refresh time interval according to the refresh frame rate, and configuring a timer as the refresh time interval;
and refreshing corresponding sub-characters based on a preset sequence when the timing moment of the timer is reached.
In one embodiment of the present application, the second drawing module 40 further includes performing:
if all the sub-characters are drawn in the character information display container, stopping the timer and waiting for the next change instruction; when the feature information module 30 receives the next change instruction, executing the change instruction for receiving the sub-characters, and updating the feature information of each sub-character according to the change instruction; the second drawing module 40 obtains a refresh time interval, refreshes corresponding sub-characters based on a preset sequence according to the refresh time interval, and refreshes the corresponding sub-characters, wherein the refreshing of the corresponding sub-characters comprises drawing the corresponding sub-characters in the character information display container according to the characteristic information of the updated sub-characters.
In one embodiment of the present application, the characteristic information of the sub-character includes coordinate information of the sub-character; the first drawing module 20 further includes performing:
determining the position of each sub-character in the character information display container according to the coordinate information of each sub-character;
and drawing the corresponding sub-characters at the positions corresponding to the character information display containers.
In one embodiment of the present application, the second drawing module 40 further includes performing:
acquiring intermediate feature information of the sub-character from the feature information of the sub-character before updating to the feature information of the sub-character after updating;
and drawing corresponding sub-characters in the character information display container according to the intermediate characteristic information of the sub-characters in sequence until the corresponding sub-characters are drawn in the character information display container according to the updated characteristic information of the sub-characters.
In one embodiment of the application, the apparatus further comprises means for performing:
and a special effect module: the change degree of the character information is determined according to the change instruction; and according to the special effect information of the change degree matching character information change, synchronously outputting the special effect information in the process of refreshing the corresponding sub-characters.
In one embodiment of the present application, the special effects module further comprises:
detecting system hardware information, and determining first special effect information according to the system opinion information;
and matching the character information modified special effect information according to the change degree and the first special effect information.
In another embodiment, the present application provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the character information presentation method described in the above embodiment. The computer readable storage medium includes, but is not limited to, any type of disk including floppy disks, hard disks, optical disks, CD-ROMs, and magneto-optical disks, ROMs (Read-Only memories), RAMs (Random AcceSS Memory, random access memories), EPROMs (EraSable Programmable Read-Only memories), EEPROMs (Electrically EraSable Programmable Read-Only memories), flash memories, magnetic cards, or optical cards. That is, a storage device includes any medium that stores or transmits information in a form readable by a device (e.g., computer, cell phone), and may be read-only memory, magnetic or optical disk, etc.
The embodiment of the application provides a computer readable storage medium, which can realize the creation of a character information display container; acquiring sub-characters contained in character information, and drawing corresponding sub-characters in the character information display container according to the characteristic information of each sub-character; receiving a change instruction of the sub-characters, and updating characteristic information of each sub-character according to the change instruction; and acquiring a refresh time interval, refreshing corresponding sub-characters based on a preset sequence according to the refresh time interval, wherein refreshing the corresponding sub-characters comprises drawing corresponding sub-characters in the character information display container according to the characteristic information of the updated sub-characters. According to the method, through acquiring sub-characters contained in character information and drawing corresponding sub-characters in the character information display container according to the characteristic information of each sub-character, current character information is drawn in the character information display container, the character information changes along with actual operation, when a change instruction of each sub-character is received, the characteristic information of each updated sub-character is updated according to the change instruction, refreshing is started on the sub-character after the characteristic information of each updated sub-character is determined, refreshing is started on one sub-character, then refreshing is started on the basis of a preset sequence after a refreshing time interval, the corresponding sub-character is drawn in the character information display container according to the characteristic information of each updated sub-character, and therefore updated character information is drawn, a plurality of character information display containers are not required to be configured for a plurality of characters, so that the performance loss of a terminal is reduced, the updating efficiency of the character information is improved, and the character information and the change of the character information are smoothly displayed.
The embodiment of the character information display method can be implemented by the computer readable storage medium provided by the embodiment of the application, and specific function implementation is shown in the description of the method embodiment and is not repeated here.
In addition, in another embodiment, the present application further provides a control terminal, as shown in fig. 5, where the control terminal includes a processor 503, a memory 505, an input unit 507, and a display unit 509. It will be appreciated by those skilled in the art that the structural elements shown in fig. 5 do not constitute a limitation on all control terminals, and may include more or fewer components than shown, or may combine certain components. The memory 505 may be used to store a computer program 501 and functional modules, and the processor 503 runs the computer program 501 stored in the memory 505 to perform various functional applications of the device and data processing. The memory 505 may be an internal memory or an external memory, or include both internal and external memories. The internal memory may include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), flash memory, or random access memory.
The input unit 507 is used for receiving input of signals and receiving input of users, the input unit 507 may include a touch panel and other input devices, and the touch panel may collect touch operations of users thereon or nearby and drive corresponding connection devices according to a preset program. The display unit 509 may be used to display information input by a user or information provided to the user and various menus of the computer device. The display unit 509 may take the form of a liquid crystal display, an organic light emitting diode, or the like. The processor 503 is the control center of the computer device, connecting the various parts of the overall computer using various interfaces and lines, performing various functions and processing data by running or executing software programs and/or modules stored in the memory 503, and invoking data stored in the memory.
In one embodiment, the control terminal comprises one or more processors 503 and one or more memories 505, one or more computer programs 501, wherein the one or more computer programs 501 are stored in the memories 505 and configured to be executed by the one or more processors 503, the one or more computer programs 501 configured to perform the character information presentation methods described in the above embodiments. The one or more processors 503 shown in fig. 5 are capable of performing, implementing the functions of the container creation module 10, the first drawing module 20, the feature information module 30, and the second drawing module 40 shown in fig. 4.
The control terminal provided by the embodiment of the application can realize the creation of the character information display container; acquiring sub-characters contained in character information, and drawing corresponding sub-characters in the character information display container according to the characteristic information of each sub-character; receiving a change instruction of the sub-characters, and updating characteristic information of each sub-character according to the change instruction; and acquiring a refresh time interval, refreshing corresponding sub-characters based on a preset sequence according to the refresh time interval, wherein refreshing the corresponding sub-characters comprises drawing corresponding sub-characters in the character information display container according to the characteristic information of the updated sub-characters. According to the method, through acquiring sub-characters contained in character information and drawing corresponding sub-characters in the character information display container according to the characteristic information of each sub-character, current character information is drawn in the character information display container, the character information changes along with actual operation, when a change instruction of each sub-character is received, the characteristic information of each updated sub-character is updated according to the change instruction, refreshing is started on the sub-character after the characteristic information of each updated sub-character is determined, refreshing is started on one sub-character, then refreshing is started on the basis of a preset sequence after a refreshing time interval, the corresponding sub-character is drawn in the character information display container according to the characteristic information of each updated sub-character, and therefore updated character information is drawn, a plurality of character information display containers are not required to be configured for a plurality of characters, so that the performance loss of a terminal is reduced, the updating efficiency of the character information is improved, and the character information and the change of the character information are smoothly displayed.
The control terminal provided by the embodiment of the present application can implement the embodiment of the character information display method provided above, and specific function implementation is referred to the description in the method embodiment, and is not repeated herein.
The foregoing is only a partial embodiment of the present application, and it should be noted that it will be apparent to those skilled in the art that modifications and adaptations can be made without departing from the principles of the present application, and such modifications and adaptations are intended to be comprehended within the scope of the present application.

Claims (9)

1. A character information display method, comprising:
creating a character information display container;
acquiring sub-characters contained in character information, and drawing corresponding sub-characters in the character information display container according to the characteristic information of each sub-character;
receiving a change instruction of the sub-characters, and updating characteristic information of each sub-character according to the change instruction;
determining the change degree of the character information according to the change instruction, and matching the changed special effect information of the character information according to the change degree, wherein the change degree represents the process of changing the sub-characters of the character information from the current characteristic information to the target characteristic information;
and acquiring a refresh time interval, refreshing corresponding sub-characters based on a preset sequence according to the refresh time interval, wherein refreshing the corresponding sub-characters comprises drawing corresponding sub-characters in the character information display container according to the characteristic information of the updated sub-characters, and synchronously outputting the special effect information in the process of refreshing the corresponding sub-characters.
2. The method of claim 1, wherein the acquiring a refresh time interval comprises:
acquiring a refresh frame rate of a system screen, determining a refresh time interval according to the refresh frame rate, and configuring a timer as the refresh time interval;
the refreshing corresponding sub-characters based on a preset sequence according to the refreshing time interval comprises the following steps:
and refreshing corresponding sub-characters based on a preset sequence when the timing moment of the timer is reached.
3. The method according to claim 2, wherein the drawing of the corresponding sub-character according to the updated character information of the sub-character after the character information presentation container further comprises:
if all the sub-characters are drawn in the character information display container, stopping the timer and waiting for the next change instruction;
after receiving the next change instruction, continuing to execute the change instruction of the received sub-characters, and updating the characteristic information of each sub-character according to the change instruction; and acquiring a refresh time interval, refreshing corresponding sub-characters based on a preset sequence according to the refresh time interval, wherein refreshing the corresponding sub-characters comprises drawing corresponding sub-characters in the character information display container according to the characteristic information of the updated sub-characters.
4. The method of claim 1, wherein the characteristic information of the sub-character includes coordinate information of the sub-character; and drawing the corresponding sub-character in the character information display container according to the characteristic information of each sub-character, wherein the drawing comprises the following steps:
determining the position of each sub-character in the character information display container according to the coordinate information of each sub-character;
and drawing the corresponding sub-characters at the positions corresponding to the character information display containers.
5. The method according to claim 1, wherein the drawing the corresponding sub-character in the character information display container according to the updated feature information of the sub-character comprises:
acquiring intermediate feature information of the sub-character from the feature information of the sub-character before updating to the feature information of the sub-character after updating;
and drawing corresponding sub-characters in the character information display container according to the intermediate characteristic information of the sub-characters in sequence until the corresponding sub-characters are drawn in the character information display container according to the updated characteristic information of the sub-characters.
6. The method of claim 1, wherein prior to said matching character altered effect information according to said degree of variation, further comprising:
detecting system hardware information, and determining first special effect information according to the system hardware information;
the special effect information changed according to the change degree matching character information comprises:
and matching the character information modified special effect information according to the change degree and the first special effect information.
7. A character information display device, comprising:
the container creation module: for creating a character information display container;
a first drawing module: the character information display container is used for acquiring the sub-characters contained in the character information and drawing the corresponding sub-characters according to the characteristic information of each sub-character;
and the characteristic information module is used for: the character updating module is used for receiving a change instruction of the sub-characters and updating the characteristic information of each sub-character according to the change instruction;
and a special effect module: the change degree of the character information is determined according to the change instruction; the special effect information of the character information change is matched according to the change degree, and the change degree represents the process of changing the sub-characters of the character information from the current characteristic information to the target characteristic information;
and a second drawing module: the method comprises the steps of acquiring a refreshing time interval, refreshing corresponding sub-characters based on a preset sequence according to the refreshing time interval, wherein refreshing the corresponding sub-characters comprises drawing corresponding sub-characters in the character information display container according to the characteristic information of the updated sub-characters;
the special effect module is also used for synchronously outputting the special effect information in the process of refreshing the corresponding sub-characters.
8. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, implements the character information presentation method according to any one of claims 1 to 6.
9. A terminal device, comprising:
one or more processors;
a memory;
one or more computer programs, wherein the one or more computer programs are stored in the memory and configured to be executed by the one or more processors, the one or more computer programs configured to perform the character information presentation method of any one of claims 1 to 6.
CN201911047713.2A 2019-10-30 2019-10-30 Character information display method and device, storage medium and control terminal Active CN110825292B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911047713.2A CN110825292B (en) 2019-10-30 2019-10-30 Character information display method and device, storage medium and control terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911047713.2A CN110825292B (en) 2019-10-30 2019-10-30 Character information display method and device, storage medium and control terminal

Publications (2)

Publication Number Publication Date
CN110825292A CN110825292A (en) 2020-02-21
CN110825292B true CN110825292B (en) 2023-09-26

Family

ID=69551607

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911047713.2A Active CN110825292B (en) 2019-10-30 2019-10-30 Character information display method and device, storage medium and control terminal

Country Status (1)

Country Link
CN (1) CN110825292B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102375404A (en) * 2010-08-27 2012-03-14 鸿富锦精密工业(深圳)有限公司 Multi-timezone time display system and method
CN105095157A (en) * 2014-04-18 2015-11-25 腾讯科技(深圳)有限公司 Method and device for displaying character string
CN106066798A (en) * 2016-06-06 2016-11-02 深圳铂睿智恒科技有限公司 A kind of time control and its implementation
CN106648623A (en) * 2016-11-24 2017-05-10 武汉斗鱼网络科技有限公司 Method and device of displaying characters in Android
CN108683956A (en) * 2018-06-19 2018-10-19 广州虎牙信息科技有限公司 Direct broadcasting room barrage special efficacy configuration method, device and storage medium, server

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8302028B2 (en) * 2008-09-18 2012-10-30 International Business Machines Corporation Expandable area for host table data display in a mobile device
US20180203827A1 (en) * 2017-01-16 2018-07-19 International Business Machines Corporation Lightweight tracking of substituted characters in text fields

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102375404A (en) * 2010-08-27 2012-03-14 鸿富锦精密工业(深圳)有限公司 Multi-timezone time display system and method
CN105095157A (en) * 2014-04-18 2015-11-25 腾讯科技(深圳)有限公司 Method and device for displaying character string
CN106066798A (en) * 2016-06-06 2016-11-02 深圳铂睿智恒科技有限公司 A kind of time control and its implementation
CN106648623A (en) * 2016-11-24 2017-05-10 武汉斗鱼网络科技有限公司 Method and device of displaying characters in Android
CN108683956A (en) * 2018-06-19 2018-10-19 广州虎牙信息科技有限公司 Direct broadcasting room barrage special efficacy configuration method, device and storage medium, server

Also Published As

Publication number Publication date
CN110825292A (en) 2020-02-21

Similar Documents

Publication Publication Date Title
WO2020038167A1 (en) Video image recognition method and apparatus, terminal and storage medium
JP6195182B2 (en) Application scenario identification method, power consumption management method, apparatus, and terminal device
CN113225427B (en) Image display method and terminal equipment
CN105630465B (en) Display screen parameter setting method applied to terminal and terminal
CN109144649A (en) Display methods, device, terminal and the storage medium of icon
CN103729065A (en) System and method for mapping touch operations to entity keys
RU2011117170A (en) SYSTEM AND METHOD FOR RESIZING A WINDOW
CN103247068B (en) A kind of rendering intent and device
US11461116B2 (en) Graphical user interface redrawing method. Terminal device and computer readable storage medium
KR20220010580A (en) Human machine interaction control method, device and system, electronic device
CN113010252B (en) Application page display method, electronic equipment and storage medium
WO2016101816A1 (en) Method and device for information display in instant messaging
WO2019019818A1 (en) Method and apparatus for accelerating black screen gesture processing, storage medium, and mobile terminal
CN113051493A (en) Application program display method and device, storage medium and terminal
WO2019019899A1 (en) Method and device for improving response to black screen gesture, storage medium, and mobile terminal
EP3407186B1 (en) Interface refresh synchronization method and apparatus, terminal, and storage medium
CN110262749B (en) Webpage operation method, device, container, equipment and medium
CN110825292B (en) Character information display method and device, storage medium and control terminal
CN109783144B (en) Method and device for processing variable in interactive realization of virtual environment and storage medium
CN107340886B (en) Soft keyboard state determination method, device, medium and terminal
US20150317185A1 (en) Method for switching operating system and electronic device using the method
CN117555459A (en) Application group processing method and device, storage medium and electronic equipment
CN112419456B (en) Special effect picture generation method and device
CN110413916A (en) The method and apparatus of the topic page for rendering
EP4213474A1 (en) Advertisement display method and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20200221

Assignee: GUANGZHOU CUBESILI INFORMATION TECHNOLOGY Co.,Ltd.

Assignor: GUANGZHOU HUADUO NETWORK TECHNOLOGY Co.,Ltd.

Contract record no.: X2021440000031

Denomination of invention: Character information display method, device, storage medium and control terminal

License type: Common License

Record date: 20210125

GR01 Patent grant
GR01 Patent grant