Nothing Special   »   [go: up one dir, main page]

CN109684015B - Interface data loading method and device, electronic equipment and storage medium - Google Patents

Interface data loading method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN109684015B
CN109684015B CN201811590678.4A CN201811590678A CN109684015B CN 109684015 B CN109684015 B CN 109684015B CN 201811590678 A CN201811590678 A CN 201811590678A CN 109684015 B CN109684015 B CN 109684015B
Authority
CN
China
Prior art keywords
interface
displayed
superior
loading
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.)
Active
Application number
CN201811590678.4A
Other languages
Chinese (zh)
Other versions
CN109684015A (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.)
Tiktok Technology Co ltd
Original Assignee
Beijing Microlive Vision 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 Beijing Microlive Vision Technology Co Ltd filed Critical Beijing Microlive Vision Technology Co Ltd
Priority to CN201811590678.4A priority Critical patent/CN109684015B/en
Publication of CN109684015A publication Critical patent/CN109684015A/en
Application granted granted Critical
Publication of CN109684015B publication Critical patent/CN109684015B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0641Shopping interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Human Computer Interaction (AREA)
  • Development Economics (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the disclosure provides an interface data loading method and device, electronic equipment and a storage medium. The method comprises the following steps: determining an interface to be displayed and at least one level of superior interface in front of the interface to be displayed according to a received interface display instruction; loading and caching data on the interface to be displayed and the superior interface; displaying the cached interface to be displayed; and according to the received interface return instruction, acquiring a superior interface of the current display interface from the cache for display. By adopting the scheme, the technical problem of long time delay in entering the associated superior interface is solved by pre-loading and caching the superior interface associated with the interface to be displayed, the waiting time for a user to enter the superior interface associated with the interface to be displayed from the interface to be displayed is reduced, and the use experience of the user is improved.

Description

Interface data loading method and device, electronic equipment and storage medium
Technical Field
The embodiment of the disclosure relates to the technical field of computers, and in particular relates to a method and a device for loading interface data, an electronic device and a storage medium.
background
Various application software is available, and colorful information is presented to a user through an interface. A multi-level interface is typically provided for the user to enter step-by-step to view the content.
The multi-level interfaces have many examples, and take commodity sales application software as an example, after an application software client is started, the first-level interface presented first is a home page on which various functional area windows may be displayed, such as a special price area, a personalized recommendation area, a store recommendation area, a hot spot communication area and the like; when a link of any one area is clicked, entering a second-level interface, usually a list display interface, and displaying the thumbnail information in a mode of a plurality of list items; when a user clicks a certain interested list item, the user can enter a third-level interface, and the content interface corresponding to the list item, such as a commodity interface; in the content interface, it is also possible to distinguish a detail page, an evaluation page, and the like, and then enter a deeper interface by a user click. Of course, those skilled in the art will appreciate that the hierarchical division and the specific content of the interfaces in the application software are not limited to the above example.
Besides the above way of entering the deep interface, in order to recommend information to the user, the prior art also recommends a link of a certain level of interface to the user in other ways. Such as scrolling through a home page to push out detail page interface links for several hot items of a certain type. When the user clicks, the user can directly jump to display the detail page for the user to check.
However, in the above scheme of directly entering the deep level interface, if the user clicks the associated level interface entering the deep level interface, a long time delay is usually generated, which makes the user feel bad.
disclosure of Invention
The embodiment of the disclosure provides an interface data loading method and device, electronic equipment and a storage medium, so as to improve the response speed when an associated interface returns.
In a first aspect, an embodiment of the present disclosure provides a method for loading interface data, including:
Determining an interface to be displayed and at least one level of superior interface in front of the interface to be displayed according to a received interface display instruction;
Loading and caching data on the interface to be displayed and the superior interface;
displaying the cached interface to be displayed;
And according to the received interface return instruction, acquiring a superior interface of the current display interface from the cache for display.
In a second aspect, an embodiment of the present disclosure further provides an interface data loading apparatus, including:
the interface to be displayed determining module is used for determining an interface to be displayed and at least one level of superior interface in front of the interface to be displayed according to the received interface display instruction;
the data loading and caching module is used for loading and caching data on the interface to be displayed and the superior interface;
The interface to be displayed display module is used for displaying the cached interface to be displayed;
and the superior interface display module is used for acquiring the superior interface of the current display interface from the cache according to the received interface return instruction and displaying the superior interface.
In a third aspect, an embodiment of the present disclosure further provides an electronic device, including:
One or more processing devices;
storage means for storing one or more programs;
The one or more programs are executed by the one or more processing devices, so that the one or more processing devices implement the interface data loading method provided by the embodiment of the first aspect.
in a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a method for loading interface data, as provided in the embodiment of the first aspect.
The method comprises the steps that according to a received interface display instruction, an interface to be displayed and at least one level of superior interface in front of the interface to be displayed are determined; loading and caching data of the interface to be displayed and the superior interface; and displaying the cached interface to be displayed, and acquiring the superior interface of the current display interface from the cache according to the received interface return instruction for displaying. By adopting the scheme, the technical problem of long time delay in entering the associated superior interface is solved by pre-loading and caching the superior interface associated with the interface to be displayed, the waiting time for a user to enter the superior interface associated with the interface to be displayed from the interface to be displayed is reduced, and the use experience of the user is improved.
Drawings
fig. 1 is a schematic flowchart of a method for loading interface data in a first embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a method for loading interface data in a second embodiment of the disclosure;
Fig. 3 is a schematic structural diagram of an interface data loading apparatus in a third embodiment of the present disclosure;
Fig. 4 is a schematic structural diagram of an electronic device in a fourth embodiment of the present disclosure.
Detailed Description
the present disclosure is described in further detail below with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the disclosure and are not limiting of the disclosure. It should be further noted that, for the convenience of description, only some of the structures relevant to the present disclosure are shown in the drawings, not all of them.
In the following embodiments, optional features and examples are provided in each embodiment, and various features described in the embodiments may be combined to form a plurality of alternatives, and each numbered embodiment should not be regarded as only one technical solution.
example one
Fig. 1 is a schematic flowchart of a method for loading interface data in a first embodiment of the present disclosure. The embodiment is suitable for the interface display situation of the user after the application software client is started. The method is executed by a loading device of interface data, the device is realized by software and/or hardware, and is specifically configured in the electronic equipment carrying an application software client. The electronic device is typically a terminal device, such as a smart phone, a tablet computer, or a PC.
The method for loading interface data shown in fig. 1 includes:
s110, determining an interface to be displayed and at least one level of superior interface in front of the interface to be displayed according to the received interface display instruction.
The interface display indication can be an interface link for identifying the interface to be displayed. Illustratively, the interface display indication may be an interface link, or may also be other information identifiers having a corresponding relationship with the interface link, such as an interface number.
Optionally, an interface display instruction input by a user by clicking an interface link on a setting interface is received, wherein the setting interface and the interface to be displayed may be in a discontinuous hierarchy. The interface link may be a Uniform Resource Locator (URL) website link, or may be other carrier forms formed by the ULR website link through a set format code, such as an icon and a two-dimensional code. The setting interface can be a client home page, and can also be a client message notification and the like. The client may be a consumer client with a commodity sale function, or an information client with an information sharing function.
For the purpose of the present disclosure, it is understood that the interface to be displayed related to the present disclosure is not a one-level interface, and at least one level interface exists before the interface to be displayed.
Specifically, after the interface display instruction is received, the corresponding interface to be displayed and the associated interface located before the interface level where the interface to be displayed is located are determined according to the interface display instruction. The associated interface may be an adjacent interface at the previous stage of the interface to be displayed, or an adjacent interface at a set stage before the interface to be displayed. For example, when the interface to be displayed is a 5 th-level interface and the number of levels is set to be 2, the associated interfaces are specifically a 3 rd-level interface and a 4 th-level interface before the interface level where the interface to be displayed is located. The association interface preferably enters each level of interfaces between the interfaces to be displayed from the current display interface step by step, or preferably enters each level of interfaces between the interfaces to be displayed and the client home page interface.
and S120, loading and caching data of the interface to be displayed and the superior interface.
specifically, an interface initialization sequence queue is determined according to the interface hierarchy sequence of the superior interface and the interface to be displayed; according to the sequence in the interface initialization sequence queue, loading and caching data of the interfaces one by one; judging whether the interface processed currently is an interface to be displayed, if so, triggering and executing the operation of displaying the cached interface to be displayed, and if not, forbidding displaying, and continuously extracting the next interface from the interface initialization sequence queue for data loading and caching until the interface to be displayed is displayed. And the data loading comprises data downloading and interface rendering. For example, the data may be downloaded from an operation server or a cloud corresponding to the interface to be displayed.
S130, displaying the cached interface to be displayed.
And S140, acquiring a superior interface of the current display interface from the cache according to the received interface return instruction, and displaying.
The interface return instruction is specifically an instruction for returning to the previous-level display interface from the current display interface.
the method comprises the steps that according to a received interface display instruction, an interface to be displayed and at least one level of superior interface in front of the interface to be displayed are determined; loading and caching data of the interface to be displayed and the superior interface; and displaying the cached interface to be displayed, and acquiring the superior interface of the current display interface from the cache according to the received interface return instruction for displaying. By adopting the scheme, the technical problem of long time delay in entering the associated superior interface is solved by pre-loading and caching the superior interface associated with the interface to be displayed, the waiting time for a user to enter the superior interface associated with the interface to be displayed from the interface to be displayed is reduced, and the use experience of the user is improved.
Example two
Fig. 2 is a schematic flowchart of a method for loading interface data in the second embodiment of the disclosure. The embodiments of the present disclosure are embodied on the basis of various alternatives in the above-described embodiments.
Further, the step of receiving the interface display instruction is specifically detailed as the step of receiving the interface display instruction input by clicking an interface link on the setting interface by a user; the interface to be displayed is a detail page, so that the application scene of the loading method of the interface data is limited to the online shopping situation.
The method for loading interface data shown in fig. 2 includes:
S210, receiving an interface display instruction input by a user through clicking a single item recommendation link on a home page of the client, and determining a detail page of a specified single item and at least one level of superior interface before the detail page.
the superior interface comprises a home page, a list display interface and a commodity interface. The home page is a primary interface and is used for displaying various functional area windows, such as a special price area, a personalized recommendation area, a shop recommendation area, a hot spot communication area and the like. When the link of any one area is clicked, a secondary interface, namely a list display interface, is entered for displaying the thumbnail information, such as a commodity thumbnail, a commodity name and a brief description, in the form of a plurality of list items. When a user clicks a certain interested list item, the user enters a three-level interface, namely a commodity interface, and the display interface is used for displaying clicked commodities and comprises commodity display information, such as commodity representative pictures, and functional link areas, such as a detail page, an evaluation page, a recommended commodity page and the like. When the user clicks the detail page, a four-level interface, namely the detail page, is entered, wherein the four-level interface comprises series pictures, word introduction, use instructions and the like of the commodity.
and S220, determining an interface initialization sequence queue according to the interface hierarchy sequence of the superior interface and the detail page.
And determining the interface hierarchical order of the home page, the commodity list interface, the commodity interface and the detail page as the arrangement order of the corresponding queue elements in the interface initialization order queue.
And S230, loading and caching the data of the interface one by one according to the sequence in the interface initialization sequence queue.
And sequentially loading and caching data on the home page-commodity list interface, the commodity interface and the detail page according to the sequence of the home page-commodity list interface-commodity interface-detail page.
s240, judging whether the currently processed interface is the detail page; if not, executing S250; if yes, go to S260.
Illustratively, whether it is a detail page may be determined according to the interface identification of the different interfaces. The interface identifier may be a URL website, an interface label, or the like.
and S250, prohibiting display, continuously extracting the next interface from the interface initialization sequence queue for data loading and caching, and continuously executing S240.
and S260, displaying the cached detail page.
And S270, acquiring a superior interface of the current display interface from the cache according to the received interface return instruction, and displaying.
And when the user clicks the icon returning to the superior interface after browsing the detail page, generating an interface returning indication. And according to the received interface return instruction, acquiring a superior interface, namely a commodity interface, of the detail page from the cache, and displaying the commodity interface.
the method comprises the steps that an interface display instruction input by clicking a tree root-bark-you recommended link of a client-side home page by a user is received, a detail page of a specified single product and at least one level of superior interface in front of the detail page are determined; determining an interface initialization sequence queue according to the interface hierarchy sequence of each superior interface and the detail page; sequentially loading and caching data on the interface according to the sequence in the interface initialization sequence queue, and displaying the detail page after the interface is prohibited from being displayed until the interface of the detail page is loaded and cached; and when the interface return instruction is received in the detail page, the superior interface of the detail page is obtained from the cache for displaying. According to the technical scheme, the technical problem that long delay exists in the superior interface entering the detail page is solved by pre-loading and caching the superior interface before the detail page, the waiting time of returning the user from the detail page to the superior interface is shortened, and the use experience of the user is improved.
EXAMPLE III
Fig. 3 is a schematic structural diagram of an interface data loading apparatus in a third embodiment of the present disclosure. The embodiment is suitable for the interface display situation of the user after the application software client is started. The device is realized by software and/or hardware and is specifically configured on an electronic device carrying an application software client. The electronic device is typically a terminal device, such as a smart phone, a tablet computer, or a PC. The interface data loading apparatus shown in fig. 3 includes: the interface display method includes an interface to be displayed determining module 310, a data loading cache module 320, an interface to be displayed displaying module 330, and a superior interface displaying module 340.
The interface to be displayed determining module 310 is configured to determine, according to a received interface display instruction, an interface to be displayed and at least one level of higher-level interface before the interface to be displayed;
The data loading and caching module 320 is configured to load and cache data for the interface to be displayed and the superior interface;
The interface to be displayed displaying module 330 is configured to display the cached interface to be displayed;
And the superior interface display module 340 is configured to obtain the superior interface of the current display interface from the cache according to the received interface return instruction, and display the superior interface.
according to the interface to be displayed and the interface to be displayed, the interface to be displayed and at least one level of superior interface in front of the interface to be displayed are determined by the interface to be displayed determining module according to the received interface display instruction; data loading and caching are carried out on the interface to be displayed and the superior interface through a data loading and caching module; and displaying the cached interface to be displayed through the interface display module to be displayed, and acquiring the superior interface of the current display interface from the cache for displaying through the superior interface display module according to the received interface return instruction. By adopting the scheme, the technical problem of long time delay in entering the associated superior interface is solved by pre-loading and caching the superior interface associated with the interface to be displayed, the waiting time for a user to enter the superior interface associated with the interface to be displayed from the interface to be displayed is reduced, and the use experience of the user is improved.
Further, the data load cache module 320 includes:
The queue determining unit is used for determining an interface initialization sequence queue according to the interface level sequence of the superior interface and the interface to be displayed;
The loading cache unit is used for loading and caching data of the interfaces one by one according to the sequence in the interface initialization sequence queue;
and the interface display unit is used for judging whether the interface currently processed is the interface to be displayed, if so, triggering and executing the operation of displaying the cached interface to be displayed, and if not, forbidding display, and continuously extracting the next interface from the interface initialization sequence queue for data loading and caching until the interface to be displayed is displayed.
further, the data loading comprises data downloading and interface rendering.
further, when the interface to be displayed determining module 310 executes the interface display receiving instruction, it is specifically configured to: receiving an interface display instruction input by a user through clicking an interface link on a setting interface, wherein the setting interface and the interface to be displayed are not continuous in hierarchy.
further, the setting interface is a client home page, the interface link is a single item recommendation link, and the interface to be displayed is a detail page.
The interface data loading device can execute the interface data loading method provided by any embodiment of the disclosure, and has the corresponding functional modules and beneficial effects of the interface data loading method.
example four
Referring now to FIG. 4, a block diagram of an electronic device 400 suitable for use in implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
as shown in fig. 4, electronic device 400 may include a processing device (e.g., central processing unit, graphics processor, etc.) 401 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)402 or a program loaded from a storage device 408 into a Random Access Memory (RAM) 403. In the RAM 403, various programs and data necessary for the operation of the electronic apparatus 400 are also stored. The processing device 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
Generally, the following devices may be connected to the I/O interface 405: input devices 406 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 407 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 408 including, for example, tape, hard disk, etc.; and a communication device 409. The communication means 409 may allow the electronic device 400 to communicate wirelessly or by wire with other devices to exchange data. While fig. 4 illustrates an electronic device 400 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication device 409, or from the storage device 408, or from the ROM 402. The computer program performs the above-described functions defined in the methods of the embodiments of the present disclosure when executed by the processing device 401.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
the computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: determining an interface to be displayed and at least one level of superior interface in front of the interface to be displayed according to a received interface display instruction; loading and caching data on the interface to be displayed and the superior interface; displaying the cached interface to be displayed; and according to the received interface return instruction, acquiring a superior interface of the current display interface from the cache for display.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
the units described in the embodiments of the present disclosure may be implemented by software or hardware.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.

Claims (10)

1. A method for loading interface data is characterized by comprising the following steps:
When the interface directly enters a deep level interface, determining an interface to be displayed and at least one level of upper level interface before the interface to be displayed according to a received interface display instruction; wherein the interface to be displayed is a deep level interface; the superior interface is an associated interface positioned in front of the interface level of the interface to be displayed;
Loading and caching data on the interface to be displayed and the superior interface;
Displaying the cached interface to be displayed;
And according to the received interface return instruction, acquiring a superior interface of the current display interface from the cache for display.
2. The method of claim 1, wherein the loading and caching of the data of the interface to be presented and the superior interface comprises:
Determining an interface initialization sequence queue according to the interface hierarchy sequence of the superior interface and the interface to be displayed;
According to the sequence in the interface initialization sequence queue, loading and caching data of the interfaces one by one;
Judging whether the interface processed currently is an interface to be displayed, if so, triggering and executing the operation of displaying the cached interface to be displayed, and if not, forbidding displaying, and continuously extracting the next interface from the interface initialization sequence queue for data loading and caching until the interface to be displayed is displayed.
3. The method of claim 1 or 2, wherein the data loading comprises data downloading and interface rendering.
4. the method of claim 1 or 2, wherein receiving an interface presentation indication comprises:
Receiving an interface display instruction input by a user through clicking an interface link on a setting interface, wherein the setting interface and the interface to be displayed are not continuous in hierarchy.
5. The method according to claim 4, wherein the setting interface is a client top page, the interface link is a single item recommendation link, and the interface to be displayed is a detail page.
6. an interface data loading device, comprising:
the interface to be displayed determining module is used for determining an interface to be displayed and at least one level of superior interface before the interface to be displayed according to the received interface display instruction when the interface to be displayed directly enters the deep level interface; wherein the interface to be displayed is a deep level interface; the superior interface is an associated interface positioned in front of the interface level of the interface to be displayed;
The data loading and caching module is used for loading and caching data on the interface to be displayed and the superior interface;
The interface to be displayed display module is used for displaying the cached interface to be displayed;
And the superior interface display module is used for acquiring the superior interface of the current display interface from the cache according to the received interface return instruction and displaying the superior interface.
7. The apparatus of claim 6, wherein the data load cache module comprises:
the queue determining unit is used for determining an interface initialization sequence queue according to the interface level sequence of the superior interface and the interface to be displayed;
the loading cache unit is used for loading and caching data of the interfaces one by one according to the sequence in the interface initialization sequence queue;
and the interface display unit is used for judging whether the interface currently processed is the interface to be displayed, if so, triggering and executing the operation of displaying the cached interface to be displayed, and if not, forbidding display, and continuously extracting the next interface from the interface initialization sequence queue for data loading and caching until the interface to be displayed is displayed.
8. the apparatus of claim 6 or 7, wherein the data loading comprises data downloading and interface rendering.
9. an electronic device, comprising:
One or more processing devices;
Storage means for storing one or more programs;
The one or more programs are executed by the one or more processing devices, so that the one or more processing devices realize the loading method of the interface data according to any one of claims 1 to 5.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements a method of loading interface data according to any one of claims 1 to 5.
CN201811590678.4A 2018-12-25 2018-12-25 Interface data loading method and device, electronic equipment and storage medium Active CN109684015B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811590678.4A CN109684015B (en) 2018-12-25 2018-12-25 Interface data loading method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811590678.4A CN109684015B (en) 2018-12-25 2018-12-25 Interface data loading method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109684015A CN109684015A (en) 2019-04-26
CN109684015B true CN109684015B (en) 2019-12-13

Family

ID=66189280

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811590678.4A Active CN109684015B (en) 2018-12-25 2018-12-25 Interface data loading method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109684015B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110765383A (en) * 2019-10-21 2020-02-07 支付宝(杭州)信息技术有限公司 Resource caching method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4819203A (en) * 1986-04-16 1989-04-04 Hitachi, Ltd. Control system for interruption long data transfers between a disk unit or disk coche and main memory to execute input/output instructions
US7231463B2 (en) * 2002-01-04 2007-06-12 Intel Corporation Multi-level ring peer-to-peer network structure for peer and object discovery
CN106775637A (en) * 2016-11-18 2017-05-31 腾讯音乐娱乐(深圳)有限公司 The page display method and device of a kind of application program
CN106991186A (en) * 2017-04-05 2017-07-28 福建中金在线信息科技有限公司 A kind of page returning method and device
CN107450928A (en) * 2017-08-02 2017-12-08 四川长虹电器股份有限公司 A kind of mixed developing method based on caching technology

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160147657A1 (en) * 2014-11-21 2016-05-26 Dell Products L.P. System and method for optimized disk io ram caching for a vdi environment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4819203A (en) * 1986-04-16 1989-04-04 Hitachi, Ltd. Control system for interruption long data transfers between a disk unit or disk coche and main memory to execute input/output instructions
US7231463B2 (en) * 2002-01-04 2007-06-12 Intel Corporation Multi-level ring peer-to-peer network structure for peer and object discovery
CN106775637A (en) * 2016-11-18 2017-05-31 腾讯音乐娱乐(深圳)有限公司 The page display method and device of a kind of application program
CN106991186A (en) * 2017-04-05 2017-07-28 福建中金在线信息科技有限公司 A kind of page returning method and device
CN107450928A (en) * 2017-08-02 2017-12-08 四川长虹电器股份有限公司 A kind of mixed developing method based on caching technology

Also Published As

Publication number Publication date
CN109684015A (en) 2019-04-26

Similar Documents

Publication Publication Date Title
CN109522483B (en) Method and device for pushing information
CN111199459B (en) Commodity recommendation method, commodity recommendation device, electronic equipment and storage medium
CN109976620B (en) Method, device, equipment and storage medium for determining list item display attribute information
CN107390994B (en) Interface presentation method and device
CN110619078B (en) Method and device for pushing information
CN111597467A (en) Display method and device and electronic equipment
CN109992719B (en) Method and apparatus for determining push priority information
CN112287206A (en) Information processing method and device and electronic equipment
CN111291258A (en) Recommendation method and device for searching hot words, electronic equipment and readable medium
CN108600329B (en) Method and equipment for pushing information and displaying information
CN112214665A (en) Content display method and device, electronic equipment and computer readable storage medium
CN109902726B (en) Resume information processing method and device
CN114417782A (en) Display method and device and electronic equipment
CN110619101A (en) Method and apparatus for processing information
CN111353296B (en) Article processing method, apparatus, electronic device and computer readable storage medium
CN109684015B (en) Interface data loading method and device, electronic equipment and storage medium
CN110874446A (en) Page display method and system, computer system and computer readable medium
CN113032702A (en) Page loading method and device
CN110069186B (en) Method and equipment for displaying operation interface of application
CN113220293B (en) Page display method, page display device, electronic equipment and computer readable medium
CN116109374A (en) Resource bit display method, device, electronic equipment and computer readable medium
US9767079B1 (en) Serving expandable content items
CN111177582B (en) Method, device, electronic equipment and storage medium for determining friend user
CN112348614B (en) Method and device for pushing information
CN113836415A (en) Information recommendation method, device, medium and 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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 2nd Floor, Building 4, No. 18 North Third Ring West Road, Haidian District, Beijing, 2022

Patentee after: Tiktok Technology Co.,Ltd.

Country or region after: China

Address before: 100080 408, 4th floor, 51 Zhichun Road, Haidian District, Beijing

Patentee before: BEIJING MICROLIVE VISION TECHNOLOGY Co.,Ltd.

Country or region before: China