CN113434241A - Page skipping method and device - Google Patents

Page skipping method and device Download PDF

Info

Publication number
CN113434241A
CN113434241A CN202110833680.5A CN202110833680A CN113434241A CN 113434241 A CN113434241 A CN 113434241A CN 202110833680 A CN202110833680 A CN 202110833680A CN 113434241 A CN113434241 A CN 113434241A
Authority
CN
China
Prior art keywords
page
request
rendering data
rendering
server
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
CN202110833680.5A
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.)
Beijing Jingdong Zhenshi Information Technology Co Ltd
Original Assignee
Beijing Jingdong Zhenshi Information 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 Jingdong Zhenshi Information Technology Co Ltd filed Critical Beijing Jingdong Zhenshi Information Technology Co Ltd
Priority to CN202110833680.5A priority Critical patent/CN113434241A/en
Publication of CN113434241A publication Critical patent/CN113434241A/en
Pending legal-status Critical Current

Links

Images

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
    • 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/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure provides a page jump method which can be applied to the technical field of computers. The page jump method comprises the following steps: under the condition that a page jump operation initiated on a first page is acquired, sending a request for acquiring page rendering data for rendering a second page to a server; jumping from the first page to the second page in response to a page jump operation; receiving page rendering data sent by the server in response to the request; and rendering the second page according to the page rendering data. The disclosure also provides a page jump apparatus, a device, a storage medium and a program product.

Description

Page skipping method and device
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a page jump method, apparatus, device, medium, and program product.
Background
With the continuous development of computer technology, small Program (Mini Program) development technology is introduced into each large application platform. An applet is an application that can be issued from a server and executed within a particular container without installation. For example, a user can complete information, shopping, listening to music, watching movies, etc. through an applet on an application without downloading and installing a new application.
In the related art, after jumping to a target page, a user is generally required to wait for data loading in the target page, which results in poor user experience.
Disclosure of Invention
In view of the above, the present disclosure provides a page jump method, apparatus, device, medium, and program product.
According to a first aspect of the present disclosure, there is provided a page jump method, including:
under the condition that a page jump operation initiated on a first page is acquired, sending a request for acquiring page rendering data for rendering a second page to a server;
jumping from the first page to the second page in response to the page jump operation; receiving page rendering data sent by the server in response to the request; and
and rendering the second page according to the page rendering data.
According to an embodiment of the present disclosure, after sending a request for obtaining page rendering data for rendering a second page to a server, the method further includes:
the request is stored to a global variable.
According to an embodiment of the present disclosure, the method further includes:
determining whether the request exists in a global variable in a case where it is determined that the jump from the first page to the second page has been made;
and if the request exists in the global variable, storing the received page rendering data sent by the server end in response to the request in the global variable so as to acquire the page rendering data from the global variable when the second page is rendered.
According to an embodiment of the present disclosure, in a case that the request does not exist in the global variable, the method further includes:
sending a new request for acquiring page rendering data for rendering the second page to the server again based on the second page;
and calling the page rendering data from the server side in an interface calling mode.
According to an embodiment of the present disclosure, the rendering the second page according to the page rendering data includes:
searching the request from the global variable;
according to the request, acquiring the page rendering data corresponding to the request;
and loading the page rendering data to the second page so as to render the second page.
According to an embodiment of the present disclosure, the method further includes:
and responding to the page jump operation, and acquiring page structure information of the second page, wherein the page structure information represents a loading position of the page rendering data on the second page.
According to an embodiment of the present disclosure, the loading the page rendering data to the second page includes:
and loading the page rendering data to a target position on the second page according to the page structure information.
A second aspect of the present disclosure provides a page jump apparatus, including:
the sending module is used for sending a request for obtaining page rendering data for rendering a second page to the server side under the condition of obtaining the page jump operation initiated on the first page;
a skip module, configured to skip from the first page to the second page in response to the page skip operation;
a receiving module, configured to receive page rendering data sent by the server in response to the request; and
and the rendering module is used for rendering the second page according to the page rendering data.
A third aspect of the present disclosure provides an electronic device, comprising: one or more processors; a memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the page jump method described above.
A fourth aspect of the present disclosure also provides a computer-readable storage medium having stored thereon executable instructions that, when executed by a processor, cause the processor to perform the above-described page jump method.
A fifth aspect of the present disclosure also provides a computer program product comprising a computer program which, when executed by a processor, implements the page jump method described above.
Drawings
The foregoing and other objects, features and advantages of the disclosure will be apparent from the following description of embodiments of the disclosure, which proceeds with reference to the accompanying drawings, in which:
fig. 1 schematically illustrates an application scenario diagram of a page jump method and a page jump apparatus according to an embodiment of the present disclosure;
FIG. 2 schematically shows a flow diagram of a page jump method according to an embodiment of the present disclosure;
FIG. 3 schematically illustrates a diagram of a user initiated page jump operation, according to an embodiment of the present disclosure;
FIG. 4 schematically illustrates a flow diagram of a page jump method according to another embodiment of the present disclosure;
FIG. 5 schematically illustrates a flow diagram for rendering a second page from page rendering data according to an embodiment of the disclosure;
FIG. 6 schematically illustrates a flow diagram of a page jump method according to another embodiment of the present disclosure;
FIG. 7 is a schematic diagram schematically illustrating a page jump method according to another embodiment of the present disclosure;
FIG. 8 is a block diagram schematically illustrating a structure of a page jump apparatus according to an embodiment of the present disclosure; and
fig. 9 schematically shows a block diagram of an electronic device adapted to implement a page jump method according to an embodiment of the present disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is illustrative only and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B and C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
The disclosure provides a page jump method which can be applied to the technical field of computers. The page jump method comprises the following steps: under the condition that a page jump operation initiated on a first page is acquired, sending a request for acquiring page rendering data for rendering a second page to a server; jumping from the first page to the second page in response to a page jump operation; receiving page rendering data sent by the server in response to the request; and rendering the second page according to the page rendering data. The disclosure also provides a page jump apparatus, a device, a storage medium and a program product.
It should be noted that the method determined by the present disclosure may be applied to page jump of an applet, but those skilled in the art should know that the solution provided by the embodiment of the present disclosure is also applicable to other programs that need page jump, such as a web page or an application program.
It should be noted that the method and apparatus determined by the present disclosure may be used in the field of computer technology, and may also be used in any field other than the field of computer technology.
Fig. 1 schematically illustrates an application scenario diagram of a page jump method and a page jump apparatus according to an embodiment of the present disclosure.
As shown in fig. 1, the application scenario 100 according to this embodiment may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may have installed thereon various communication client applications, such as shopping-like applications, web browser applications, search-like applications, instant messaging tools, mailbox clients, social platform software, etc. (by way of example only).
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 105 may be a server providing various services, such as a background management server (for example only) providing support for websites browsed by users using the terminal devices 101, 102, 103. The background management server may analyze and perform other processing on the received data such as the user request, and feed back a processing result (e.g., a webpage, information, or data obtained or generated according to the user request) to the terminal device.
It should be noted that the page jump method provided by the embodiment of the present disclosure may be generally executed by the server 105. Accordingly, the page jump apparatus provided by the embodiment of the present disclosure may be generally disposed in the server 105. The page jump method provided by the embodiment of the present disclosure may also be executed by a server or a server cluster that is different from the server 105 and is capable of communicating with the terminal devices 101, 102, 103 and/or the server 105. Correspondingly, the page jump apparatus provided by the embodiment of the present disclosure may also be disposed in a server or a server cluster different from the server 105 and capable of communicating with the terminal devices 101, 102, 103 and/or the server 105.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
The page jump method of the disclosed embodiment will be described in detail below with reference to fig. 2 to 6 based on the scenario described in fig. 1.
Fig. 2 schematically shows a flowchart of a page jump method according to an embodiment of the present disclosure.
As shown in fig. 2, the page jump method of this embodiment includes operations S201 to S204, and the page jump method may be performed by a client.
In operation S201, in a case that a page jump operation initiated on a first page is acquired, a request for acquiring page rendering data for rendering a second page is sent to a server.
According to the embodiment of the disclosure, the page jump operation for the first page can be input to the client in a mode that the user operates the page jump control, and correspondingly, the client acquires the page jump operation.
According to an embodiment of the present disclosure, the user operating the page jump control may include, for example, clicking the page jump control, sliding the page jump control to perform an input operation with respect to the page jump control, and the like.
FIG. 3 schematically shows a diagram of a user initiated page jump operation according to an embodiment of the present disclosure.
As shown in FIG. 3, 301 may represent a first page, 302 may represent a page jump control, and 303 may represent a user. The user 303 may initiate a page jump operation by clicking on the page jump control 302.
According to an embodiment of the present disclosure, the second page may be understood as a page to which a jump is to be made.
According to the embodiment of the disclosure, after the page jump request is obtained, a request for obtaining page rendering data for rendering the second page can be immediately sent to the server.
According to the embodiment of the disclosure, after the page jump operation initiated on the first page is acquired, the second page generally needs to be generated, and the process of generating the second page consumes a certain time, which is about 100ms to 300ms, if a request for acquiring page rendering data for rendering the second page is sent to the server after the second page is generated, then after the first page jumps to the second page, a user needs to wait for loading of the page rendering data, which results in poor user experience, and therefore, in the embodiment of the disclosure, the second page can be generated while the request for acquiring the page rendering data for rendering the second page is sent to the server.
In operation S202, a jump is made from a first page to a second page in response to a page jump operation.
In operation S203, page rendering data transmitted by the server in response to the request is received.
According to the embodiment of the present disclosure, operation S202 and operation S203 may be performed simultaneously, that is, the page rendering data sent by the server in response to the request may be received by using the time for jumping from the first page to the second page.
In operation S204, the second page is rendered according to the page rendering data.
According to the page jump method, in the page jump process, the time for generating the second page is utilized to send the request for acquiring the page rendering data for rendering the second page to the server in advance, the time for jumping from the first page to the second page is utilized to receive the page rendering data sent by the server in response to the request, and the second page is rendered according to the page rendering data, so that the technical problem that in the related technology, a user generally needs to wait for data loading in a target page, and the user experience is poor is solved, the page jump speed is improved, the page jump performance is optimized, and the technical effect of the user experience is improved.
FIG. 4 schematically shows a flowchart of a page jump method according to another embodiment of the present disclosure.
As shown in fig. 4, the page jump method of this embodiment includes operations S201 to S204 and operations S401 to S402. Operations S201 to S204 are the same as or similar to the method described above with reference to fig. 2, and are not repeated herein.
In operation S401, in the case where it is determined that a jump has been made from the first page to the second page, it is determined whether there is a request in the global variable.
In operation S402, in the case that there is a request in the global variable, the received page rendering data sent by the server in response to the request is stored in the global variable, so that the page rendering data is obtained from the global variable when the second page is rendered.
According to the embodiment of the disclosure, after sending the request for obtaining the page rendering data for rendering the second page to the server, the request may be stored in the global variable, but is not limited thereto, and the request may also be directly released, so that after jumping to the second page, the page rendering data generated by the server in response to the request is called from the server in an interface calling manner. However, if the request is stored into the global variable, the client may directly store the page rendering data generated by the server in response to the request into the global variable, and the client may directly and quickly call the page rendering data in the global variable. Therefore, in the embodiment of the present disclosure, when it is determined that a jump has been made from the first page to the second page, it may be determined in a first-choice manner whether a request for acquiring page rendering data for rendering the second page exists in the global variable, and if the request exists in the global variable, the client may directly store the received page rendering data sent by the server in response to the request in the global variable, so that the client may quickly invoke the page rendering data when the client needs to render the second page.
According to the embodiment of the present disclosure, after operation S201, the page jump method provided in the embodiment of the present disclosure may further include the following operations:
the request is stored to a global variable.
According to the embodiment of the disclosure, after the request for acquiring the page rendering data for rendering the second page is sent to the server, the request can be stored in the global variable globalData, and any operation on the data in the global variable cannot influence the content of the argument, so that the original page structure of the application program cannot be polluted.
FIG. 5 schematically illustrates a flow diagram for rendering a second page from page rendering data according to an embodiment of the disclosure.
As shown in fig. 5, rendering the second page according to the page rendering data of this embodiment includes operations S501 to S503.
In operation S501, a request is looked up from a global variable.
In operation S502, page rendering data corresponding to the request is acquired according to the request.
In operation S503, the page rendering data is loaded to the second page so as to render the second page.
According to an embodiment of the present disclosure, when storing a request to a global variable, first identification information may be configured for the request.
According to the embodiment of the disclosure, in the case of storing the request to the global variable, the page rendering data sent by the server to the client in response to the request may also be stored in the global variable, and when the page rendering data is stored to the global variable, the second identification information may be configured for the page rendering data.
According to an embodiment of the present disclosure, data configured with first identification information and data configured with second identification information may constitute a data pair, and the data configured with the first identification information and the data configured with the second identification informationMemory addresses may be shared. For example, when storing request a to the Q address of a global variable, it may be configured with first identification information a1That is, request A may be denoted as { a }1Q }; when storing the page rendering data B sent by the server to the client in response to the request to the E address of the global variable, it may be configured with second identification information a2That is, the page rendering data B can be expressed as { a }2And E }. In the case where the first identification information and the second identification information coexist in the global variable, the request a and the page rendering data B may share a memory address, and for example, may constitute a searchable data pair { a }1|Q,a2|E}。
According to the embodiment of the disclosure, when the second page needs to be rendered, the searchable data pair can be found according to the first identification information, and then the storage address of the page rendering data configured with the second representation information is obtained according to the searchable data pair, so that the page rendering data can be called to load the page rendering data to the second page, and the rendering operation on the second page is completed.
According to the embodiment of the disclosure, the page jump method provided by the embodiment of the disclosure further includes the following operations:
and responding to the page jump operation, and acquiring page structure information of the second page, wherein the page structure information represents the loading position of the page rendering data on the second page.
According to an embodiment of the present disclosure, loading the page rendering data to the second page includes:
and loading the page rendering data to a target position on the second page according to the page structure information.
According to an embodiment of the present disclosure, the load position may be represented by two-dimensional coordinates of the page rendering data on the second page.
According to embodiments of the present disclosure, the page structure information may include, for example, a plurality of data pairs, each of which may include page rendering data, and a load location corresponding thereto, e.g., data pair C { C }1(25, 36) }, wherein, C1May represent page rendering data, (25, 36) may represent C1A load location on the second page.
According to the embodiment of the present disclosure, the origin of the two-dimensional coordinate may be, for example, an intersection of any two sides of the second page, but is not limited thereto, and the origin of the two-dimensional coordinate may also be, for example, a geometric center of the second page.
According to the embodiment of the disclosure, after the page structure information of the second page is obtained, the page rendering data can be loaded to the target position on the second page according to the page structure information, for example, the data pair C { C }1(25, 36) } so that the page can be rendered to data C1And loading to a target position with the coordinates (25, 36) of the second page.
FIG. 6 schematically shows a flowchart of a page jump method according to another embodiment of the present disclosure.
As shown in fig. 6, the page jump method of this embodiment includes operation S501 and operations S601 to S602. Operation S501 is the same as or similar to the method described above with reference to fig. 5, and is not described herein again.
In operation S601, in the case that there is no request in the global variable, a new request for acquiring page rendering data for rendering the second page is sent to the server again based on the second page.
In operation S602, page rendering data is called from a server by an interface calling method.
According to the embodiment of the disclosure, in a case that the request does not exist in the global variable, for example, after a request for acquiring page rendering data for rendering a second page is sent to the server, the request is directly released, so that a new request for acquiring page rendering data for rendering the second page can be sent to the server again based on the second page.
Fig. 7 schematically illustrates a schematic diagram of a page jump method provided by an embodiment of the present disclosure.
The page jump method of the embodiment of the present disclosure is specifically described below with reference to fig. 7 and the specific embodiment, but it should be noted that the following description is only used to help those skilled in the art understand the embodiment of the present disclosure, and does not make any undue limitation on the embodiment of the present disclosure.
In fig. 7, 701 may represent a first page, which may be, for example, a first page for checking an express applet, and a page jump control 702 may be included in the first page; when the user 703 wants to query the detailed information of the posted courier 1, the page jump control 702 may be clicked.
When the user 703 clicks the page jump control 702, the terminal device may obtain a page jump operation initiated by the user 703 clicking the page jump control 703, at this time, the terminal device may send a request for obtaining page rendering data for rendering a second page to the server 704, and may generate the second page 704 while sending the request to the server 704, where the second page 705 may be a blank page.
Then jumping from the first page 701 to the second page 705, receiving page rendering data sent by the server end in response to the request in the process of jumping from the first page 701 to the second page 705, and then rendering the second page 705 according to the page rendering data to generate a rendered second page 706.
The page rendering data may include, for example, main title data, subtitle data, and content data, corresponding to main title 707, subtitle 708, and content 709, respectively, on the second page 706. The page structure information acquired in response to the page jump operation may include a first data pair consisting of the main title data and the two-dimensional coordinates of the main title 707 on the second page, a second data pair consisting of the subtitle data and the two-dimensional coordinates of the subtitle 708 on the second page, and a third data pair consisting of the content data and the two-dimensional coordinates of the content 709 on the second page. Thus, the main title data, the subtitle data, and the content data may be loaded to the main title 707, the subtitle 708, and the content 709 on the second page 706, respectively, according to the page structure information to complete the rendering of the second page 706.
Based on the page jump method, the disclosure also provides a page jump device. The apparatus will be described in detail below with reference to fig. 8.
Fig. 8 schematically shows a block diagram of a structure of a page jump apparatus according to an embodiment of the present disclosure.
As shown in fig. 8, the page jump apparatus 800 of this embodiment includes a sending module 801, a jump module 802, a receiving module 803, and a rendering module 804.
The sending module 801 is configured to send, to the server, a request for obtaining page rendering data for rendering a second page, when obtaining a page jump operation initiated on the first page. In an embodiment, the sending module 801 may be configured to perform the operation S201 described above, which is not described herein again.
The jump module 802 is configured to jump from a first page to a second page in response to a page jump operation. In an embodiment, the skip module 802 may be configured to perform the operation S202 described above, which is not described herein again.
The receiving module 803 is used for receiving the page rendering data sent by the server in response to the request. In an embodiment, the receiving module 830 may be configured to perform the operation S203 described above, and is not described herein again.
The rendering module 804 is configured to render the second page according to the page rendering data. In an embodiment, the rendering module 804 may be configured to perform the operation S204 described above, which is not described herein again.
According to an embodiment of the present disclosure, the page jump apparatus 800 further includes a storage module.
And the storage module is used for storing the request to the global variable after sending the request for acquiring the page rendering data for rendering the second page to the server.
According to the embodiment of the present disclosure, the page jump apparatus 800 further includes a determining module and a first receiving module.
And the judging module is used for judging whether the request exists in the global variable under the condition that the jump from the first page to the second page is determined.
And the first receiving module is used for storing the received page rendering data sent by the server end in response to the request in the global variable under the condition that the request exists in the global variable so as to obtain the page rendering data from the global variable when the second page is rendered.
According to an embodiment of the present disclosure, the page jump apparatus 800 further includes a first sending module and a calling module.
And the first sending module is used for sending a new request for acquiring page rendering data for rendering the second page to the server again based on the second page under the condition that the request does not exist in the global variable.
And the calling module is used for calling the page rendering data from the server side in an interface calling mode.
According to an embodiment of the present disclosure, the rendering module 804 includes a lookup unit, an acquisition unit, and a loading unit.
And the searching unit is used for searching the request from the global variable.
And the acquisition unit is used for acquiring the page rendering data corresponding to the request according to the request.
And the loading unit is used for loading the page rendering data to the second page so as to render the second page.
According to an embodiment of the present disclosure, the page jump apparatus 800 further includes an obtaining module.
And the obtaining module is used for responding to the page jump operation and obtaining the page structure information of the second page, wherein the page structure information represents the loading position of the page rendering data on the second page.
According to an embodiment of the present disclosure, a load unit includes a load subunit.
And the loading subunit is used for loading the page rendering data to the target position on the second page according to the page structure information.
According to the embodiment of the disclosure, any plurality of the sending module 801, the skipping module 802, the receiving module 803 and the rendering module 804 may be combined and implemented in one module, or any one of them may be split into a plurality of modules. Alternatively, at least part of the functionality of one or more of these modules may be combined with at least part of the functionality of the other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the sending module 801, the skipping module 802, the receiving module 803 and the rendering module 804 may be implemented at least partially as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented in hardware or firmware in any other reasonable manner of integrating or packaging a circuit, or in any one of three implementations of software, hardware and firmware, or in any suitable combination of any of them. Alternatively, at least one of the sending module 801, the jumping module 802, the receiving module 803, and the rendering module 804 may be at least partially implemented as a computer program module that, when executed, may perform corresponding functions.
Fig. 9 schematically shows a block diagram of an electronic device adapted to implement a page jump method according to an embodiment of the present disclosure.
As shown in fig. 9, an electronic apparatus 900 according to an embodiment of the present disclosure includes a processor 901 which can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)902 or a program loaded from a storage portion 908 into a Random Access Memory (RAM) 903. Processor 901 may comprise, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or associated chipset, and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), among others. The processor 901 may also include on-board memory for caching purposes. The processor 901 may comprise a single processing unit or a plurality of processing units for performing the different actions of the method flows according to embodiments of the present disclosure.
In the RAM 903, various programs and data necessary for the operation of the electronic apparatus 900 are stored. The processor 901, the ROM 902, and the RAM 903 are connected to each other through a bus 904. The processor 901 performs various operations of the method flows according to the embodiments of the present disclosure by executing programs in the ROM 902 and/or the RAM 903. Note that the programs may also be stored in one or more memories other than the ROM 902 and the RAM 903. The processor 901 may also perform various operations of the method flows according to embodiments of the present disclosure by executing programs stored in the one or more memories.
Electronic device 900 may also include input/output (I/O) interface 905, input/output (I/O) interface 905 also connected to bus 904, according to an embodiment of the present disclosure. The electronic device 900 may also include one or more of the following components connected to the I/O interface 905: an input portion 906 including a keyboard, a mouse, and the like; an output section 907 including components such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 908 including a hard disk and the like; and a communication section 909 including a network interface card such as a LAN card, a modem, or the like. The communication section 909 performs communication processing via a network such as the internet. The drive 910 is also connected to the I/O interface 905 as necessary. A removable medium 911 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 910 as necessary, so that a computer program read out therefrom is mounted into the storage section 908 as necessary.
The present disclosure also provides a computer-readable storage medium, which may be contained in the apparatus/device/system described in the above embodiments; or may exist separately and not be assembled into the device/apparatus/system. The computer-readable storage medium carries one or more programs which, when executed, implement the method according to an embodiment of the disclosure.
According to embodiments of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, which may include, for example but is not limited to: 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), 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. For example, according to embodiments of the present disclosure, a computer-readable storage medium may include the ROM 902 and/or the RAM 903 described above and/or one or more memories other than the ROM 902 and the RAM 903.
Embodiments of the present disclosure also include a computer program product comprising a computer program containing program code for performing the method illustrated in the flow chart. When the computer program product runs in a computer system, the program code is used for causing the computer system to realize the page jump method provided by the embodiment of the disclosure.
The computer program performs the above-described functions defined in the system/apparatus of the embodiments of the present disclosure when executed by the processor 901. The systems, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
In one embodiment, the computer program may be hosted on a tangible storage medium such as an optical storage device, a magnetic storage device, or the like. In another embodiment, the computer program may also be transmitted, distributed in the form of a signal on a network medium, and downloaded and installed through the communication section 909 and/or installed from the removable medium 911. The computer program containing program code may be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 909, and/or installed from the removable medium 911. The computer program, when executed by the processor 901, performs the above-described functions defined in the system of the embodiment of the present disclosure. The systems, devices, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
In accordance with embodiments of the present disclosure, program code for executing computer programs provided by embodiments of the present disclosure may be written in any combination of one or more programming languages, and in particular, these computer programs may be implemented using high level procedural and/or object oriented programming languages, and/or assembly/machine languages. The programming language includes, but is not limited to, programming languages such as Java, C + +, python, the "C" language, or the like. The program code may execute entirely on the user computing device, partly on the user device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., 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 or flowchart illustration, and combinations of blocks in the block diagrams 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.
Those skilled in the art will appreciate that various combinations and/or combinations of features recited in the various embodiments and/or claims of the present disclosure can be made, even if such combinations or combinations are not expressly recited in the present disclosure. In particular, various combinations and/or combinations of the features recited in the various embodiments and/or claims of the present disclosure may be made without departing from the spirit or teaching of the present disclosure. All such combinations and/or associations are within the scope of the present disclosure.
The embodiments of the present disclosure have been described above. However, these examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described separately above, this does not mean that the measures in the embodiments cannot be used in advantageous combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be devised by those skilled in the art without departing from the scope of the present disclosure, and such alternatives and modifications are intended to be within the scope of the present disclosure.

Claims (11)

1. A page jump method comprises the following steps:
under the condition that a page jump operation initiated on a first page is acquired, sending a request for acquiring page rendering data for rendering a second page to a server;
jumping from the first page to the second page in response to the page jump operation;
receiving page rendering data sent by the server in response to the request; and
rendering the second page according to the page rendering data.
2. The method of claim 1, wherein after sending a request to the server for obtaining page rendering data for rendering the second page, the method further comprises:
storing the request to a global variable.
3. The method of claim 1, further comprising:
determining whether the request exists in a global variable if it is determined that the jump has been made from the first page to the second page;
and under the condition that the request exists in the global variable, storing the received page rendering data sent by the server end in response to the request in the global variable so as to obtain the page rendering data from the global variable when the second page is rendered.
4. The method of claim 3, wherein in the absence of the request in the global variable, the method further comprises:
based on the second page, sending a new request for acquiring page rendering data for rendering the second page to the server again;
and calling the page rendering data from the server side in an interface calling mode.
5. The method of claim 2, wherein said rendering the second page according to the page rendering data comprises:
looking up the request from the global variable;
according to the request, acquiring the page rendering data corresponding to the request;
and loading the page rendering data to the second page so as to render the second page.
6. The method of claim 1, further comprising:
and responding to the page jump operation, and acquiring page structure information of the second page, wherein the page structure information represents a loading position of the page rendering data on the second page.
7. The method of claim 6, wherein the loading the page rendering data to the second page comprises:
and loading the page rendering data to a target position on the second page according to the page structure information.
8. A page jump apparatus comprising:
the sending module is used for sending a request for obtaining page rendering data for rendering a second page to the server side under the condition of obtaining the page jump operation initiated on the first page;
a jump module for jumping from the first page to the second page in response to the page jump operation;
a receiving module, configured to receive page rendering data sent by the server in response to the request; and
and the rendering module is used for rendering the second page according to the page rendering data.
9. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method of any of claims 1-7.
10. A computer readable storage medium having stored thereon executable instructions which, when executed by a processor, cause the processor to perform the method of any one of claims 1 to 7.
11. A computer program product comprising a computer program which, when executed by a processor, implements a method according to any one of claims 1 to 7.
CN202110833680.5A 2021-07-22 2021-07-22 Page skipping method and device Pending CN113434241A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110833680.5A CN113434241A (en) 2021-07-22 2021-07-22 Page skipping method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110833680.5A CN113434241A (en) 2021-07-22 2021-07-22 Page skipping method and device

