CN114385273A - Page display method and device - Google Patents

Page display method and device Download PDF

Info

Publication number
CN114385273A
CN114385273A CN202210298568.0A CN202210298568A CN114385273A CN 114385273 A CN114385273 A CN 114385273A CN 202210298568 A CN202210298568 A CN 202210298568A CN 114385273 A CN114385273 A CN 114385273A
Authority
CN
China
Prior art keywords
page
displayed
plug
server
information
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
CN202210298568.0A
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.)
Shenzhen Dimension Data Technology Co ltd
Original Assignee
Shenzhen Dimension Data 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 Shenzhen Dimension Data Technology Co ltd filed Critical Shenzhen Dimension Data Technology Co ltd
Priority to CN202210298568.0A priority Critical patent/CN114385273A/en
Publication of CN114385273A publication Critical patent/CN114385273A/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/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
    • 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/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons

Landscapes

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

Abstract

The embodiment of the application provides a page display method and a page display device, wherein the method comprises the following steps: sending a display request of a page to be displayed of a first application to a server; receiving page information of a page to be displayed, which is sent by a server, wherein the page information comprises a page type of the page to be displayed; determining a plug-in corresponding to the page to be displayed according to the page type of the page to be displayed; and loading the plug-in corresponding to the page to be displayed, and displaying the page to be displayed. By the method, the relevant plug-ins required by the page can be loaded when the application is used for displaying the page, so that the space occupation condition of the irrelevant plug-ins is reduced, and the size of the application package required to be installed is reduced.

Description

Page display method and device
Technical Field
The invention relates to the technical field of information, in particular to a page display method and device.
Background
The function presentation of the mobile terminal application is essentially built by combining various different types of pages. In order to implement different functions in different types of pages, each type of page may contain a plurality of plug-ins that implement different functions.
In the related art, developers mainly encode each page of an application, construct each page, and add plug-ins required by commonly used types of pages in an application package of the application. Subsequently, the terminal device may install the application using the application package.
However, because of the large number of types of pages, some applications do not necessarily need to use each page type, and thus some unnecessary functions may be loaded when the mobile terminal installs the application package, thereby occupying a storage space and increasing the size of the application package.
Disclosure of Invention
The embodiment of the application provides a page display method and device, and aims to solve the problem that an application package is large in the prior art.
In a first aspect, an embodiment of the present application provides a page display method, where the method includes:
sending a display request of a page to be displayed of a first application to a server;
receiving page information of the page to be displayed, which is sent by the server, wherein the page information comprises the page type of the page to be displayed;
determining a plug-in corresponding to the page to be displayed according to the page type of the page to be displayed;
and loading the plug-in corresponding to the page to be displayed, and displaying the page to be displayed.
In an optional implementation manner, a mapping relationship exists between the page type of the page to be displayed and the plug-in corresponding to the page to be displayed.
In an optional implementation manner, after determining the plug-in corresponding to the page to be displayed, the method further includes:
determining whether a plug-in corresponding to the page to be displayed exists locally;
if not, sending an acquisition request to the server, wherein the acquisition request is used for requesting to acquire a plug-in corresponding to the page to be displayed from a plug-in library of the server;
and receiving a plug-in corresponding to the page to be displayed sent by the server.
In an optional implementation manner, after determining whether a plug-in corresponding to the page to be displayed exists locally, the method further includes:
and if so, acquiring the plug-in corresponding to the page to be displayed from the local storage.
In an optional implementation manner, the page information of the first application further includes page configuration information of the page to be displayed.
In an optional implementation manner, the loading a plug-in corresponding to the page to be displayed and displaying the page to be displayed includes:
hot loading the plug-in corresponding to the page to be displayed;
initializing the page to be displayed according to the page configuration information of the page to be displayed;
and displaying the page to be displayed.
In a second aspect, an embodiment of the present application provides a page display method, where the method includes:
receiving a display request of a page to be displayed of a first application sent by a terminal device;
determining page information of the page to be displayed from a database, wherein the page information comprises a page type of the page to be displayed, and the page type of the page to be displayed is used for determining a plug-in corresponding to the page to be displayed;
and sending the page information of the page to be displayed to the terminal equipment.
In a third aspect, an embodiment of the present application provides a page display apparatus, where the apparatus includes:
the sending module is used for sending a display request of a page to be displayed of the first application to the server;
the receiving module is used for receiving the page information of the page to be displayed, which is sent by the server, wherein the page information comprises the page type of the page to be displayed;
the processing module is used for determining a plug-in corresponding to the page to be displayed according to the page type of the page to be displayed; and loading the plug-in corresponding to the page to be displayed, and displaying the page to be displayed.
In an optional implementation manner, a mapping relationship exists between the page type of the page to be displayed and the plug-in corresponding to the page to be displayed.
In an optional implementation manner, the processing module is further configured to determine whether a plug-in corresponding to the page to be displayed exists locally;
the sending module is further configured to send an obtaining request to the server if the page to be displayed is not displayed, where the obtaining request is used to request to obtain a plug-in corresponding to the page to be displayed from a plug-in library of the server;
the receiving module is further configured to receive a plug-in corresponding to the page to be displayed, which is sent by the server.
In an optional implementation manner, the processing module is further configured to, if yes, obtain a plug-in corresponding to the page to be displayed from a local storage.
In an optional implementation manner, the page information of the first application further includes page configuration information of the page to be displayed.
In an optional implementation manner, the processing module is specifically configured to hot-load a plug-in corresponding to the page to be displayed; initializing the page to be displayed according to the page configuration information of the page to be displayed; and displaying the page to be displayed.
In a fourth aspect, an embodiment of the present application provides a page display apparatus, where the apparatus includes:
the receiving module is used for receiving a display request of a page to be displayed of a first application sent by the terminal equipment;
the processing module is used for determining page information of the page to be displayed from a database, wherein the page information comprises the page type of the page to be displayed;
and the sending module is used for sending the page information of the page to be displayed to the terminal equipment.
In a fifth aspect, the present application further provides a terminal device, including: a processor, and a memory;
the memory is for storing a computer program for the processor; the processor is configured to implement any one of the possible methods of the first aspect by executing the computer program.
In a sixth aspect, the present application further provides a server, including: a processor, and a memory;
the memory is for storing a computer program for the processor; the processor is configured to implement any two possible methods of the first aspect by executing the computer program.
In a seventh aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program of instructions for implementing any one of the possible methods of the first aspect when executed by a processor.
In an eighth aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program of instructions for implementing any one of the possible methods of the second aspect when executed by a processor.
According to the page display method and device provided by the embodiment of the application, a display request of a page to be displayed of a first application is sent to a server. And secondly, receiving page information of the page to be displayed, which is sent by the server, wherein the page information comprises the page type of the page to be displayed. And thirdly, determining the plug-in corresponding to the page to be displayed according to the page type of the page to be displayed. And finally, loading the plug-in corresponding to the page to be displayed, and displaying the page to be displayed. By the method, the relevant plug-ins required by the page can be loaded when the application is used for displaying the page, so that the space occupation condition of the irrelevant plug-ins is reduced, and the size of the application package required to be installed is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the following briefly introduces the drawings needed to be used in the description of the embodiments or the prior art, and obviously, the drawings in the following description are some embodiments of the present invention, and those skilled in the art can obtain other drawings according to the drawings without inventive labor.
Fig. 1 is a schematic view of an application scenario of a log mask method according to an embodiment of the present application;
fig. 2 is a signaling interaction intention of a page display method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a page display method according to an embodiment of the present application;
fig. 4 is a schematic flowchart of another page display method according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a page display device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of another page display device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The function presentation of the mobile terminal application is essentially built by combining various different types of pages. In order to implement different functions in different types of pages, each type of page may contain a plurality of plug-ins that implement different functions.
In the related art, developers mainly encode each page of an application, construct each page, and add plug-ins required by commonly used types of pages in an application package of the application. Subsequently, the terminal device may install the application using the application package.
However, because of the large number of types of pages, some applications do not necessarily need to use each page type, and thus some unnecessary functions may be loaded when the mobile terminal installs the application package, thereby occupying a storage space and increasing the size of the application package.
In order to solve the above problem, embodiments of the present application provide a page display method and apparatus, where a terminal device loads a plug-in corresponding to a page when displaying the page to be displayed, so as to display the page to be displayed. By the method, the space occupation condition of irrelevant plug-ins in the terminal equipment can be reduced, and the size of the application package to be installed is reduced.
An application scenario of the log mask method according to the present application is described below.
Fig. 1 is a schematic view of an application scenario of a page display according to an embodiment of the present application. As shown in fig. 1, when the terminal device 101 needs to display a certain page in a certain application, a display request of the page to be displayed may be sent to the server 102. Subsequently, the server 102 may transmit the page type of the page to be displayed to the terminal device 101. The terminal device 101 may determine the plug-in corresponding to the page to be displayed according to the page type, so as to load the plug-in corresponding to the page to be displayed and display the page to be displayed.
The terminal device 101 may be a mobile phone (mobile phone), a tablet (pad), a computer with a wireless transceiving function, a Virtual Reality (VR) terminal device, an Augmented Reality (AR) terminal device, a wireless terminal in industrial control (industrial control), a wireless terminal in unmanned driving (self driving), a wireless terminal in remote surgery (remote medical supply), a wireless terminal in smart grid (smart grid), a wireless terminal in smart home (smart home), and the like. In the embodiment of the present application, the apparatus for implementing the function of the terminal may be the terminal, or may be an apparatus capable of supporting the terminal to implement the function, such as a chip system, and the apparatus may be installed in the terminal. In the embodiment of the present application, the chip system may be composed of a chip, and may also include a chip and other discrete devices.
Server 102 may be, but is not limited to, a single web server, a server farm of multiple web servers, or a cloud of numerous computers or web servers based on cloud computing. Cloud computing is a kind of distributed computing, and is a super virtual computer composed of a group of loosely coupled computers.
It should be understood that the application scenario of the present technical solution may be the page display scenario in fig. 1, but is not limited thereto, and may also be applied to other scenarios that need to perform page display.
It can be understood that the page display method can be implemented by the page display apparatus provided in the embodiment of the present application, and the page display apparatus may be a part or all of a certain device, for example, a terminal device or a chip of the terminal device.
The following takes a server integrated or installed with relevant execution codes as an example, and details the technical solution of the embodiment of the present application with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
Fig. 2 is a signaling interaction intention of a page display method provided in an embodiment of the present application, where the embodiment relates to a process of how a terminal device displays a page to be displayed. As shown in fig. 2, the page display method includes:
s201, the terminal device sends a display request of a page to be displayed of the first application to the server.
In this application, when the terminal device detects that a user triggers a related control to attempt to open a certain page to be displayed in the first application, the terminal device may send a display request of the page to be displayed of the first application to the server.
It should be understood that, the embodiment of the present application is not limited to the first application, and may be any application on the terminal device. It should be understood that, the page to be displayed is also not limited in the embodiment of the present application, and may be any page in the first application.
S202, the server determines page information of the page to be displayed from the database, wherein the page information comprises the page type of the page to be displayed.
In this step, after the server receives a display request of the page to be displayed of the first application sent by the terminal device, the page information of the page to be displayed may be determined from the database.
It should be noted that, the embodiment of the present application is not limited to how to determine the page information of the page to be displayed from the database, and in some embodiments, the display request of the page to be displayed may include an identifier of the page to be displayed. After the server receives a display request of the page to be displayed based on the page information interface, the page information of the page to be displayed can be determined according to the identification of the page to be displayed.
The page type of the page to be displayed is not limited in the embodiment of the application, and may exemplarily include a home page of the first application, a login page of the first application, a directory page of the first application, and the like.
S203, the server sends page information of the page to be displayed to the terminal equipment.
In this step, after the server determines the page information of the page to be displayed from the database, the server may send the page information of the page to be displayed to the terminal device.
S204, the terminal equipment determines the plug-in corresponding to the page to be displayed according to the page type of the page to be displayed.
In this step, after the terminal device receives the page information of the page to be displayed, which is sent by the server, the terminal device may determine the plug-in corresponding to the page to be displayed according to the page type of the page to be displayed.
It should be understood that, in some embodiments, a mapping relationship exists between the page type of the page to be displayed and the plug-in corresponding to the page to be displayed, and the terminal device may determine the plug-in corresponding to the page to be displayed based on the mapping relationship existing between the page type of the page to be displayed and the plug-in corresponding to the page to be displayed and the page type of the page to be displayed sent by the server.
In some embodiments, after the terminal device determines the plug-in corresponding to the page to be displayed, it may also determine whether the plug-in corresponding to the page to be displayed exists locally. And if the plug-in corresponding to the page to be displayed exists locally, the terminal equipment directly acquires the plug-in corresponding to the page to be displayed from the local storage. If the plug-in corresponding to the page to be displayed does not exist locally, the terminal device may send an acquisition request to the server, where the acquisition request is used to request to acquire the plug-in corresponding to the page to be displayed from a plug-in library of the server. Subsequently, the server can obtain the plug-in corresponding to the page to be displayed from the plug-in library based on the obtaining request. And finally, the terminal equipment can receive the plug-in corresponding to the page to be displayed, which is sent by the server.
It should be noted that, in the process of developing a new page type, a developer may update the plug-in corresponding to the new page type into the plug-in library, so that the terminal device may obtain the plug-in of the new page type from the plug-in library of the server.
S205, the terminal equipment loads the plug-in corresponding to the page to be displayed and displays the page to be displayed.
In this step, after determining the plug-in corresponding to the page to be displayed, the terminal device may load the plug-in corresponding to the page to be displayed, and display the page to be displayed.
It should be understood that, in this embodiment of the present application, how to display a page to be displayed is not limited, and in some embodiments, the terminal device may first hot load a plug-in corresponding to the page to be displayed. Subsequently, the terminal device may initialize the page to be displayed according to the page configuration information of the page to be displayed. Finally, the terminal device may display the page to be displayed.
According to the page display method provided by the embodiment of the application, firstly, the coupling between the pages can be reduced, and if a certain page has a problem, other pages cannot be affected. And secondly, when the page is iterated, a new page plug-in can be obtained in real time, so that the interruption and gradual iteration can be completed quickly, and the influence on project delivery work is minimized. And thirdly, by loading the corresponding plug-in when the page is displayed, the version controllability is good, each page type designer has version control, and the new version can not influence the use of the old version. Finally, the installed application package is relatively small, and a user only needs to load the page and the related plug-ins which can be used by the user, so that the space occupation condition of irrelevant content and irrelevant system updating are reduced.
According to the page display method provided by the embodiment of the application, a display request of a page to be displayed of a first application is sent to a server. And secondly, receiving page information of the page to be displayed, which is sent by the server, wherein the page information comprises the page type of the page to be displayed. And thirdly, determining the plug-in corresponding to the page to be displayed according to the page type of the page to be displayed. And finally, loading the plug-in corresponding to the page to be displayed, and displaying the page to be displayed. By the method, the relevant plug-ins required by the page can be loaded when the application is used for displaying the page, so that the space occupation condition of the irrelevant plug-ins is reduced, and the size of the application package required to be installed is reduced.
On the basis of the above embodiment, how to load the plug-in corresponding to the page to be displayed by the terminal device is described below. Fig. 3 is a schematic flowchart of a page display method provided in an embodiment of the present application, where an execution subject of the method is a terminal device, and as shown in fig. 3, the page display method includes:
s301, sending a display request of a page to be displayed of the first application to the server.
S302, receiving page information of the page to be displayed, which is sent by the server, wherein the page information comprises the page type of the page to be displayed.
S303, determining a plug-in corresponding to the page to be displayed according to the page type of the page to be displayed.
S304, determining whether a plug-in corresponding to the page to be displayed exists locally.
If yes, step S307 is executed, and if no, step S305 is executed.
S305, sending an acquisition request to a server, wherein the acquisition request is used for requesting to acquire a plug-in corresponding to a page to be displayed from a plug-in library of the server;
s306, receiving the plug-in corresponding to the page to be displayed sent by the server.
S307, obtaining the plug-in corresponding to the page to be displayed from the local storage.
After step S306 and step S307, step S308 is performed.
And S308, loading the plug-in corresponding to the page to be displayed, and displaying the page to be displayed.
On the basis of the above-described embodiments, how the terminal device displays a page to be displayed is described below. Fig. 4 is a schematic flowchart of another page display method provided in an embodiment of the present application, where an execution subject of the method is a terminal device, and as shown in fig. 4, the page display method includes:
s401, a display request of a page to be displayed of a first application is sent to a server.
S402, receiving page information of the page to be displayed, which is sent by the server, wherein the page information comprises the page type of the page to be displayed.
S403, determining a plug-in corresponding to the page to be displayed according to the page type of the page to be displayed.
S404, hot loading the plug-in corresponding to the page to be displayed.
S405, initializing the page to be displayed according to the page configuration information of the page to be displayed.
And S406, displaying the page to be displayed.
According to the page display method provided by the embodiment of the application, a display request of a page to be displayed of a first application is sent to a server. And secondly, receiving page information of the page to be displayed, which is sent by the server, wherein the page information comprises the page type of the page to be displayed. And thirdly, determining the plug-in corresponding to the page to be displayed according to the page type of the page to be displayed. And finally, loading the plug-in corresponding to the page to be displayed, and displaying the page to be displayed. By the method, the relevant plug-ins required by the page can be loaded when the application is used for displaying the page, so that the space occupation condition of the irrelevant plug-ins is reduced, and the size of the application package required to be installed is reduced.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Fig. 5 is a schematic structural diagram of a page display device according to an embodiment of the present application. The page display apparatus may be implemented by software, hardware or a combination of the two, and may be, for example, the terminal device or the chip of the terminal device in the foregoing embodiment, so as to execute the page display method in the foregoing embodiment. As shown in fig. 5, the page display apparatus 500 includes:
a sending module 501, configured to send a display request of a to-be-displayed page of a first application to a server;
a receiving module 502, configured to receive page information of a page to be displayed, where the page information includes a page type of the page to be displayed, and the page information is sent by a server;
the processing module 503 is configured to determine a plug-in corresponding to the page to be displayed according to the page type of the page to be displayed; and loading the plug-in corresponding to the page to be displayed, and displaying the page to be displayed.
In an optional implementation manner, a mapping relationship exists between the page type of the page to be displayed and the plug-in corresponding to the page to be displayed.
In an optional implementation manner, the processing module 503 is further configured to determine whether a plug-in corresponding to the page to be displayed exists locally;
the sending module 501 is further configured to send an obtaining request to the server if the page to be displayed is not displayed, where the obtaining request is used to request to obtain a plug-in corresponding to the page to be displayed from a plug-in library of the server;
the receiving module 502 is further configured to receive a plug-in corresponding to the page to be displayed, where the plug-in is sent by the server.
In an optional implementation manner, the processing module 503 is further configured to, if yes, obtain a plug-in corresponding to the page to be displayed from the local storage.
In an optional implementation manner, the page information of the first application further includes page configuration information of a page to be displayed.
In an optional embodiment, the processing module 503 is specifically configured to hot-load a plug-in corresponding to a page to be displayed; initializing a page to be displayed according to page configuration information of the page to be displayed; and displaying the page to be displayed.
It should be noted that the page display apparatus provided in the embodiment shown in fig. 5 may be used to execute the method on the terminal device side provided in any of the above embodiments, and the specific implementation manner and the technical effect are similar, and are not described herein again.
Fig. 6 is a schematic structural diagram of another page display device according to an embodiment of the present application. The page display device may be implemented by software, hardware or a combination of the two, and may be, for example, a server or a chip of the server in the above embodiments, to execute the page display method in the above embodiments. As shown in fig. 6, the page display apparatus 600 includes:
a receiving module 601, configured to receive a display request of a to-be-displayed page of a first application sent by a terminal device;
the processing module 602 is configured to determine page information of a page to be displayed from a database, where the page information includes a page type of the page to be displayed, and the page type of the page to be displayed is used to determine a plug-in corresponding to the page to be displayed;
the sending module 603 is configured to send page information of a page to be displayed to the terminal device.
It should be noted that the page display apparatus provided in the embodiment shown in fig. 6 may be used to execute the method on the server side provided in any of the above embodiments, and the specific implementation manner and the technical effect are similar, and are not described herein again.
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 7, the electronic device may include: at least one processor 701 and a memory 702. Fig. 7 shows an electronic device such as a logistics management server, an inventory management server or an application server, for example, using a processor.
And a memory 702 for storing programs. In particular, the program may include program code including computer operating instructions.
The memory 702 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The processor 701 is configured to execute computer-executable instructions stored in the memory 702 to implement the page display method;
the processor 701 may be a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement the embodiments of the present Application.
Optionally, in a specific implementation, if the communication interface, the memory 702 and the processor 701 are implemented independently, the communication interface, the memory 702 and the processor 701 may be connected to each other through a bus and perform communication with each other. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. Buses may be classified as address buses, data buses, control buses, etc., but do not represent only one bus or type of bus.
Alternatively, in a specific implementation, if the communication interface, the memory 702 and the processor 701 are integrated into a chip, the communication interface, the memory 702 and the processor 701 may complete communication through an internal interface.
The embodiment of the application also provides a chip which comprises a processor and an interface. Wherein the interface is used for inputting and outputting data or instructions processed by the processor. The processor is configured to perform the methods provided in the above method embodiments. The chip can be applied to a page display device.
The present application also provides a computer-readable storage medium, which may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, are specifically, the computer-readable storage medium stores program information, and the program information is used for the page display method.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions according to the embodiments of the invention are brought about in whole or in part when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (16)

