CN108804176A - A kind of methods of exhibiting and device of text information - Google Patents

A kind of methods of exhibiting and device of text information Download PDF

Info

Publication number
CN108804176A
CN108804176A CN201810503183.7A CN201810503183A CN108804176A CN 108804176 A CN108804176 A CN 108804176A CN 201810503183 A CN201810503183 A CN 201810503183A CN 108804176 A CN108804176 A CN 108804176A
Authority
CN
China
Prior art keywords
container
virtual
father
virtual subnet
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.)
Pending
Application number
CN201810503183.7A
Other languages
Chinese (zh)
Inventor
徐佳宏
付姣
华道伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Ipanel TV Inc
Original Assignee
Shenzhen Ipanel TV Inc
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 Shenzhen Ipanel TV Inc filed Critical Shenzhen Ipanel TV Inc
Priority to CN201810503183.7A priority Critical patent/CN108804176A/en
Publication of CN108804176A publication Critical patent/CN108804176A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • 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/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • 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/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45562Creating, deleting, cloning virtual machine instances

Landscapes

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

Abstract

This application discloses a kind of methods of exhibiting of text information and devices, including:Create virtual father's container, virtual father's container built-in attribute is visible, external attribute is invisible, a virtual subnet container is created under virtual father's container, the virtual subnet container width is automatic filling, information to be presented is filled in the virtual subnet container, determine the initial position of the virtual subnet container, since the initial position, the virtual subnet container is moved into a set width to first direction according to preset period of time control, to realize that word word for word rolls, until all information in the virtual subnet container are all moved to the outside of virtual father's container.This method and device can start character rolling in any position in message display area domain, and display form is more flexible abundant, and user experience is more preferable.

Description

A kind of methods of exhibiting and device of text information
Technical field
The present invention relates to computer realms, and more specifically, it relates to a kind of methods of exhibiting of text information and devices.
Background technology
In some videos and APP application interfaces, it will usually some prompt messages or advertising information are shown, in order to user's energy It is enough to obtain some necessary notification informations or interested advertising information in time.
In the prior art, the text information that operator launches in socket is such as shown typically in fixed area One region of interface the top, the text information that displaying needs are shown in the form of character rolling.Realize that word word for word rolls Using marquee labels, but current marquee labels can extremely be realized and word for word be rolled since the edge of display area, Mode is relatively simple, cannot meet the diversified requirement of display form of operator.
Invention content
In view of this, the present invention provides a kind of methods of exhibiting of text information and device, to provide a kind of display form More flexible word exhibition scheme.
To achieve the above object, the present invention provides the following technical solutions:
A kind of methods of exhibiting of text information, including:
Virtual father's container is created, virtual father's container built-in attribute is as it can be seen that external attribute is invisible;
A virtual subnet container is created under virtual father's container, the virtual subnet container width is automatic filling;
Information to be presented is filled in the virtual subnet container;
Determine the initial position of the virtual subnet container;
Since the initial position, the virtual subnet container is moved to first direction according to preset period of time control One set width, to realize that word word for word rolls, until all information in the virtual subnet container are all moved to the void The outside of quasi- father's container, into the determination virtual subnet container initial position the step of.
Optionally, described since the initial position, according to preset period of time control by the virtual subnet container to First direction moves a set width, to realize that word word for word rolls, until all information in the virtual subnet container are all It is moved to the outside of virtual father's container, including:
Determine width value of the virtual subnet container after filling information to be presented;
Since the initial position, the virtual subnet container is moved to first direction according to preset period of time control One set width;
When the absolute value of the second attribute value of the virtual subnet container is identical as the width value, the virtual subnet is determined All information in container are all moved to the outside of virtual father's container, wherein second attribute value is the virtual subnet The distance between the edge of container and virtual father's container in said first direction.
Optionally, the initial position of the determination virtual subnet container, including:
Determine that virtual father's container described in the Edge Distance on character rolling direction of the virtual subnet container is rolled in word The initial distance at the edge on dynamic direction, wherein the initial distance is not more than the width of virtual father's container, described virtual Edge of the sub- container on character rolling direction is located inside virtual father's container;
The initial position of the virtual subnet container is determined according to the initial distance.
Optionally, further include:
Update the information to be presented in the virtual submodule.
Optionally, the virtual subnet container is identical as virtual first attribute information of father's container, first attribute Information is the vertical range of the display platen edge of the Edge Distance of the container same direction in this direction.
A kind of displaying device of text information, including:
Father's container creates node, and for creating virtual father's container, virtual father's container built-in attribute is as it can be seen that outer Subordinate's property is invisible;
Sub- container creates node, and for creating a virtual subnet container under virtual father's container, the virtual subnet holds Device width is automatic filling;
Information fills module, for filling information to be presented in the virtual subnet container;
Position determination module, the initial position for determining the virtual subnet container;
Mobile control module, for since the initial position, being controlled the virtual subnet according to preset period of time Container moves a set width to first direction, to realize that word word for word rolls, until all in the virtual subnet container Information is all moved to the outside of virtual father's container.
Optionally, the mobile control module includes:
Width determining module, for determining width value of the virtual subnet container after filling information to be presented;
Character rolling module, for since the initial position, being controlled the virtual subnet according to preset period of time Container moves a set width to first direction;
Mobile determining module, the absolute value for the second attribute value when the virtual subnet container are identical as the width value When, determine that all information in the virtual subnet container are all moved to the outside of virtual father's container, wherein described second belongs to Property value be the distance between the edge of the virtual subnet container and virtual father's container in said first direction.
Optionally, the position determination module includes:
Initial distance determining module, the Edge Distance institute on character rolling direction for determining the virtual subnet container State the initial distance at edge of the virtual father's container on character rolling direction, wherein the initial distance is virtual no more than described The width of father's container, edge of the virtual subnet container on character rolling direction are located inside virtual father's container;
Initial position determining module, the initial position for determining the virtual subnet container according to the initial distance.
Optionally, further include:
Information updating module, for updating information to be presented in the virtual submodule.
Optionally, the virtual subnet container is identical as virtual first attribute information of father's container, first attribute Information is the vertical range of the display platen edge of the Edge Distance of the container same direction in this direction.
It can be seen via above technical scheme that compared with prior art, the embodiment of the invention discloses a kind of text informations Methods of exhibiting and device, including:Virtual father's container is created, virtual father's container built-in attribute is as it can be seen that outer subordinate Property to be invisible, a virtual subnet container is created under virtual father's container, the virtual subnet container width is automatic filling, Information to be presented is filled in the virtual subnet container, determines the initial position of the virtual subnet container, from the initial position Start, the virtual subnet container is moved into a set width to first direction according to preset period of time control, to realize text Word word for word rolls, until all information in the virtual subnet container are all moved to the outside of virtual father's container.This method And device can start character rolling in any position in message display area domain, display form is more flexible abundant, user experience More preferably.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow chart of the methods of exhibiting of text information disclosed by the embodiments of the present invention;
Fig. 2 is the flow chart of determining initial position disclosed by the embodiments of the present invention;
Fig. 3 is the flow chart of control virtual subnet container movement disclosed by the embodiments of the present invention;
Fig. 4 is the flow chart of the methods of exhibiting of another text information disclosed by the embodiments of the present invention;
Fig. 5 is a kind of structural schematic diagram of the displaying device of text information disclosed by the embodiments of the present invention;
Fig. 6 is the structural schematic diagram of position determination module disclosed by the embodiments of the present invention;
Fig. 7 is the structural schematic diagram of mobile control module disclosed by the embodiments of the present invention;
Fig. 8 is the structural schematic diagram of the displaying device of another text information disclosed by the embodiments of the present invention.
Specific implementation mode
For the sake of quoting and understanding, the explanation of the technical term hereinafter used writes a Chinese character in simplified form or abridges and is summarized as follows:
DIV:Div is the location technology in cascading style sheets, and full name DIVision is as divided.Sometimes it can be called Figure layer.DIV, which is called to do in programming, divides exactly, that is, gets only the integer of quotient.DIV element is for for HTML (standard generalized markup languages A lower application of speech) element of content the offer structure and background of bulk (block-level) in document.
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Fig. 1 is the flow chart of the methods of exhibiting of text information disclosed by the embodiments of the present invention, shown in Figure 1, word letter The methods of exhibiting of breath may include:
Step 101:Virtual father's container is created, virtual father's container built-in attribute is as it can be seen that external attribute is not It can be seen that.
Wherein, virtual father's container can be the container of DIV labels, it is of course also possible to be other such as ul, ol, li The container of label.Virtual father's container can have fixed height and a width when creating, in the present embodiment, will it is described virtually Father's container is configured to internal as it can be seen that outside is invisible, i.e., the content that related needs are shown is only positioned at virtual father's container When internal, it can be shown in corresponding display equipment, and when positioned at virtual father's external container, it is set in display It is standby above to see.
Step 102:A virtual subnet container is created under virtual father's container, the virtual subnet container width is automatic Filling.
In the lower layer of virtual father's container, the visibility attribute based on virtual father's container sets the virtual subnet container It sets, only when the virtual subnet container is moved in virtual father's container, text information therein can be illustrated in pair In the display equipment answered.
Because the application is accomplished that word word for word rolls, if character rolling direction is to scroll left and right, the virtual subnet The height of container should not exceed the height of virtual father's container, optionally, the height of the virtual subnet container can with it is described The height of virtual father's container is identical.In this case, the suspension height of virtual father's container and the virtual subnet container is set Identical, then the text information in the virtual subnet container may be implemented can scroll left and right display in virtual father's container. In specific implementation, it is identical as virtual first attribute information of father's container to be arranged the virtual subnet container, and described first Attribute information is the vertical range of the display platen edge of the Edge Distance of the container same direction in this direction.If character rolling direction For the left side, then the wherein described edge is left hand edge, if character rolling direction is the right, wherein the edge is right hand edge.
Step 103:Information to be presented is filled in the virtual subnet container.
Before starting word for word to scroll information to be presented, first letter to be presented populated in the virtual subnet container is needed Breath, convenient for when the movement of virtual subnet container, wherein content can be shown in virtual father's container described in subsequent control.
Step 104:Determine the initial position of the virtual subnet container.
The initial position may include lateral position and lengthwise position.
Message display area domain is usually located at the top region of display screen, and displaying information is in a manner of laterally word for word rolling It carries out.The character rolling since any position in display area may be implemented in the technical purpose of the application, therefore, shows at one In the example of meaning property, the detailed process of the initial position of the determination virtual subnet container may refer to Fig. 2, and Fig. 2 is this hair The flow chart that initial position is determined disclosed in bright embodiment, as shown in Fig. 2, may include:
Step 201:Determine virtual father's container described in the Edge Distance on character rolling direction of the virtual subnet container The initial distance at the edge on character rolling direction.
Wherein, the initial distance is not more than the width of virtual father's container, and the virtual subnet container is in character rolling Edge on direction is located inside virtual father's container.Why the initial distance is set and is not more than virtual father's container Width, be in order to which realize can any position inside virtual father's container starts to roll as word again starting point.
By taking word rolls to the left as an example, the initial distance is the left hand edge of the virtual subnet container apart from described virtual The vertical range of the left hand edge of father's container.
Step 202:The initial position of the virtual subnet container is determined according to the initial distance.
Certainly, in other realization methods, the determination of initial position can also be solid in the position of virtual father's container Under the premise of fixed, determined with distance of the virtual subnet container apart from the edge of display screen respective direction.
After step 104,105 are entered step.
Step 105:Since the initial position, according to preset period of time control by the virtual subnet container to first A set width is moved in direction, to realize that word word for word rolls, until all information in the virtual subnet container all move To the outside of virtual father's container, 104 are entered step.
Because being to realize word for word to roll, therefore, the preset period of time should not be arranged excessive, for example, described default Time cycle can be 10 milliseconds.One 10 milliseconds are often crossed, the virtual subnet container moves a font to character rolling direction Width.
In a schematical example, the detailed process of step 105 may refer to Fig. 3, and Fig. 3 is that the embodiment of the present invention is public The flow chart for the control virtual subnet container movement opened, as shown in figure 3, may include:
Step 301:Determine width value of the virtual subnet container after filling information to be presented.
If the information to be presented is all word, then the width value is all words in the information to be presented The product of number and set width.
Step 302:Since the initial position, according to preset period of time control by the virtual subnet container to first Move a set width in direction.
Wherein the first direction is character rolling direction.The initial position and character rolling direction is being determined It afterwards, can be since the initial position, every the distance of 10 milliseconds of mobile set widths, to present on the display device Go out the bandwagon effect word for word rolled since specific position.
Step 303:When the absolute value of the second attribute value of the virtual subnet container is identical as the width value, institute is determined State the outside that all information in virtual subnet container are all moved to virtual father's container.
Wherein, second attribute value be the virtual subnet container and virtual father's container in said first direction The distance between edge.For example, character rolling direction be to the left, the virtual subnet container left hand edge apart from the virtual father When the distance of the left hand edge of container is equal with the width value of virtual subnet container, illustrate that the virtual subnet container just moves completely Move out virtual father's container internal range namely the virtual subnet container in include all information to be presented it is shown It finishes.
In the present embodiment, the methods of exhibiting of the text information by the way that virtual subnet container is arranged in virtual father's container, Filling needs the content shown in virtual subnet container, since father's container is only in inside as it can be seen that therefore by controlling virtual subnet container Initial position and subsequent movement, so that it may to realize information to be presented since the specific position of display area according to default rolling Dynamic direction word for word rolls displaying information to be presented, and display form is more flexible abundant, and user's body-sensing is more preferable.
On the basis of the above disclosed embodiments of the present invention, Fig. 4 discloses the methods of exhibiting of another text information Flow chart, as shown in figure 4, the methods of exhibiting of text information may include:
Step 401:Virtual father's container is created, virtual father's container built-in attribute is as it can be seen that external attribute is not It can be seen that.
Step 402:A virtual subnet container is created under virtual father's container, the virtual subnet container width is automatic Filling.
Step 403:Information to be presented is filled in the virtual subnet container.
Step 404:Determine the initial position of the virtual subnet container.
Step 405:Update the information to be presented in the virtual submodule.
If the information update to be presented increases, it is also desirable to by updated information update to be presented to the void Intend sub- container in, in order to subsequently can by it is updated it is content to be presented accordingly display equipment on accurately show.
Step 406:Since the initial position, according to preset period of time control by the virtual subnet container to first A set width is moved in direction, to realize that word word for word rolls, until all information in the virtual subnet container all move To the outside of virtual father's container, 404 are entered step.
In the present embodiment, the methods of exhibiting of the text information increases the interior of update information to be presented in the process of implementation Hold, it is updated content to be presented convenient for accurately being shown in corresponding display equipment.The method can be in display area Any position start, according to default rotating direction carry out word word for word roll displaying, display form is flexible, and user's physical examination is good.
For each method embodiment above-mentioned, for simple description, therefore it is all expressed as a series of combination of actions, but Be those skilled in the art should understand that, the present invention is not limited by the described action sequence because according to the present invention, certain A little steps can be performed in other orders or simultaneously.Secondly, it those skilled in the art should also know that, is retouched in specification The embodiment stated belongs to preferred embodiment, and involved action and module are not necessarily essential to the invention.
Method is described in detail in aforementioned present invention disclosed embodiment, diversified forms can be used for the method for the present invention Device realize that therefore the invention also discloses a kind of devices, and specific embodiment is given below and is described in detail.
Fig. 5 is a kind of structural schematic diagram of the displaying device of text information disclosed by the embodiments of the present invention, referring to Fig. 5 institutes Show, the displaying device 50 of text information may include:
Father's container creates node 501, and for creating virtual father's container, virtual father's container built-in attribute is can See, external attribute is invisible.
Wherein, virtual father's container can be the container of DIV labels, it is of course also possible to be other such as ul, ol, li The container of label.Virtual father's container can have fixed height and a width when creating, in the present embodiment, will it is described virtually Father's container is configured to internal as it can be seen that outside is invisible, i.e., the content that related needs are shown is only positioned at virtual father's container When internal, it can be shown in corresponding display equipment, and when positioned at virtual father's external container, it is set in display It is standby above to see.
Sub- container creates node 502, for creating a virtual subnet container, the virtual subnet under virtual father's container Container width is automatic filling.
In the lower layer of virtual father's container, the visibility attribute based on virtual father's container sets the virtual subnet container It sets, only when the virtual subnet container is moved in virtual father's container, text information therein can be illustrated in pair In the display equipment answered.
Because the application is accomplished that word word for word rolls, if character rolling direction is to scroll left and right, the virtual subnet The height of container should not exceed the height of virtual father's container, optionally, the height of the virtual subnet container can with it is described The height of virtual father's container is identical.In this case, the suspension height of virtual father's container and the virtual subnet container is set Identical, then the text information in the virtual subnet container may be implemented can scroll left and right display in virtual father's container. In specific implementation, it is identical as virtual first attribute information of father's container to be arranged the virtual subnet container, and described first Attribute information is the vertical range of the display platen edge of the Edge Distance of the container same direction in this direction.If character rolling direction For the left side, then the wherein described edge is left hand edge, if character rolling direction is the right, wherein the edge is right hand edge.
Information fills module 503, for filling information to be presented in the virtual subnet container.
Before starting word for word to scroll information to be presented, first letter to be presented populated in the virtual subnet container is needed Breath, convenient for when the movement of virtual subnet container, wherein content can be shown in virtual father's container described in subsequent control.
Position determination module 504, the initial position for determining the virtual subnet container.
The initial position may include lateral position and lengthwise position.
Message display area domain is usually located at the top region of display screen, and displaying information is in a manner of laterally word for word rolling It carries out.The character rolling since any position in display area may be implemented in the technical purpose of the application, therefore, shows at one In the example of meaning property, the concrete structure of the position determination module 504 may refer to Fig. 6, and Fig. 6 is disclosed by the embodiments of the present invention The structural schematic diagram of position determination module, as shown in fig. 6, the position determination module 504 may include:
Initial distance determining module 601, for determine the edge on character rolling direction of the virtual subnet container away from Initial distance from edge of the virtual father's container on character rolling direction
Wherein, the initial distance is not more than the width of virtual father's container, and the virtual subnet container is in character rolling Edge on direction is located inside virtual father's container.Why the initial distance is set and is not more than virtual father's container Width, be in order to which realize can any position inside virtual father's container starts to roll as word again starting point.
By taking word rolls to the left as an example, the initial distance is the left hand edge of the virtual subnet container apart from described virtual The vertical range of the left hand edge of father's container.
Initial position determining module 602, the initial position for determining the virtual subnet container according to the initial distance.
Certainly, in other realization methods, the determination of initial position can also be solid in the position of virtual father's container Under the premise of fixed, determined with distance of the virtual subnet container apart from the edge of display screen respective direction.
Mobile control module 505, for since the initial position, being controlled according to preset period of time will be described virtual Sub- container moves a set width to first direction, to realize that word word for word rolls, until the institute in the virtual subnet container There is information to be all moved to the outside of virtual father's container.
Because being to realize word for word to roll, therefore, the preset period of time should not be arranged excessive, for example, described default Time cycle can be 10 milliseconds.One 10 milliseconds are often crossed, the virtual subnet container moves a font to character rolling direction Width.
In a schematical example, the concrete structure of the mobile control module 505 may refer to Fig. 7, and Fig. 7 is this The structural schematic diagram of mobile control module disclosed in inventive embodiments, as shown in fig. 7, the mobile control module 505 can wrap It includes:
Width determining module 701, for determining width value of the virtual subnet container after filling information to be presented.
If the information to be presented is all word, then the width value is all words in the information to be presented The product of number and set width.
Character rolling module 702, for since the initial position, being controlled according to preset period of time will be described virtual Sub- container moves a set width to first direction.
Wherein the first direction is character rolling direction.The initial position and character rolling direction is being determined It afterwards, can be since the initial position, every the distance of 10 milliseconds of mobile set widths, to present on the display device Go out the bandwagon effect word for word rolled since specific position.
Mobile determining module 703, absolute value and the width value for the second attribute value when the virtual subnet container When identical, determine that all information in the virtual subnet container are all moved to the outside of virtual father's container.
Wherein, second attribute value be the virtual subnet container and virtual father's container in said first direction The distance between edge.For example, character rolling direction be to the left, the virtual subnet container left hand edge apart from the virtual father When the distance of the left hand edge of container is equal with the width value of virtual subnet container, illustrate that the virtual subnet container just moves completely Move out virtual father's container internal range namely the virtual subnet container in include all information to be presented it is shown It finishes.
In the present embodiment, the displaying device of the text information by the way that virtual subnet container is arranged in virtual father's container, Filling needs the content shown in virtual subnet container, since father's container is only in inside as it can be seen that therefore by controlling virtual subnet container Initial position and subsequent movement, so that it may to realize information to be presented since the specific position of display area according to default rolling Dynamic direction word for word rolls displaying information to be presented, and display form is more flexible abundant, and user's body-sensing is more preferable.
Fig. 8 is the structural schematic diagram of the displaying device of another text information disclosed by the embodiments of the present invention, such as Fig. 8 institutes Show, the displaying device 80 of text information may include:
Father's container creates node 501, and for creating virtual father's container, virtual father's container built-in attribute is can See, external attribute is invisible.
Sub- container creates node 502, for creating a virtual subnet container, the virtual subnet under virtual father's container Container width is automatic filling.
Information fills module 503, for filling information to be presented in the virtual subnet container.
Position determination module 504, the initial position for determining the virtual subnet container.
Information updating module 801, for updating information to be presented in the virtual submodule.
If the information update to be presented increases, it is also desirable to by updated information update to be presented to the void Intend sub- container in, in order to subsequently can by it is updated it is content to be presented accordingly display equipment on accurately show.
Mobile control module 505, for since the initial position, being controlled according to preset period of time will be described virtual Sub- container moves a set width to first direction, to realize that word word for word rolls, until the institute in the virtual subnet container There is information to be all moved to the outside of virtual father's container.
In the present embodiment, the displaying device of the text information increases the interior of update information to be presented in the process of implementation Hold, it is updated content to be presented convenient for accurately being shown in corresponding display equipment.The method can be in display area Any position start, according to default rotating direction carry out word word for word roll displaying, display form is flexible, and user's physical examination is good.
Each embodiment is described by the way of progressive in this specification, the highlights of each of the examples are with other The difference of embodiment, just to refer each other for identical similar portion between each embodiment.For device disclosed in embodiment For, since it is corresponded to the methods disclosed in the examples, so description is fairly simple, related place is said referring to method part It is bright.
It should also be noted that, herein, relational terms such as first and second and the like are used merely to one Entity or operation are distinguished with another entity or operation, without necessarily requiring or implying between these entities or operation There are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant are intended to contain Lid non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also include other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest range caused.

Claims (10)

1. a kind of methods of exhibiting of text information, which is characterized in that including:
Virtual father's container is created, virtual father's container built-in attribute is as it can be seen that external attribute is invisible;
A virtual subnet container is created under virtual father's container, the virtual subnet container width is automatic filling;
Information to be presented is filled in the virtual subnet container;
Determine the initial position of the virtual subnet container;
Since the initial position, the virtual subnet container is moved one to first direction according to preset period of time control Set width, to realize that word word for word rolls, until all information in the virtual subnet container are all moved to the virtual father The outside of container, into the determination virtual subnet container initial position the step of.
2. the methods of exhibiting of text information according to claim 1, which is characterized in that described to be opened from the initial position Begin, the virtual subnet container is moved into a set width to first direction according to preset period of time control, to realize word Word for word roll, until all information in the virtual subnet container are all moved to the outside of virtual father's container, including:
Determine width value of the virtual subnet container after filling information to be presented;
Since the initial position, the virtual subnet container is moved one to first direction according to preset period of time control Set width;
When the absolute value of the second attribute value of the virtual subnet container is identical as the width value, the virtual subnet container is determined In all information be all moved to the outside of virtual father's container, wherein second attribute value is the virtual subnet container With the distance between the edge of virtual father's container in said first direction.
3. the methods of exhibiting of text information according to claim 1, which is characterized in that the determination virtual subnet container Initial position, including:
Determine that virtual father's container is in character rolling side described in the Edge Distance on character rolling direction of the virtual subnet container The initial distance at upward edge, wherein the initial distance is not more than the width of virtual father's container, and the virtual subnet holds Edge of the device on character rolling direction is located inside virtual father's container;
The initial position of the virtual subnet container is determined according to the initial distance.
4. the methods of exhibiting of text information according to claim 1, which is characterized in that further include:
Update the information to be presented in the virtual submodule.
5. the methods of exhibiting of text information according to claim 1, which is characterized in that the virtual subnet container and the void First attribute information of quasi- father's container is identical, first attribute information be the Edge Distance of the container same direction in this direction Show the vertical range of platen edge.
6. a kind of displaying device of text information, which is characterized in that including:
Father's container creates node, and for creating virtual father's container, virtual father's container built-in attribute is as it can be seen that outer subordinate Property to be invisible;
Sub- container creates node, and for creating a virtual subnet container under virtual father's container, the virtual subnet container is wide Degree is automatic filling;
Information fills module, for filling information to be presented in the virtual subnet container;
Position determination module, the initial position for determining the virtual subnet container;
Mobile control module, for since the initial position, being controlled the virtual subnet container according to preset period of time A set width is moved to first direction, to realize that word word for word rolls, until all information in the virtual subnet container All it is moved to the outside of virtual father's container.
7. the displaying device of text information according to claim 6, which is characterized in that the mobile control module includes:
Width determining module, for determining width value of the virtual subnet container after filling information to be presented;
Character rolling module, for since the initial position, being controlled the virtual subnet container according to preset period of time A set width is moved to first direction;
Mobile determining module, is used for when the absolute value of the second attribute value of the virtual subnet container is identical as the width value, Determine that all information in the virtual subnet container are all moved to the outside of virtual father's container, wherein second attribute Value is the distance between the edge of the virtual subnet container and virtual father's container in said first direction.
8. the displaying device of text information according to claim 6, which is characterized in that the position determination module includes:
Initial distance determining module, it is empty described in the Edge Distance on character rolling direction of the virtual subnet container for determining The initial distance at quasi- edge of father's container on character rolling direction, wherein the initial distance holds no more than the virtual father The width of device, edge of the virtual subnet container on character rolling direction are located inside virtual father's container;
Initial position determining module, the initial position for determining the virtual subnet container according to the initial distance.
9. the displaying device of text information according to claim 6, which is characterized in that further include:
Information updating module, for updating information to be presented in the virtual submodule.
10. the displaying device of text information according to claim 6, which is characterized in that the virtual subnet container with it is described First attribute information of virtual father's container is identical, first attribute information be the Edge Distance of the container same direction in this direction Display platen edge vertical range.
CN201810503183.7A 2018-05-23 2018-05-23 A kind of methods of exhibiting and device of text information Pending CN108804176A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810503183.7A CN108804176A (en) 2018-05-23 2018-05-23 A kind of methods of exhibiting and device of text information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810503183.7A CN108804176A (en) 2018-05-23 2018-05-23 A kind of methods of exhibiting and device of text information

Publications (1)

Publication Number Publication Date
CN108804176A true CN108804176A (en) 2018-11-13

Family

ID=64091592

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810503183.7A Pending CN108804176A (en) 2018-05-23 2018-05-23 A kind of methods of exhibiting and device of text information

Country Status (1)

Country Link
CN (1) CN108804176A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112799768A (en) * 2021-02-03 2021-05-14 北京文香信息技术有限公司 Method and device for realizing horse race lamp and electronic equipment
CN113645493A (en) * 2020-04-24 2021-11-12 深圳市中兴系统集成技术有限公司 Display method for vertical scrolling of characters

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101662616A (en) * 2009-09-17 2010-03-03 北京中科智网传媒技术有限公司 Character rolling display method
US20130088520A1 (en) * 2011-10-07 2013-04-11 Research In Motion Limited Determining a target position for scrolling content
US20130176346A1 (en) * 2012-01-11 2013-07-11 Fih (Hong Kong) Limited Electronic device and method for controlling display on the electronic device
CN105307030A (en) * 2015-09-30 2016-02-03 广州酷狗计算机科技有限公司 Barrage displaying method and device
CN106604098A (en) * 2016-12-29 2017-04-26 深圳Tcl数字技术有限公司 Intelligent television marquee effect realization method and device
CN106993232A (en) * 2017-04-28 2017-07-28 深圳市茁壮网络股份有限公司 A kind of character rolling implementation method and device based on TV
CN107066186A (en) * 2017-02-23 2017-08-18 青岛海信电器股份有限公司 A kind of UI interfaces character methods of exhibiting and display device based on Canvas

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101662616A (en) * 2009-09-17 2010-03-03 北京中科智网传媒技术有限公司 Character rolling display method
US20130088520A1 (en) * 2011-10-07 2013-04-11 Research In Motion Limited Determining a target position for scrolling content
US20130176346A1 (en) * 2012-01-11 2013-07-11 Fih (Hong Kong) Limited Electronic device and method for controlling display on the electronic device
CN105307030A (en) * 2015-09-30 2016-02-03 广州酷狗计算机科技有限公司 Barrage displaying method and device
CN106604098A (en) * 2016-12-29 2017-04-26 深圳Tcl数字技术有限公司 Intelligent television marquee effect realization method and device
CN107066186A (en) * 2017-02-23 2017-08-18 青岛海信电器股份有限公司 A kind of UI interfaces character methods of exhibiting and display device based on Canvas
CN106993232A (en) * 2017-04-28 2017-07-28 深圳市茁壮网络股份有限公司 A kind of character rolling implementation method and device based on TV

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113645493A (en) * 2020-04-24 2021-11-12 深圳市中兴系统集成技术有限公司 Display method for vertical scrolling of characters
CN112799768A (en) * 2021-02-03 2021-05-14 北京文香信息技术有限公司 Method and device for realizing horse race lamp and electronic equipment

Similar Documents

Publication Publication Date Title
US10339209B2 (en) Webpage display method and device
US9071870B2 (en) System and method for viewing digital visual content on a device
CN105637464B (en) Rolling for website and content terminates effect
CN105912227A (en) Text information display method, device and mobile device
CN105528217A (en) Partial refreshing method and device based on display list
WO1999066394B1 (en) Method for adapting user interface elements based on historical usage
CN108804176A (en) A kind of methods of exhibiting and device of text information
CN107977137A (en) Object methods of exhibiting, device and the equipment of five application page
CN107831895A (en) alarm clock control method, device and terminal
CN106294501A (en) web animation effect display method and device
CN100395692C (en) Mobile phone information display device and mobile phone containing same
CN106649725B (en) A kind of page switching method and device
CN114780077A (en) Webpage visual editing device and method
CN106325873A (en) Multi-window page display processing method and device
CN113656716A (en) Method for realizing virtual list with indefinite height
Miah et al. Vanishing Windows—a technique for adaptive window management
CN106874387B (en) Method for displaying real-time information in self-adaptive HTML (Hypertext markup language) scrolling mode
CN106372137A (en) Multi-window page display processing method and apparatus
WO2017097142A1 (en) Interface operation processing method and apparatus, and a smart terminal
CN112578963B (en) Menu processing method and device, storage medium and electronic equipment
CN104715053B (en) Implementation method, device and the browser that web page contents are shown
CN107783744A (en) The data of Mosaic screen are shown, control method and device, system, display device
CN112817505A (en) Software information interface display method and device, storage medium and equipment
CN116225293B (en) Scrolling display method, device, equipment and medium for ink screen
CN110930496B (en) View drawing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20181113

RJ01 Rejection of invention patent application after publication