Publications (1)

Publication Number Publication Date
CN113434241A true CN113434241A (en) 2021-09-24

Family

ID=77761575

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110833680.5A Pending CN113434241A (en) 2021-07-22 2021-07-22 Page skipping method and device

Country Status (1)

Country Link
CN (1) CN113434241A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114201257A (en) * 2021-12-10 2022-03-18 拉扎斯网络科技(上海)有限公司 Content rendering method, apparatus, electronic device, storage medium, and program product
CN115687829A (en) * 2022-12-29 2023-02-03 四川绿源集科技有限公司 Page jump method and device, computer readable storage medium and electronic equipment
CN115842865A (en) * 2022-11-23 2023-03-24 紫光云技术有限公司 Method for mobile terminal to dynamically control network request
CN115904444A (en) * 2022-12-10 2023-04-04 中电金信软件有限公司 Network application display method and device and computer equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109213947A (en) * 2018-08-31 2019-01-15 北京京东金融科技控股有限公司 Browser page methods of exhibiting, device, electronic equipment and readable medium
CN111881393A (en) * 2020-07-22 2020-11-03 北京三快在线科技有限公司 Page rendering method, device, medium and electronic equipment
CN112559086A (en) * 2020-12-25 2021-03-26 北京百度网讯科技有限公司 Applet page rendering method and device, electronic equipment and readable storage medium
CN113032702A (en) * 2019-12-06 2021-06-25 北京沃东天骏信息技术有限公司 Page loading method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109213947A (en) * 2018-08-31 2019-01-15 北京京东金融科技控股有限公司 Browser page methods of exhibiting, device, electronic equipment and readable medium
CN113032702A (en) * 2019-12-06 2021-06-25 北京沃东天骏信息技术有限公司 Page loading method and device
CN111881393A (en) * 2020-07-22 2020-11-03 北京三快在线科技有限公司 Page rendering method, device, medium and electronic equipment
CN112559086A (en) * 2020-12-25 2021-03-26 北京百度网讯科技有限公司 Applet page rendering method and device, electronic equipment and readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
日沉云起: "算法详解 C++11 语言描述", 31 May 2021, 中国铁道出版社有限公司, pages: 196 - 78 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114201257A (en) * 2021-12-10 2022-03-18 拉扎斯网络科技(上海)有限公司 Content rendering method, apparatus, electronic device, storage medium, and program product
CN115842865A (en) * 2022-11-23 2023-03-24 紫光云技术有限公司 Method for mobile terminal to dynamically control network request
CN115904444A (en) * 2022-12-10 2023-04-04 中电金信软件有限公司 Network application display method and device and computer equipment
CN115687829A (en) * 2022-12-29 2023-02-03 四川绿源集科技有限公司 Page jump method and device, computer readable storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN113434241A (en) Page skipping method and device
CN107656768B (en) Method and system for controlling page jump
CN111338623B (en) Method, device, medium and electronic equipment for developing user interface
CN110888696A (en) Page display method and system, computer system and computer readable medium
CN113900834A (en) Data processing method, device, equipment and storage medium based on Internet of things technology
CN113505302A (en) Method, device and system for supporting dynamic acquisition of buried point data and electronic equipment
CN113536253A (en) Method, apparatus, device and medium for controlling display authority of page element
CN115470432A (en) Page rendering method and device, electronic equipment and computer readable medium
CN112965916B (en) Page testing method, page testing device, electronic equipment and readable storage medium
CN114237651A (en) Installation method and device of cloud native application, electronic equipment and medium
CN113132400B (en) Business processing method, device, computer system and storage medium
CN116561013B (en) Testing method and device based on target service framework, electronic equipment and medium
CN110618811B (en) Information presentation method and device
CN110619101B (en) Method and apparatus for processing information
CN113553123B (en) Data processing method, device, electronic equipment and storage medium
CN112506781B (en) Test monitoring method, device, electronic equipment, storage medium and program product
CN112988604A (en) Object testing method, testing system, electronic device and readable storage medium
CN113656041A (en) Data processing method, device, equipment and storage medium
CN113448578A (en) Page data processing method, processing system, electronic device and readable storage medium
CN113596164A (en) Data access method, device, system, equipment and medium
CN113434572A (en) Data query method, query system, device, storage medium and program product
CN113176907A (en) Interface data calling method and device, computer system and readable storage medium
CN112835671A (en) Application page scene switching method, device and equipment
CN113778566A (en) Native application calling method and device, electronic equipment and computer readable medium
CN114510309B (en) Animation effect setting method, device, equipment 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