1. A page display method, characterized in that the method comprises:
sending a display request of a page to be displayed of a first application to a server;
receiving page information of the page to be displayed, which is sent by the server, wherein the page information comprises the page type of the page to be displayed;
determining a plug-in corresponding to the page to be displayed according to the page type of the page to be displayed;
and loading the plug-in corresponding to the page to be displayed, and displaying the page to be displayed.
2. The method according to claim 1, wherein a mapping relationship exists between the page type of the page to be displayed and the plug-in corresponding to the page to be displayed.
3. The method according to claim 1 or 2, wherein after the determining the plug-in corresponding to the page to be displayed, the method further comprises:
determining whether a plug-in corresponding to the page to be displayed exists locally;
if not, sending an acquisition request to the server, wherein the acquisition request is used for requesting to acquire a plug-in corresponding to the page to be displayed from a plug-in library of the server;
and receiving a plug-in corresponding to the page to be displayed sent by the server.
4. The method according to claim 3, wherein after the determining whether the plug-in corresponding to the page to be displayed exists locally, the method further comprises:
and if so, acquiring the plug-in corresponding to the page to be displayed from the local storage.
5. The method according to claim 1, wherein the page information of the first application further includes page configuration information of the page to be displayed.
6. The method according to claim 5, wherein the loading the plug-in corresponding to the page to be displayed and displaying the page to be displayed comprises:
hot loading the plug-in corresponding to the page to be displayed;
initializing the page to be displayed according to the page configuration information of the page to be displayed;
and displaying the page to be displayed.
7. A page display method, characterized in that the method comprises:
receiving a display request of a page to be displayed of a first application sent by a terminal device;
determining page information of the page to be displayed from a database, wherein the page information comprises a page type of the page to be displayed, and the page type of the page to be displayed is used for determining a plug-in corresponding to the page to be displayed;
and sending the page information of the page to be displayed to the terminal equipment.
8. A page display apparatus, characterized in that the apparatus comprises:
the sending module is used for sending a display request of a page to be displayed of the first application to the server;
the receiving module is used for receiving the page information of the page to be displayed, which is sent by the server, wherein the page information comprises the page type of the page to be displayed;
the processing module is used for determining a plug-in corresponding to the page to be displayed according to the page type of the page to be displayed; and loading the plug-in corresponding to the page to be displayed, and displaying the page to be displayed.
9. The apparatus according to claim 8, wherein a mapping relationship exists between the page type of the page to be displayed and the plug-in corresponding to the page to be displayed.
10. The apparatus according to claim 8 or 9, wherein the processing module is further configured to determine whether a plug-in corresponding to the page to be displayed exists locally;
the sending module is further configured to send an obtaining request to the server if the page to be displayed is not displayed, where the obtaining request is used to request to obtain a plug-in corresponding to the page to be displayed from a plug-in library of the server;
the receiving module is further configured to receive a plug-in corresponding to the page to be displayed, which is sent by the server.
11. The apparatus according to claim 10, wherein the processing module is further configured to, if yes, obtain a plug-in corresponding to the page to be displayed from a local storage.
12. The apparatus according to claim 8, wherein the page information of the first application further includes page configuration information of the page to be displayed.
13. The apparatus according to claim 12, wherein the processing module is specifically configured to hot-load a plug-in corresponding to the page to be displayed; initializing the page to be displayed according to the page configuration information of the page to be displayed; and displaying the page to be displayed.
14. A page display apparatus, characterized in that the apparatus comprises:
the receiving module is used for receiving a display request of a page to be displayed of a first application sent by the terminal equipment;
the processing module is used for determining page information of the page to be displayed from a database, wherein the page information comprises the page type of the page to be displayed;
and the sending module is used for sending the page information of the page to be displayed to the terminal equipment.
15. A computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the page display method according to any one of claims 1 to 14.
16. An electronic device, comprising: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the page display method according to any of claims 1-14.
CN202210298568.0A 2022-03-25 2022-03-25 Page display method and device Pending CN114385273A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210298568.0A CN114385273A (en) 2022-03-25 2022-03-25 Page display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210298568.0A CN114385273A (en) 2022-03-25 2022-03-25 Page display method and device

Publications (1)

Publication Number Publication Date
CN114385273A true CN114385273A (en) 2022-04-22

Family

ID=81205606

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210298568.0A Pending CN114385273A (en) 2022-03-25 2022-03-25 Page display method and device

Country Status (1)

Country Link
CN (1) CN114385273A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104077370A (en) * 2014-06-20 2014-10-01 可牛网络技术(北京)有限公司 Page data loading method and device
CN105446996A (en) * 2014-07-16 2016-03-30 阿里巴巴集团控股有限公司 Page display method and page display system
CN106484445A (en) * 2015-08-27 2017-03-08 阿里巴巴集团控股有限公司 The page display method of application program for mobile terminal and device
US20170169792A1 (en) * 2015-12-14 2017-06-15 Le Holdings (Beijing) Co., Ltd. Electronic device and method for releasing content to multiple terminals
CN113760438A (en) * 2021-09-22 2021-12-07 京东科技信息技术有限公司 Page display method and device for webpage application

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104077370A (en) * 2014-06-20 2014-10-01 可牛网络技术(北京)有限公司 Page data loading method and device
CN105446996A (en) * 2014-07-16 2016-03-30 阿里巴巴集团控股有限公司 Page display method and page display system
CN106484445A (en) * 2015-08-27 2017-03-08 阿里巴巴集团控股有限公司 The page display method of application program for mobile terminal and device
US20170169792A1 (en) * 2015-12-14 2017-06-15 Le Holdings (Beijing) Co., Ltd. Electronic device and method for releasing content to multiple terminals
CN113760438A (en) * 2021-09-22 2021-12-07 京东科技信息技术有限公司 Page display method and device for webpage application

Similar Documents

Publication Publication Date Title
CN102043645B (en) Plug-in loading method and device
CN111125057B (en) Method and device for processing service request and computer system
CN111865708A (en) Performance test method, platform, equipment and storage medium of Internet of things system
CN110007936B (en) Data processing method and device
CN106572146A (en) Message sending method and message sending device
CN113504918A (en) Equipment tree configuration optimization method and device, computer equipment and storage medium
CN110008431B (en) Page component construction method and device, page generation equipment and readable storage medium
CN110990116A (en) Method, device and system for transmitting data between intelligent network card and virtual machine
CN109697166B (en) Test data preparation method and related device
CN116737662A (en) Method, device, electronic equipment and storage medium for processing business data
CN114385273A (en) Page display method and device
CN113055250B (en) Networking communication method, device, terminal equipment and storage medium
CN111142972B (en) Method, apparatus, system, and medium for extending functions of application program
CN113805854A (en) Method, system and device for realizing Hook of application layer based on Linux system and storage medium
CN112651212A (en) Method and terminal for remotely acquiring word stock
CN113868231B (en) Data structure updating method and device
CN112073505A (en) Method for unloading on cloud server, control device and storage medium
CN110390064A (en) File updating method, device and system, storage medium and electronic device
CN114218281A (en) Method and device for generating unique identification number
CN112685097B (en) Data processing method and device
CN114860350B (en) Data processing method and device based on cloud diskless tree-like mirror image
CN114398038A (en) Page construction method and device
CN118519589B (en) Data processing method, distributed storage system, product, equipment and medium
US20240311097A1 (en) Cloud Technology-Based Graphics Program Online Development Method and System, and Related Device
US20210049025A1 (en) Electronic apparatus and object sharing method thereof

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20220422

RJ01 Rejection of invention patent application after publication