Movatterモバイル変換


[0]ホーム

URL:


CN105279140B - Text display method, server, terminal and system - Google Patents

Text display method, server, terminal and system
Download PDF

Info

Publication number
CN105279140B
CN105279140BCN201410351560.1ACN201410351560ACN105279140BCN 105279140 BCN105279140 BCN 105279140BCN 201410351560 ACN201410351560 ACN 201410351560ACN 105279140 BCN105279140 BCN 105279140B
Authority
CN
China
Prior art keywords
text
display
displayed
terminal
specified
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
CN201410351560.1A
Other languages
Chinese (zh)
Other versions
CN105279140A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co LtdfiledCriticalTencent Technology Shenzhen Co Ltd
Priority to CN201410351560.1ApriorityCriticalpatent/CN105279140B/en
Publication of CN105279140ApublicationCriticalpatent/CN105279140A/en
Application grantedgrantedCritical
Publication of CN105279140BpublicationCriticalpatent/CN105279140B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Landscapes

Abstract

The invention discloses a text display method, a server, a terminal and a system, and belongs to the field of computers. The method comprises the following steps: receiving a text display request sent by a terminal; determining a text to be displayed corresponding to the request; and returning a text display response to the terminal according to the determined text to be displayed, wherein the text display response is used for indicating the terminal to display the text to be displayed according to a specified dynamic effect. According to the invention, after the text display request sent by the terminal is received, the text to be displayed corresponding to the request is determined, and the response for indicating the terminal to display the text to be displayed according to the specified dynamic effect is returned to the terminal, so that the problems that the text content in the fixed display area can be limited and the text content is single due to the fact that the text content is displayed in the form of static text in the prior art are solved, and the effect of improving the information publishing efficiency is achieved.

Description

Text display method, server, terminal and system
Technical Field
The invention relates to the field of computers, in particular to a text display method, a server, a terminal and a system.
Background
With the development of various network applications and information website platforms, network users can conveniently and quickly publish information to other users or acquire information published by other users, and most of the information is displayed in a text form.
In the existing text display method, a service provider provides an information publishing platform for a network user, the network user inputs text content of information to be displayed in the information publishing platform after logging in the information publishing platform, and the information publishing platform displays the text content input by the network user in a static text form in a network application or information website corresponding to the information publishing platform.
In the process of implementing the invention, the inventor finds that the prior art has at least the following problems:
in the existing text display method, text content is displayed in a static text form, a fixed display area can contain limited text and single text content, the amount of information which can be published at the same time is small, and the information publishing efficiency of network users is influenced.
Disclosure of Invention
In order to solve the problems that in the prior art, text content is displayed in a static text form, a fixed display area can contain limited text and single text content, and the amount of information which can be issued at the same time is small, the embodiment of the invention provides a text display method, a server, a terminal and a system. The technical scheme is as follows:
in one aspect, a text display method is provided, and is used in a server, and the method includes:
receiving a text display request sent by a terminal;
determining a text to be displayed corresponding to the request;
and returning a text display response to the terminal according to the determined text to be displayed, wherein the text display response is used for indicating the terminal to display the text to be displayed according to a specified dynamic effect.
In another aspect, a text display method is provided, which is used in a terminal, and includes:
sending a text display request to a server;
receiving a text display response returned by the server, wherein the text display response is a response returned by the server according to the text to be displayed, which corresponds to the text display request, and is determined by the server;
and displaying the text to be displayed according to the specified dynamic effect.
In yet another aspect, a server is provided, the server including:
the request receiving module is used for receiving a text display request sent by the terminal;
the text determining module is used for determining a text to be displayed corresponding to the request;
and the response module is used for returning a text display response to the terminal according to the determined text to be displayed, and the text display response is used for indicating the terminal to display the text to be displayed according to a specified dynamic effect.
In another aspect, a terminal is provided, which includes:
the request sending module is used for sending a text display request to the server;
the response receiving module is used for receiving a text display response returned by the server, wherein the text display response is a response returned by the server according to the text to be displayed, which is determined by the server by the text display request and corresponds to the text to be displayed;
and the display module is used for displaying the text to be displayed according to the specified dynamic effect.
In yet another aspect, a text display system is provided, the system comprising:
the server and the terminal as described above.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
after a text display request sent by a terminal is received, a text to be displayed corresponding to the request is determined, a response for indicating the terminal to display the text to be displayed according to a specified dynamic effect is returned to the terminal, and a terminal side can display a large amount of contents in a limited display area, for example, a text with a large number of words is displayed in a rolling mode in a narrow display area, or a plurality of texts with a small number of words are displayed alternately, so that the amount of text information capable of being issued in the limited display area is expanded, the problems that in the prior art, due to the fact that the text contents are displayed in a static text mode, a fixed display area can contain a limited text and the text content is single are solved, and the effect of improving the information issuing efficiency is achieved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flow chart of a method of displaying text according to one embodiment of the present invention;
FIG. 2 is a flowchart of a method for displaying text according to another embodiment of the present invention;
FIG. 3 is a flowchart of a method of displaying text according to one embodiment of the present invention;
FIG. 4 is a flowchart of a method for displaying text according to another embodiment of the present invention;
FIG. 5 is a flowchart of a method of displaying text according to one embodiment of the present invention;
FIG. 6 is a flowchart of the operation of a text publishing platform provided by one embodiment of the present invention;
fig. 7 is an apparatus configuration diagram of a server provided by an embodiment of the present invention;
fig. 8 is an apparatus configuration diagram of a server provided in another embodiment of the present invention;
fig. 9 is an apparatus configuration diagram of a terminal provided in one embodiment of the present invention;
fig. 10 is an apparatus configuration diagram of a terminal provided in another embodiment of the present invention;
fig. 11 is a system configuration diagram of a text display system according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Referring to fig. 1, a flowchart of a method for displaying a text according to an embodiment of the present invention is shown. The text display method may be used in a server, and the text display method may include:
102, receiving a text display request sent by a terminal;
step 104, determining a text to be displayed corresponding to the request;
the text to be displayed is a text set on the server side, for example, a text publishing user can log in a server page and input a text requesting to be published, and the server stores the text input by the text publishing user as the text to be displayed.
And 106, returning a text display response to the terminal according to the determined text to be displayed, wherein the text display response is used for indicating the terminal to display the text to be displayed according to the specified dynamic effect.
In summary, in the text display method provided in the embodiments of the present invention, after receiving a text display request sent by a terminal, a text to be displayed corresponding to the request is determined, and a response for instructing the terminal to display the text to be displayed according to a specified dynamic effect is returned to the terminal, so that a terminal side can display a large amount of content in a limited display area, for example, scroll-display a text with a large number of words in a long and narrow display area, or alternately display a plurality of texts with a small number of words, thereby expanding the amount of text information that can be released in the limited display area, solving the problem in the prior art that a fixed display area can contain a limited text and has a single text content due to the text content being displayed in a static text form, and achieving an effect of improving information release efficiency.
Referring to fig. 2, a flowchart of a text display method according to another embodiment of the invention is shown. The text display method may be used to preprocess a text to be displayed in a server so that the text to be displayed may be displayed by a terminal according to a specified dynamic effect, and the text display method may include:
step 202, receiving a text display request sent by a terminal;
the terminal may be a terminal installed with a network application or having a network browsing function, such as a personal computer, a smart phone, or a tablet computer. After the terminal opens the web application or the web page, a request for displaying the text content at a certain specified position is sent to the server, for example, when the web application client or the web page contains text, a text display request for displaying the text is sent to the server.
Step 204, determining a text to be displayed corresponding to the text display request;
the text display request comprises display attribute information, wherein the display attribute information can comprise display time and/or display position; the server may determine the text to be displayed according to the display attribute information and a pre-stored correspondence between the display attribute information and the text to be displayed.
Specifically, the server may be a server of a text publishing platform, a text publishing user may log in the platform and publish text information through the platform, and when publishing text information, the text publishing user may specify attribute information such as a display position and a display time of a published text, for example, after the text publishing user logs in the text publishing platform, a position for displaying a text is selected, for example, the user selects "XX application client bottom area 1" as a display position for displaying text information published by the user, and then inputs one or more texts to be displayed that are requested to be published in the text publishing platform, taking publishing two texts as an example, the text publishing user inputs: "XX accurate orientation, help you find potential customer! "and" where XX is, where gold is! ", and selects a display time of the text information, such as" 2014-03-03 to 2014-03-04, 7:00-24:00 ". And the server of the text publishing platform stores the position and the display time of the text to be displayed, which is input by the text publishing user and corresponds to the text selected by the user. When a terminal receives a user instruction to start an XX application client, determining that a bottom area 1 of the client is a text display position, sending a text display request to a server of a text publishing platform, wherein the text display request comprises current time and a display position of text content, and assuming that the current time is 2014-03-03 and 9:00, the server inquires corresponding relations between pre-stored texts to be displayed and the display positions and the display time according to the current time and the display position, determines that the texts to be displayed corresponding to the request are in an XX accurate orientation, and helps you find a potential client! "and" where XX is, where gold is! ".
Step 206, determining one dynamic effect from the N dynamic effects as the specified dynamic effect, wherein N is more than or equal to 2;
the server may be provided with N dynamic effects, and the server may determine a dynamic effect specified by the server among the N preset dynamic effects as the specified dynamic effect; alternatively, the server may randomly determine one dynamic effect as the specified dynamic effect from the preset N dynamic effects.
The server may preset a plurality of dynamic effects, such as rolling from right to left, rolling from left to right, pausing-enlarging-disappearing, rolling from bottom to top, rolling from top to bottom, fading and the like. The appointed dynamic effect can be selected and appointed in the text publishing platform by the server according to a text publishing user, and can also be automatically appointed by the server according to the attribute information of the text to be displayed; for example, the text publishing platform may display a dynamic effect specifying interface, the text publishing user may select one dynamic effect in the dynamic effect specifying interface, and the server of the text publishing platform specifies the dynamic effect selected by the user as a specified dynamic effect of the text to be displayed; or the server of the text publishing platform pre-designates the dynamic effect corresponding to a certain display position in the XX application client to be circularly rolling from right to left.
Or, the server may also randomly select one dynamic effect as the specified dynamic effect, for example, when the server receives a text display request and determines a corresponding text to be displayed, one dynamic effect may be randomly selected from a plurality of preset dynamic effects as the specified dynamic effect of the text to be displayed this time.
Step 208, generating the designated display code according to the text to be displayed and the designated dynamic effect;
wherein the specified display code is for execution by the terminal to display the text to be displayed in accordance with the specified dynamic effect.
In addition, the server can also generate N candidate display codes respectively corresponding to the N dynamic effects according to the text to be displayed and the preset N dynamic effects, wherein the candidate display codes are used for being executed by the terminal to display the text to be displayed according to the dynamic effects corresponding to the candidate display codes; the server randomly determines a display code from the N candidate display codes as the designated display code.
When the server randomly selects a dynamic effect as the designated dynamic effect of the text to be displayed, the server can firstly generate display codes corresponding to each dynamic effect for the text to be displayed besides randomly selecting the designated dynamic effect and generating designated display codes after receiving a text display request, and when the server receives the text display request sent by the terminal and determines the corresponding text to be displayed, the server can randomly determine one display code from the display codes corresponding to the text to be displayed as the designated display code.
Step 210, a text display response containing the designated display code is returned to the terminal.
The server sends the text display response containing the appointed display code to the terminal, and the terminal can directly execute the appointed display code and display the text to be displayed at the corresponding display position according to the appointed dynamic effect. For example, the XX application client receives the response containing the designated display code and executes the designated display code directly, so as to display the "XX precise orientation in the dynamic effect of scrolling circularly from right to left in the bottom area 1 of the client, which helps you find the potential client! "and" where XX is, where gold is! ".
When the server randomly selects one dynamic effect as the designated dynamic effect, the designated dynamic effect corresponding to each text display request is randomly determined, so that the designated dynamic effects displayed by the terminals corresponding to different users at the same time may be different, and the designated dynamic effects displayed by the terminals corresponding to the same user at different times may also be different. For example, the user king and the user lie open the respective XX application clients at the same time, and the client corresponding to the user king may display "XX precise orientation in the bottom area 1 with a left-to-right scrolling effect to help you find a potential customer! "and" where XX is, where gold is! "and the clients corresponding to the user duels may display the same contents in turn in the bottom area 1 with the effect of pausing and then gradually zooming out. After the user king subsequently reopens the corresponding client, the client may scroll the above-mentioned content in a right-to-left loop in the bottom area 1.
In addition, the server can also return a response containing a text to be displayed to the terminal, wherein the text to be displayed is used for instructing the terminal to generate a specified display code according to the text to be displayed and a specified dynamic effect arranged in the terminal, and the specified display code is used for being executed by the terminal to display the text to be displayed according to the specified dynamic effect.
The step of specifying the dynamic effect according to the text to be displayed may also be performed on the terminal side, for example, after the server receives the text display request and determines the corresponding text to be displayed, the server directly carries the text to be displayed in a response returned to the terminal, and the terminal generates a specified display code according to the text to be displayed and the specified dynamic effect preset in the corresponding display position and executes the specified display code, so as to display the text to be displayed according to the specified dynamic effect. For example, the bottom area 1 of the XX application client presets a designated dynamic effect as fading in and fading out, after the XX application is opened in the terminal by the queen of the user, the terminal requests the server to display the text content of the bottom area 1 of the client, and the server precisely orients the text "XX" to be displayed, so as to help you find a potential client! "and" where XX is, where gold is! And returning the text to the terminal after carrying the text in the request response, and generating a display code by the terminal according to the text to be displayed and the appointed fade-in and fade-out effect and executing the display code.
In addition, the server of the text publishing platform may generate an animation file of the text to be displayed, such as a GIF (graphics interchange Format) file, according to the size of the display position and the specified dynamic effect, and return a response including the animation file to the terminal, and after receiving the response, the terminal directly displays the animation file at the display position, so as to achieve the effect of displaying the text to be displayed according to the specified dynamic effect.
According to the text display method provided by the embodiment of the invention, a text publishing user can publish a plurality of texts to be displayed at the same display position and circularly display the texts at the display position according to the specified dynamic effect, and more information can be displayed in a limited display area, so that the text content published by the user is richer, and the information publishing efficiency is improved.
In summary, in the text display method provided in the embodiments of the present invention, after receiving a text display request sent by a terminal, a text to be displayed corresponding to the request is determined, and a response for instructing the terminal to display the text to be displayed according to a specified dynamic effect is returned to the terminal, so that a terminal side can display a large amount of content in a limited display area, for example, scroll-display a text with a large number of words in a long and narrow display area, or alternately display a plurality of texts with a small number of words, thereby expanding the amount of text information that can be released in the limited display area, solving the problem in the prior art that a fixed display area can contain a limited text and has a single text content due to the text content being displayed in a static text form, and achieving an effect of improving information release efficiency.
Referring to fig. 3, a flowchart of a method for displaying a text according to an embodiment of the present invention is shown. The text display method can be used for displaying the text to be displayed through a specified dynamic effect in the terminal, and the text display method can comprise the following steps:
step 302, sending a text display request to a server;
step 304, receiving a text display response returned by the server, wherein the text display response is a response returned by the server according to the text to be displayed corresponding to the text display request determined by the server;
the text to be displayed is a text set on the server side, for example, a text publishing user can log in a server page and input a text requesting to be published, and the server stores the text input by the text publishing user as the text to be displayed.
And step 306, displaying the text to be displayed according to the specified dynamic effect.
In summary, in the text display method provided in the embodiments of the present invention, by sending the text display request to the server, receiving the response returned by the server after determining the text to be displayed corresponding to the text display request, and displaying the text to be displayed according to the specified dynamic effect, the terminal side may display a large amount of content in the limited display area, for example, scroll-display a text with a large number of words in a long and narrow display area, or alternatively display a plurality of texts with a small number of words, so as to expand the amount of text information that can be issued in the limited display area, solve the problem in the prior art that a fixed display area can accommodate a limited text and has a single text content due to the text content being displayed in a static text form, and achieve the effect of improving the information issuing efficiency.
Referring to fig. 4, a flowchart of a text display method according to another embodiment of the invention is shown. The text display method can be used for displaying the text to be displayed through the specified dynamic effect in the terminal, and the text display method can comprise the following steps:
step 402, sending a text display request to a server;
the terminal may be a terminal installed with a network application or having a network browsing function, such as a personal computer, a smart phone, or a tablet computer. After the terminal opens the web application or the web page, a request for displaying the text content at a certain specified position is sent to the server, for example, when the web application client or the web page contains text, a text display request for displaying the text is sent to the server.
Step 404, receiving a text display response returned by the server;
the response is a response returned according to the text to be displayed, wherein the response is the text to be displayed corresponding to the text display request determined by the server; the terminal may transmit a text display request including display attribute information, which may include a display time and/or a display location, to the server. The server may determine the text to be displayed according to the display attribute information and a pre-stored correspondence between the display attribute information and the text to be displayed. Please refer to the content instep 204 of the method shown in fig. 2, which is not described herein again.
Step 406, when the response includes a designated display code and the designated display code includes the text to be displayed, executing the designated display code to display the text to be displayed according to the designated dynamic effect;
the specific method of the specific method is shown instep 206 and step 208 in the corresponding embodiment of fig. 2, and details are not repeated here.
Step 408, when the response includes the text to be displayed, generating a designated display code according to the text to be displayed and a designated dynamic effect set in the terminal, and executing the designated display code to display the text to be displayed according to the designated dynamic effect.
The step of specifying the dynamic effect according to the text to be displayed may also be performed on the terminal side, for example, after the server receives the text display request and determines the corresponding text to be displayed, the text to be displayed is directly carried in a response returned to the terminal, and the terminal generates a specified display code according to the text to be displayed and the specified dynamic effect preset in the terminal at the corresponding display position in advance and executes the specified display code, so as to display the text to be displayed according to the specified dynamic effect.
In addition, the server of the text publishing platform can generate a code corresponding to the text to be displayed, and also can generate an animation file, such as a GIF file, of the text to be displayed according to the size of the display position and the specified dynamic effect, and return a response containing the animation file to the terminal, and after receiving the response, the terminal directly displays the animation file at the display position, so that the effect of displaying the text to be displayed according to the specified dynamic effect is achieved.
In summary, in the text display method provided in the embodiments of the present invention, by sending the text display request to the server, receiving the response returned by the server after determining the text to be displayed corresponding to the text display request, and displaying the text to be displayed according to the specified dynamic effect, the terminal side may display a large amount of content in the limited display area, for example, scroll-display a text with a large number of words in a long and narrow display area, or alternatively display a plurality of texts with a small number of words, so as to expand the amount of text information that can be issued in the limited display area, solve the problem in the prior art that a fixed display area can accommodate a limited text and has a single text content due to the text content being displayed in a static text form, and achieve the effect of improving the information issuing efficiency.
Referring to fig. 5, a flowchart of a method for displaying a text according to an embodiment of the present invention is shown. The text display method can be used for preprocessing a text to be displayed in a system comprising a terminal and a server so that the text to be displayed can be displayed by the terminal according to a specified dynamic effect, and the text display method can comprise the following steps:
step 502, the terminal sends a text display request to a server;
the terminal may be a terminal installed with a network application or having a network browsing function, such as a personal computer, a smart phone, or a tablet computer. After the terminal opens the web application or the web page, a request for displaying the text content at a certain specified position is sent to the server, for example, when the web application client or the web page contains text, a text display request for displaying the text is sent to the server.
Step 504, the server determines a text to be displayed corresponding to the text display request;
the text display request comprises display attribute information, wherein the display attribute information can comprise display time and/or display position; the server may determine the text to be displayed according to the display attribute information and a pre-stored correspondence between the display attribute information and the text to be displayed.
Specifically, the server may be a server of a text publishing platform, a text publishing user may log in the platform and publish text information through the platform, and when publishing text information, the text publishing user may specify attribute information such as a display position and a display time of a published text, for example, after the text publishing user logs in the text publishing platform, a position for displaying a text is selected, for example, the user selects "XX application client bottom area 1" as a display position for displaying text information published by the user, and then inputs one or more texts to be displayed that are requested to be published in the text publishing platform, taking publishing two texts as an example, the text publishing user inputs: "XX accurate orientation, help you find potential customer! "and" where XX is, where gold is! ", and selects a display time of the text information, such as" 2014-03-03 to 2014-03-04, 7:00-24:00 ". And the server of the text publishing platform stores the position and the display time of the text to be displayed, which is input by the text publishing user and corresponds to the text selected by the user. When a terminal receives a user instruction to start an XX application client, determining that a bottom area 1 of the client is a text display position, sending a text display request to a server of a text publishing platform, wherein the text display request comprises current time and a display position of text content, and assuming that the current time is 2014-03-03 and 9:00, the server inquires corresponding relations between pre-stored texts to be displayed and the display positions and the display time according to the current time and the display position, determines that the texts to be displayed corresponding to the request are in an XX accurate orientation, and helps you find a potential client! "and" where XX is, where gold is! ".
Step 506, the server determines one dynamic effect from the N dynamic effects as the specified dynamic effect, wherein N is more than or equal to 2;
the server may be provided with N dynamic effects, and the server may determine a dynamic effect specified by the server among the N preset dynamic effects as the specified dynamic effect; alternatively, the server may randomly determine one dynamic effect as the specified dynamic effect from the preset N dynamic effects.
The server may preset a plurality of dynamic effects, such as rolling from right to left, rolling from left to right, pausing-enlarging-disappearing, rolling from bottom to top, rolling from top to bottom, fading and the like. The appointed dynamic effect can be selected and appointed in the text publishing platform by the server according to a text publishing user, and can also be automatically appointed by the server according to the attribute information of the text to be displayed; for example, the text publishing platform may display a dynamic effect specifying interface, the text publishing user may select one dynamic effect in the dynamic effect specifying interface, and the server of the text publishing platform specifies the dynamic effect selected by the user as a specified dynamic effect of the text to be displayed; or the server of the text publishing platform pre-designates the dynamic effect corresponding to a certain display position in the XX application client to be circularly rolling from right to left.
Or, the server may also randomly select one dynamic effect as the specified dynamic effect, for example, when the server receives a text display request and determines a corresponding text to be displayed, one dynamic effect may be randomly selected from a plurality of preset dynamic effects as the specified dynamic effect of the text to be displayed this time.
Step 508, the server generates the appointed display code according to the text to be displayed and the appointed dynamic effect;
wherein the specified display code is for execution by the terminal to display the text to be displayed in accordance with the specified dynamic effect.
In addition, the server can also generate N candidate display codes respectively corresponding to the N dynamic effects according to the text to be displayed and the preset N dynamic effects, wherein the candidate display codes are used for being executed by the terminal to display the text to be displayed according to the dynamic effects corresponding to the candidate display codes; the server randomly determines a display code from the N candidate display codes as the designated display code.
When the server randomly selects a dynamic effect as the designated dynamic effect of the text to be displayed, the server can firstly generate display codes corresponding to each dynamic effect for the text to be displayed besides randomly selecting the designated dynamic effect and generating designated display codes after receiving a text display request, and when the server receives the text display request sent by the terminal and determines the corresponding text to be displayed, the server can randomly determine one display code from the display codes corresponding to the text to be displayed as the designated display code.
Step 510, the server returns a text display response containing the appointed display code to the terminal;
and step 512, the terminal executes the specified display code to display the text to be displayed according to the specified dynamic effect.
The terminal can directly execute the specified display code, and display the text to be displayed at the corresponding display position by the specified dynamic effect. For example, the XX application client receives the response containing the designated display code and executes the designated display code directly, so as to display the "XX precise orientation in the dynamic effect of scrolling circularly from right to left in the bottom area 1 of the client, which helps you find the potential client! "and" where XX is, where gold is! ".
When the server randomly selects one dynamic effect as the designated dynamic effect, the designated dynamic effect corresponding to each text display request is randomly determined, so that the designated dynamic effects displayed by the terminals corresponding to different users at the same time may be different, and the designated dynamic effects displayed by the terminals corresponding to the same user at different times may also be different. For example, the user king and the user lie open the respective XX application clients at the same time, and the client corresponding to the user king may display "XX precise orientation in the bottom area 1 with a left-to-right scrolling effect to help you find a potential customer! "and" where XX is, where gold is! "and the clients corresponding to the user duels may display the same contents in turn in the bottom area 1 with the effect of pausing and then gradually zooming out. After the user king subsequently reopens the corresponding client, the client may scroll the above-mentioned content in a right-to-left loop in the bottom area 1.
Or when the response contains the text to be displayed, the terminal generates a specified display code according to the text to be displayed and the specified dynamic effect, and executes the specified display code to display the text to be displayed according to the specified dynamic effect.
The step of specifying the dynamic effect according to the text to be displayed may also be performed on the terminal side, for example, after the server receives the text display request and determines the corresponding text to be displayed, the server directly carries the text to be displayed in a response returned to the terminal, and the terminal generates a specified display code according to the text to be displayed and the specified dynamic effect preset in the corresponding display position and executes the specified display code, so as to display the text to be displayed according to the specified dynamic effect. For example, the bottom area 1 of the XX application client presets a designated dynamic effect as fading in and fading out, after the XX application is opened in the terminal by the queen of the user, the terminal requests the server to display the text content of the bottom area 1 of the client, and the server precisely orients the text "XX" to be displayed, so as to help you find a potential client! "and" where XX is, where gold is! And returning the text to the terminal after carrying the text in the request response, and generating a display code by the terminal according to the text to be displayed and the appointed fade-in and fade-out effect and executing the display code.
In addition, the server of the text publishing platform can generate a code corresponding to the text to be displayed, and also can generate an animation file, such as a GIF file, of the text to be displayed according to the size of the display position and the specified dynamic effect, and return a response containing the animation file to the terminal, and after receiving the response, the terminal directly displays the animation file at the display position, so that the effect of displaying the text to be displayed according to the specified dynamic effect is achieved.
According to the text display method provided by the embodiment of the invention, a text publishing user can publish a plurality of texts to be displayed at the same display position and circularly display the texts at the display position according to the specified dynamic effect, and more information can be displayed in a limited display area, so that the text content published by the user is richer, and the information publishing efficiency is improved.
As shown in fig. 6, a workflow diagram of a text publishing platform is shown. The text publishing platform comprises a customer relationship management system, a text management foreground page, a text material preprocessing system and a text management system. When a text publishing user needs to publish a text, requesting to log in a text publishing platform through a customer relationship management system, and after the customer relationship management system reads authority information input by the publishing user during logging in and successfully verifies the authority information, displaying a text management foreground page to the text publishing user; the text publishing user uploads or inputs text materials and edits text attribute information in a text management foreground page, wherein the text material comprises an edited text display position and display time, and optionally, the text publishing user can also select a dynamic effect used by the text material; the text material preprocessing system carries out dynamism on the text material input by a text publishing user, namely generates a display code for dynamically displaying the text material according to a specified dynamic effect or randomly selects the dynamic effect, and correspondingly stores the generated display code and the text attribute information edited by the text publishing user; when a terminal requests to display a text, a text management system receives a request sent by the terminal, the request can include a corresponding text display position, the text management system compares the text display position and the current time with the text display position and the display time in the text attribute information, if the text display position and the current time are matched with the text display position and the display time, the dynamic advertisement content containing the display code is sent to the terminal, and the terminal executes the display code to dynamically display characters in the text material at the corresponding display position.
In summary, in the text display method provided in the embodiments of the present invention, after receiving a text display request sent by a terminal, a server determines a text to be displayed corresponding to the request, and returns a response to the terminal for instructing the terminal to display the text to be displayed according to a specified dynamic effect, and a terminal side may display a large amount of content in a limited display area, for example, scroll-display a text with a large number of words in a long and narrow display area, or alternately display a plurality of texts with a small number of words, so as to expand the amount of text information that can be released in the limited display area, solve the problem in the prior art that a fixed display area can contain a limited text and has a single text content due to the text content being displayed in a form of a static text, and achieve an effect of improving information release efficiency.
Referring to fig. 7, a device configuration diagram of a server according to an embodiment of the present invention is shown. The server may be configured to perform the text display method as shown in fig. 1 or fig. 2, and the server may include:
arequest receiving module 601, configured to receive a text display request sent by a terminal;
atext determining module 602, configured to determine a text to be displayed corresponding to the request;
the text to be displayed is a text set on the server side, for example, a text publishing user can log in a server page and input a text requesting to be published, and the server stores the text input by the text publishing user as the text to be displayed.
Aresponse module 603, configured to return a text display response to the terminal according to the determined text to be displayed, where the text display response is used to instruct the terminal to display the text to be displayed according to a specified dynamic effect.
In summary, the server provided in the embodiment of the present invention, after receiving a text display request sent by a terminal, determines a text to be displayed corresponding to the request, and returns a response to the terminal for instructing the terminal to display the text to be displayed according to a specified dynamic effect, so that the terminal side can display a large amount of content in a limited display area, for example, scroll-display a text with a large number of words in a long and narrow display area, or alternatively display a plurality of texts with a small number of words, thereby expanding the amount of text information that can be issued in the limited display area, solving the problem in the prior art that a fixed display area can contain a limited text and has a single text content due to the text content being displayed in a static text form, and achieving an effect of improving information issuing efficiency.
Referring to fig. 8, a device configuration diagram of a server according to another embodiment of the present invention is shown. The server may be configured to execute the text display method shown in fig. 1 or fig. 2, and preprocess a text to be displayed so that the text to be displayed may be displayed by a terminal according to a specified dynamic effect, where the server may include:
arequest receiving module 701, configured to receive a text display request sent by a terminal;
atext determining module 702, configured to determine a text to be displayed corresponding to the request;
aresponse module 703, configured to return a text display response to the terminal according to the determined text to be displayed, where the text display response is used to instruct the terminal to display the text to be displayed according to a specified dynamic effect.
Theresponse module 703 includes:
a first response unit 7031, configured to return a response including a specified display code to the terminal, where the specified display code includes the text to be displayed, and the specified display code is used for being executed by the terminal to display the text to be displayed according to the specified dynamic effect.
Theresponse module 703 includes:
a dynamic effect determining unit 7032, configured to determine, before the first responding unit 7031 returns a response including a specified display code to the terminal, one dynamic effect from N dynamic effects as the specified dynamic effect, where N is greater than or equal to 2;
a first generating unit 7033, configured to generate the specified display code according to the text to be displayed and the specified dynamic effect;
wherein the server is provided with the N dynamic effects.
The dynamic effect determination unit 7032 includes:
a first determiningsubunit 7032a, configured to determine, as the specified dynamic effect, a dynamic effect specified by the server among the N dynamic effects;
a second determining subunit 7032b, configured to randomly determine one dynamic effect from the N dynamic effects as the specified dynamic effect.
Theresponse module 703 further includes:
a second generating unit 7034, configured to generate, before the first responding unit 7031 returns a response including a specified display code to the terminal, N candidate display codes respectively corresponding to the N dynamic effects according to the text to be displayed and the N dynamic effects, where the candidate display codes are used to be executed by the terminal to display the text to be displayed according to the dynamic effects corresponding to the candidate display codes;
a display code determination unit 7035 configured to randomly determine one display code from the N candidate display codes as the designated display code;
wherein the server is provided with the N dynamic effects.
Theresponse module 703 includes:
a second responding unit 7036, configured to return a response including the to-be-displayed text to the terminal, where the to-be-displayed text is used to instruct the terminal to generate a specified display code according to the to-be-displayed text and the specified dynamic effect set in the terminal, and the specified display code is used to be executed by the terminal to display the to-be-displayed text according to the specified dynamic effect.
Thetext determining module 702 is configured to determine the text to be displayed according to the display attribute information and a correspondence between the pre-stored display attribute information and the text to be displayed;
the text display request comprises display attribute information, and the display attribute information comprises display time and/or display position.
In summary, the server provided in the embodiment of the present invention, after receiving a text display request sent by a terminal, determines a text to be displayed corresponding to the request, and returns a response to the terminal for instructing the terminal to display the text to be displayed according to a specified dynamic effect, so that the terminal side can display a large amount of content in a limited display area, for example, scroll-display a text with a large number of words in a long and narrow display area, or alternatively display a plurality of texts with a small number of words, thereby expanding the amount of text information that can be issued in the limited display area, solving the problem in the prior art that a fixed display area can contain a limited text and has a single text content due to the text content being displayed in a static text form, and achieving an effect of improving information issuing efficiency.
Referring to fig. 9, there is shown an apparatus configuration diagram of a terminal according to an embodiment of the present invention. The terminal may be configured to perform the text display method as shown in fig. 3 or 4, and the terminal may include:
arequest sending module 801, configured to send a text display request to a server;
aresponse receiving module 802, configured to receive a text display response returned by the server, where the text display response is a response returned by the server according to a text to be displayed corresponding to the text display request determined by the server;
and thedisplay module 803 is configured to display the text to be displayed according to the specified dynamic effect.
In summary, the terminal provided in the embodiment of the present invention sends the text display request to the server, receives the response returned by the server after determining the text to be displayed corresponding to the text display request, and displays the text to be displayed according to the specified dynamic effect, and the terminal side can display a large amount of content in the limited display area, for example, scroll-display a text with a large number of words in a long and narrow display area, or alternatively display a plurality of texts with a small number of words, so as to expand the amount of text information that can be released in the limited display area, solve the problem in the prior art that a fixed display area can accommodate a limited text and has a single text content due to the text content being displayed in a form of a static text, and achieve the effect of improving the information release efficiency.
Referring to fig. 10, there is shown an apparatus configuration diagram of a terminal according to another embodiment of the present invention. The terminal may be configured to perform a text display method as shown in fig. 3 or fig. 4 to display a text to be displayed with a specified dynamic effect, and may include:
arequest sending module 901, configured to send a text display request to a server;
aresponse receiving module 902, configured to receive a text display response returned by the server, where the text display response is a response returned by the server according to a text to be displayed corresponding to the text display request determined by the server;
and thedisplay module 903 is used for displaying the text to be displayed according to the specified dynamic effect.
Thedisplay module 903 includes:
a first execution unit 9031, configured to, when the text display response includes a designated display code and the designated display code includes the text to be displayed, execute the designated display code to display the text to be displayed according to the designated dynamic effect.
Thedisplay module 903 includes:
a third generating unit 9032, configured to generate, when the text display response includes the text to be displayed, an appointed display code according to the text to be displayed and the appointed dynamic effect set in the terminal;
asecond execution unit 9033, configured to execute the specified display code to display the text to be displayed according to the specified dynamic effect.
Therequest sending module 901 is configured to send the text display request including display attribute information to the server, where the display attribute information includes display time and/or display position.
In summary, the terminal provided in the embodiment of the present invention sends the text display request to the server, receives the response returned by the server after determining the text to be displayed corresponding to the text display request, and displays the text to be displayed according to the specified dynamic effect, and the terminal side can display a large amount of content in the limited display area, for example, scroll-display a text with a large number of words in a long and narrow display area, or alternatively display a plurality of texts with a small number of words, so as to expand the amount of text information that can be released in the limited display area, solve the problem in the prior art that a fixed display area can accommodate a limited text and has a single text content due to the text content being displayed in a form of a static text, and achieve the effect of improving the information release efficiency.
Referring to fig. 11, a system configuration diagram of a text display system according to an embodiment of the present invention is shown. The text display system may be configured to execute the text display method shown in fig. 5, and preprocess the text to be displayed, so that the text to be displayed may be displayed by the terminal according to the specified dynamic effect. The text display system may include:
such as theserver 200 shown in fig. 7 or 8 and the terminal 400 shown in fig. 9 or 10. Theserver 200 and the terminal 400 are connected to each other via a network.
In summary, in the system provided in the embodiment of the present invention, after receiving a text display request sent by a terminal, a server determines a text to be displayed corresponding to the request, and returns a response to the terminal for instructing the terminal to display the text to be displayed according to a specified dynamic effect, and a terminal side can display a large amount of content in a limited display area, for example, scroll-display a text with a large number of words in a long and narrow display area, or alternately display a plurality of texts with a small number of words, so as to expand the amount of text information that can be released in the limited display area, solve the problem in the prior art that a fixed display area can contain a limited number of texts and has a single text content due to the text content being displayed in a static text form, and achieve an effect of improving information release efficiency.
It should be noted that: in the server and the terminal provided in the above embodiments, when displaying a text to be displayed, only the division of the above functional modules is used for illustration, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the above described functions. In addition, the server and the terminal provided by the above embodiments belong to the same concept as the text display method embodiment, and the specific implementation process thereof is described in the method embodiment and is not described herein again.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (16)

receiving a text display response returned by the server, wherein the text display response is a response returned by the server according to the display attribute information, the pre-stored corresponding relation between the display attribute information and the text to be displayed, the text to be displayed corresponding to the text display request is determined by the server, one dynamic effect is determined from N dynamic effects according to the text display position of the client on the terminal as an appointed dynamic effect, and the response is returned according to the text to be displayed; the corresponding relation is stored according to the selection of the text publishing user of the text to be displayed in the text publishing platform, and the corresponding relation comprises the display time and the display position of the text to be displayed;
a response receiving module, configured to receive a text display response returned by the server, where the text display response is a text to be displayed corresponding to the text display request and determined by the server according to the display attribute information and a correspondence between the pre-stored display attribute information and the text to be displayed, and one dynamic effect is determined from N dynamic effects according to a text display position of a client on the terminal as an appointed dynamic effect, and is returned according to the text to be displayed; the corresponding relation is stored according to the selection of the text publishing user of the text to be displayed in the text publishing platform, and the corresponding relation comprises the display time and the display position of the text to be displayed;
CN201410351560.1A2014-07-222014-07-22Text display method, server, terminal and systemActiveCN105279140B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201410351560.1ACN105279140B (en)2014-07-222014-07-22Text display method, server, terminal and system

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201410351560.1ACN105279140B (en)2014-07-222014-07-22Text display method, server, terminal and system

Publications (2)

Publication NumberPublication Date
CN105279140A CN105279140A (en)2016-01-27
CN105279140Btrue CN105279140B (en)2020-09-04

Family

ID=55148170

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201410351560.1AActiveCN105279140B (en)2014-07-222014-07-22Text display method, server, terminal and system

Country Status (1)

CountryLink
CN (1)CN105279140B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106557556A (en)*2016-11-082017-04-05北京奇虎科技有限公司A kind of methods of exhibiting of Webpage, device, server and system
CN106874249A (en)*2017-02-092017-06-20北京金山安全软件有限公司Information display method and device and terminal equipment
CN112256176B (en)*2020-10-232022-04-05北京字节跳动网络技术有限公司Character display method and device, electronic equipment and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101383937A (en)*2007-09-062009-03-11华为技术有限公司 Method, system, server and terminal for playing video advertisement and text information
CN101990026A (en)*2009-08-062011-03-23龙旗科技(上海)有限公司Display mode of mobile terminal supporting 3D (3-Dimensional) visual effect
CN102148048A (en)*2011-05-122011-08-10北京瑞信在线系统技术有限公司Lyric display method and device
CN102568441A (en)*2012-01-182012-07-11Ut斯达康通讯有限公司Method for implementing split screen type intelligent advertisement platform
CN102737566A (en)*2011-04-082012-10-17徐咏棠Combined multifunctional advertisement device
CN103294767A (en)*2013-04-222013-09-11腾讯科技(深圳)有限公司Multimedia information display method and device for browser

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CA2634209C (en)*2005-12-292015-11-24Ozmiz Pty. Ltd.Method and system for displaying data on a mobile terminal
CN102868822B (en)*2012-09-242014-09-03广东欧珀移动通信有限公司Lyric display method implemented by mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101383937A (en)*2007-09-062009-03-11华为技术有限公司 Method, system, server and terminal for playing video advertisement and text information
CN101990026A (en)*2009-08-062011-03-23龙旗科技(上海)有限公司Display mode of mobile terminal supporting 3D (3-Dimensional) visual effect
CN102737566A (en)*2011-04-082012-10-17徐咏棠Combined multifunctional advertisement device
CN102148048A (en)*2011-05-122011-08-10北京瑞信在线系统技术有限公司Lyric display method and device
CN102568441A (en)*2012-01-182012-07-11Ut斯达康通讯有限公司Method for implementing split screen type intelligent advertisement platform
CN103294767A (en)*2013-04-222013-09-11腾讯科技(深圳)有限公司Multimedia information display method and device for browser

Also Published As

Publication numberPublication date
CN105279140A (en)2016-01-27

Similar Documents

PublicationPublication DateTitle
US11314568B2 (en)Message processing method and apparatus, storage medium, and computer device
CN110020329B (en)Method, device and system for generating webpage
US11916855B2 (en)File commenting method and apparatus, comment viewing method and apparatus, computer device, and storage medium
CN113568699B (en)Content display method, device, equipment and storage medium
CN111045653B (en)System generation method and device, computer readable medium and electronic equipment
CN105930467A (en)Information processing method and electronic device
CN110647327B (en)Method and device for dynamic control of user interface based on card
CN110968314A (en)Page generation method and device
CN114185465A (en)Information processing method, information processing apparatus, storage medium, and electronic device
US20160085423A1 (en)Information display apparatus, distribution apparatus, information display method, and non-transitory computer readable storage medium
CN105279140B (en)Text display method, server, terminal and system
CN104239011A (en)Generating method of terminal applications, device, terminal and system
CN109683760B (en)Recent content display method, device, terminal and storage medium
CN111726685A (en)Video processing method, video processing device, electronic equipment and medium
CN113553123B (en)Data processing method, device, electronic equipment and storage medium
CN109582401B (en)Promotion picture generation method and device, storage medium and computer equipment
KR101527492B1 (en)Sound storage service system and method
CN103559195A (en)Searching method and terminal
CN104809122A (en)Method and device for visiting web pages
CN104077292B (en)The storage method and equipment of info web
CN115033330B (en)Content display method, device, equipment and storage medium
CN103034468B (en)A kind of method and device showing text
CN114911954B (en) A rich media resource interaction method, device, equipment and storage medium
CN112799552A (en)Method and device for sharing promotion pictures and storage medium
CN112214704B (en)Page processing method and device

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp