CN111291203A - Data display method, device, terminal and storage medium - Google Patents

Data display method, device, terminal and storage medium Download PDF

Info

Publication number
CN111291203A
CN111291203A CN202010081787.4A CN202010081787A CN111291203A CN 111291203 A CN111291203 A CN 111291203A CN 202010081787 A CN202010081787 A CN 202010081787A CN 111291203 A CN111291203 A CN 111291203A
Authority
CN
China
Prior art keywords
data
items
user interface
received
time
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
Application number
CN202010081787.4A
Other languages
Chinese (zh)
Other versions
CN111291203B (en
Inventor
杨亚斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Kugou Computer Technology Co Ltd
Original Assignee
Guangzhou Kugou Computer Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Kugou Computer Technology Co Ltd filed Critical Guangzhou Kugou Computer Technology Co Ltd
Priority to CN202010081787.4A priority Critical patent/CN111291203B/en
Publication of CN111291203A publication Critical patent/CN111291203A/en
Application granted granted Critical
Publication of CN111291203B publication Critical patent/CN111291203B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/44Browsing; Visualisation therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application provides a data display method, a data display device, a terminal and a storage medium, and relates to the technical field of application program development. The method comprises the following steps: requesting a data source to acquire n items of data, wherein n is a positive integer, receiving data fed back by the data source, and displaying m items of data in a user interface if m items of data in the n items of data are received when a set first time is reached, wherein m is a positive integer less than or equal to n. According to the technical scheme provided by the embodiment of the application, by setting a moment, when the set moment arrives, whether all the data to be acquired are received or not, the received data are displayed firstly, and compared with the situation that all the data are received and then displayed, the timeliness of data display can be improved.

Description

Data display method, device, terminal and storage medium
Technical Field
The embodiment of the application relates to the technical field of application program development, in particular to a data display method, a data display device, a terminal and a storage medium.
Background
With the development of computer technology, the types of application programs are more and more abundant, and the application programs can display some data in a user interface so as to realize a man-machine interaction function.
In the related art, when an application program needs to display multiple items of data in a user interface, the application program waits for all the multiple items of data to be received and then displays the data in the user interface in a unified manner. This results in the data being displayed less timely.
Disclosure of Invention
The embodiment of the application provides a data display method, a data display device, a terminal and a storage medium, and the timeliness of data display of an application program can be improved. The technical scheme is as follows:
in one aspect, an embodiment of the present application provides a data display method, where the method includes:
requesting a data source to acquire n items of data, wherein n is a positive integer;
receiving the data fed back by the data source;
when the set first time is reached, if m items of data in the n items of data are received, displaying the m items of data in a user interface, wherein m is a positive integer less than or equal to n.
In another aspect, an embodiment of the present application provides a data display apparatus, where the apparatus includes:
the data request module is used for requesting a data source to acquire n items of data, wherein n is a positive integer;
the data receiving module is used for receiving the data fed back by the data source;
and the data display module is used for displaying m items of data in a user interface if m items of data in the n items of data are received when the set first time arrives, wherein m is a positive integer less than or equal to n.
In another aspect, an embodiment of the present application provides a terminal, where the terminal includes a processor and a memory, where the memory stores a computer program, and the computer program is loaded and executed by the processor to implement the data display method according to the above aspect.
In another aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored, and the computer program is loaded and executed by a processor to implement the data display method according to the above aspect.
The technical scheme provided by the embodiment of the application can have the following beneficial effects:
by requesting for acquiring n items of data from a data source and receiving data fed back by the data source, when a set first time arrives, if m items of data in the n items of data are received, the m items of data are displayed in a user interface, that is, by setting a time, when the set time arrives, no matter whether all data to be acquired are received, the received data are displayed first, and compared with the method of waiting for all data to be received and displayed, the technical scheme provided by the embodiment of the application can improve the timeliness of data display.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flow chart of a data display method provided by an embodiment of the present application;
FIG. 2 is a flow chart of a data display method provided by another embodiment of the present application;
FIG. 3 is a schematic diagram of a user interface provided by one embodiment of the present application;
FIG. 4 is a schematic diagram of a data display method provided by an embodiment of the present application;
FIG. 5 is a schematic diagram of a data display method provided in another embodiment of the present application;
FIG. 6 is a block diagram of a data display device provided in one embodiment of the present application;
FIG. 7 is a block diagram of a data display device according to another embodiment of the present application;
fig. 8 is a block diagram of a terminal according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of methods consistent with aspects of the present application, as detailed in the appended claims.
The embodiment of the application provides a terminal, which is an electronic device with data calculation, processing and storage capabilities, and a target application program is installed and operated in the terminal. The terminal may be a smartphone, a tablet, a PC (personal computer), a wearable device, a smart robot, or the like. The target application may be any application with data display requirements, such as a music application, a game application, a social application, a payment application, a video application, a shopping application, a news application, etc. Data in this embodiment of the application can be displayed through a display panel, can also be displayed through projection, and can also be displayed through technologies such as AR (Augmented Reality), VR (virtual Reality), and the like. In the method of the embodiment of the present application, the execution subject of each step may be the terminal, such as installing the target application running in the terminal.
The technical solution of the present application will be described below by means of several embodiments.
Referring to fig. 1, a flowchart of a data display method according to an embodiment of the present application is shown. In the present embodiment, the method is mainly applied to the client installed with the running target application program in the terminal described above for example. The method comprises the following steps (101-103):
step 101, requesting a data source to acquire n items of data, wherein n is a positive integer.
The data source may store the n items of data, and may also have a function of generating the n items of data; the data source may be a server or a database provided in the server. The server may be one server or a server cluster composed of a plurality of servers. The client can request to acquire n items of data from the data source by sending a data acquisition request. The data acquisition requests may be one or more, that is, one data acquisition request may be used to acquire one item of data, and may also be used to acquire multiple items of data.
Step 102, receiving data fed back by a data source.
The data source can receive a data acquisition request sent by the client, determine corresponding data from the server or a database of the server according to the data acquisition request, and then send the corresponding data to the client by the server; accordingly, the client may receive data fed back by the data source. Wherein, the data fed back by the data source can be all or part of the n data.
In addition, for different data items in the n data items, the data source can feed back asynchronously, that is, each time one data item is obtained, the data item is fed back to the client.
And 103, when the set first time is reached, if m items of data in the n items of data are received, displaying the m items of data in the user interface, wherein m is a positive integer less than or equal to n.
When the data acquisition request is one data acquisition request, the first time may be a time after the client sends the one data acquisition request; when the data obtaining request includes a plurality of data obtaining requests, the first time may be a time after the client sends out a certain data obtaining request of the plurality of data obtaining requests, for example, the first time may be a time after the client sends out a first data obtaining request of the plurality of data obtaining requests; for another example, the first time may be a time after the client sends the last data acquisition request of the plurality of data acquisition requests, and this is not limited in this embodiment of the application.
The first time may be preset, and this is not limited in this embodiment of the application. In an exemplary embodiment, the first time is 300 milliseconds after the client issues the data acquisition request. For example, after sending a data acquisition request, the client may start a timer, the duration of the timer is 300 milliseconds, and when the time count of the timer is changed from 300 milliseconds to 0, that is, the first time arrives, the client displays the data received within 300 milliseconds.
It should be noted that the m items of data are data that have been actually received by the client at the first set time, and the m items of data may be all of the n items of data or may be part of the n items of data.
To sum up, in the technical solution provided in this application embodiment, by requesting to acquire n items of data from a data source and receiving data fed back by the data source, when a set first time arrives, if m items of data in the n items of data have been received, the m items of data are displayed in a user interface, that is, by setting a time, when the set time arrives, regardless of whether all data to be acquired is received, the received data is displayed first, and compared with the case of waiting for all data to be received and then displayed, the timeliness of data display can be improved by the technical solution provided in this application embodiment.
Referring to fig. 2, a flowchart of a data display method according to another embodiment of the present application is shown. In the present embodiment, the method is mainly applied to the client installed with the running target application program in the terminal described above for example. The method comprises the following steps (201-205):
step 201, requesting a data source to acquire n items of data, wherein n is a positive integer.
In some possible embodiments, step 201 may include the steps of:
and respectively sending data acquisition requests to the n data acquisition interfaces. The data acquisition request sent to the ith data acquisition interface in the n data acquisition interfaces is used for requesting to acquire the ith data in the n data, and i is a positive integer less than or equal to n.
The data acquisition interface may be a server-provided interface. For example, the server may provide n data acquisition interfaces to the client, each data acquisition interface for providing one item of data. Optionally, when the data acquisition request sent by the client includes the address of the ith data acquisition interface, the data acquisition request is received and processed by the ith data acquisition interface, and the ith data is fed back to the client when the ith data is acquired. Of course, if the ith data cannot be acquired, the ith data is not fed back to the client.
Step 202, receiving data fed back by the data source.
In this step 202, reference may be made to the content of the step 102 in the embodiment of fig. 1, which is not described herein again.
Step 203, when the set first time arrives, if m items of data in n items of data have been received, displaying m items of data in the user interface, wherein m is a positive integer less than or equal to n.
In some possible embodiments, m cards are displayed in the user interface, each card for displaying one item of data. Referring to fig. 3, a schematic diagram of a user interface provided by an embodiment of the present application is shown. As shown in fig. 3, the user interface 30 is a user interface in a music application, and each item of data is displayed in the corresponding card in the user interface 30. For example, the card 31 is used to display song information, and thus data 32 representing song information among m items of data is displayed in the card 31. For another example, the card 33 is used to display a related music short video, and thus the data 34 representing the related music short video among the m items of data is displayed in the card 33.
In some possible embodiments, if a certain item of data in the m items of data contains a large amount of data, a part of the data in the item of data may be displayed first, and when a remaining data display instruction is received, the remaining data in the item of data may be displayed, thereby saving a display area of the user interface.
In some possible embodiments, for data that is not acquired in the n items of data, the corresponding card is not displayed, which is helpful to save the display area of the user interface. For example, the client requests 7 items of data from the data source in total (i.e., n equals 7), including: items 1, 2, 3, 4, 5, 6, 7. If only the 1 st, 2 nd, 4 th and 6 th data are acquired, respectively displaying the 1 st, 2 nd, 4 th and 6 th data in corresponding cards in the user interface; for the items 3, 5, and 7 of data that are not acquired from the above 7 items of data, the corresponding cards are not displayed on the user interface.
In some possible embodiments, when the first time arrives, it is detected whether m is equal to n, that is, whether all n items of data are received, if yes, the step is ended; if not, the following step 204 is performed.
And step 204, when the set second time is reached, if at least one item of other data except the m items of data in the n items of data is received, adding and displaying the at least one item of other data in the user interface.
When a set first time arrives and m is smaller than n, namely n items of data cannot be completely received, when a set second time arrives and at least one item of data except m items of data in the n items of data is detected to be received between the first time and the second time, the at least one item of data is added and displayed in the user interface.
And the second moment is a moment after the first moment. The interval duration between the first time and the second time may be 100 milliseconds, 150 milliseconds, 300 milliseconds, 500 milliseconds, 800 milliseconds, 1 second, 2 seconds, and the like, and the interval duration between the first time and the second time is specifically set by a related person according to practical situations, and is not limited in this embodiment of the application.
In some possible embodiments, the at least one other item of data is additionally displayed in the user interface according to the corresponding display position according to the display position of each item of data in the m items of data and the at least one other item of data. In an exemplary embodiment, a display order is set for n items of data, and for example, please refer to fig. 4, which shows a schematic diagram of a data display method provided by an embodiment of the present application. As shown in fig. 4, the left diagram is a user interface between the first time and the second time on which m items of data are displayed, and the right diagram is a user interface after the second time on which m items of data and the at least one item of other data are displayed. The data 43 in the right drawing is data added on the basis of the user interface in the left drawing, and the data 43 is positioned between the data 44 and the data 45 in the set display order, and therefore, the data 43 is additionally displayed between the data 44 and the data 45. The data are guaranteed to be displayed according to the set display sequence, and therefore the data display sequence is improved.
In some possible embodiments, when the second time arrives, it is detected whether all the n items of data are received, and if so, the step is ended; if not, the following step 205 is performed.
And step 205, after the second time, adding and displaying the received data in the user interface every time one of the n data is received.
And for the data in the n items of data received after the second moment, adding and displaying the data in the user interface every time one item of data is received. And adding the received data in the user interface according to the corresponding display position according to the various data displayed in the user interface and the data received after the second moment.
It should be noted that the data received after the first time may also be displayed in the user interface in the form of a card, which is not limited in this embodiment of the application.
To sum up, in the technical solution provided in the embodiment of the present application, when the set second time arrives, if at least one item of other data than m items of data in n items of data has been received, the at least one item of other data is added and displayed in the user interface, and after the second time, every time one item of data in the n items of data is received, the received item of data is added and displayed in the user interface, so that it is ensured that all the received data are displayed, and the integrity of data display is ensured.
In the embodiment of the application, the data are displayed in the form of the card, so that the data displayed on the user interface are more orderly and standard, and the display effect is improved.
In an exemplary embodiment, after the step 201, the following steps may be further included:
and when the set third moment is reached, if the n data are not received, displaying prompt information in the user interface, wherein the prompt information is used for prompting that the data are not acquired. And the third moment is a moment after the first moment.
The third time may be a time between the first time and the second time, or may be a time after the second time. The prompt message may also include network connection status (including whether the network is connected, network type, network speed, etc.).
In the implementation mode, the prompt information is displayed to prompt that the data is not acquired, so that the waiting time of a user is saved, and the display efficiency is improved.
In the following, a technical solution provided by the embodiment of the present application is described by taking a client installed in a terminal and running a music application as an example. The method can be applied to the client side of the music application program, and as shown in FIG. 5, the method can comprise the following steps (501-507):
step 501, displaying a music playing interface of the target song.
The music playing interface is a user interface for displaying the related information of the played target song, and a control for controlling the playing state of the target song, a control for switching the played song, the related information of the target song (such as the song name and the lyric content), and the like may be included in the music playing interface.
Step 502, a display instruction of an associated data interface corresponding to a target song is received.
A display instruction of an associated data interface corresponding to the target song may be received on the basis of the music playing interface of the target song, and the display instruction is used for displaying data related to the target song in the music playing interface. The display instruction may be obtained through gesture operations (such as left sliding, right sliding, clicking, long pressing, and the like), or may be obtained through voice input, which is not limited in this embodiment of the application.
Step 503, according to the display instruction, displaying the associated data interface of the target song, and requesting the data source to acquire n items of data related to the target song, where n is a positive integer.
The client may request the data source for n items of data related to the target song by sending a data acquisition request. The data source may be a server or a database in the server. The data source may provide n data acquisition interfaces, each for feeding back an item of data related to the target song.
Step 504, receiving data fed back by the data source.
The content of step 102 in the embodiment of fig. 1 can be referred to in this step 504, and is not described here again.
In step 505, when 300 milliseconds after the request is sent, if 3 items of data are received, the 3 items of data are displayed according to the data acquisition instruction.
Wherein, the 3 items of data are data in the above n items of data, and the 3 items of data can be respectively displayed in corresponding cards related to the target song.
One of the n items of data received in the time interval between 300 ms and 600 ms is displayed 600 ms after the request is issued, step 506.
At step 507, after 600 milliseconds after the request, each item of data is received, it is displayed in the user interface.
By the method, the timeliness of data display in the playing interface of the music application program is improved.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Referring to fig. 6, a block diagram of a data display device according to an embodiment of the present application is shown. The apparatus 600 has functions of implementing the above-mentioned method examples of data display, and the functions may be implemented by hardware, or by hardware executing corresponding software. The apparatus 600 may be the terminal described above, or may be provided on the terminal. The apparatus 600 may comprise: a data request module 610, a data receiving module 620 and a data display module 630.
The data request module 610 is configured to request a data source to acquire n items of data, where n is a positive integer.
The data receiving module 620 is configured to receive the data fed back by the data source.
The data display module 630 is configured to, when a set first time arrives, if m items of data in the n items of data have been received, display the m items of data in a user interface, where m is a positive integer less than or equal to n.
To sum up, in the technical solution provided in this application embodiment, by requesting to acquire n items of data from a data source and receiving data fed back by the data source, when a set first time arrives, if m items of data in the n items of data have been received, the m items of data are displayed in a user interface, that is, by setting a time, when the set time arrives, regardless of whether all data to be acquired is received, the received data is displayed first, and compared with the case of waiting for all data to be received and then displayed, the timeliness of data display can be improved by the technical solution provided in this application embodiment.
In an exemplary embodiment, as shown in fig. 7, the apparatus 600 further includes: a display module 640 is added.
The adding and displaying module 640 is configured to, when a set second time arrives, add and display at least one item of other data in the n items of data, if the at least one item of other data is received, where the at least one item of other data is different from the m items of data; wherein the second time is a time after the first time.
In an exemplary embodiment, as shown in fig. 7, the adding and displaying module 640 is configured to add and display the at least one other item of data in the user interface according to a corresponding display position according to the display position of each item of data in the m items of data and the at least one other item of data.
In an exemplary embodiment, as shown in fig. 7, the adding and displaying module 640 is further configured to, after the second time, add and display one received item of data in the user interface every time the one received item of data is received.
In an exemplary embodiment, the data request module 610 is configured to send data acquisition requests to n data acquisition interfaces respectively; the data acquisition request sent to the ith data acquisition interface of the n data acquisition interfaces is used for requesting to acquire the ith data of the n data, and i is a positive integer less than or equal to n.
In an exemplary embodiment, as shown in fig. 7, the apparatus 600 further includes: an information display module 650.
The information display module 650 is configured to, when a set third time arrives, display a prompt message in the user interface if none of the n items of data is received, where the prompt message is used to prompt that no data is obtained; wherein the third time is a time after the first time.
In an exemplary embodiment, the data display module 630 is configured to display m cards in the user interface, where each card is used to display one item of data.
It should be noted that, when the apparatus provided in the foregoing embodiment implements the functions thereof, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the apparatus may be divided into different functional modules to implement all or part of the functions described above. In addition, the apparatus and method embodiments provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments for details, which are not described herein again.
Referring to fig. 8, a block diagram of a terminal according to an embodiment of the present application is shown. The terminal 800 may be an electronic device such as a mobile phone, a tablet computer, a game console, an electronic book reader, a multimedia playing device, a wearable device, a PC, and the like. The terminal is used for implementing the data display method provided in the above embodiment. The terminal may be the terminal 800 in the implementation environment shown in fig. 1. Specifically, the method comprises the following steps:
in general, the terminal 800 includes: a processor 801 and a memory 802.
The processor 801 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so forth. The processor 801 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (field Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 801 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 801 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 801 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 802 may include one or more computer-readable storage media, which may be non-transitory. Memory 802 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in the memory 802 is used to store at least one instruction, at least one program, set of codes, or set of instructions configured to be executed by one or more processors to implement the data display method described above.
In some embodiments, the terminal 800 may further include: a peripheral interface 803 and at least one peripheral. The processor 801, memory 802 and peripheral interface 803 may be connected by bus or signal lines. Various peripheral devices may be connected to peripheral interface 803 by a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 804, a touch screen display 805, a camera 806, an audio circuit 807, a positioning component 808, and a power supply 809.
Those skilled in the art will appreciate that the configuration shown in fig. 8 is not intended to be limiting of terminal 800 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
In an exemplary embodiment, there is also provided a computer-readable storage medium having stored therein a computer program which, when executed by a processor, implements the data display method described above.
In an exemplary embodiment, a computer program product is also provided for implementing the above-described data display method when the computer program product is executed by a processor.
It should be understood that reference to "a plurality" herein means two or more. Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (10)

1. A method of displaying data, the method comprising:
requesting a data source to acquire n items of data, wherein n is a positive integer;
receiving the data fed back by the data source;
when the set first time is reached, if m items of data in the n items of data are received, displaying the m items of data in a user interface, wherein m is a positive integer less than or equal to n.
2. The method of claim 1, further comprising, after displaying the m items of data in a user interface:
when a set second moment is reached, if at least one item of other data except the m items of data in the n items of data is received, adding and displaying the at least one item of other data in the user interface;
wherein the second time is a time after the first time.
3. The method of claim 2, wherein said adding and displaying said at least one item of other data in said user interface comprises:
and according to the display positions of the m items of data and the at least one item of other data, performing additional display on the at least one item of other data in the user interface according to the corresponding display positions.
4. The method of claim 2, wherein after the adding and displaying the at least one item of other data in the user interface, further comprising:
and after the second moment, adding and displaying the received data in the user interface every time one of the n data is received.
5. The method of claim 1, wherein the requesting n items of data from a data source comprises:
respectively sending data acquisition requests to the n data acquisition interfaces;
the data acquisition request sent to the ith data acquisition interface of the n data acquisition interfaces is used for requesting to acquire the ith data of the n data, and i is a positive integer less than or equal to n.
6. The method of claim 1, wherein after requesting n items of data from a data source, further comprising:
when a set third moment is reached, if the n data are not received, displaying prompt information in the user interface, wherein the prompt information is used for prompting that the data are not acquired;
wherein the third time is a time after the first time.
7. The method of any one of claims 1 to 6, wherein said displaying said m items of data in a user interface comprises:
displaying m cards in the user interface, each card for displaying one item of data.
8. A data display device, the device comprising:
the data request module is used for requesting a data source to acquire n items of data, wherein n is a positive integer;
the data receiving module is used for receiving the data fed back by the data source;
and the data display module is used for displaying m items of data in a user interface if m items of data in the n items of data are received when the set first time arrives, wherein m is a positive integer less than or equal to n.
9. A terminal, characterized in that it comprises a processor and a memory, in which a computer program is stored for execution by the processor for implementing the data display method according to any one of the preceding claims 1 to 7.
10. A computer-readable storage medium, in which a computer program is stored, the computer program being adapted to be executed by a processor to implement the data display method according to any one of claims 1 to 7.
CN202010081787.4A 2020-02-06 2020-02-06 Data display method, device, terminal and storage medium Active CN111291203B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010081787.4A CN111291203B (en) 2020-02-06 2020-02-06 Data display method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010081787.4A CN111291203B (en) 2020-02-06 2020-02-06 Data display method, device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN111291203A true CN111291203A (en) 2020-06-16
CN111291203B CN111291203B (en) 2024-03-12

Family

ID=71026751

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010081787.4A Active CN111291203B (en) 2020-02-06 2020-02-06 Data display method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN111291203B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102158666A (en) * 2010-04-21 2011-08-17 青岛海信传媒网络技术有限公司 Method and device for displaying rolling subtitles
CN105808110A (en) * 2014-12-30 2016-07-27 腾讯科技(北京)有限公司 Table display method and display device
US20180364871A1 (en) * 2017-06-20 2018-12-20 International Business Machines Corporation Automatic cognitive adjustment of display content
CN109683786A (en) * 2018-12-25 2019-04-26 北京微播视界科技有限公司 Update method, electronic equipment and the computer storage medium of user interface information
CN109992347A (en) * 2019-04-10 2019-07-09 Oppo广东移动通信有限公司 Interface display method, device, terminal and storage medium
CN110018759A (en) * 2019-04-10 2019-07-16 Oppo广东移动通信有限公司 Interface display method, device, terminal and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102158666A (en) * 2010-04-21 2011-08-17 青岛海信传媒网络技术有限公司 Method and device for displaying rolling subtitles
CN105808110A (en) * 2014-12-30 2016-07-27 腾讯科技(北京)有限公司 Table display method and display device
US20180364871A1 (en) * 2017-06-20 2018-12-20 International Business Machines Corporation Automatic cognitive adjustment of display content
CN109683786A (en) * 2018-12-25 2019-04-26 北京微播视界科技有限公司 Update method, electronic equipment and the computer storage medium of user interface information
CN109992347A (en) * 2019-04-10 2019-07-09 Oppo广东移动通信有限公司 Interface display method, device, terminal and storage medium
CN110018759A (en) * 2019-04-10 2019-07-16 Oppo广东移动通信有限公司 Interface display method, device, terminal and storage medium

Also Published As

Publication number Publication date
CN111291203B (en) 2024-03-12

Similar Documents

Publication Publication Date Title
US10207190B2 (en) Technologies for native game experience in web rendering engine
CN111124668B (en) Memory release method, memory release device, storage medium and terminal
CN110007936B (en) Data processing method and device
CN112698793B (en) Data storage method, device, machine-readable medium and equipment
CN110018765A (en) Page display method, device, terminal and storage medium
CN109636460B (en) Service processing method, device, equipment and storage medium
CN109462777B (en) Video heat updating method, device, terminal and storage medium
CN116721007B (en) Task control method, system and device, electronic equipment and storage medium
CN111580883B (en) Application program starting method, device, computer system and medium
CN111291203B (en) Data display method, device, terminal and storage medium
CN113134234B (en) Information display method, device, terminal and storage medium
CN113144606B (en) Skill triggering method of virtual object and related equipment
CN111447267B (en) Information synchronization method, device, computer readable storage medium and equipment
CN109657179B (en) Service processing method, system and storage medium
CN114661523A (en) Data backup method, device, program product, medium and electronic equipment
CN111078218B (en) Android system-based title bar setting method
CN113805854A (en) Method, system and device for realizing Hook of application layer based on Linux system and storage medium
CN113835835A (en) Method and device for creating consistency group and computer-readable storage medium
CN109561146A (en) Document down loading method, device, terminal device
CN111831953B (en) Data processing method, device, equipment and storage medium
CN113098859B (en) Webpage page rollback method, device, terminal and storage medium
US8587599B1 (en) Asset server for shared hardware graphic data
US20220362668A1 (en) Information display method and apparatus, terminal, storage medium, and computer program product
US20240031434A1 (en) Marking information processing method and device, and storage medium
CN109783329B (en) Application program blank data prompting method and system and terminal equipment

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