CN116738099A - Display method, display device, terminal equipment and computer storage medium - Google Patents

Display method, display device, terminal equipment and computer storage medium Download PDF

Info

Publication number
CN116738099A
CN116738099A CN202310715184.9A CN202310715184A CN116738099A CN 116738099 A CN116738099 A CN 116738099A CN 202310715184 A CN202310715184 A CN 202310715184A CN 116738099 A CN116738099 A CN 116738099A
Authority
CN
China
Prior art keywords
data
query data
query
display
response data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310715184.9A
Other languages
Chinese (zh)
Inventor
王兴龙
张依然
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN202310715184.9A priority Critical patent/CN116738099A/en
Publication of CN116738099A publication Critical patent/CN116738099A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9538Presentation of query results
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The embodiment of the application provides a display method, a 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 time limit, and loading response data corresponding to the query data in the process of displaying the query data; and controlling the presentation of the response data according to the presentation live of the query data and the loading live of the response data. According to the scheme provided by the embodiment, the response data corresponding to the query data are loaded in the process of displaying the query data, and the display live of the query data and the loading live of the response data are combined, so that the response data are displayed more flexibly, and the user experience is improved.

Description

Display method, display device, terminal equipment and computer storage medium
The application is a divisional application of patent with application date 2019, 01 month and 21 date, application number CN201910054787.2 and application name of display method, device, terminal equipment and computer storage medium.
Technical Field
The embodiment of the application relates to the technical field of data processing, in particular to a display method, a device, terminal equipment and a computer storage medium.
Background
With the development of AI, intelligent question-answering robots and the like are becoming more and more popular in people's life, such as siri provided by apple corporation, google Assistant provided by Google, and the like, and belong to question-answering robots.
Generally, the flow of the question-answering robot in displaying 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 for identifying that the response data is being acquired, and sending a request to the server to load the response data sent by the server; after the response data is loaded, hiding the loading icon and displaying the response data. However, the existing display process is relatively dead and cannot provide a better question-answering experience for the user.
Disclosure of Invention
In view of the above, embodiments of the present application provide a display method, apparatus, terminal device, and computer storage medium, so as to solve the above problems.
According to a first aspect of an embodiment of the present application, there is provided a display method, including: acquiring query data, displaying the query data according to a preset display time 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 of the query data and the loading live of the response data.
According to a second aspect of embodiments of the present application, there is provided a display device comprising: the query module is used for acquiring query data, displaying the query data according to a preset display time 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 of the query data and the loading live of the response data.
According to a third aspect of an embodiment of the present application, there is provided a terminal device including: the device comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete communication with each other 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 application, there is provided a computer storage medium having stored thereon a computer program which, when executed by a processor, implements a presentation method as described above.
According to the display scheme provided by the embodiment of the application, query data are displayed according to the preset display duration limit by acquiring the query data, 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 of the query data and the loading live of the response data, so that the display live of the query data and the loading live of the response data can be combined by loading the response data corresponding to the query data in the process of displaying the query data, the response data can be displayed more flexibly, and the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments described in the embodiments of the present application, and other drawings may be obtained according to these drawings for a person having ordinary skill in the art.
FIG. 1 is a flow chart showing steps of a display method according to a first embodiment of the application;
FIG. 2a is a flow chart showing steps of a display method according to a second embodiment of the present application;
FIG. 2b is a display page according to a second embodiment of the present application;
FIG. 2c is a diagram illustrating another display page according to a second embodiment of the present application;
FIG. 2d is a diagram illustrating a second embodiment of the present application;
FIG. 3 is a flow chart showing steps of a method according to a third embodiment of the present application;
FIG. 4 is a flow chart showing the steps of a method according to a fourth embodiment of the present application;
FIG. 5 is a block diagram of a fifth embodiment of the present application;
fig. 6 is a schematic structural diagram of a terminal device according to a sixth embodiment of the present application.
Detailed Description
In order to better understand the technical solutions in the embodiments of the present application, the following description will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which are derived by a person skilled in the art based on the embodiments of the present application, shall fall within the scope of protection of the embodiments of the present application.
The implementation of the embodiments of the present application will be further described below with reference to the accompanying drawings.
Example 1
Referring to fig. 1, a flowchart illustrating steps of a presentation method according to a first embodiment of the present application is shown.
The display method of the embodiment comprises the following steps:
s102, acquiring query data, displaying the query data according to a preset display time limit, and loading response data corresponding to the query data 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 from voice data entered by the user, text data entered by the user, words clicked by the user in the screen, and the like. After determining the query data, the query data may be presented to the user, for example, through a screen presentation. For example, the query data is determined according to voice data input by a user, and the displayed query data may be text data obtained by recognizing the voice data.
In this embodiment, the preset duration limit may be determined according to a preset duration upper limit and a duration lower limit, for example, the preset duration upper limit is n seconds(s), and the corresponding duration limit may be 0s-ns.
When the query data is displayed, the query data is displayed according to a preset display time limit, so that the display of the query data can be continued for a certain time, and the response data can be loaded by using the displayed time of the query data.
In this embodiment, the response data corresponds to query data, the query data corresponds to a query intention of a 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 degrees encyclopedia of Guangdong", and the response data may be the hundred degrees encyclopedia result of Guangdong.
S104, controlling the display of the response data according to the display live of the query data and the loading live of the response data.
In this embodiment, according to the foregoing steps, the query data is determined according to a preset display duration limit, and 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 limit, which may specifically include: whether the duration of the displayed query data exceeds a preset duration limit, the difference between the duration of the displayed query 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 yet been loaded, whether the response data has been loaded, etc.
In addition, according to the above steps, the response data is loaded in the process of displaying the query data, so that the display live of the query data and the loading live of the response data can be combined to control the display of the response data, thereby displaying the response data more flexibly and improving the user experience.
According to the scheme provided by the embodiment, query data are displayed according to the preset display duration limit by acquiring the query data, and response data corresponding to the query data are loaded in the process that the query data are displayed; and controlling the display of the response data according to the display live of the query data and the loading live of the response data, so that the display live of the query data and the loading live of the response data can be combined by loading the response data corresponding to the query data in the process of displaying the query data, the response data can be displayed more flexibly, and the user experience is improved.
Example two
Referring to fig. 2a, a flowchart of the steps of a presentation method according to a second embodiment of the present application is shown.
The display method of the embodiment comprises the following steps:
s202, acquiring query data, displaying the query data according to a preset display time limit, and loading response data corresponding to the query data in the process of displaying the query data.
The specific implementation of this step may refer to step S102 in the above embodiment, and this embodiment is not described herein.
In this embodiment, the timing time of the timer may be set in advance according to the display duration limit, and 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, and the page for displaying the query data may refer to fig. 2b, where the query data displayed in the interface is "search for hundred degrees encyclopedia of Guangdong". Of course, the displaying of the query data according to the preset display duration limit may be implemented by other methods, which is not limited in this embodiment. For example, according to the preset display duration limit and the query data, a query animation with a play duration matched with the preset display duration limit is produced, and the display of the query data is realized by playing the query animation, and the response data corresponding to the query data can be loaded in the playing process of the query animation, so that step S202 is realized.
In comparison, the query data is displayed according to the preset display time limit through the timer, so that the query data is simpler and more convenient.
S204, judging whether the response data is loaded completely, judging whether the displayed time length of the query data exceeds a preset display time length limit, and determining display live of the query data and loading live of the response data according to a judging result.
And if the query data are displayed, triggering a preset timer to start timing, so that the display of the query data according to a preset display duration limit is realized. 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 through the timing state of a timer. Specifically, if the timer is timing, it may be determined that the duration in which the query data has been displayed does not exceed the preset display duration limit; if the timer expires, it may be determined that the duration that the query data has been presented exceeds a preset presentation duration limit. Since the timing time of the timer is set according to the showing time limit in advance, and the time length of the query data which is already shown exceeds the preset showing time limit through the ending timing state of the timer, the ending timing of the timer refers to the ending of the self timing of the timer, and the timer is not stopped by other operations except the timer.
And after judging whether the displayed time length of the query data exceeds the preset display time length limit, directly taking the judging 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 failed to be acquired through the request, the response data can be determined to be not loaded completely; if the response data acquisition is successful through the request, the response data loading is completed.
And after judging whether the response data is loaded, directly taking the judgment result as the display condition of the query data.
Specifically, after the judgment is finished, the display live of the query data and the loading live of the response data can be in the following four states:
1) Responding to the fact that the data is not loaded, wherein the displayed time length of the query data does not exceed a preset display time length limit;
2) Responding to the completion of data loading, wherein the displayed time of the query data does not exceed a preset display time limit;
3) Responding to the fact that the data is not loaded, wherein the displayed time length of the query data exceeds a preset display time length limit;
4) In response to the data loading being completed, the duration that the query data has been presented has exceeded a preset presentation duration limit.
If state 1) above occurs, then the response data continues to be loaded and the query data continues to be presented until state 2) or state 3) above occurs.
If the above state 2 occurs, the following step S206 is performed to display the response data.
In addition, when the state 2) appears, the corresponding display process is as follows: displaying the loading 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 time of the query data does not exceed a preset display time limit; the response data is then presented, via step S206. In the above display process, since the response data is started to be displayed when the duration of the displayed query data does not exceed the preset display duration limit, a state that the duration of the displayed query data exceeds the preset display duration limit does not occur, and thus the state 4 does not occur.
If the above state 3 occurs, the following step S208 is executed, where the presentation of the query data according to the preset presentation duration limit is stopped, and the component representing that the response data is still being loaded is presented.
In addition, when the state 3) appears, 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 continuously loaded until the response data is loaded, and the state after the loading is completed is the state 4).
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 at the same time when the response data is displayed, so that the timer does not continue to count any more. The page showing the response data may be as shown in fig. 2c, with the content shown in the interface being augmented with response data, in particular, hundred degrees encyclopedia data in the Guangdong, as compared to fig. 2 b.
Compared with the prior art that after the query data is displayed, the loading animation is continuously displayed and then the response data is displayed, the display of the loading animation can be omitted through the step S206, so that the continuous display of the query data and the response data can be realized, further, the user experience of instant question and instant answer can be brought, and the user experience effect is improved.
S208, showing the components representing that the response data is still loaded.
If the response data is not loaded, the displayed time length of the query data exceeds the preset display time length limit, the time required for the completion of the loading of the response data can be determined to be longer, and the component can be displayed at the moment to indicate that the response data is still loaded, so that the delay caused by the longer time for displaying the query data to a user is avoided, and the experience effect of the user is improved.
In particular, the component characterizing that the response data is still being loaded may specifically be a loading animation, such as "… …", or "loading … …", etc., specifically such as shown in fig. 2d, the content presented in the interface being increased by the loading animation "… …" compared to fig. 2 b.
S210, hiding the component and displaying the response data after the response data is loaded.
Specifically, the page resulting from hiding the components and exposing the response data may be as shown in FIG. 2 c. The contents of the page are not described in detail in this embodiment.
According to the scheme provided by the embodiment, different display methods can be selected according to the display live of the query data and the loading live of the response data to display the response data, so that the experience effect of a user is improved.
Example III
Referring to fig. 3, a flowchart of the steps of a presentation method according to a third embodiment of the present application 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 the voice "search for hundred degrees encyclopedia of the Guangdong" through the microphone of the intelligent terminal, and the determined query data is "search for hundred degrees encyclopedia of the Guangdong", and when the query data is displayed in the subsequent step S306, as shown in fig. 2b, the text content "search for hundred degrees encyclopedia of the Guangdong" may be displayed above the page in the page of the intelligent terminal.
S304, according to the query data, a first request for loading the query data is sent.
In this embodiment, the response data is loaded during the process of presenting the query data by performing 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 "search for hundred degrees encyclopedia of the Guangdong", the first request may include character string data corresponding to "search for hundred degrees encyclopedia of the Guangdong", an identifier of the user, an identifier of the device, and the like.
S306, displaying the query data, and triggering a preset timer to start timing.
In this embodiment, the timing time of the timer may be set in advance 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 using 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 display mode may be that the contrast of the query data increases with the increase of the display time, the voice prompt data corresponding to the query data is played when the query data is displayed, and the like. And playing voice prompt data corresponding to the query data, for example: if the page showing the query data is fig. 2b, the content of the played voice prompt data may be "search for you", etc.
S308, acquiring the loaded response data through the second request, so as to determine the loading live of the response data according to the result of the second request, and determining the display live of the query data according to the timing state of the timer. If the timer is counting and the response data is loaded, executing step S310; if the timer expires and the response data is not loaded, step S312 is performed.
In this embodiment, after the query data starts to be displayed, the loaded response data is acquired, so that the response data is displayed after the query data, thereby avoiding the situation that the acquired response data is faster, and the response data is loaded before the query data is displayed, and the response data is displayed before the query data.
In this embodiment, the generation of the second request may be triggered by an action of querying the data to begin to be presented; and, because the second request is used for obtaining the loaded response data, the second request is not required to be sent through the terminal equipment, and only the second request is required 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; if the response data is successfully acquired through the second request, loading of the response data is completed live as loaded.
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 whether the duration of the displayed query data exceeds the preset display duration limit may be determined according to the timing state of the timer, 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 timing, it may be determined that the duration in which the query data has been displayed does not exceed the preset display duration limit; if the timer expires, it may be determined that the duration that the query data has been presented exceeds a preset presentation duration limit. The timer is finished to count, i.e. the timer which corresponds to the query data and is counting is not included.
In addition, in this embodiment, the display process of the query data and the timing process of the timer may control the display of the response data through the timing state of the timer and the loading live condition of the response data in actual use.
In combination with the above steps, the live combination of the timing state of the timer and the loading of the response data may include: the timer is timing and responds that the data is not loaded; the timer is timing and responds that the data is loaded; the timer finishes timing and responds that the data is not loaded; the timer finishes timing and responds to the completion of four states of data loading. The four states are the same as those in the second embodiment, and the present embodiment is not described here again.
And S310, clearing a timer to stop displaying the query data according to a preset display time 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 stopping the timing.
The specific implementation of displaying the response data in this step may refer to step S206 in the second embodiment, and will not be described herein.
S312, displaying the component representing that the response data is still loaded, and hiding the component and displaying the response data after the response data is loaded.
In this embodiment, the implementation of the component that characterizes the response data still being loaded may be triggered by the expiration of a timer.
Specifically, if the timer is not cleared during the timing process, it may be determined that the duration in which the query data is displayed exceeds the preset display duration limit and the response data is still being loaded, and step S312 may be determined to be performed.
The specific implementation of this step can refer to steps S208 and S210 in the second embodiment, which are not described herein.
According to the display scheme provided by the 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 timer is set, and the timer is triggered to start timing when the query data is displayed, so that the display live of the query data is reflected through the timing state of the timer, and further the display of the response data is controlled through the timing state of the timer and the loading live of the response data.
Example IV
Referring to fig. 4, a flowchart of the steps of a presentation method according to a fourth embodiment of the present application 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.
The specific implementation of this step may refer to step S302 in the third embodiment, which is not described herein.
S404, displaying the query data, and triggering a preset timer to start timing.
The specific implementation of this step may refer to step S306 in the third embodiment, which is not described herein.
S406, before timing is finished, a third request for loading the query data is sent according to the query data.
In this embodiment, by sending the third request before the timing is finished, the response data may be loaded by using the timing process of the timer, that is, the response data may be loaded in the process that the query data is displayed; and after the query data is displayed, the third request is sent, so that the situation that the obtained response data is displayed before the query data is displayed due to the fact that the response data is loaded before the query data is displayed can be avoided.
In this embodiment, the specific content of the third request is similar to that of the first request in the third embodiment, and the description of this embodiment is omitted here.
S408, clearing the timer to stop displaying the query data according to the preset display time limit and displaying the response data.
The specific implementation of this step may refer to step S310 in the third embodiment, which is not described herein.
S410, determining the display live of the query data according to the timing state of the timer, so as to control the display of the response data according to the display live of the query data and the loading live of the response data.
The specific implementation of this step may refer to step S312 in the third embodiment, which is not described herein.
According to the display scheme provided by the embodiment, after the query data is displayed and before the timer is timed out, a 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 timer is set, and the timer is triggered to start timing when the query data is displayed, so that the display live of the query data is reflected through the timing state of the timer, and further the display of the response data is controlled through the timing state of the timer and the loading live of the response data.
In addition, the display methods provided in 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., tablet computer, 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 application is shown.
The display device of this embodiment includes the following modules: a query module 502, a 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.
And the response module 504 is used for controlling the 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: the timing module is used for presetting the timing time of the timer according to the display duration limit and triggering the preset timer to start timing when the query data are displayed.
In an alternative embodiment, the method further comprises: and the inquiry live determining module is used for determining whether the displayed duration of the inquiry data exceeds a preset display duration limit according to the timing state of the timer so as to determine the display live of the inquiry data.
In an alternative embodiment, the query module 502 includes: and the response data loading module is used for sending a first request for loading the query data before the query data is displayed so as to load the response data in the process of displaying the query data.
In an alternative 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 that the response data is displayed after the query data.
In an alternative embodiment, the method further comprises: the judging module is used for judging whether the response data is loaded completely or not and judging whether the displayed duration of the query data exceeds a preset display duration limit so as to determine the display live of the query data and the loading live of the response data.
In an alternative embodiment, the response module 504 includes a response presentation module, configured to present the response data if the response data is loaded, 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 the component representing that the response data is still loaded if the response data is not loaded 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 displayed according to the preset display duration limit by acquiring the query data, 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 of the query data and the loading live of the response data, so that the display live of the query data and the loading live of the response data can be combined by loading the response data corresponding to the query data in the process of displaying the query data, the response data can be displayed more flexibly, and the user experience is improved.
Example six
A terminal device, comprising: the device comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete communication with each other 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 application is shown, and the specific embodiment of the present application does not limit the specific implementation of the terminal device.
As shown in fig. 6, the terminal device may include: a processor 602, a communication interface (Communications Interface), a memory 606, and a communication bus 608.
Wherein:
processor 602, communication interface 604, and memory 606 perform communication with each other via communication bus 608.
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 embodiment of the method.
In particular, program 610 may include program code including computer-operating instructions.
The processor 602 may be a central processing unit CPU or a specific integrated circuit ASIC (Application Specific Integrated Circuit) or one or more integrated circuits configured to implement embodiments of the present application. The one or more processors comprised by the terminal device may be the same type of processor, such as one or more CPUs; but may also be different types of processors such as one or more CPUs and one or more ASICs.
A memory 606 for storing a program 610. The memory 606 may comprise high-speed RAM memory or may further comprise non-volatile memory (non-volatile memory), such as at least one disk memory.
The program 610 may be specifically operable to cause the processor 602 to: acquiring query data, displaying the query data according to a preset display time 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 of the query data and the loading live of the response data.
In an optional embodiment, the displaying the query data according to a preset display duration limit includes: and presetting the timing time of a timer according to the display duration limit, and triggering the preset timer to start timing when the query data are displayed.
In an alternative embodiment, the method comprises: 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 of the query data.
In an optional implementation manner, the loading the response data corresponding to the query data in the process of displaying the query data includes: before the query data is presented, a first request for loading the query data is sent to load the response data during the presentation of the query data.
In an alternative embodiment, the method further comprises: after the query data begins to be presented, the response data loaded is obtained so that the response data is presented after the query data.
In an alternative embodiment, the method further comprises: and judging whether the response data is loaded completely or not, and judging whether the duration of the displayed query data exceeds a preset display duration limit or not so as to determine the display live of the query data and the loading live of the response data.
In an alternative embodiment, the controlling the presentation of the response data according to the presentation of the query data and the loading of the response data comprises: and if the response data is loaded, and the displayed time of the query data does not exceed the preset display time limit, displaying the response data.
In an alternative embodiment, the controlling the presentation of the response data according to the presentation of the query data and the loading of the response data comprises: if the response data is not loaded, and the duration of the displayed query data is outside a preset display duration limit, displaying the component representing that the response data is still loaded; after the response data is loaded, hiding the component and displaying the response data.
The specific implementation of each step in the program 610 may refer to the corresponding steps and corresponding descriptions in the units in the above-described embodiment of the display method, which are not repeated herein. It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the apparatus and modules described above may refer to corresponding procedure descriptions in the foregoing method embodiments, which are not repeated herein.
The terminal equipment of the embodiment displays the query data according to a preset display time 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 of the query data and the loading live of the response data, so that the display live of the query data and the loading live of the response data can be combined by loading the response data corresponding to the query data in the process of displaying the query data, the response data can be displayed more flexibly, and the user experience is improved.
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 the embodiment displays the 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 of the query data and the loading live of the response data, so that the display live of the query data and the loading live of the response data can be combined by loading the response data corresponding to the query data in the process of displaying the query data, the response data can be displayed more flexibly, and the user experience is improved.
It should be noted that, according to implementation requirements, each component/step described in the embodiments of the present application may be split into more components/steps, or two or more components/steps or part of operations of the components/steps may be combined into new components/steps, so as to achieve the objects of the embodiments of the present application.
The above-described methods according to embodiments of the present application may be implemented in hardware, firmware, or as software or computer code storable in a recording medium such as a CD ROM, RAM, floppy disk, hard disk, or magneto-optical disk, or as computer code originally stored in a remote recording medium or a non-transitory machine-readable medium and to be stored in a local recording medium downloaded through a network, so that the methods described herein may be stored on such software processes on a recording medium using a general purpose computer, special purpose processor, or programmable or special purpose hardware such as an ASIC or FPGA. It is understood that a computer, processor, microprocessor controller, or programmable hardware includes a storage component (e.g., RAM, ROM, flash memory, etc.) that can store or receive software or computer code that, when accessed and executed by the computer, processor, or hardware, implements the methods of presentation described herein. Furthermore, when a general purpose computer accesses code for implementing the presentation methods shown herein, execution of the code converts the general purpose computer into a special purpose computer for performing the presentation methods shown herein.
Those of ordinary skill in the art will appreciate that the elements and method steps of the examples described in connection with the embodiments disclosed herein can be implemented as electronic hardware, or as a combination 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 solution. 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 embodiments of the present application.
The above embodiments are only for illustrating the embodiments of the present application, but not for limiting the embodiments of the present application, and various changes and modifications may be made by one skilled in the relevant art without departing from the spirit and scope of the embodiments of the present application, so that all equivalent technical solutions also fall within the scope of the embodiments of the present application, and the scope of the embodiments of the present application should be defined by the claims.

Claims (16)

1. A display method, comprising:
acquiring query data, displaying the query data according to a preset display time 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 of the query data and the loading live of the response data.
2. The method of claim 1, wherein the presenting the query data according to a preset presentation duration limit comprises:
and presetting the timing time of a timer according to the display duration limit, and triggering the preset timer to start timing when the query data are displayed.
3. The method according to claim 2, characterized by 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 of the query data.
4. The method according to claim 1, wherein loading response data corresponding to the query data during the process of presenting the query data comprises:
before the query data is presented, a first request for loading the query data is sent to load the response data during the presentation of the query data.
5. The method as recited in claim 4, further comprising: after the query data begins to be presented, the response data loaded is obtained so that the response data is presented after the query data.
6. The method as recited in claim 1, further comprising:
and judging whether the response data is loaded completely or not, and judging whether the duration of the displayed query data exceeds a preset display duration limit or not so as to determine the display live of the query data and the loading live of the response data.
7. The method of claim 6, wherein controlling presentation of the response data based on the presentation of the query data and the loading of the response data comprises:
and if the response data is loaded, and the displayed time of the query data does not exceed the preset display time limit, displaying the response data.
8. A display device, comprising:
the query module is used for acquiring query data, displaying the query data according to a preset display time 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 of the query data and the loading live of the response data.
9. The apparatus of claim 8, wherein the query module comprises: the timing module is used for presetting the timing time of the timer according to the display duration limit and triggering the preset timer to start timing when the query data are displayed.
10. The apparatus as claimed in claim 9, comprising: and the inquiry live determining module is used for determining whether the displayed duration of the inquiry data exceeds a preset display duration limit according to the timing state of the timer so as to determine the display live of the inquiry data.
11. The apparatus of claim 8, wherein the query module comprises: and the response data loading module is used for sending a first request for loading the query data before the query data is displayed so as to load the response data in the process of displaying the query data.
12. The apparatus as recited in claim 11, further comprising: and the acquisition module is used for acquiring the loaded response data after the query data starts to be displayed so that the response data is displayed after the query data.
13. The apparatus as recited in claim 8, further comprising: the judging module is used for judging whether the response data is loaded completely or not and judging whether the displayed duration of the query data exceeds a preset display duration limit so as to determine the display live of the query data and the loading live of the response data.
14. The apparatus of claim 13, wherein the response module includes a response presentation module configured to present the response data if the response data loading is complete and the duration that the query data has been presented does not exceed a preset presentation duration limit.
15. A terminal device, comprising: the device comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete communication with each other through the communication bus;
the memory is configured to store at least one executable instruction, where the executable instruction causes the processor to perform operations corresponding to the display method according to any one of claims 1 to 7.
16. A computer storage medium having stored thereon a computer program which when executed by a processor implements the presentation method of any of claims 1 to 7.
CN202310715184.9A 2019-01-21 2019-01-21 Display method, display device, terminal equipment and computer storage medium Pending CN116738099A (en)

Priority Applications (1)

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

Applications Claiming Priority (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

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201910054787.2A Division CN111460343B (en) 2019-01-21 2019-01-21 Display method, display device, terminal equipment and computer storage medium

Publications (1)

Publication Number Publication Date
CN116738099A true CN116738099A (en) 2023-09-12

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 After (1)

Application Number Title Priority Date Filing Date
CN201910054787.2A Active CN111460343B (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)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106446265B (en) * 2016-10-18 2020-04-24 江西博瑞彤芸科技有限公司 Question query display method for intelligent terminal
WO2018107354A1 (en) * 2016-12-13 2018-06-21 深圳前海达闼云端智能科技有限公司 Display method, apparatus, and electronic device used for multiple operating systems
CN107257338B (en) * 2017-06-16 2018-09-28 腾讯科技(深圳)有限公司 media data processing method, device and storage medium
CN107515903A (en) * 2017-07-26 2017-12-26 北京京东尚科信息技术有限公司 A kind of method and apparatus for loading displaying scene webpage
CN108509501B (en) * 2018-02-28 2022-07-26 成都国恒空间技术工程股份有限公司 Query 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

Also Published As

Publication number Publication date
CN111460343A (en) 2020-07-28
CN111460343B (en) 2023-04-28

Similar Documents

Publication Publication Date Title
US9918228B2 (en) Session completion through co-browsing
CN111782492B (en) Page first screen loading duration testing method and device, computer equipment and medium
CN111488088B (en) Equipment state identification method and device and intelligent terminal
WO2016206415A1 (en) Information processing method and terminal, and computer storage medium
WO2016070726A1 (en) Method, device, and browser client for loading page label
WO2020143159A1 (en) User interface processing method and device
CN111460343B (en) Display method, display device, terminal equipment and computer storage medium
CN105867910A (en) Dynamic wallpaper presenting method and apparatus for mobile terminal
CN110267091B (en) Play instance processing method and device and computer readable storage medium
WO2015106495A1 (en) Method and device for split-screen presentation of applications and terminal
CN111078383A (en) Timed task management method, device, equipment and storage medium
CN111131002A (en) Method, system and storage medium for tracing chat records
CN113138702B (en) Information processing method, device, electronic equipment and storage medium
CN109522187B (en) Method and device for quickly extracting state information
CN113656322A (en) Data processing method and device, electronic equipment and computer storage medium
CN112631694A (en) API (application programming interface) packaging calling method and system
CN109150951B (en) Method and device for starting Activity of Android system
CN111737036A (en) Service processing method and device based on robot process automation
CN111142976A (en) Logic code execution method, device, server and medium
CN105279052B (en) A kind of stability test method and apparatus of iOS system
CN110569093A (en) Method for managing desktop application program and realizing plug-in based on embedded browser
CN116351063B (en) Skill release processing method and device, electronic equipment and storage medium
CN113407329B (en) Task execution method, device, equipment and storage medium
CN113949773B (en) Real-time queuing method and system for multi-person videos
CN111111198B (en) Logic code execution method, device, server and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination