CN111460343A - Display method, device, terminal equipment and computer storage medium - Google Patents
Display method, device, terminal equipment and computer storage medium Download PDFInfo
- Publication number
- CN111460343A CN111460343A CN201910054787.2A CN201910054787A CN111460343A CN 111460343 A CN111460343 A CN 111460343A CN 201910054787 A CN201910054787 A CN 201910054787A CN 111460343 A CN111460343 A CN 111460343A
- Authority
- CN
- China
- Prior art keywords
- data
- query data
- query
- response data
- response
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 95
- 230000004044 response Effects 0.000 claims abstract description 222
- 238000004891 communication Methods 0.000 claims description 20
- 238000004590 computer program Methods 0.000 claims description 3
- 230000001960 triggered effect Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 2
- 241000238558 Eucarida Species 0.000 description 1
- 230000003190 augmentative effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000011022 operating instruction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9538—Presentation of query results
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention provides a display method, a display device, terminal equipment and a computer storage medium, wherein the display method comprises the following steps: acquiring query data, displaying the query data according to a preset display duration limit, and loading response data corresponding to the query data in the process of displaying the query data; and controlling the display of the response data according to the display live condition of the query data and the loading live condition of the response data. According to the scheme provided by the embodiment, the response data corresponding to the query data is loaded in the process of displaying the query data, and the display live condition of the query data and the loading live condition of the response data are combined, so that the response data are displayed more flexibly, and the user experience is improved.
Description
Technical Field
The embodiment of the invention relates to the technical field of data processing, in particular to a display method, a display device, terminal equipment and a computer storage medium.
Background
With the development of AI, smart question-answering robots and the like have become more and more popular in life, and for example, siri provided by apple, Google Assistant provided by Google, and the like all belong to question-answering robots.
Generally, the flow of the question-answering robot in presenting the query data of the user and the response data determined according to the query data is as follows: determining and displaying query data input by a user; then, displaying a loading icon used for identifying that response data is being acquired, and sending a request to the server to load the response data sent by the server; and after the response data are loaded, hiding the loading icon and displaying the response data. However, the existing display process is rigid, and good question and answer experience cannot be provided for the user.
Disclosure of Invention
In view of the above, embodiments of the present invention provide a display method, an apparatus, a terminal device, and a computer storage medium to solve the above problems.
According to a first aspect of embodiments of the present invention, there is provided a display method, including: acquiring query data, displaying the query data according to a preset display duration limit, and loading response data corresponding to the query data in the process of displaying the query data; and controlling the display of the response data according to the display live condition of the query data and the loading live condition of the response data.
According to a second aspect of embodiments of the present invention, there is provided a display apparatus comprising: the query module is used for acquiring query data, displaying the query data according to a preset display duration limit, and loading response data corresponding to the query data in the process of displaying the query data; and the response module is used for controlling the display of the response data according to the display live condition of the query data and the loading live condition of the response data.
According to a third aspect of the embodiments of the present invention, there is provided a terminal device, including: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus; the memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the operation corresponding to the display method.
According to a fourth aspect of embodiments of the present invention, there is provided a computer storage medium having stored thereon a computer program which, when executed by a processor, implements the presentation method as described above.
According to the display scheme provided by the embodiment of the invention, query data are obtained, the query data are displayed according to a preset display duration limit, and response data corresponding to the query data are loaded in the process of displaying the query data; and controlling the display of the response data according to the display live condition of the query data and the loading live condition of the response data, so that the response data corresponding to the query data can be loaded in the process of displaying the query data, and the display live condition of the query data and the loading live condition of the response data are combined, thereby displaying the response data more flexibly and improving the user experience.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the embodiments of the present invention, and it is also possible for a person skilled in the art to obtain other drawings based on the drawings.
FIG. 1 is a flowchart illustrating steps of a method according to a first embodiment of the present invention;
FIG. 2a is a flowchart illustrating steps of a method according to a second embodiment of the present invention;
FIG. 2b is a display page according to a second embodiment of the present invention;
FIG. 2c is another illustration page according to the second embodiment of the present invention;
FIG. 2d is another illustration page according to the second embodiment of the present invention;
FIG. 3 is a flowchart illustrating steps of a method according to a third embodiment of the present invention;
FIG. 4 is a flowchart illustrating steps of a method according to a fourth embodiment of the present invention;
FIG. 5 is a block diagram of a display device according to a fifth embodiment of the present invention;
fig. 6 is a schematic structural diagram of a terminal device according to a sixth embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the embodiments of the present invention, the technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments. All other embodiments obtained by a person skilled in the art based on the embodiments of the present invention shall fall within the scope of the protection of the embodiments of the present invention.
The following further describes specific implementation of the embodiments of the present invention with reference to the drawings.
Example one
Referring to fig. 1, a flowchart illustrating steps of a presentation method according to a first embodiment of the present invention is shown.
The display method of the embodiment comprises the following steps:
s102, query data are obtained, the query data are displayed according to a preset display duration limit, and response data corresponding to the query data are loaded in the process of displaying the query data.
In this embodiment, the query data is data determined according to the content input by the user, and corresponds to the query intention of the user. The query data may be determined according to voice data input by the user, text data input by the user, words clicked by the user in the screen, and the like. Once the query data is determined, the query data may be presented to the user, for example, via a screen presentation. For example, the query data is determined according to voice data input by the user, and the presented query data may be text data obtained by recognizing the voice data.
In this embodiment, the preset display duration limit may be determined according to a preset display duration upper limit and a preset display duration lower limit, for example, if the preset display duration upper limit is n seconds(s), the corresponding display duration limit may be 0 s-ns.
When the query data are displayed, the query data are displayed according to a preset display duration limit, so that the display of the query data can last for a certain duration, and further, the response data can be loaded by using the time for displaying the query data.
In this embodiment, the response data corresponds to the query data, the query data corresponds to the query intention of the user, and the response data is a query result determined according to the query intention of the user. For example, the query data is "search for hundred departments in the Guangdong," and the response data may be hundred department results in the Guangdong.
And S104, controlling the display of the response data according to the display live condition of the query data and the loading live condition of the response data.
In this embodiment, as can be seen from the above steps, if the query data is determined according to the preset display duration boundary, the display condition of the query data may be determined according to the duration of the query data being displayed and the preset display duration boundary, which may specifically include: inquiring whether the displayed duration of the data exceeds a preset duration limit, inquiring the difference value between the displayed duration of the data and the preset display duration limit, and the like.
In this embodiment, the loading of the response data may include: the time the response data has been loaded, the amount of data the response data has not been loaded, whether the response data has been loaded completely, etc.
In addition, according to the steps, the response data are loaded in the process of displaying the query data, so that the display of the response data can be controlled by combining the display live condition of the query data and the loading live condition of the response data, the response data can be displayed more flexibly, and the user experience is improved.
According to the scheme provided by the embodiment, query data are acquired, the query data are displayed according to a preset display duration limit, and response data corresponding to the query data are loaded in the process of displaying the query data; and controlling the display of the response data according to the display live condition of the query data and the loading live condition of the response data, so that the response data corresponding to the query data can be loaded in the process of displaying the query data, and the display live condition of the query data and the loading live condition of the response data are combined, thereby displaying the response data more flexibly and improving the user experience.
Example two
Referring to fig. 2a, a flow chart of the steps of a presentation method according to the second embodiment of the present invention is shown.
The display method of the embodiment comprises the following steps:
s202, query data are obtained, the query data are displayed according to a preset display duration limit, and response data corresponding to the query data are loaded in the process of displaying the query data.
For the specific implementation of this step, reference may be made to step S102 in the first embodiment, and this embodiment is not described herein again.
In this embodiment, the timing time of the timer may be set in advance according to the display duration limit, and the preset timer is triggered to start timing when the query data is displayed, so that the query data is displayed according to the preset display duration limit, a page for displaying the query data may refer to fig. 2b, and the query data displayed in the interface is "hundred-degree encyclopedias of searching the guangdong". Of course, the query data may be displayed according to a preset display duration limit through other methods, which is not limited in this embodiment. For example, according to a preset display duration limit and query data, a query animation whose play duration matches the preset display duration limit is produced, and the query animation is played to display the query data, and response data corresponding to the query data may be loaded in the playing process of the query animation, thereby implementing step S202.
In comparison, the query data can be displayed according to the preset display duration limit through the timer, so that the query data are simpler and more convenient to display.
S204, judging whether the response data are loaded completely, judging whether the displayed time length of the query data exceeds a preset display time length limit, and determining the display live condition of the query data and the loading live condition of the response data according to the judgment result.
And if the query data are displayed, triggering a preset timer to start timing, so that the query data are displayed according to a preset display duration limit. And judging whether the displayed time length of the query data exceeds a preset display time length limit or not, and judging whether the displayed time length of the query data exceeds the preset display time length limit or not according to the timing state of the timer. Specifically, if the timer is counting time, it may be determined that the duration of the query data that has been displayed does not exceed a preset display duration limit; if the timer is over, it may be determined that the duration of the query data that has been displayed exceeds a preset display duration limit. Since the timing time of the timer is set in advance according to the display duration limit, and it is determined that the duration in which the query data has been displayed exceeds the preset display duration limit through the ending timing state of the timer, the ending timing of the timer here means that the timer ends itself, and the timer is not stopped due to other operations besides the timer.
And after judging whether the displayed duration of the query data exceeds a preset display duration limit, directly taking the judgment result as the display live condition of the query data.
In addition, when judging whether the response data is loaded completely, a request for acquiring the response data can be generated, and if the response data is not acquired through the request, the response data can be determined not to be loaded completely; and if the response data is successfully acquired through the request, the response data loading is completed.
And after judging whether the response data is loaded completely, directly taking the judgment result as the display live of the query data.
Specifically, after the judgment is finished, the display live condition of the query data and the loading live condition of the response data may be in the following four states:
1) responding to the completion of data loading, and inquiring that the displayed duration of the data does not exceed a preset display duration limit;
2) responding to the completion of data loading, and inquiring that the displayed duration of the data does not exceed a preset display duration limit;
3) responding to the data not loaded, and inquiring that the displayed duration of the data exceeds a preset display duration limit;
4) and responding to the completion of data loading, wherein the displayed duration of the query data exceeds a preset display duration limit.
If the state 1) appears, response data are continuously loaded, and query data are continuously displayed until the state 2) or the state 3) appears.
If the above state 2) occurs, the following step S206 is executed to display the response data.
In addition, when the above state 2) occurs, the corresponding display process is as follows: displaying the loaded data, and loading response data corresponding to the query data in the process of displaying the query data; until the response data is loaded, and the displayed duration of the query data does not exceed the preset display duration limit; the response data is then presented by step S206. In the displaying process, since the response data is displayed when the displayed time length of the query data does not exceed the preset display time length limit, the state that the displayed time length of the query data exceeds the preset display time length limit does not occur, and the state 4) does not occur.
If the above state 3) occurs, the following step S208 is executed, to stop displaying the query data according to the preset display duration limit, and to display the component representing that the response data is still loaded.
In addition, when the state 3) occurs, it may be determined that the duration in which the query data has been displayed exceeds the preset display duration limit, and the response data is still being loaded until the response data is loaded, where the state after the loading is completed is the state 4).
And S206, displaying the response data.
Specifically, if the timer is triggered to start timing when the response data is displayed, in this step, the timer needs to be cleared while the response data is displayed, so that the timer does not continue to count time any more. The page showing the response data may be as shown in fig. 2c, and the content shown in the interface is augmented with the response data, specifically encyclopedia data in the broad east, as compared to fig. 2 b.
Compared with the prior art that the loading animation is continuously displayed after the query data is displayed and then the response data is displayed, the step S206 can omit the display of the loading animation, namely the continuous display of the query data and the response data can be realized, so that the experience of asking and answering for the user can be brought, and the experience effect of the user is improved.
And S208, displaying the component for representing the response data which is still loaded.
If the response data is not loaded completely and the displayed duration of the query data exceeds the preset display duration limit, it can be determined that the time required for completing the loading of the response data is longer, and at the moment, the component can be displayed to indicate that the response data is still loaded, so that the delay feeling of the user caused by the longer time for displaying the query data is avoided, and the experience effect of the user is improved.
Specifically, the component characterizing the response data still being loaded may be specifically a loading animation, such as "… …", or "loading … …", and the like, specifically, as shown in fig. 2d, and the content displayed in the interface is added with the loading animation "… …" compared with fig. 2 b.
S210, after the response data are loaded, hiding the assembly and displaying the response data.
Specifically, the page resulting from hiding the components and exposing the response data may be as shown in fig. 2 c. The content of the page is not described in detail in this embodiment.
According to the scheme provided by the embodiment, different display methods can be selected to realize the display of the response data according to the display live condition of the query data and the loading live condition of the response data, so that the experience effect of a user is improved.
EXAMPLE III
Referring to fig. 3, a flowchart illustrating steps of a presentation method according to a third embodiment of the present invention is shown.
The display method of the embodiment comprises the following steps:
s302, acquiring input data of a user, and determining query data according to the input data of the user.
Specifically, in actual use, the user may input a voice "search for hundred-measure encyclopedia of the guangdong" through a microphone of the intelligent terminal, and the determined query data is "search for hundred-measure encyclopedia of the guangdong", and when the query data is displayed in the subsequent step S306, the text content "search for hundred-measure encyclopedia of the guangdong" may be displayed above the page of the intelligent terminal as shown in fig. 2 b.
S304, according to the query data, sending a first request for loading the query data.
In this embodiment, the response data is loaded in the process of presenting the query data by executing this step before step S306, that is, by sending a first request for loading the query data before the query data is presented.
In this embodiment, the first request may be determined according to the query data, for example, if the query data is "searching for hundreds of encyclopedias of the guangdong", the first request may include character string data corresponding to "searching for hundreds of encyclopedias of the guangdong", an identifier of the user, an identifier of the device, and the like.
And S306, displaying the query data, and triggering a preset timer to start timing.
In this embodiment, the timing time of the timer may be preset according to the display duration limit, and in step S306, when the query data is displayed, the preset timer is triggered to start timing, so that the query data is displayed according to the preset display duration limit by the preset timer. Specifically, the timing time of the timer is the upper limit of the display duration of the query data, and 0s is the lower limit of the display duration of the query data.
Before the query data is displayed, the display mode of the query data can be determined, and then the query data is displayed according to the determined display mode. For example, the presentation mode may be that the contrast of the query data increases with the increase of the presentation time, the voice prompt data corresponding to the query data is played when the query data is presented, and the like. Playing voice prompt data corresponding to the query data, for example: if the page showing the query data is shown in fig. 2b, the content of the played voice prompt data may be "search for you" or the like.
S308, acquiring the loaded response data through the second request, determining the loading condition of the response data according to the result of the second request, and determining the display condition of the query data according to the timing state of the timer. If the timer is counting time and the response data is completely loaded, go to step S310; if the timer is over and the response data is not loaded, step S312 is executed.
In this embodiment, the loaded response data is acquired after the query data starts to be displayed, so that the response data is displayed after the query data, thereby avoiding a situation that the loading of the response data is already completed before the query data is displayed and the response data is displayed before the query data due to a high speed of the acquired response data.
In this embodiment, the generation of the second request may be triggered by an action of querying data to start being displayed; and because the second request is used for acquiring the loaded response data, the second request does not need to be sent through the terminal equipment, and only the second request needs to be generated.
When the loading live condition of the response data is determined according to the result of the second request, if the response data is not successfully acquired through the second request, the loading live condition of the response data is not loaded; and if the response data are successfully acquired through the second request, the loading of the response data is finished.
In this embodiment, when the display live condition is determined according to the timing state of the timer, the timing state of the timer may include timing, ending timing, and the like, and then, according to the timing state of the timer, it may be determined whether the displayed duration of the query data exceeds a preset display duration limit, so as to determine the display live condition of the query data, that is, the display live condition of the query data may be directly reflected through the timing state of the timer. Specifically, if the timer is counting time, it may be determined that the duration of the query data that has been displayed does not exceed a preset display duration limit; if the timer is over, it may be determined that the duration of the query data that has been displayed exceeds a preset display duration limit. The timer is finished, i.e. the timer that is counting time corresponding to the query data is not included.
In addition, in this embodiment, the presentation process of the query data and the timing process of the timer may control the presentation of the response data according to the timing state of the timer and the loading status of the response data during actual use.
In combination with the above steps, the combination of the timing status of the timer and the live loading of the response data may include: the timer is timing and response data is not loaded; the timer is timing, and response data is loaded; the timer finishes timing and response data is not loaded; the timer finishes timing, and response data is loaded to finish four states. These four states are the same as those in the second embodiment, and the description of this embodiment is omitted here.
S310, clearing the timer to stop displaying the query data according to a preset display duration limit and displaying the response data.
Clearing the timer modifies the timing state of the timer to stop timing. Further, the timer may be reset while the counting is stopped.
The specific implementation of the response data shown in this step can refer to step S206 in the second embodiment, and is not described herein again.
S312, displaying the component representing that the response data is still loaded, and after the response data is loaded, hiding the component and displaying the response data.
In this embodiment, the implementation of the component representing that the response data is still loaded may be triggered by the event that the timer expires.
Specifically, if the timer is not cleared during the counting process, it may be determined that the duration of the query data being presented exceeds the preset presentation duration limit and the response data is still being loaded, and then it may be determined to perform step S312.
For specific implementation of this step, reference may be made to steps S208 and S210 in embodiment two, which are not described herein again.
In the display scheme provided by this embodiment, before the query data is displayed, a first request for loading the query data is sent, so that the response data can be loaded in the process of displaying the query data; the method comprises the steps of setting a timer, triggering the timer to start timing when query data are displayed, reflecting the display live condition of the query data through the timing state of the timer, and controlling the display of response data through the timing state of the timer and the loading live condition of the response data.
Example four
Referring to fig. 4, a flowchart illustrating steps of a method according to a fourth embodiment of the present invention is shown.
The display method of the embodiment comprises the following steps:
s402, acquiring input data of a user, and determining query data according to the input data of the user.
For the specific implementation of this step, reference may be made to step S302 in the third embodiment, and this embodiment is not described herein again.
And S404, displaying the query data, and triggering a preset timer to start timing.
For the specific implementation of this step, reference may be made to step S306 in the third embodiment, and this embodiment is not described herein again.
And S406, before timing is finished, sending a third request for loading the query data according to the query data.
In this embodiment, by sending the third request before timing is finished, it is possible to load the response data in the timing process of the timer, that is, load the response data in the process of displaying the query data; and after the query data is displayed, the third request is sent, so that the situation that the response data is displayed before the query data is displayed due to the fact that the speed of the obtained response data is high and the loading of the response data is finished before the query data is displayed can be avoided.
In this embodiment, the specific content of the third request is similar to the first request in the third embodiment, and this embodiment is not described herein again.
S408, clearing the timer to stop displaying the query data according to a preset display duration limit and displaying the response data.
For the specific implementation of this step, reference may be made to step S310 in the third embodiment, and this embodiment is not described herein again.
S410, determining the display live condition of the query data according to the timing state of the timer, and controlling the display of the response data according to the display live condition of the query data and the loading live condition of the response data.
For the specific implementation of this step, reference may be made to step S312 in the third embodiment, and this embodiment is not described herein again.
According to the display scheme provided by the embodiment, after the query data are displayed and before the timer is timed out, the third request for loading the query data is sent, so that the response data can be loaded in the process of displaying the query data; the method comprises the steps of setting a timer, triggering the timer to start timing when query data are displayed, reflecting the display live condition of the query data through the timing state of the timer, and controlling the display of response data through the timing state of the timer and the loading live condition of the response data.
In addition, the display methods provided by the first, second, third and fourth embodiments of the present application may be executed by any intelligent terminal, such as a mobile terminal (e.g., a tablet computer, a mobile phone, etc.) and a PC.
EXAMPLE five
Referring to fig. 5, a block diagram of a display device according to a fifth embodiment of the present invention is shown.
The display device of the embodiment comprises the following modules: query module 502, response module 504.
The query module 502 is configured to obtain query data, display the query data according to a preset display duration limit, and load response data corresponding to the query data in a process of displaying the query data.
A response module 504, configured to control presentation of the response data according to the presentation live of the query data and the loading live of the response data.
In an alternative embodiment, the query module 502 includes: and the timing module is used for setting the timing time of a timer in advance according to the display duration limit and triggering a preset timer to start timing when the query data is displayed.
In an optional embodiment, the method further comprises: and the query live determining module is used for determining whether the displayed time length of the query data exceeds a preset display time length limit according to the timing state of the timer so as to determine the display live of the query data.
In an alternative embodiment, the query module 502 includes: the response data loading module is used for sending a first request for loading the query data before the query data are displayed so as to load the response data in the process of displaying the query data.
In an optional embodiment, the method further comprises: and the acquisition module is used for acquiring the loaded response data after the query data starts to be displayed so as to enable the response data to be displayed after the query data.
In an optional embodiment, the method further comprises: and the judging module is used for judging whether the loading of the response data is finished and judging whether the displayed time length of the query data exceeds a preset display time length limit so as to determine the display live condition of the query data and the loading live condition of the response data.
In an optional implementation manner, the response module 504 includes a response presenting module, configured to present the response data if the response data is loaded completely and the duration that the query data has been presented does not exceed a preset presentation duration limit.
In an alternative embodiment, the response module 504 includes: the component display module is used for displaying a component representing that the response data is still loaded if the response data is not loaded completely and the displayed duration of the query data is outside a preset display duration limit; and the component hiding module is used for hiding the component and displaying the response data after the response data is loaded.
According to the display scheme provided by the embodiment, query data are obtained, the query data are displayed according to a preset display duration limit, and response data corresponding to the query data are loaded in the process of displaying the query data; and controlling the display of the response data according to the display live condition of the query data and the loading live condition of the response data, so that the response data corresponding to the query data can be loaded in the process of displaying the query data, and the display live condition of the query data and the loading live condition of the response data are combined, thereby displaying the response data more flexibly and improving the user experience.
EXAMPLE six
A terminal device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus; the memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the operation corresponding to the display method.
Specifically, referring to fig. 6, a schematic structural diagram of a terminal device according to a sixth embodiment of the present invention is shown, and the specific embodiment of the present invention does not limit the specific implementation of the terminal device.
As shown in fig. 6, the terminal device may include: a processor (processor)602, a communication Interface 604, a memory 606, and a communication bus 608.
Wherein:
the processor 602, communication interface 604, and memory 606 communicate with one another via a communication bus 608.
A communication interface 604 for communicating with other terminal devices or servers.
The processor 602 is configured to execute the program 610, and may specifically perform relevant steps in the above-described illustrated method embodiment.
In particular, program 610 may include program code comprising computer operating instructions.
The processor 602 may be a central processing unit CPU or an application specific Integrated circuit asic or one or more Integrated circuits configured to implement embodiments of the present invention. The terminal device comprises one or more processors, which can be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.
And a memory 606 for storing a program 610. Memory 606 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The program 610 may specifically be configured to cause the processor 602 to perform the following operations: acquiring query data, displaying the query data according to a preset display duration limit, and loading response data corresponding to the query data in the process of displaying the query data; and controlling the display of the response data according to the display live condition of the query data and the loading live condition of the response data.
In an optional implementation manner, the presenting the query data according to a preset presentation duration limit includes: and setting the timing time of a timer in advance according to the display duration limit, and triggering the preset timer to start timing when the query data is displayed.
In an alternative embodiment, the method comprises the following steps: and determining whether the displayed duration of the query data exceeds a preset display duration limit according to the timing state of the timer so as to determine the display live condition of the query data.
In an optional implementation manner, the loading response data corresponding to the query data in the process of presenting the query data includes: before the query data are displayed, sending a first request for loading the query data so as to load the response data in the process of displaying the query data.
In an optional embodiment, the method further comprises: and after the query data starts to be presented, acquiring the loaded response data so that the response data is presented after the query data.
In an optional embodiment, the method further comprises: and judging whether the loading of the response data is finished or not, and judging whether the displayed duration of the query data exceeds a preset display duration limit or not so as to determine the display live condition of the query data and the loading live condition of the response data.
In an optional embodiment, the controlling presentation of the response data according to the presentation live of the query data and the loading live of the response data includes: and if the response data is loaded completely and the displayed duration of the query data does not exceed a preset display duration limit, displaying the response data.
In an optional embodiment, the controlling presentation of the response data according to the presentation live of the query data and the loading live of the response data includes: if the response data is not loaded completely and the displayed duration of the query data is outside a preset display duration limit, displaying a component representing that the response data is still loaded; after the response data is loaded, hiding the component and displaying the response data.
For specific implementation of each step in the program 610, reference may be made to corresponding steps and corresponding descriptions in units in the foregoing embodiment of the display method, which are not described herein again. It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described devices and modules may refer to the corresponding process descriptions in the foregoing method embodiments, and are not described herein again.
The terminal device of this embodiment displays query data according to a preset display duration limit by acquiring the query data, and loads response data corresponding to the query data in the process of displaying the query data; and controlling the display of the response data according to the display live condition of the query data and the loading live condition of the response data, so that the response data corresponding to the query data can be loaded in the process of displaying the query data, and the display live condition of the query data and the loading live condition of the response data are combined, thereby displaying the response data more flexibly and improving the user experience.
EXAMPLE seven
The present embodiment provides a computer storage medium having stored thereon a computer program which, when executed by a processor, implements the presentation method as described above.
The computer storage medium of this embodiment displays query data according to a preset display duration limit by acquiring the query data, and loads response data corresponding to the query data in the process of displaying the query data; and controlling the display of the response data according to the display live condition of the query data and the loading live condition of the response data, so that the response data corresponding to the query data can be loaded in the process of displaying the query data, and the display live condition of the query data and the loading live condition of the response data are combined, thereby displaying the response data more flexibly and improving the user experience.
It should be noted that, according to the implementation requirement, each component/step described in the embodiment of the present invention may be divided into more components/steps, and two or more components/steps or partial operations of the components/steps may also be combined into a new component/step to achieve the purpose of the embodiment of the present invention.
The above-described method according to an embodiment of the present invention may be implemented in hardware, firmware, or as software or computer code storable in a recording medium such as a CD ROM, a RAM, a floppy disk, a hard disk, or a magneto-optical disk, or as computer code originally stored in a remote recording medium or a non-transitory machine-readable medium downloaded through a network and to be stored in a local recording medium, so that the method described herein may be stored in such software processing on a recording medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware such as an ASIC or FPGA. It will be appreciated that a computer, processor, microprocessor controller, or programmable hardware includes memory components (e.g., RAM, ROM, flash memory, etc.) that can store or receive software or computer code that, when accessed and executed by a computer, processor, or hardware, implements the presentation methods described herein. Further, when a general-purpose computer accesses code for implementing the presentation methods illustrated herein, execution of the code transforms the general-purpose computer into a special-purpose computer for performing the presentation methods illustrated herein.
Those of ordinary skill in the art will appreciate that the various illustrative elements and method steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present embodiments.
The above embodiments are only for illustrating the embodiments of the present invention and not for limiting the embodiments of the present invention, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the embodiments of the present invention, so that all equivalent technical solutions also belong to the scope of the embodiments of the present invention, and the scope of patent protection of the embodiments of the present invention should be defined by the claims.
Claims (18)
1. A method of displaying, comprising:
acquiring query data, displaying the query data according to a preset display duration limit, and loading response data corresponding to the query data in the process of displaying the query data;
and controlling the display of the response data according to the display live condition of the query data and the loading live condition of the response data.
2. The method according to claim 1, wherein said presenting said query data according to a preset presentation duration limit comprises:
and setting the timing time of a timer in advance according to the display duration limit, and triggering the preset timer to start timing when the query data is displayed.
3. The method of claim 2, comprising: and determining whether the displayed duration of the query data exceeds a preset display duration limit according to the timing state of the timer so as to determine the display live condition of the query data.
4. The method of claim 1, wherein loading response data corresponding to the query data during the process of presenting the query data comprises:
before the query data are displayed, sending a first request for loading the query data so as to load the response data in the process of displaying the query data.
5. The method of claim 4, further comprising: and after the query data starts to be presented, acquiring the loaded response data so that the response data is presented after the query data.
6. The method of claim 1, further comprising:
and judging whether the loading of the response data is finished or not, and judging whether the displayed duration of the query data exceeds a preset display duration limit or not so as to determine the display live condition of the query data and the loading live condition of the response data.
7. The method of claim 6, wherein the controlling presentation of the response data according to the presentation of the query data being live and the loading of the response data being live comprises:
and if the response data is loaded completely and the displayed duration of the query data does not exceed a preset display duration limit, displaying the response data.
8. The method of claim 7, wherein the controlling presentation of the response data according to the presentation live of the query data and the loading live of the response data comprises:
if the response data is not loaded completely and the displayed duration of the query data is outside a preset display duration limit, displaying a component representing that the response data is still loaded;
after the response data is loaded, hiding the component and displaying the response data.
9. A display device, comprising:
the query module is used for acquiring query data, displaying the query data according to a preset display duration limit, and loading response data corresponding to the query data in the process of displaying the query data;
and the response module is used for controlling the display of the response data according to the display live condition of the query data and the loading live condition of the response data.
10. The apparatus of claim 9, wherein the query module comprises: and the timing module is used for setting the timing time of a timer in advance according to the display duration limit and triggering a preset timer to start timing when the query data is displayed.
11. The apparatus of claim 10, comprising: and the query live determining module is used for determining whether the displayed time length of the query data exceeds a preset display time length limit according to the timing state of the timer so as to determine the display live of the query data.
12. The apparatus of claim 9, wherein the query module comprises: the response data loading module is used for sending a first request for loading the query data before the query data are displayed so as to load the response data in the process of displaying the query data.
13. The apparatus of claim 12, further comprising: and the acquisition module is used for acquiring the loaded response data after the query data starts to be displayed so as to enable the response data to be displayed after the query data.
14. The apparatus of claim 9, further comprising: and the judging module is used for judging whether the loading of the response data is finished and judging whether the displayed time length of the query data exceeds a preset display time length limit so as to determine the display live condition of the query data and the loading live condition of the response data.
15. The apparatus of claim 14, wherein the response module comprises a response presentation module configured to present the response data if the response data is loaded completely and the duration that the query data has been presented does not exceed a preset presentation duration limit.
16. The apparatus of claim 15, wherein the response module comprises: the component display module is used for displaying a component representing that the response data is still loaded if the response data is not loaded completely and the displayed duration of the query data is outside a preset display duration limit; and the component hiding module is used for hiding the component and displaying the response data after the response data is loaded.
17. A terminal device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the operation corresponding to the presentation method as claimed in any one of claims 1 to 8.
18. A computer storage medium, on which a computer program is stored which, when being executed by a processor, carries out the presentation method as claimed in any one of claims 1 to 8.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310715184.9A CN116738099A (en) | 2019-01-21 | 2019-01-21 | Display method, display device, terminal equipment and computer storage medium |
CN201910054787.2A CN111460343B (en) | 2019-01-21 | 2019-01-21 | Display method, display device, terminal equipment and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910054787.2A CN111460343B (en) | 2019-01-21 | 2019-01-21 | Display method, display device, terminal equipment and computer storage medium |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310715184.9A Division CN116738099A (en) | 2019-01-21 | 2019-01-21 | Display method, display device, terminal equipment and computer storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111460343A true CN111460343A (en) | 2020-07-28 |
CN111460343B CN111460343B (en) | 2023-04-28 |
Family
ID=71679105
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310715184.9A Pending CN116738099A (en) | 2019-01-21 | 2019-01-21 | Display method, display device, terminal equipment and computer storage medium |
CN201910054787.2A Active CN111460343B (en) | 2019-01-21 | 2019-01-21 | Display method, display device, terminal equipment and computer storage medium |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310715184.9A Pending CN116738099A (en) | 2019-01-21 | 2019-01-21 | Display method, display device, terminal equipment and computer storage medium |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN116738099A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106446265A (en) * | 2016-10-18 | 2017-02-22 | 江西博瑞彤芸科技有限公司 | Question inquiry display method for intelligent terminal |
CN107515903A (en) * | 2017-07-26 | 2017-12-26 | 北京京东尚科信息技术有限公司 | A kind of method and apparatus for loading displaying scene webpage |
WO2018107354A1 (en) * | 2016-12-13 | 2018-06-21 | 深圳前海达闼云端智能科技有限公司 | Display method, apparatus, and electronic device used for multiple operating systems |
CN108509501A (en) * | 2018-02-28 | 2018-09-07 | 努比亚技术有限公司 | A kind of inquiry processing method, server and computer readable storage medium |
CN108549673A (en) * | 2018-03-29 | 2018-09-18 | 优视科技有限公司 | Pre-add support method, client, server and the network system of web page resources |
WO2018228037A1 (en) * | 2017-06-16 | 2018-12-20 | 腾讯科技(深圳)有限公司 | Media data processing method and device and storage medium |
-
2019
- 2019-01-21 CN CN202310715184.9A patent/CN116738099A/en active Pending
- 2019-01-21 CN CN201910054787.2A patent/CN111460343B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106446265A (en) * | 2016-10-18 | 2017-02-22 | 江西博瑞彤芸科技有限公司 | Question inquiry display method for intelligent terminal |
WO2018107354A1 (en) * | 2016-12-13 | 2018-06-21 | 深圳前海达闼云端智能科技有限公司 | Display method, apparatus, and electronic device used for multiple operating systems |
WO2018228037A1 (en) * | 2017-06-16 | 2018-12-20 | 腾讯科技(深圳)有限公司 | Media data processing method and device and storage medium |
CN107515903A (en) * | 2017-07-26 | 2017-12-26 | 北京京东尚科信息技术有限公司 | A kind of method and apparatus for loading displaying scene webpage |
CN108509501A (en) * | 2018-02-28 | 2018-09-07 | 努比亚技术有限公司 | A kind of inquiry processing method, server and computer readable storage medium |
CN108549673A (en) * | 2018-03-29 | 2018-09-18 | 优视科技有限公司 | Pre-add support method, client, server and the network system of web page resources |
Non-Patent Citations (1)
Title |
---|
彭川宁,王士同: "一种在异构数据库中进行查询的方法研究" * |
Also Published As
Publication number | Publication date |
---|---|
CN111460343B (en) | 2023-04-28 |
CN116738099A (en) | 2023-09-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107562610B (en) | Method, device, terminal and medium for acquiring page loading time | |
CN106210836B (en) | Interactive learning method and device in video playing process and terminal equipment | |
CN110780789B (en) | Game application starting method and device, storage medium and electronic device | |
CN104184731B (en) | A kind of method for information display, apparatus and system | |
CN111488088B (en) | Equipment state identification method and device and intelligent terminal | |
CN111078383A (en) | Timed task management method, device, equipment and storage medium | |
CN111294377A (en) | Network request sending method of dependency relationship, terminal device and storage medium | |
CN110087120B (en) | Same-window switching method of online list and local list and computing equipment | |
CN111314330B (en) | Network application operation method and device | |
CN111460343A (en) | Display method, device, terminal equipment and computer storage medium | |
CN109815083B (en) | Application crash monitoring method and device, electronic equipment and medium | |
CN111142976B (en) | Logic code execution method, device, server and medium | |
CN112420019B (en) | Equipment testing method and device | |
CN109522187B (en) | Method and device for quickly extracting state information | |
CN109150951B (en) | Method and device for starting Activity of Android system | |
CN112631694A (en) | API (application programming interface) packaging calling method and system | |
CN108829824B (en) | Resource processing method and device in internet operation activity | |
CN111045787A (en) | Rapid continuous experiment method and system | |
CN110597566A (en) | Application processing method and device, storage medium and electronic equipment | |
CN116351063B (en) | Skill release processing method and device, electronic equipment and storage medium | |
CN110798564A (en) | Mobile terminal and screen testing method thereof | |
CN109663361B (en) | Game application program self-login method, device, terminal and storage medium | |
CN113407329B (en) | Task execution method, device, equipment and storage medium | |
CN110188491B (en) | Processing method and device for improving calculation efficiency in simulation calculation process | |
US10425532B2 (en) | Method and apparatus for storing phone number, and method and apparatus for dialing phone number |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |