WO2019024754A1 - Page loading method, device, and system - Google Patents

Page loading method, device, and system Download PDF

Info

Publication number
WO2019024754A1
WO2019024754A1 PCT/CN2018/097186 CN2018097186W WO2019024754A1 WO 2019024754 A1 WO2019024754 A1 WO 2019024754A1 CN 2018097186 W CN2018097186 W CN 2018097186W WO 2019024754 A1 WO2019024754 A1 WO 2019024754A1
Authority
WO
WIPO (PCT)
Prior art keywords
page
service request
page loading
information
loading information
Prior art date
Application number
PCT/CN2018/097186
Other languages
French (fr)
Chinese (zh)
Inventor
杜荆蔚
郑国斌
李春城
沈超
Original Assignee
阿里巴巴集团控股有限公司
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 阿里巴巴集团控股有限公司 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2019024754A1 publication Critical patent/WO2019024754A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/303Terminal profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • H04L67/5681Pre-fetching or pre-delivering data based on network characteristics

Definitions

  • the present invention relates to the field of Internet technology applications, and in particular, to a method, device and system for page loading.
  • APP Application, referred to as Application, referred to as APP
  • APP Application, referred to as APP
  • the functions of the applications are becoming more and more abundant, among which, in order to satisfy User requirements APP is also showing more and more pages for displaying corresponding functions.
  • the APP has a low response efficiency due to the limitation of the page type, and no effective solution has been proposed yet.
  • the embodiment of the invention provides a method, a device and a system for loading a page, so as to at least solve the technical problem that the APP has low response efficiency due to limitation of the page type due to the configuration limitation of the APP in the prior art.
  • a page loading system including: a terminal, configured to query a pre-stored page loading information table according to a pre-acquired first service request, to determine whether there is a page loading corresponding to the first service request.
  • the corresponding page is opened according to the page loading information; and the server sends the page loading information corresponding to the first service request in the case that the pre-stored page loading information table of the terminal does not exist, the receiving terminal sends the The second service request returns the corresponding page loading information according to the second service request, so that the terminal opens the corresponding page according to the page loading information; wherein the page loading information to be queried in the first service request and the waiting in the second service request The page load information of the query is the same.
  • the server includes: a cloud server, where the cloud server is configured to store the page loading information, and return the page loading information corresponding to the second service request sent by the terminal according to the stored page loading information.
  • the page loading information includes: page information and/or a page loading container type.
  • the terminal includes: a parsing module, a first processing module, and a second processing module, where the parsing module is configured to parse the first service request, and obtain a page information corresponding to the first service request and/or a page loading container type, And determining, in the pre-stored page loading information table, whether there is a page information corresponding to the first service request and/or a page loading container type; the first processing module is configured to: in the pre-stored page loading information table, the page information corresponding to the first service request In the case of the page loading container type, the corresponding page is opened according to the page information and/or the page loading container type; the second processing module is configured to not have the page information corresponding to the first service request in the pre-stored page loading information table and/or Or the page loading the container type, sending a second service request to the server, and receiving the page information returned by the server according to the second service request and/or the page loading container type, and opening the corresponding according to the page information and/or the page loading
  • a method for loading a page includes: obtaining a service request; acquiring corresponding page loading information according to the service request, and opening the corresponding page by using the corresponding container according to the page loading information.
  • the corresponding page loading information is obtained according to the service request, and the corresponding page is opened by the corresponding container according to the page loading information, including: determining whether the page loading information corresponding to the service request exists in the pre-stored page loading information table; In the case that the corresponding page is opened by the corresponding container according to the page loading information; if the determination result is no, the service request is sent to the server, and the page loading information returned by the server according to the service request is received, and the corresponding information is opened according to the page loading information. Corresponding page.
  • determining whether the pre-stored page loading information table has a page loading information corresponding to the service request includes: parsing the service request, and obtaining page loading information corresponding to the service request; wherein the page loading information includes: page information and/or page Loading the container type; determining whether there is a page information corresponding to the service request and/or a page loading container type in the pre-stored page loading information table.
  • the method further includes: updating the page loading information returned according to the service request to the pre-stored page loading information table.
  • the method further includes: if the page loading information corresponding to the service request does not exist in the server, the error prompt page is opened, where the error prompt page is used to indicate that the page corresponding to the current service request cannot be opened.
  • the method before determining whether the page loading information of the corresponding service request exists in the pre-stored page loading information table, the method further includes: detecting whether the page loading information table update indication information fed back by the server is received; and the detecting result is yes. And sending a page load information table update request to the server, and the receiving server updates the data update package according to the page load information table update request, and updates the pre-stored page load information table according to the data update package.
  • a method for loading a page including: receiving a service request sent by a terminal; and returning corresponding page loading information according to the service request, so that the terminal opens the corresponding page according to the page loading information.
  • the corresponding page loading information is returned according to the service request, including: parsing the service request, and obtaining the page loading information required by the service request; querying the pre-stored page loading information according to the page loading information required by the service request; and loading the information in the pre-stored page.
  • the page loading information required by the service request the page loading information is returned to the terminal; in the case that the pre-stored page loading information does not have the page loading information required for the service request, the query result is returned to the terminal, wherein the query result is used for Instructing the terminal to open an error prompt page; wherein the page loading information includes: page information and/or page loading container type.
  • the method further includes: sending a page load information table update indication information to the terminal, where the page load information table update indication information is used to instruct the terminal to update the page load information table; and the page load information table update request sent by the receiving terminal And returning the corresponding data update package according to the page load information table update request, so that the terminal updates the page load information table according to the data update package.
  • a device for loading a page including: an obtaining module, configured to acquire a service request, and a page startup module, configured to acquire corresponding page loading information according to the service request, and according to the page The loading information opens the corresponding page through the corresponding container.
  • the page startup module includes: a parsing unit, configured to determine whether there is page loading information corresponding to the service request in the pre-stored page loading information table; and the first processing unit is configured to: according to the page loading, if the determination result is yes The information is opened by the corresponding container by the corresponding container; the second processing unit is configured to send a service request to the server if the determination result is no, and receive the page loading information returned by the server according to the service request, and pass the corresponding container according to the page loading information. Open the corresponding page.
  • a parsing unit configured to determine whether there is page loading information corresponding to the service request in the pre-stored page loading information table
  • the first processing unit is configured to: according to the page loading, if the determination result is yes The information is opened by the corresponding container by the corresponding container
  • the second processing unit is configured to send a service request to the server if the determination result is no, and receive the page loading information returned by the server according to the service request, and pass the corresponding container according to the
  • the parsing unit includes: a parsing subunit, configured to parse the service request, and obtain page loading information corresponding to the service request; wherein the page loading information includes: page information and/or a page loading container type; And used to determine whether there is a page information and/or a page load container type corresponding to the service request in the pre-stored page loading information table.
  • another apparatus for loading a page comprising: a receiving module, configured to receive a service request sent by the terminal; and a configuration module, configured to return a corresponding page loading information according to the service request, So that the terminal opens the corresponding page according to the page loading information.
  • the configuration module includes: an information parsing unit, configured to parse the service request, and obtain the page loading information required for the service request; and the query unit is configured to query the pre-stored page loading information according to the page loading information required by the service request; a sending unit, configured to return page loading information to the terminal in the case that the pre-stored page loading information has the page loading information required for the service request; the second sending unit is configured to load the information in the pre-stored page without the service request In the case of loading information, the query result is returned to the terminal, wherein the query result is used to instruct the terminal to open the error prompt page; wherein the page loading information includes: page information and/or page load container type.
  • a storage medium including: the storage medium includes a stored program, wherein, when the program is running, a method of controlling the device where the storage medium is located to perform the page loading is performed.
  • a processor including: a processor, configured to run a program, wherein the method for performing the page loading described above is executed when the program runs.
  • the terminal is configured to query the pre-stored page loading information table according to the pre-acquired first service request to determine whether there is page loading information corresponding to the first service request, and if the determination result is yes,
  • the page loading information opens the corresponding page;
  • the server in the case that the pre-stored page loading information table of the terminal does not have the page loading information corresponding to the first service request, receives the second service request sent by the terminal, and returns a corresponding according to the second service request.
  • the page loading information is such that the terminal opens the corresponding page according to the page loading information; wherein the page loading information to be queried in the first service request is the same as the page loading information to be queried in the second service request, and the dynamic configuration page is reached.
  • the purpose of the type is to achieve the technical effect of improving the response efficiency, thereby solving the technical problem that the APP has low response efficiency due to the limitation of the page type due to the configuration limitation of the APP in the prior art.
  • FIG. 1 is a structural diagram of a system for page loading according to a first embodiment of the present invention
  • FIG. 2 is a flowchart of page load information acquisition in a page loading system according to a first embodiment of the present invention
  • FIG. 3 is a block diagram showing the hardware structure of a computer terminal of a page loading method according to Embodiment 2 of the present invention.
  • FIG. 5 is a flowchart of a method for page loading according to Embodiment 3 of the present invention.
  • FIG. 6 is a schematic diagram of a device for page loading according to Embodiment 4 of the present application.
  • FIG. 7 is a schematic diagram of a device for page loading according to Embodiment 5 of the present application.
  • Page load information Jump from one page to another, you need to jump according to the page load information.
  • Intelligent cloud (referred to as “cloud” in the scheme): It is a background service system that provides cloud services for smart devices. This system can become a smart APP (referred to as “APP” in the scheme) connected to the smart device and the user wireless terminal. The bridge enables the user to intuitively understand the running status of the device on the APP, and the user can also issue work orders to the smart device through the interface of the APP.
  • the cloud also has powerful data storage, computing and data interface services capabilities to provide service capabilities for smart apps.
  • Smart APP refers to the user installed on the terminal (including but not limited to smart phones, smart tablets, personal computers, etc.), can view the status of the smart device, and can also synchronize the status with the smart device.
  • Application software for remote control refers to the user installed on the terminal (including but not limited to smart phones, smart tablets, personal computers, etc.), can view the status of the smart device, and can also synchronize the status with the smart device.
  • Application software for remote control refers to the user installed on the terminal (including but not limited to smart phones, smart tablets, personal computers, etc.), can view the status of the smart device, and can also synchronize the status with the smart device.
  • Application software for remote control refers to the user installed on the terminal (including but not limited to smart phones, smart tablets, personal computers, etc.), can view the status of the smart device, and can also synchronize the status with the smart device.
  • the page types include: React Native (RN), Fifth Generation Hypertext Markup Language (Html5, H5 for short), local Native page, corresponding replay local page RN container, fifth generation hypertext markup language H5 Container, local Native container.
  • RN React Native
  • Html5 Fifth Generation Hypertext Markup Language
  • H5 fifth generation hypertext markup language
  • Native page A page developed using the Android system or the native language of the IOS system.
  • the user is not aware: the use of the current user is not interrupted, affected, and the user does not know what the program does.
  • the application provides a page loading system as shown in FIG. 1 is a structural diagram of a system for page loading according to a first embodiment of the present invention.
  • the page loading system provided by the application includes:
  • the terminal 12 is configured to query the pre-stored page loading information table according to the pre-acquired first service request, and determine whether there is page loading information corresponding to the first service request. If the determination result is yes, the corresponding page is opened according to the page loading information;
  • the server 14 is configured to receive the second service request sent by the terminal 12, and return the corresponding page loading information according to the second service request, if the pre-stored page loading information table of the terminal does not have the page loading information corresponding to the first service request,
  • the page 12 is configured to open the corresponding page according to the page loading information.
  • the page loading information to be queried in the first service request is the same as the page loading information to be queried in the second service request.
  • the page loading system provided by the present application can be applied to the smart cloud environment and the smart APP interaction solution.
  • the smart APP is installed in the terminal 12, and the smart cloud environment can be applied to the server 14, where
  • the server 14 in the present application may be a cloud server in an intelligent cloud environment.
  • the terminal 12 provided by the present application may include: a smart phone (for example, an operating system including: IOS, Android or Windows mobile phone), a tablet computer, a notebook computer, and a palm business. , smart wearable devices (such as: Google glasses, augmented reality AR, virtual reality VR devices, smart watches, etc.).
  • the first service request received by the terminal 12 in the present application may include a service code.
  • the terminal 12 queries the page load information in the local page loading information table according to the service code.
  • the pre-stored page loading information table is queried according to the pre-acquired first service request, and it is determined whether there is page loading information corresponding to the first service request), and in the case that the corresponding page loading information is found, according to the page
  • the loading information uses the corresponding container to open the page. Since the pages of the APP in the prior art are also more and more, the management of the page becomes extremely complicated.
  • the page loading information in the application may be used to instruct the APP to open the corresponding page through the corresponding container according to the page loading information path in the page loading information.
  • the page loading system provided by the present application obtains the corresponding page loading information by accessing the cloud server by querying the locally loaded page loading information table and storing the page loading information corresponding to the first service request in the page loading information table. And in the process of opening each type of page, the corresponding page is opened by using the corresponding container.
  • Service code Page type Container type path Service code 1 RN page RN container Path 1 Service code 2 H5 page H5 container Path 2 Service code 3 Native page Native container Path 3
  • the APP opens the corresponding page according to the container corresponding to the service code.
  • the page type and the container type corresponding to the service code 1 are: an RN page and an RN container, and the page loading information is stored in the pre-stored page loading information table as shown in Table 1, Then, the APP opens the corresponding page according to the RN container and the path 1. In the same way, if the page loading information is not stored in the pre-stored page loading information table, the APP accesses the cloud server, that is, the server 14 in the application obtains the page loading information. And then open the corresponding page according to the container type and path in the page loading information.
  • the first service request in the present application may include a service request received by the APP in the terminal 12 when receiving the service code.
  • the second service request may include: if the page loading information is not stored in the pre-stored page loading information table, the APP accesses A business request sent to the cloud server when the cloud server.
  • the terminal is configured to query the pre-stored page loading information table according to the pre-acquired first service request to determine whether there is page loading information corresponding to the first service request, and if the determination result is yes,
  • the page loading information opens the corresponding page;
  • the server in the case that the pre-stored page loading information table of the terminal does not have the page loading information corresponding to the first service request, receives the second service request sent by the terminal, and returns a corresponding according to the second service request.
  • the page loading information is such that the terminal opens the corresponding page according to the page loading information; wherein the page loading information to be queried in the first service request is the same as the page loading information to be queried in the second service request, and the dynamic configuration page is reached.
  • the purpose of the type is to achieve the technical effect of improving the response efficiency, thereby solving the technical problem that the APP has low response efficiency due to the limitation of the page type due to the configuration limitation of the APP in the prior art.
  • the server 14 includes: a cloud server, where the cloud server is configured to store the page loading information, and return the page loading information corresponding to the second service request sent by the terminal according to the stored page loading information.
  • the page loading information includes: page information and/or a page loading container type.
  • the terminal 12 includes: a parsing module, a first processing module, and a second processing module, where the parsing module is configured to parse the first service request, and obtain the page information corresponding to the first service request and/or the page loading container type.
  • the first processing module is configured to: the page information corresponding to the first service request exists in the pre-stored page loading information table And the page loading the container type, the corresponding page is opened according to the page information and/or the page loading container type;
  • the second processing module is configured to not have the page information corresponding to the first service request in the pre-stored page loading information table and / or page load container type, send a second service request to the server, and receive the page information and / or page load container type returned by the server according to the second business request, and open according to the page information and / or the page load container type Corresponding page; wherein, the page loading information to be queried in the first service request and the Page service request to be queried load the same information.
  • the page loading system provided by the present application can configure different pages of different service codes and open container types in the cloud, and the APP can open different pages according to different cloud configurations without modification.
  • FIG. 2 is a flowchart of page load information acquisition in a page loading system according to Embodiment 1 of the present invention, and the process includes the following steps:
  • Step 1 The developer first passes in different service codes according to different services
  • Step 2 Query the page information corresponding to the service code and the page loading container type in the local page loading information table.
  • step 3 If the page loading information corresponding to the service code is not found in the local page loading information table, proceed to step 3;
  • step 4 If the page loading information corresponding to the service code is found in the local page loading information table, proceed to step 4.
  • Step 3 Obtain the page loading information corresponding to the service code from the cloud.
  • step four If the page loading information is obtained, proceed to step four;
  • step 5 If the page loading information is not obtained, proceed to step 5;
  • Step 4 Open the page using the appropriate container based on the page load information.
  • Step 5 Open the error message page.
  • the page loading system provided by the present application can support the background configuration jump page; and can support the background configuration to open the page type of the container, and can remove the dependency between the program and the program, which is beneficial to the independence of the programs.
  • the page loading system provided by the present application can effectively solve the dynamic configuration capability of hybrid coding.
  • the system developer who downloads the page according to the application can update the requirements of the APP in time to bring a better user experience to the user; and the parameters required to open the page according to the page loading system provided by the application can be configured in the background. .
  • the dynamic adjustment of the page display can be realized according to different background configuration parameters.
  • FIG. 3 is a hardware structural block diagram of a computer terminal of a page loading method according to a second embodiment of the present invention.
  • computer terminal 30 may include one or more (only one shown) processor 302 (processor 302 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA)
  • processor 302 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA)
  • a memory 304 for storing data
  • a transmission module 306 for communication functions.
  • computer terminal 30 may also include more or fewer components than shown in FIG. 3, or have a different configuration than that shown in FIG.
  • the memory 304 can be used to store software programs and modules of the application software, such as program instructions/modules corresponding to the page loading method in the embodiment of the present invention, and the processor 302 executes each of the software programs and modules stored in the memory 304.
  • a functional application and data processing that is, a method of implementing page loading of the above application.
  • Memory 304 can include high speed random access memory and can also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
  • memory 304 can further include memory remotely located relative to processor 302, which can be connected to computer terminal 30 over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • the transmission module 306 is configured to receive or transmit data via a network.
  • the network specific examples described above may include a wireless network provided by a communication provider of the computer terminal 30.
  • the transmission module 306 includes a Network Interface Controller (NIC) that can be connected to other network devices through a base station to communicate with the Internet.
  • the transmission module 306 can be a Radio Frequency (RF) module for communicating with the Internet wirelessly.
  • NIC Network Interface Controller
  • RF Radio Frequency
  • FIG. 4 is a flowchart of a method for page loading according to Embodiment 2 of the present invention.
  • the method for loading a page provided by the present application is as follows:
  • Step S402 acquiring a service request.
  • Step S404 Acquire corresponding page loading information according to the service request, and open the corresponding page by using the corresponding container according to the page loading information.
  • step S404 the corresponding page loading information is obtained according to the service request, and the corresponding page is opened by the corresponding container according to the page loading information, including:
  • Step 1 determining whether there is page loading information corresponding to the service request in the pre-stored page loading information table
  • Step 2 in the case that the judgment result is yes, the corresponding page is opened by the corresponding container according to the page loading information;
  • Step 3 In the case that the determination result is no, the service request is sent to the server, and the page loading information returned by the server according to the service request is received, and the corresponding page is opened by the corresponding container according to the page loading information.
  • the second embodiment of the present application is described by taking a smart phone as an example.
  • the APP program installed on the smart phone is pre-stored according to the service code.
  • the page loads the information table, and determines whether there is page loading information corresponding to the service code in the pre-stored page loading information table.
  • the page is opened according to the page loading information through the corresponding container;
  • the page loading information corresponding to the service code does not exist in the pre-stored page loading information table, and the terminal sends a service request to the server (ie, the cloud server), and the cloud server feeds back the corresponding page loading information to the terminal according to the service request, and the terminal according to the page
  • the loading information opens the page through the corresponding container.
  • the service request is obtained, the corresponding page loading information is obtained according to the service request, and the corresponding page is opened by the corresponding container according to the page loading information, thereby achieving the purpose of dynamically configuring the page type, thereby improving the response efficiency.
  • the technical effect further solves the technical problem that the APP has low response efficiency due to the limitation of the page type due to the configuration limitation of the APP in the prior art.
  • step S404 it is determined in step 1 that the page loading information of the corresponding service request in the pre-stored page loading information table includes:
  • step A the service request is parsed, and the page loading information corresponding to the service request is obtained.
  • the page loading information includes: page information and/or a page loading container type;
  • step B it is determined whether there is a page information corresponding to the service request and/or a page loading container type in the pre-stored page loading information table.
  • the terminal acquires the page information corresponding to the service code and/or the page container type according to the service code in the first service request, according to the page.
  • the information and/or page container type is queried from the pre-stored page loading information table to determine whether the pre-stored page loading information table stores the page information and/or the page container type. If yes, execute step Step2, if not, execute step Step3.
  • the pre-stored page loading information table may include a page loading information table pre-stored by the terminal locally, and each time the APP installed in the terminal is opened, it is determined by the detection whether the page loading information table stored by the current terminal is loaded with the page in the cloud server. The information table is the same. If the page load information table of the local storage is updated from the cloud server, the pre-stored page loading information table is obtained.
  • the method for loading the page provided by the application further includes:
  • Step 3' updating the page loading information returned according to the service request to the pre-stored page loading information table.
  • the method for updating the pre-stored page loading information table stored in the terminal includes two types. First, Step3' is updated to the pre-stored page loading information table according to the page loading information currently requested by the cloud server, that is, If the page loading information of the corresponding service code is not found in the pre-stored page loading information table, the corresponding page loading information is obtained from the cloud server, and the pre-stored page loading information table is updated according to the page loading information. Second, it is realized by the step Step1' and the step Step2'.
  • the method for loading a page provided by the application further includes:
  • Step Step 4 If the page loading information corresponding to the service request does not exist in the server, the error prompt page is opened, where the error prompt page is used to indicate that the page corresponding to the current service request cannot be opened.
  • the cloud server when the cloud server does not store the page loading information corresponding to the service code, the cloud server returns a response message for opening the service prompt page to the terminal, and prompts the terminal to display an error prompt page according to the response message, and is used to remind the user of the service code. Can't open the corresponding page.
  • the method for loading a page provided by the present application further includes: before, in step Step1, determining whether the page loading information of the corresponding service request exists in the pre-stored page loading information table:
  • Step Step 1' detecting whether the page load information table update indication information fed back by the server is received
  • Step Step Step 2' if the detection result is YES, the page load information table update request is sent to the server, the receiving server updates the data update package according to the page load information table update request, and updates the pre-stored page load information table according to the data update package.
  • the APP installed on the terminal detects whether the page loading information table update indication information fed back by the server is received, and if the detection result is yes, sends a page loading information table update request to the server, from The server side downloads the corresponding data update package, and updates the pre-stored page load information table according to the data update package.
  • the method of page loading according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases.
  • the former is a better implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • FIG. 5 is a flowchart of a method for page loading according to Embodiment 3 of the present invention.
  • the method for page loading provided by the present application includes:
  • Step S502 receiving a service request sent by the terminal
  • Step S504 returning corresponding page loading information according to the service request, so that the terminal opens the corresponding page according to the page loading information.
  • the server side in the first embodiment and the terminal side in the second embodiment after receiving the service request sent by the terminal, the server performs a query according to the service code in the service request, and determines whether the corresponding service code is stored.
  • the page loading information if any, returns a corresponding page loading information to the terminal, so that the terminal opens the page through the corresponding container according to the page loading information.
  • the service request sent by the terminal is received; the corresponding page loading information is returned according to the service request, so that the terminal opens the corresponding page according to the page loading information, thereby achieving the purpose of dynamically configuring the page type, thereby achieving the promotion response.
  • the technical effect of the efficiency further solves the technical problem that the APP has low response efficiency due to the limitation of the page type due to the configuration limitation of the APP in the prior art.
  • the returning the corresponding page loading information according to the service request in step S504 includes:
  • Step1 parsing the service request, and obtaining the page loading information required for the business request;
  • Step 2 querying the pre-stored page loading information according to the page loading information required by the business request;
  • Step 3 in the case that the pre-stored page loading information has the page loading information required for the service request, returning the page loading information to the terminal;
  • Step 4 in the case that the pre-stored page loading information does not have the page loading information required for the service request, the query result is returned to the terminal, wherein the query result is used to instruct the terminal to open the error prompt page; wherein the page loading information includes: page information and / or page load container type.
  • the service code in the service request is parsed, the page loading information corresponding to the service code is obtained, and the pre-stored page loading information is queried according to the page loading information. If the page loading information exists, the corresponding page loading information is returned to the terminal; If the page loading information does not exist, the query result is returned to the terminal, where the query result is used to instruct the terminal to open the error prompt page; wherein the page loading information includes: page information and/or page loading container type.
  • the method for loading a page provided by the application further includes:
  • Step S505 the page load information table update indication information is sent to the terminal, where the page load information table update indication information is used to instruct the terminal to update the page load information table;
  • Step S506 receiving a page loading information table update request sent by the terminal;
  • Step S507 returning a corresponding data update package according to the page load information table update request, so that the terminal updates the page load information table according to the data update package.
  • the server side after updating the page loading information table, the server side sends the page loading information table update indication information to the terminal, and receives the page loading information table update sent by the terminal.
  • the corresponding data update package is returned to the terminal, so that the terminal updates the page load information table according to the data update package, so that the page load information table of the terminal side always keeps the latest page load information table.
  • FIG. 6 is a schematic diagram of a device for loading a page according to Embodiment 4 of the present application. As shown in 6, the device includes:
  • the obtaining module 62 is configured to obtain a service request
  • the page startup module 64 is configured to obtain corresponding page loading information according to the service request, and open the corresponding page by using the corresponding container according to the page loading information.
  • the service request is obtained, the corresponding page loading information is obtained according to the service request, and the corresponding page is opened by the corresponding container according to the page loading information, thereby achieving the purpose of dynamically configuring the page type, thereby improving the response efficiency.
  • the technical effect further solves the technical problem that the APP has low response efficiency due to the limitation of the page type due to the configuration limitation of the APP in the prior art.
  • the foregoing obtaining module 62 and the page starting module 64 correspond to steps S402 to S404 in Embodiment 2, and the foregoing two modules are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the above implementation.
  • the content disclosed in Example 2 It should be noted that the above modules may be implemented as part of a device in a computer system such as a set of computer executable instructions.
  • the page startup module 64 includes: a parsing unit, configured to determine whether there is page loading information corresponding to the service request in the pre-stored page loading information table; and the first processing unit is configured to: according to the page, if the determination result is yes, Loading the information to open the corresponding page through the corresponding container; the second processing unit is configured to send a service request to the server if the determination result is no, and receive the page loading information returned by the server according to the service request, and correspondingly according to the page loading information The container opens the corresponding page.
  • a parsing unit configured to determine whether there is page loading information corresponding to the service request in the pre-stored page loading information table
  • the first processing unit is configured to: according to the page, if the determination result is yes, Loading the information to open the corresponding page through the corresponding container
  • the second processing unit is configured to send a service request to the server if the determination result is no, and receive the page loading information returned by the server according to the service request, and corresponding
  • the foregoing parsing unit, the first processing unit, and the second processing unit correspond to Step 1 to Step 3 in step S404 in Embodiment 2, examples and application scenarios implemented by the above three modules and corresponding steps. The same, but not limited to, the content disclosed in the above embodiment 2.
  • the above modules may be implemented as part of a device in a computer system such as a set of computer executable instructions.
  • the parsing unit includes: a parsing subunit, configured to parse the service request, and obtain page loading information corresponding to the service request; wherein the page loading information includes: a page information and/or a page loading container type; and a determining subunit, configured to: It is judged whether there is a page information corresponding to the service request and/or a page loading container type in the pre-stored page loading information table.
  • step A and step B in step 1 in step S404 in the second embodiment correspond to step A and step B in step 1 in step S404 in the second embodiment, and the two modules are the same as the examples and application scenarios implemented in the corresponding steps, but It is not limited to the contents disclosed in the above embodiment 2.
  • the above modules may be implemented as part of a device in a computer system such as a set of computer executable instructions.
  • FIG. 7 is a schematic diagram of a device for loading a page according to Embodiment 5 of the present application. As shown in 7, the device includes:
  • the receiving module 72 is configured to receive a service request sent by the terminal, and the configuration module 74 is configured to return corresponding page loading information according to the service request, so that the terminal opens the corresponding page according to the page loading information.
  • the service request sent by the terminal is received; the corresponding page loading information is returned according to the service request, so that the terminal opens the corresponding page according to the page loading information, thereby achieving the purpose of dynamically configuring the page type, thereby achieving the promotion response.
  • the technical effect of the efficiency further solves the technical problem that the APP has low response efficiency due to the limitation of the page type due to the configuration limitation of the APP in the prior art.
  • the foregoing receiving module 72 and the configuration module 74 correspond to steps S502 and S504 in Embodiment 3, and the foregoing two modules are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the above embodiments. 3 published content. It should be noted that the above modules may be implemented as part of a device in a computer system such as a set of computer executable instructions.
  • the configuration module 74 includes: an information parsing unit, configured to parse the service request, and obtain page load information required for the service request; the query unit is configured to query the pre-stored page loading information according to the page loading information required by the service request; a sending unit, configured to return page loading information to the terminal in the case that the pre-stored page loading information has the page loading information required for the service request; and the second sending unit is configured to load the information in the pre-stored page without the service request
  • the query result is returned to the terminal, wherein the query result is used to instruct the terminal to open the error prompt page; wherein the page loading information includes: page information and/or a page loading container type.
  • the foregoing parsing unit, the query unit, the first sending unit, and the second sending unit correspond to steps 1 to Step 4 in step S504 in the third embodiment, and the four modules and the corresponding steps are implemented by the corresponding steps. It is the same as the application scenario, but is not limited to the content disclosed in the above embodiment 3. It should be noted that the above modules may be implemented as part of a device in a computer system such as a set of computer executable instructions.
  • a storage medium including: the storage medium includes a stored program, wherein, when the program is running, the device where the storage medium is controlled performs the pages in Embodiment 2 and Embodiment 3 described above. The method of loading.
  • a processor comprising: a processor, configured to execute a program, wherein the method of performing page loading in Embodiment 2 and Embodiment 3 is executed when the program is running.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be used to save the program code executed by the method of page loading provided in Embodiment 1 above.
  • the foregoing storage medium may be located in any one of the computer terminal groups in the computer network, or in any one of the mobile terminal groups.
  • the storage medium is configured to store program code for performing the following steps: acquiring a service request; acquiring corresponding page loading information according to the service request, and opening the corresponding page by using the corresponding container according to the page loading information. .
  • the storage medium is configured to store program code for performing the following steps: determining whether there is page loading information corresponding to the service request in the pre-stored page loading information table; if the determination result is yes According to the page loading information, the corresponding page is opened by the corresponding container; if the determination result is no, the service request is sent to the server, and the page loading information returned by the server according to the service request is received, and the corresponding page is opened by the corresponding container according to the page loading information.
  • the storage medium is configured to store program code for performing the following steps: determining whether the page loading information of the corresponding service request exists in the pre-stored page loading information table comprises: parsing the service request, and obtaining the service request Corresponding page loading information; wherein the page loading information comprises: page information and/or a page loading container type; determining whether there is a page information corresponding to the service request and/or a page loading container type in the pre-stored page loading information table.
  • the storage medium is configured to store program code for performing the following steps: after the receiving server returns the page loading information according to the service request, before the corresponding page is opened according to the page loading information, The page load information returned by the business request is updated to the pre-stored page load information table.
  • the storage medium is configured to store program code for performing the following steps: if there is no page loading information corresponding to the second service request in the server, opening an error prompt page, where the error A prompt page that indicates that the page corresponding to the current business request cannot be opened.
  • the storage medium is configured to store program code for performing the following steps: detecting whether the server feedback is received before determining whether there is page loading information corresponding to the service request in the pre-stored page loading information table.
  • the page load information table update indication information if the detection result is yes, the page load information table update request is sent to the server, and the receiving server updates the data update package according to the page load information table update request, and updates the pre-store according to the data update package.
  • the page loads the information table.
  • the disclosed technical contents may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, unit or module, and may be electrical or otherwise.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Disclosed by the present invention are a page loading method, device and system. The page loading system comprises: a terminal, which is used for querying a pre-stored page loading information table according to a pre-acquired first service request, determining whether page loading information corresponding to the first service request exists, and when the determination result is yes, opening a corresponding page according to the page loading information; a server, which is used for receiving a second service request that is sent by the terminal when no page loading information corresponding to the first service request exists in the pre-stored page loading information table, and returning corresponding page loading information according to the second service request such that the terminal opens the corresponding page according to the page loading information; page loading information to be queried in the first service request is the same as page loading information to be queried in the second service request. The present invention solves the technical problem in the existing technology wherein an application has low response efficiency due to page type limitations that are caused by restrictions to the configuration of the application.

Description

页面加载的方法、装置和系统Method, device and system for page loading
本申请要求2017年8月4日递交的申请号为201710661533.8、发明名称为“页面加载的方法、装置和系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. PCT Application No. No. No. No. No. No. No. No. No.
技术领域Technical field
本发明涉及互联网技术应用领域,具体而言,涉及一种页面加载的方法、装置和系统。The present invention relates to the field of Internet technology applications, and in particular, to a method, device and system for page loading.
背景技术Background technique
随着智能终端的普及,对应智能终端产生的应用程序(Application,简称APP)也随之增多,并且随着用户需求的越来越多,应用程序的功能也越来越丰富,其中,为了满足用户需求APP为展示对应功能的页面也越来越多。With the popularization of intelligent terminals, the application (Application, referred to as APP) generated by the corresponding intelligent terminals has also increased, and with the increasing demand of users, the functions of the applications are becoming more and more abundant, among which, in order to satisfy User requirements APP is also showing more and more pages for displaying corresponding functions.
由于业务越来越庞大,APP的页面也越来越多,页面的管理也变得异常复杂。同时随着APP支持多容器的能力,不同容器的页面切换也需要解决。As the business grows larger, the pages of the APP are more and more, and the management of the pages becomes extremely complicated. At the same time, with the ability of the APP to support multiple containers, page switching of different containers also needs to be solved.
现有技术中应用程序中内置多个容器、页面,根据程序运行的参数等情况决定跳转到哪个页面;由于APP在安装之前,是由程序员将程序运行可能遇到的各个情况配置对应的页面加载信息,将该页面加载信息与APP的安装包APK一起打包作为后续APP正常运行的保障。In the prior art, a plurality of containers and pages are built in an application, and which page is jumped according to parameters such as running parameters of the program; since the APP is installed before, it is configured by the programmer to configure various situations that the program may encounter. The page loading information is packaged together with the installation package APK of the APP as a guarantee for the normal operation of the subsequent APP.
但是随着页面类型的多样化,前期的配置工作量太大,且在后期运行时由于前期配置的页面类型有限,APP在使用过程中页面跳转将会由于页面类型的限制,响应缓慢。且由于页面的类型在APP安装包内已经写死,无法动态改变页面的类型。However, with the diversification of page types, the previous configuration workload is too large, and in the later run, due to the limited page type of the previous configuration, the page jump of the APP during use will be slow due to the limitation of the page type. And because the type of the page has been written in the APP installation package, the type of the page cannot be dynamically changed.
针对上述由于现有技术中对APP的配置局限,导致的APP由于页面类型限制导致响应效率低的问题,目前尚未提出有效的解决方案。In view of the above-mentioned problem of the configuration limitation of the APP in the prior art, the APP has a low response efficiency due to the limitation of the page type, and no effective solution has been proposed yet.
发明内容Summary of the invention
本发明实施例提供了一种页面加载的方法、装置和系统,以至少解决由于现有技术中对APP的配置局限,导致的APP由于页面类型限制导致响应效率低的技术问题。The embodiment of the invention provides a method, a device and a system for loading a page, so as to at least solve the technical problem that the APP has low response efficiency due to limitation of the page type due to the configuration limitation of the APP in the prior art.
根据本发明实施例的一个方面,提供了一种页面加载的系统,包括:终端,用于根据预先获取的第一业务请求查询预存页面加载信息表,判断是否存在对应第一业务请求 的页面加载信息,在判断结果为是的情况下,依据页面加载信息打开对应页面;服务器,用于终端的预存页面加载信息表不存在对应第一业务请求的页面加载信息的情况下,接收终端发送的第二业务请求,并依据第二业务请求返回对应的页面加载信息,以使得终端依据页面加载信息打开对应页面;其中,第一业务请求中的待查询的页面加载信息与第二业务请求中的待查询的页面加载信息相同。According to an aspect of the embodiments of the present invention, a page loading system is provided, including: a terminal, configured to query a pre-stored page loading information table according to a pre-acquired first service request, to determine whether there is a page loading corresponding to the first service request. In the case that the judgment result is yes, the corresponding page is opened according to the page loading information; and the server sends the page loading information corresponding to the first service request in the case that the pre-stored page loading information table of the terminal does not exist, the receiving terminal sends the The second service request returns the corresponding page loading information according to the second service request, so that the terminal opens the corresponding page according to the page loading information; wherein the page loading information to be queried in the first service request and the waiting in the second service request The page load information of the query is the same.
可选的,服务器包括:云服务器,其中,云服务器,用于存储页面加载信息,并依据存储的页面加载信息返回终端发送的第二业务请求对应的页面加载信息。Optionally, the server includes: a cloud server, where the cloud server is configured to store the page loading information, and return the page loading information corresponding to the second service request sent by the terminal according to the stored page loading information.
进一步地,可选的,页面加载信息包括:页面信息和/或页面加载容器类型。Further, optionally, the page loading information includes: page information and/or a page loading container type.
可选的,终端包括:解析模块、第一处理模块和第二处理模块,其中,解析模块,用于解析第一业务请求,得到第一业务请求对应的页面信息和/或页面加载容器类型,并判断预存页面加载信息表中是否存在对应第一业务请求的页面信息和/或页面加载容器类型;第一处理模块,用于在预存页面加载信息表中存在对应第一业务请求的页面信息和/或页面加载容器类型的情况下,依据页面信息和/或页面加载容器类型打开对应页面;第二处理模块,用于在预存页面加载信息表中不存在对应第一业务请求的页面信息和/或页面加载容器类型的情况下,向服务器发送第二业务请求,并接收服务器依据第二业务请求返回的页面信息和/或页面加载容器类型,并依据页面信息和/或页面加载容器类型打开对应页面;其中,第一业务请求中的待查询的页面加载信息与第二业务请求中的待查询的页面加载信息相同。Optionally, the terminal includes: a parsing module, a first processing module, and a second processing module, where the parsing module is configured to parse the first service request, and obtain a page information corresponding to the first service request and/or a page loading container type, And determining, in the pre-stored page loading information table, whether there is a page information corresponding to the first service request and/or a page loading container type; the first processing module is configured to: in the pre-stored page loading information table, the page information corresponding to the first service request In the case of the page loading container type, the corresponding page is opened according to the page information and/or the page loading container type; the second processing module is configured to not have the page information corresponding to the first service request in the pre-stored page loading information table and/or Or the page loading the container type, sending a second service request to the server, and receiving the page information returned by the server according to the second service request and/or the page loading container type, and opening the corresponding according to the page information and/or the page loading container type a page; wherein, the page load information to be queried in the first service request is the second The page load information to be queried in the service request is the same.
根据本发明实施例的另一方面,还提供了一种页面加载的方法,包括:获取业务请求;根据业务请求获取对应的页面加载信息,并根据页面加载信息通过对应容器打开对应页面。According to another aspect of the embodiments of the present invention, a method for loading a page includes: obtaining a service request; acquiring corresponding page loading information according to the service request, and opening the corresponding page by using the corresponding container according to the page loading information.
可选的,根据业务请求获取对应的页面加载信息,并根据页面加载信息通过对应容器打开对应页面包括:判断预存页面加载信息表中是否存在对应业务请求的页面加载信息;在判断结果为是的情况下,依据页面加载信息通过对应容器打开对应页面;在判断结果为否的情况下,向服务器发送业务请求,并接收服务器依据业务请求返回的页面加载信息,并依据页面加载信息通过对应容器打开对应页面。Optionally, the corresponding page loading information is obtained according to the service request, and the corresponding page is opened by the corresponding container according to the page loading information, including: determining whether the page loading information corresponding to the service request exists in the pre-stored page loading information table; In the case that the corresponding page is opened by the corresponding container according to the page loading information; if the determination result is no, the service request is sent to the server, and the page loading information returned by the server according to the service request is received, and the corresponding information is opened according to the page loading information. Corresponding page.
进一步地,可选的,判断预存页面加载信息表是否存在对应业务请求的页面加载信息包括:解析业务请求,得到业务请求对应的页面加载信息;其中,页面加载信息包括:页面信息和/或页面加载容器类型;判断预存页面加载信息表中是否存在对应业务请求的页面信息和/或页面加载容器类型。Further, optionally, determining whether the pre-stored page loading information table has a page loading information corresponding to the service request includes: parsing the service request, and obtaining page loading information corresponding to the service request; wherein the page loading information includes: page information and/or page Loading the container type; determining whether there is a page information corresponding to the service request and/or a page loading container type in the pre-stored page loading information table.
可选的,在接收服务器依据业务请求返回的页面加载信息之后,在依据页面加载信息打开对应页面之前,该方法还包括:将依据业务请求返回的页面加载信息更新至预存页面加载信息表。Optionally, after the receiving server returns the page loading information according to the service request, before the opening the corresponding page according to the page loading information, the method further includes: updating the page loading information returned according to the service request to the pre-stored page loading information table.
可选的,该方法还包括:若服务器中不存在与业务请求对应的页面加载信息,则打开错误提示页面,其中,错误提示页面,用于指示无法打开当前业务请求对应的页面。Optionally, the method further includes: if the page loading information corresponding to the service request does not exist in the server, the error prompt page is opened, where the error prompt page is used to indicate that the page corresponding to the current service request cannot be opened.
可选的,在判断预存页面加载信息表中是否存在对应业务请求的页面加载信息之前,该方法还包括:检测是否接收到服务器反馈的页面加载信息表更新指示信息;在检测结果为是的情况下,向服务器发送页面加载信息表更新请求,接收服务器根据页面加载信息表更新请求返回的数据更新包,并依据数据更新包更新预存页面加载信息表。Optionally, before determining whether the page loading information of the corresponding service request exists in the pre-stored page loading information table, the method further includes: detecting whether the page loading information table update indication information fed back by the server is received; and the detecting result is yes. And sending a page load information table update request to the server, and the receiving server updates the data update package according to the page load information table update request, and updates the pre-stored page load information table according to the data update package.
根据本发明实施例的另一方面,还提供了另一种页面加载的方法,包括:接收终端发送的业务请求;依据业务请求返回对应的页面加载信息,以使得终端依据页面加载信息打开对应页面。According to another aspect of the embodiments of the present invention, a method for loading a page is further provided, including: receiving a service request sent by a terminal; and returning corresponding page loading information according to the service request, so that the terminal opens the corresponding page according to the page loading information. .
可选的,依据业务请求返回对应的页面加载信息包括:解析业务请求,得到业务请求所需的页面加载信息;依据业务请求所需的页面加载信息查询预存页面加载信息;在预存页面加载信息存在业务请求所需的页面加载信息的情况下,向终端返回页面加载信息;在预存页面加载信息不存在业务请求所需的页面加载信息的情况下,向终端返回查询结果,其中,查询结果用于指示终端打开错误提示页面;其中,页面加载信息包括:页面信息和/或页面加载容器类型。Optionally, the corresponding page loading information is returned according to the service request, including: parsing the service request, and obtaining the page loading information required by the service request; querying the pre-stored page loading information according to the page loading information required by the service request; and loading the information in the pre-stored page. In the case of the page loading information required by the service request, the page loading information is returned to the terminal; in the case that the pre-stored page loading information does not have the page loading information required for the service request, the query result is returned to the terminal, wherein the query result is used for Instructing the terminal to open an error prompt page; wherein the page loading information includes: page information and/or page loading container type.
可选的,该方法还包括:向终端发送页面加载信息表更新指示信息,其中,页面加载信息表更新指示信息,用于指示终端更新页面加载信息表;接收终端发送的页面加载信息表更新请求;依据页面加载信息表更新请求返回对应的数据更新包,以使得终端依据数据更新包更新页面加载信息表。Optionally, the method further includes: sending a page load information table update indication information to the terminal, where the page load information table update indication information is used to instruct the terminal to update the page load information table; and the page load information table update request sent by the receiving terminal And returning the corresponding data update package according to the page load information table update request, so that the terminal updates the page load information table according to the data update package.
根据本发明实施例的又一方面,还提供了一种页面加载的装置,包括:获取模块,用于获取业务请求;页面启动模块,用于根据业务请求获取对应的页面加载信息,并根据页面加载信息通过对应容器打开对应页面。According to still another aspect of the embodiments of the present invention, a device for loading a page is further provided, including: an obtaining module, configured to acquire a service request, and a page startup module, configured to acquire corresponding page loading information according to the service request, and according to the page The loading information opens the corresponding page through the corresponding container.
可选的,页面启动模块包括:解析单元,用于判断预存页面加载信息表中是否存在对应业务请求的页面加载信息;第一处理单元,用于在判断结果为是的情况下,依据页面加载信息通过对应容器打开对应页面;第二处理单元,用于在判断结果为否的情况下,向服务器发送业务请求,并接收服务器依据业务请求返回的页面加载信息,并依据页面加载信息通过对应容器打开对应页面。Optionally, the page startup module includes: a parsing unit, configured to determine whether there is page loading information corresponding to the service request in the pre-stored page loading information table; and the first processing unit is configured to: according to the page loading, if the determination result is yes The information is opened by the corresponding container by the corresponding container; the second processing unit is configured to send a service request to the server if the determination result is no, and receive the page loading information returned by the server according to the service request, and pass the corresponding container according to the page loading information. Open the corresponding page.
进一步地,可选的,解析单元包括:解析子单元,用于解析业务请求,得到业务请求对应的页面加载信息;其中,页面加载信息包括:页面信息和/或页面加载容器类型;判断子单元,用于判断预存页面加载信息表中是否存在对应业务请求的页面信息和/或页面加载容器类型。Further, optionally, the parsing unit includes: a parsing subunit, configured to parse the service request, and obtain page loading information corresponding to the service request; wherein the page loading information includes: page information and/or a page loading container type; And used to determine whether there is a page information and/or a page load container type corresponding to the service request in the pre-stored page loading information table.
根据本发明实施例的又一方面,还提供了另一种页面加载的装置,包括:接收模块,用于接收终端发送的业务请求;配置模块,用于依据业务请求返回对应的页面加载信息,以使得终端依据页面加载信息打开对应页面。According to still another aspect of the embodiments of the present invention, there is provided another apparatus for loading a page, comprising: a receiving module, configured to receive a service request sent by the terminal; and a configuration module, configured to return a corresponding page loading information according to the service request, So that the terminal opens the corresponding page according to the page loading information.
可选的,配置模块包括:信息解析单元,用于解析业务请求,得到业务请求所需的页面加载信息;查询单元,用于依据业务请求所需的页面加载信息查询预存页面加载信息;第一发送单元,用于在预存页面加载信息存在业务请求所需的页面加载信息的情况下,向终端返回页面加载信息;第二发送单元,用于在预存页面加载信息不存在业务请求所需的页面加载信息的情况下,向终端返回查询结果,其中,查询结果用于指示终端打开错误提示页面;其中,页面加载信息包括:页面信息和/或页面加载容器类型。Optionally, the configuration module includes: an information parsing unit, configured to parse the service request, and obtain the page loading information required for the service request; and the query unit is configured to query the pre-stored page loading information according to the page loading information required by the service request; a sending unit, configured to return page loading information to the terminal in the case that the pre-stored page loading information has the page loading information required for the service request; the second sending unit is configured to load the information in the pre-stored page without the service request In the case of loading information, the query result is returned to the terminal, wherein the query result is used to instruct the terminal to open the error prompt page; wherein the page loading information includes: page information and/or page load container type.
根据本发明实施例的再一方面,还提供了一种存储介质,包括:存储介质包括存储的程序,其中,在程序运行时控制存储介质所在设备执行上述页面加载的方法。According to still another aspect of the embodiments of the present invention, a storage medium is provided, including: the storage medium includes a stored program, wherein, when the program is running, a method of controlling the device where the storage medium is located to perform the page loading is performed.
根据本发明实施例的再一方面,还提供了一种处理器,包括:处理器用于运行程序,其中,程序运行时执行上述页面加载的方法。According to still another aspect of the embodiments of the present invention, a processor is provided, including: a processor, configured to run a program, wherein the method for performing the page loading described above is executed when the program runs.
在本发明实施例中,通过终端,用于根据预先获取的第一业务请求查询预存页面加载信息表,判断是否存在对应第一业务请求的页面加载信息,在判断结果为是的情况下,依据页面加载信息打开对应页面;服务器,用于终端的预存页面加载信息表不存在对应第一业务请求的页面加载信息的情况下,接收终端发送的第二业务请求,并依据第二业务请求返回对应的页面加载信息,以使得终端依据页面加载信息打开对应页面;其中,第一业务请求中的待查询的页面加载信息与第二业务请求中的待查询的页面加载信息相同,达到了动态配置页面类型的目的,从而实现了提升响应效率的技术效果,进而解决了由于现有技术中对APP的配置局限,导致的APP由于页面类型限制导致响应效率低的技术问题。In the embodiment of the present invention, the terminal is configured to query the pre-stored page loading information table according to the pre-acquired first service request to determine whether there is page loading information corresponding to the first service request, and if the determination result is yes, The page loading information opens the corresponding page; the server, in the case that the pre-stored page loading information table of the terminal does not have the page loading information corresponding to the first service request, receives the second service request sent by the terminal, and returns a corresponding according to the second service request. The page loading information is such that the terminal opens the corresponding page according to the page loading information; wherein the page loading information to be queried in the first service request is the same as the page loading information to be queried in the second service request, and the dynamic configuration page is reached. The purpose of the type is to achieve the technical effect of improving the response efficiency, thereby solving the technical problem that the APP has low response efficiency due to the limitation of the page type due to the configuration limitation of the APP in the prior art.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是根据本发明实施例一的页面加载的系统的结构图;1 is a structural diagram of a system for page loading according to a first embodiment of the present invention;
图2是根据本发明实施例一的页面加载的系统中页面加载信息获取的流程图;2 is a flowchart of page load information acquisition in a page loading system according to a first embodiment of the present invention;
图3是本发明实施例二的一种页面加载的方法的计算机终端的硬件结构框图;3 is a block diagram showing the hardware structure of a computer terminal of a page loading method according to Embodiment 2 of the present invention;
图4是根据本发明实施例二的页面加载的方法的流程图;4 is a flowchart of a method for page loading according to Embodiment 2 of the present invention;
图5是根据本发明实施例三的页面加载的方法的流程图;FIG. 5 is a flowchart of a method for page loading according to Embodiment 3 of the present invention; FIG.
图6是根据本申请实施例四的一种页面加载的装置示意图;6 is a schematic diagram of a device for page loading according to Embodiment 4 of the present application;
图7是根据本申请实施例五的一种页面加载的装置示意图。FIG. 7 is a schematic diagram of a device for page loading according to Embodiment 5 of the present application.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is an embodiment of the invention, but not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts shall fall within the scope of the present invention.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It is to be understood that the terms "first", "second", and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order. It is to be understood that the data so used may be interchanged where appropriate, so that the embodiments of the invention described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "comprises" and "comprises" and "the" and "the" are intended to cover a non-exclusive inclusion, for example, a process, method, system, product, or device that comprises a series of steps or units is not necessarily limited to Those steps or units may include other steps or units not explicitly listed or inherent to such processes, methods, products or devices.
本申请涉及的技术名词:The technical terms involved in this application:
页面加载信息:从一个页面跳转到另一个页面,需要根据页面加载信息来跳转。Page load information: Jump from one page to another, you need to jump according to the page load information.
智能云(方案中简称“云端”):是一套为智能设备提供云服务的后台服务系统,这套系统可以成为连接智能设备与用户无线终端上的智能APP(方案中简称“APP”)的桥梁,使得用户在APP上可以直观了解设备的运行状态,同时用户也可以通过APP的界面,向智能设备下达工作指令。云端同时也具备强大的数据存储、计算和数据接口服务能力,为智能APP提供服务能力。Intelligent cloud (referred to as “cloud” in the scheme): It is a background service system that provides cloud services for smart devices. This system can become a smart APP (referred to as “APP” in the scheme) connected to the smart device and the user wireless terminal. The bridge enables the user to intuitively understand the running status of the device on the APP, and the user can also issue work orders to the smart device through the interface of the APP. The cloud also has powerful data storage, computing and data interface services capabilities to provide service capabilities for smart apps.
智能APP(方案中简称“APP”):指的是用户安装在终端(包括但不限于智能手机、智能平板、个人计算机等)上,可以查看智能设备的状态,也可以向智能设备同步 状态和进行遥距控制的应用软件。Smart APP (referred to as "APP" in the scheme): refers to the user installed on the terminal (including but not limited to smart phones, smart tablets, personal computers, etc.), can view the status of the smart device, and can also synchronize the status with the smart device. Application software for remote control.
容器:APP中加载不同类型页面的载体。页面类型包括:重演本地页面(React Native,简称RN)、第五代超文本标记语言(Html5,简称H5)页面、本地Native页面,相应有重演本地页面RN容器、第五代超文本标记语言H5容器、本地Native容器。Container: A carrier that loads different types of pages in the APP. The page types include: React Native (RN), Fifth Generation Hypertext Markup Language (Html5, H5 for short), local Native page, corresponding replay local page RN container, fifth generation hypertext markup language H5 Container, local Native container.
Native页面:使用Android系统或者IOS系统原生语言开发的页面。Native page: A page developed using the Android system or the native language of the IOS system.
用户无感知:对当前用户的使用,没有打断、影响,并且用户并不知道程序做了什么事情。The user is not aware: the use of the current user is not interrupted, affected, and the user does not know what the program does.
实施例1Example 1
根据本发明实施例,还提供了一种页面加载的系统实施例,需要说明的是,在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。In accordance with an embodiment of the present invention, there is also provided a system embodiment for page loading, it being noted that the steps illustrated in the flowchart of the figures may be performed in a computer system such as a set of computer executable instructions, and Although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in a different order than the ones described herein.
本申请提供了如图1所示的页面加载的系统。图1是根据本发明实施例一的页面加载的系统的结构图。本申请提供的页面加载的系统包括:The application provides a page loading system as shown in FIG. 1 is a structural diagram of a system for page loading according to a first embodiment of the present invention. The page loading system provided by the application includes:
终端12,用于根据预先获取的第一业务请求查询预存页面加载信息表,判断是否存在对应第一业务请求的页面加载信息,在判断结果为是的情况下,依据页面加载信息打开对应页面;服务器14,用于终端的预存页面加载信息表不存在对应第一业务请求的页面加载信息的情况下,接收终端12发送的第二业务请求,并依据第二业务请求返回对应的页面加载信息,以使得终端12依据页面加载信息打开对应页面;其中,第一业务请求中的待查询的页面加载信息与第二业务请求中的待查询的页面加载信息相同。The terminal 12 is configured to query the pre-stored page loading information table according to the pre-acquired first service request, and determine whether there is page loading information corresponding to the first service request. If the determination result is yes, the corresponding page is opened according to the page loading information; The server 14 is configured to receive the second service request sent by the terminal 12, and return the corresponding page loading information according to the second service request, if the pre-stored page loading information table of the terminal does not have the page loading information corresponding to the first service request, The page 12 is configured to open the corresponding page according to the page loading information. The page loading information to be queried in the first service request is the same as the page loading information to be queried in the second service request.
具体的,本申请提供的页面加载的系统可以适用于智能云环境与智能APP交互方案,其中,在本申请中智能APP安装于终端12中,智能云环境可以适用于服务器14中,这里当在智能云环境下本申请中的服务器14可以为云服务器,本申请提供的终端12可以包括:智能手机(例如,操作系统包括:IOS、Android或Windows的手机)、平板电脑、笔记本电脑、掌上商务、智能穿戴设备(例如:谷歌眼镜,增强现实AR、虚拟现实VR设备,智能手表等)。Specifically, the page loading system provided by the present application can be applied to the smart cloud environment and the smart APP interaction solution. In the present application, the smart APP is installed in the terminal 12, and the smart cloud environment can be applied to the server 14, where The server 14 in the present application may be a cloud server in an intelligent cloud environment. The terminal 12 provided by the present application may include: a smart phone (for example, an operating system including: IOS, Android or Windows mobile phone), a tablet computer, a notebook computer, and a palm business. , smart wearable devices (such as: Google glasses, augmented reality AR, virtual reality VR devices, smart watches, etc.).
其中,在本申请中终端12所接收到的第一业务请求可以包括业务码(code),终端12接收到传入的业务码之后,根据该业务码去本地页面加载信息表中查询页面加载信息(即,本申请中的根据预先获取的第一业务请求查询预存页面加载信息表,判断是否存在对应第一业务请求的页面加载信息),在找到对应的页面加载信息的情况下,根据该 页面加载信息使用对应的容器打开页面,由于现有技术中APP的页面也越来越多,页面的管理也变得异常复杂。同时随着APP支持多容器的能力,现有技术中需要根据程序运行的参数等情况决定跳转到哪个页面。其中,本申请中的页面加载信息可以用于指示APP根据该页面加载信息中的页面加载信息路径通过对应容器打开对应的页面。The first service request received by the terminal 12 in the present application may include a service code. After receiving the incoming service code, the terminal 12 queries the page load information in the local page loading information table according to the service code. (In the present application, the pre-stored page loading information table is queried according to the pre-acquired first service request, and it is determined whether there is page loading information corresponding to the first service request), and in the case that the corresponding page loading information is found, according to the page The loading information uses the corresponding container to open the page. Since the pages of the APP in the prior art are also more and more, the management of the page becomes extremely complicated. At the same time, with the ability of the APP to support multiple containers, in the prior art, it is necessary to decide which page to jump to according to the parameters of the program running. The page loading information in the application may be used to instruct the APP to open the corresponding page through the corresponding container according to the page loading information path in the page loading information.
而本申请提供的页面加载的系统通过查询本地存储的页面加载信息表,在页面加载信息表未存储该第一业务请求对应的页面加载信息的情况下,通过访问云服务器获取对应的页面加载信息,进而在打开各个类型页面的过程中通过使用对应的容器打开对应的页面。The page loading system provided by the present application obtains the corresponding page loading information by accessing the cloud server by querying the locally loaded page loading information table and storing the page loading information corresponding to the first service request in the page loading information table. And in the process of opening each type of page, the corresponding page is opened by using the corresponding container.
其中,预存页面加载信息表如表1所示:Among them, the pre-stored page loading information table is shown in Table 1:
表1预存页面加载信息表Table 1 pre-stored page loading information table
业务码Service code 页面类型Page type 容器类型Container type 路径path
业务码1Service code 1 RN页面RN page RN容器RN container 路径1Path 1
业务码2Service code 2 H5页面H5 page H5容器H5 container 路径2Path 2
业务码3Service code 3 Native页面Native page Native容器Native container 路径3Path 3
如表1中提供的页面对应的类型以及对应的容器,若接到的业务码对应的页面加载信息中在表1存在对应的页面类型和容器,则APP依据该业务码对应的容器打开对应页面。If the type corresponding to the page provided in Table 1 and the corresponding container, if there is a corresponding page type and container in the page loading information corresponding to the received service code, the APP opens the corresponding page according to the container corresponding to the service code. .
例如,在收到业务码1时,若该业务码1对应的页面类型和容器类型分别为:RN页面和RN容器,且如表1所示预存页面加载信息表中存储有该页面加载信息,则APP依据该RN容器和路径1打开对应的页面,同理,若预存页面加载信息表中未存储该页面加载信息,则APP通过访问云服务器,即本申请中的服务器14获取该页面加载信息,进而依据该页面加载信息中的容器类型和路径打开对应页面。For example, when the service code 1 is received, if the page type and the container type corresponding to the service code 1 are: an RN page and an RN container, and the page loading information is stored in the pre-stored page loading information table as shown in Table 1, Then, the APP opens the corresponding page according to the RN container and the path 1. In the same way, if the page loading information is not stored in the pre-stored page loading information table, the APP accesses the cloud server, that is, the server 14 in the application obtains the page loading information. And then open the corresponding page according to the container type and path in the page loading information.
这里本申请中的第一业务请求可以包括终端12中的APP接收业务码时接收到的业务请求;第二业务请求可以包括若预存页面加载信息表中未存储该页面加载信息,则APP通过访问云服务器时向云服务器发送的业务请求。The first service request in the present application may include a service request received by the APP in the terminal 12 when receiving the service code. The second service request may include: if the page loading information is not stored in the pre-stored page loading information table, the APP accesses A business request sent to the cloud server when the cloud server.
在本发明实施例中,通过终端,用于根据预先获取的第一业务请求查询预存页面加载信息表,判断是否存在对应第一业务请求的页面加载信息,在判断结果为是的情况下,依据页面加载信息打开对应页面;服务器,用于终端的预存页面加载信息表不存在对应第一业务请求的页面加载信息的情况下,接收终端发送的第二业务请求,并依据第二业 务请求返回对应的页面加载信息,以使得终端依据页面加载信息打开对应页面;其中,第一业务请求中的待查询的页面加载信息与第二业务请求中的待查询的页面加载信息相同,达到了动态配置页面类型的目的,从而实现了提升响应效率的技术效果,进而解决了由于现有技术中对APP的配置局限,导致的APP由于页面类型限制导致响应效率低的技术问题。In the embodiment of the present invention, the terminal is configured to query the pre-stored page loading information table according to the pre-acquired first service request to determine whether there is page loading information corresponding to the first service request, and if the determination result is yes, The page loading information opens the corresponding page; the server, in the case that the pre-stored page loading information table of the terminal does not have the page loading information corresponding to the first service request, receives the second service request sent by the terminal, and returns a corresponding according to the second service request. The page loading information is such that the terminal opens the corresponding page according to the page loading information; wherein the page loading information to be queried in the first service request is the same as the page loading information to be queried in the second service request, and the dynamic configuration page is reached. The purpose of the type is to achieve the technical effect of improving the response efficiency, thereby solving the technical problem that the APP has low response efficiency due to the limitation of the page type due to the configuration limitation of the APP in the prior art.
可选的,服务器14包括:云服务器,其中,云服务器,用于存储页面加载信息,并依据存储的页面加载信息返回终端发送的第二业务请求对应的页面加载信息。Optionally, the server 14 includes: a cloud server, where the cloud server is configured to store the page loading information, and return the page loading information corresponding to the second service request sent by the terminal according to the stored page loading information.
进一步地,可选的,页面加载信息包括:页面信息和/或页面加载容器类型。Further, optionally, the page loading information includes: page information and/or a page loading container type.
可选的,终端12包括:解析模块、第一处理模块和第二处理模块,其中,解析模块,用于解析第一业务请求,得到第一业务请求对应的页面信息和/或页面加载容器类型,并判断预存页面加载信息表中是否存在对应第一业务请求的页面信息和/或页面加载容器类型;第一处理模块,用于在预存页面加载信息表中存在对应第一业务请求的页面信息和/或页面加载容器类型的情况下,依据页面信息和/或页面加载容器类型打开对应页面;第二处理模块,用于在预存页面加载信息表中不存在对应第一业务请求的页面信息和/或页面加载容器类型的情况下,向服务器发送第二业务请求,并接收服务器依据第二业务请求返回的页面信息和/或页面加载容器类型,并依据页面信息和/或页面加载容器类型打开对应页面;其中,第一业务请求中的待查询的页面加载信息与第二业务请求中的待查询的页面加载信息相同。Optionally, the terminal 12 includes: a parsing module, a first processing module, and a second processing module, where the parsing module is configured to parse the first service request, and obtain the page information corresponding to the first service request and/or the page loading container type. And determining, in the pre-stored page loading information table, whether there is a page information corresponding to the first service request and/or a page loading container type; the first processing module is configured to: the page information corresponding to the first service request exists in the pre-stored page loading information table And the page loading the container type, the corresponding page is opened according to the page information and/or the page loading container type; the second processing module is configured to not have the page information corresponding to the first service request in the pre-stored page loading information table and / or page load container type, send a second service request to the server, and receive the page information and / or page load container type returned by the server according to the second business request, and open according to the page information and / or the page load container type Corresponding page; wherein, the page loading information to be queried in the first service request and the Page service request to be queried load the same information.
综上,本申请提供的页面加载的系统通过在云端配置不同的业务码对应的页面以及打开的容器类型,APP在不需要修改的情况下,可根据云端配置的不同,打开不同的页面。In summary, the page loading system provided by the present application can configure different pages of different service codes and open container types in the cloud, and the APP can open different pages according to different cloud configurations without modification.
具体的,如图2所示,图2是根据本发明实施例一的页面加载的系统中页面加载信息获取的流程图,该流程包含如下步骤:Specifically, as shown in FIG. 2, FIG. 2 is a flowchart of page load information acquisition in a page loading system according to Embodiment 1 of the present invention, and the process includes the following steps:
步骤一:开发者首先根据不同的业务,传入到不同的业务码;Step 1: The developer first passes in different service codes according to different services;
步骤二:在本地的页面加载信息表中查询业务码对应的页面信息以及页面加载容器类型。Step 2: Query the page information corresponding to the service code and the page loading container type in the local page loading information table.
a.如果本地页面加载信息表中没有查找到业务码对应的页面加载信息,则进行步骤三;a. If the page loading information corresponding to the service code is not found in the local page loading information table, proceed to step 3;
b.如果本地页面加载信息表中查找到业务码对应的页面加载信息,则进行步骤四。b. If the page loading information corresponding to the service code is found in the local page loading information table, proceed to step 4.
步骤三:从云端获取业务码对应的页面加载信息。Step 3: Obtain the page loading information corresponding to the service code from the cloud.
a.如果获取到页面加载信息,则进行步骤四;a. If the page loading information is obtained, proceed to step four;
b.如果没有获取到页面加载信息,则进行步骤五;b. If the page loading information is not obtained, proceed to step 5;
步骤四:根据页面加载信息使用相应的容器打开页面。Step 4: Open the page using the appropriate container based on the page load information.
步骤五:打开错误提示页面。Step 5: Open the error message page.
基于上述,本申请提供的页面加载的系统可以支持后台配置跳转页面;以及可以支持后台配置打开页面的容器类型,并可以去除程序与程序间的依赖关系,有利于程序间的相互独立。Based on the above, the page loading system provided by the present application can support the background configuration jump page; and can support the background configuration to open the page type of the container, and can remove the dependency between the program and the program, which is beneficial to the independence of the programs.
其中,随着移动技术的发展,H5、RN、Native混合编码的需求越来越高,本申请提供的页面加载的系统能有效解决混合编码的动态配置能力。依据本申请提供的页面加载的系统开发者能及时更新APP的需求,为用户带来更好的用户体验;以及依据本申请提供的页面加载的系统打开页面需要传入的参数,可在后台配置。可实现根据后台配置参数的不同,页面显示的动态调整。Among them, with the development of mobile technology, the demand for hybrid coding of H5, RN, and Native is getting higher and higher. The page loading system provided by the present application can effectively solve the dynamic configuration capability of hybrid coding. The system developer who downloads the page according to the application can update the requirements of the APP in time to bring a better user experience to the user; and the parameters required to open the page according to the page loading system provided by the application can be configured in the background. . The dynamic adjustment of the page display can be realized according to different background configuration parameters.
实施例2Example 2
本申请实施例一所提供的方法实施例可以在移动终端、计算机终端或者类似的运算装置中执行。以运行在计算机终端上为例,图3是本发明实施例二的一种页面加载的方法的计算机终端的硬件结构框图。如图3所示,计算机终端30可以包括一个或多个(图中仅示出一个)处理器302(处理器302可以包括但不限于微处理器MCU或可编程逻辑器件FPGA等的处理装置)、用于存储数据的存储器304、以及用于通信功能的传输模块306。本领域普通技术人员可以理解,图3所示的结构仅为示意,其并不对上述电子装置的结构造成限定。例如,计算机终端30还可包括比图3中所示更多或者更少的组件,或者具有与图3所示不同的配置。The method embodiment provided in Embodiment 1 of the present application can be executed in a mobile terminal, a computer terminal or the like. Taking a computer terminal as an example, FIG. 3 is a hardware structural block diagram of a computer terminal of a page loading method according to a second embodiment of the present invention. As shown in FIG. 3, computer terminal 30 may include one or more (only one shown) processor 302 (processor 302 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) A memory 304 for storing data, and a transmission module 306 for communication functions. It will be understood by those skilled in the art that the structure shown in FIG. 3 is merely illustrative and does not limit the structure of the above electronic device. For example, computer terminal 30 may also include more or fewer components than shown in FIG. 3, or have a different configuration than that shown in FIG.
存储器304可用于存储应用软件的软件程序以及模块,如本发明实施例中的页面加载的方法对应的程序指令/模块,处理器302通过运行存储在存储器304内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的应用程序的页面加载的方法。存储器304可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器304可进一步包括相对于处理器302远程设置的存储器,这些远程存储器可以通过网络连接至计算机终端30。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 304 can be used to store software programs and modules of the application software, such as program instructions/modules corresponding to the page loading method in the embodiment of the present invention, and the processor 302 executes each of the software programs and modules stored in the memory 304. A functional application and data processing, that is, a method of implementing page loading of the above application. Memory 304 can include high speed random access memory and can also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, memory 304 can further include memory remotely located relative to processor 302, which can be connected to computer terminal 30 over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
传输模块306用于经由一个网络接收或者发送数据。上述的网络具体实例可包括计算机终端30的通信供应商提供的无线网络。在一个实例中,传输模块306包括一个网络适配器(Network Interface Controller,NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输模块306可以为射频(Radio Frequency,RF)模块,其用于通过无线方式与互联网进行通讯。The transmission module 306 is configured to receive or transmit data via a network. The network specific examples described above may include a wireless network provided by a communication provider of the computer terminal 30. In one example, the transmission module 306 includes a Network Interface Controller (NIC) that can be connected to other network devices through a base station to communicate with the Internet. In one example, the transmission module 306 can be a Radio Frequency (RF) module for communicating with the Internet wirelessly.
在上述运行环境下,本申请提供了如图4所示的页面加载的方法。在终端侧,图4是根据本发明实施例二的页面加载的方法的流程图。本申请提供的页面加载的方法具体如下:In the above operating environment, the present application provides a method of page loading as shown in FIG. On the terminal side, FIG. 4 is a flowchart of a method for page loading according to Embodiment 2 of the present invention. The method for loading a page provided by the present application is as follows:
步骤S402,获取业务请求;Step S402, acquiring a service request.
步骤S404,根据业务请求获取对应的页面加载信息,并根据页面加载信息通过对应容器打开对应页面。Step S404: Acquire corresponding page loading information according to the service request, and open the corresponding page by using the corresponding container according to the page loading information.
其中,步骤S404中根据业务请求获取对应的页面加载信息,并根据页面加载信息通过对应容器打开对应页面包括:In step S404, the corresponding page loading information is obtained according to the service request, and the corresponding page is opened by the corresponding container according to the page loading information, including:
Step1,判断预存页面加载信息表中是否存在对应业务请求的页面加载信息;Step 1 : determining whether there is page loading information corresponding to the service request in the pre-stored page loading information table;
Step2,在判断结果为是的情况下,依据页面加载信息通过对应容器打开对应页面;Step 2, in the case that the judgment result is yes, the corresponding page is opened by the corresponding container according to the page loading information;
Step3,在判断结果为否的情况下,向服务器发送业务请求,并接收服务器依据业务请求返回的页面加载信息,并依据页面加载信息通过对应容器打开对应页面。Step 3: In the case that the determination result is no, the service request is sent to the server, and the page loading information returned by the server according to the service request is received, and the corresponding page is opened by the corresponding container according to the page loading information.
具体的,在终端侧,基于实施例1中的终端部分,本申请实施例2以智能手机为例进行说明,在智能手机上安装的APP程序在接收到业务码之后,依据该业务码查询预存页面加载信息表,并判断在该预存页面加载信息表中是否存在与该业务码对应的页面加载信息,在判断结果为是的情况下,依据该页面加载信息通过对应的容器打开页面;若该预存页面加载信息表中不存在该业务码对应的页面加载信息,终端向服务器(即,云服务器)发送业务请求,云服务器依据该业务请求将对应的页面加载信息反馈给终端,终端依据该页面加载信息通过对应的容器打开页面。Specifically, on the terminal side, based on the terminal part in Embodiment 1, the second embodiment of the present application is described by taking a smart phone as an example. After receiving the service code, the APP program installed on the smart phone is pre-stored according to the service code. The page loads the information table, and determines whether there is page loading information corresponding to the service code in the pre-stored page loading information table. If the determination result is yes, the page is opened according to the page loading information through the corresponding container; The page loading information corresponding to the service code does not exist in the pre-stored page loading information table, and the terminal sends a service request to the server (ie, the cloud server), and the cloud server feeds back the corresponding page loading information to the terminal according to the service request, and the terminal according to the page The loading information opens the page through the corresponding container.
在本发明实施例中,通过获取业务请求;根据业务请求获取对应的页面加载信息,并根据页面加载信息通过对应容器打开对应页面,达到了动态配置页面类型的目的,从而实现了提升响应效率的技术效果,进而解决了由于现有技术中对APP的配置局限,导致的APP由于页面类型限制导致响应效率低的技术问题。In the embodiment of the present invention, the service request is obtained, the corresponding page loading information is obtained according to the service request, and the corresponding page is opened by the corresponding container according to the page loading information, thereby achieving the purpose of dynamically configuring the page type, thereby improving the response efficiency. The technical effect further solves the technical problem that the APP has low response efficiency due to the limitation of the page type due to the configuration limitation of the APP in the prior art.
可选的,步骤S404中Step1中判断预存页面加载信息表中是否存在对应业务请求的页面加载信息包括:Optionally, in step S404, it is determined in step 1 that the page loading information of the corresponding service request in the pre-stored page loading information table includes:
步骤A,解析业务请求,得到业务请求对应的页面加载信息;其中,页面加载信息包括:页面信息和/或页面加载容器类型;In step A, the service request is parsed, and the page loading information corresponding to the service request is obtained. The page loading information includes: page information and/or a page loading container type;
步骤B,判断预存页面加载信息表中是否存在对应业务请求的页面信息和/或页面加载容器类型。In step B, it is determined whether there is a page information corresponding to the service request and/or a page loading container type in the pre-stored page loading information table.
具体的,在页面加载信息包括:页面信息和/或页面加载容器类型的情况下,终端根据第一业务请求中的业务码获取对应该业务码的页面信息和/或页面容器类型,依据该页面信息和/或页面容器类型从预存页面加载信息表中进行查询,判断该预存页面加载信息表是否存储有该页面信息和/或页面容器类型,如果有则执行步骤Step2,如果没有则执行步骤Step3,其中,预存页面加载信息表可以包括终端本地预先存储的页面加载信息表,在每次打开安装于终端的APP时,通过检测判断当前终端存储的页面加载信息表是否与云服务器中的页面加载信息表相同,如果不同从云服务器中下砸更新本地存储的页面加载信息表,即得到预存页面加载信息表。Specifically, in the case that the page loading information includes: the page information and/or the page loading container type, the terminal acquires the page information corresponding to the service code and/or the page container type according to the service code in the first service request, according to the page. The information and/or page container type is queried from the pre-stored page loading information table to determine whether the pre-stored page loading information table stores the page information and/or the page container type. If yes, execute step Step2, if not, execute step Step3. The pre-stored page loading information table may include a page loading information table pre-stored by the terminal locally, and each time the APP installed in the terminal is opened, it is determined by the detection whether the page loading information table stored by the current terminal is loaded with the page in the cloud server. The information table is the same. If the page load information table of the local storage is updated from the cloud server, the pre-stored page loading information table is obtained.
可选的,在步骤S404中的Step3接收服务器依据业务请求返回的页面加载信息之后,在依据页面加载信息打开对应页面之前,本申请提供的页面加载的方法还包括:Optionally, after the step 3 in step S404 receives the page loading information returned by the server according to the service request, and before the corresponding page is opened according to the page loading information, the method for loading the page provided by the application further includes:
Step3’,将依据业务请求返回的页面加载信息更新至预存页面加载信息表。Step 3', updating the page loading information returned according to the service request to the pre-stored page loading information table.
具体的,在本申请中更新存储于终端的预存页面加载信息表的方式包括两种,其一,Step3’,根据当前向云服务器请求的页面加载信息,更新至预存页面加载信息表中,即,每次在预存页面加载信息表中若查不到对应业务码的页面加载信息,便向云服务器获取对应页面加载信息,进而依据该页面加载信息更新预存页面加载信息表。其二,通过步骤Step1’和步骤Step2’实现。Specifically, in the present application, the method for updating the pre-stored page loading information table stored in the terminal includes two types. First, Step3' is updated to the pre-stored page loading information table according to the page loading information currently requested by the cloud server, that is, If the page loading information of the corresponding service code is not found in the pre-stored page loading information table, the corresponding page loading information is obtained from the cloud server, and the pre-stored page loading information table is updated according to the page loading information. Second, it is realized by the step Step1' and the step Step2'.
可选的,本申请提供的页面加载的方法还包括:Optionally, the method for loading a page provided by the application further includes:
步骤Step4,若服务器中不存在与业务请求对应的页面加载信息,则打开错误提示页面,其中,错误提示页面,用于指示无法打开当前业务请求对应的页面。Step Step 4: If the page loading information corresponding to the service request does not exist in the server, the error prompt page is opened, where the error prompt page is used to indicate that the page corresponding to the current service request cannot be opened.
具体的,当云服务器也未存储该业务码对应的页面加载信息时,云服务器向终端返回打开业务提示页面的响应消息,依据该响应消息提示终端显示错误提示页面,用于提醒用户该业务码打不开对应页面。Specifically, when the cloud server does not store the page loading information corresponding to the service code, the cloud server returns a response message for opening the service prompt page to the terminal, and prompts the terminal to display an error prompt page according to the response message, and is used to remind the user of the service code. Can't open the corresponding page.
可选的,在步骤Step1中判断预存页面加载信息表中是否存在对应业务请求的页面加载信息之前,本申请提供的页面加载的方法还包括:Optionally, the method for loading a page provided by the present application further includes: before, in step Step1, determining whether the page loading information of the corresponding service request exists in the pre-stored page loading information table:
步骤Step1’,检测是否接收到服务器反馈的页面加载信息表更新指示信息;Step Step1', detecting whether the page load information table update indication information fed back by the server is received;
步骤Step2’,在检测结果为是的情况下,向服务器发送页面加载信息表更新请求, 接收服务器根据页面加载信息表更新请求返回的数据更新包,并依据数据更新包更新预存页面加载信息表。Step Step2', if the detection result is YES, the page load information table update request is sent to the server, the receiving server updates the data update package according to the page load information table update request, and updates the pre-stored page load information table according to the data update package.
具体的,安装于终端上的APP在每次打开之前,检测是否接收到服务器反馈的页面加载信息表更新指示信息,在检测结果为是的情况下,向服务器发送页面加载信息表更新请求,从服务器侧下载对应的数据更新包,并依据数据更新包更新预存页面加载信息表。Specifically, before being opened, the APP installed on the terminal detects whether the page loading information table update indication information fed back by the server is received, and if the detection result is yes, sends a page loading information table update request to the server, from The server side downloads the corresponding data update package, and updates the pre-stored page load information table according to the data update package.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present invention is not limited by the described action sequence. Because certain steps may be performed in other sequences or concurrently in accordance with the present invention. In the following, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的页面加载的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method of page loading according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases. The former is a better implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
实施例3Example 3
本申请提供了如图5所示的页面加载的方法。在服务器侧,图5是根据本发明实施例三的页面加载的方法的流程图。本申请提供的页面加载的方法包括:The application provides a method of page loading as shown in FIG. 5. On the server side, FIG. 5 is a flowchart of a method for page loading according to Embodiment 3 of the present invention. The method for page loading provided by the present application includes:
步骤S502,接收终端发送的业务请求;Step S502, receiving a service request sent by the terminal;
步骤S504,依据业务请求返回对应的页面加载信息,以使得终端依据页面加载信息打开对应页面。Step S504, returning corresponding page loading information according to the service request, so that the terminal opens the corresponding page according to the page loading information.
具体的,对应实施例1中的服务器侧和实施例2中的终端侧,在接收终端发送的业务请求后,服务器依据该业务请求中的业务码进行查询,判断是否存储有该业务码对应的页面加载信息,若有则向终端返回对应的页面加载信息,以使得终端依据该页面加载信息通过对应容器打开页面。Specifically, the server side in the first embodiment and the terminal side in the second embodiment, after receiving the service request sent by the terminal, the server performs a query according to the service code in the service request, and determines whether the corresponding service code is stored. The page loading information, if any, returns a corresponding page loading information to the terminal, so that the terminal opens the page through the corresponding container according to the page loading information.
在本发明实施例中,通过接收终端发送的业务请求;依据业务请求返回对应的页面 加载信息,以使得终端依据页面加载信息打开对应页面,达到了动态配置页面类型的目的,从而实现了提升响应效率的技术效果,进而解决了由于现有技术中对APP的配置局限,导致的APP由于页面类型限制导致响应效率低的技术问题。In the embodiment of the present invention, the service request sent by the terminal is received; the corresponding page loading information is returned according to the service request, so that the terminal opens the corresponding page according to the page loading information, thereby achieving the purpose of dynamically configuring the page type, thereby achieving the promotion response. The technical effect of the efficiency further solves the technical problem that the APP has low response efficiency due to the limitation of the page type due to the configuration limitation of the APP in the prior art.
可选的,步骤S504中依据业务请求返回对应的页面加载信息包括:Optionally, the returning the corresponding page loading information according to the service request in step S504 includes:
Step1,解析业务请求,得到业务请求所需的页面加载信息;Step1, parsing the service request, and obtaining the page loading information required for the business request;
Step2,依据业务请求所需的页面加载信息查询预存页面加载信息;Step 2, querying the pre-stored page loading information according to the page loading information required by the business request;
Step3,在预存页面加载信息存在业务请求所需的页面加载信息的情况下,向终端返回页面加载信息;Step 3, in the case that the pre-stored page loading information has the page loading information required for the service request, returning the page loading information to the terminal;
Step4,在预存页面加载信息不存在业务请求所需的页面加载信息的情况下,向终端返回查询结果,其中,查询结果用于指示终端打开错误提示页面;其中,页面加载信息包括:页面信息和/或页面加载容器类型。Step 4, in the case that the pre-stored page loading information does not have the page loading information required for the service request, the query result is returned to the terminal, wherein the query result is used to instruct the terminal to open the error prompt page; wherein the page loading information includes: page information and / or page load container type.
具体的,解析业务请求中的业务码,得到该业务码对应的页面加载信息,根据该页面加载信息查询预存页面加载信息,如果存在该页面加载信息,则向终端返回对应的页面加载信息;如果不存在该页面加载信息,则向终端返回查询结果,其中,查询结果用于指示终端打开错误提示页面;其中,页面加载信息包括:页面信息和/或页面加载容器类型。Specifically, the service code in the service request is parsed, the page loading information corresponding to the service code is obtained, and the pre-stored page loading information is queried according to the page loading information. If the page loading information exists, the corresponding page loading information is returned to the terminal; If the page loading information does not exist, the query result is returned to the terminal, where the query result is used to instruct the terminal to open the error prompt page; wherein the page loading information includes: page information and/or page loading container type.
可选的,本申请提供的页面加载的方法还包括:Optionally, the method for loading a page provided by the application further includes:
步骤S505,向终端发送页面加载信息表更新指示信息,其中,页面加载信息表更新指示信息,用于指示终端更新页面加载信息表;Step S505, the page load information table update indication information is sent to the terminal, where the page load information table update indication information is used to instruct the terminal to update the page load information table;
步骤S506,接收终端发送的页面加载信息表更新请求;Step S506, receiving a page loading information table update request sent by the terminal;
步骤S507,依据页面加载信息表更新请求返回对应的数据更新包,以使得终端依据数据更新包更新页面加载信息表。Step S507, returning a corresponding data update package according to the page load information table update request, so that the terminal updates the page load information table according to the data update package.
具体的,对应实施例2中终端更新预存页面加载信息表的过程,服务器侧在更新页面加载信息表之后,向终端发送页面加载信息表更新指示信息,在接收到终端发送的页面加载信息表更新请求后向终端返回对应的数据更新包,以使得终端依据数据更新包更新页面加载信息表,以达到终端侧的页面加载信息表总是保持为最新的页面加载信息表。Specifically, corresponding to the process of updating the pre-stored page loading information table by the terminal in the second embodiment, after updating the page loading information table, the server side sends the page loading information table update indication information to the terminal, and receives the page loading information table update sent by the terminal. After the request, the corresponding data update package is returned to the terminal, so that the terminal updates the page load information table according to the data update package, so that the page load information table of the terminal side always keeps the latest page load information table.
实施例4Example 4
根据本申请实施例,还提供了一种用于实现上述实施例2中页面加载的装置实施例,图6是根据本申请实施例四的一种页面加载的装置示意图,在终端侧,如图6所示,该装置包括:According to an embodiment of the present application, an apparatus for implementing page loading in the foregoing Embodiment 2 is further provided. FIG. 6 is a schematic diagram of a device for loading a page according to Embodiment 4 of the present application. As shown in 6, the device includes:
获取模块62,用于获取业务请求;页面启动模块64,用于根据业务请求获取对应的页面加载信息,并根据页面加载信息通过对应容器打开对应页面。The obtaining module 62 is configured to obtain a service request, and the page startup module 64 is configured to obtain corresponding page loading information according to the service request, and open the corresponding page by using the corresponding container according to the page loading information.
在本发明实施例中,通过获取业务请求;根据业务请求获取对应的页面加载信息,并根据页面加载信息通过对应容器打开对应页面,达到了动态配置页面类型的目的,从而实现了提升响应效率的技术效果,进而解决了由于现有技术中对APP的配置局限,导致的APP由于页面类型限制导致响应效率低的技术问题。In the embodiment of the present invention, the service request is obtained, the corresponding page loading information is obtained according to the service request, and the corresponding page is opened by the corresponding container according to the page loading information, thereby achieving the purpose of dynamically configuring the page type, thereby improving the response efficiency. The technical effect further solves the technical problem that the APP has low response efficiency due to the limitation of the page type due to the configuration limitation of the APP in the prior art.
此处需要说明的是,上述获取模块62和页面启动模块64对应于实施例2中的步骤S402至S404,上述两个模块与对应的步骤所实现的示例和应用场景相同,但不限于上述实施例2所公开的内容。需要说明的是,上述模块作为装置的一部分可以在诸如一组计算机可执行指令的计算机系统中执行。It should be noted that the foregoing obtaining module 62 and the page starting module 64 correspond to steps S402 to S404 in Embodiment 2, and the foregoing two modules are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the above implementation. The content disclosed in Example 2. It should be noted that the above modules may be implemented as part of a device in a computer system such as a set of computer executable instructions.
可选的,页面启动模块64包括:解析单元,用于判断预存页面加载信息表中是否存在对应业务请求的页面加载信息;第一处理单元,用于在判断结果为是的情况下,依据页面加载信息通过对应容器打开对应页面;第二处理单元,用于在判断结果为否的情况下,向服务器发送业务请求,并接收服务器依据业务请求返回的页面加载信息,并依据页面加载信息通过对应容器打开对应页面。Optionally, the page startup module 64 includes: a parsing unit, configured to determine whether there is page loading information corresponding to the service request in the pre-stored page loading information table; and the first processing unit is configured to: according to the page, if the determination result is yes, Loading the information to open the corresponding page through the corresponding container; the second processing unit is configured to send a service request to the server if the determination result is no, and receive the page loading information returned by the server according to the service request, and correspondingly according to the page loading information The container opens the corresponding page.
此处需要说明的是,上述解析单元、第一处理单元和第二处理单元对应于实施例2中的步骤S404中的Step1至Step3,上述三个模块与对应的步骤所实现的示例和应用场景相同,但不限于上述实施例2所公开的内容。需要说明的是,上述模块作为装置的一部分可以在诸如一组计算机可执行指令的计算机系统中执行。It should be noted that the foregoing parsing unit, the first processing unit, and the second processing unit correspond to Step 1 to Step 3 in step S404 in Embodiment 2, examples and application scenarios implemented by the above three modules and corresponding steps. The same, but not limited to, the content disclosed in the above embodiment 2. It should be noted that the above modules may be implemented as part of a device in a computer system such as a set of computer executable instructions.
可选的,解析单元包括:解析子单元,用于解析业务请求,得到业务请求对应的页面加载信息;其中,页面加载信息包括:页面信息和/或页面加载容器类型;判断子单元,用于判断预存页面加载信息表中是否存在对应业务请求的页面信息和/或页面加载容器类型。Optionally, the parsing unit includes: a parsing subunit, configured to parse the service request, and obtain page loading information corresponding to the service request; wherein the page loading information includes: a page information and/or a page loading container type; and a determining subunit, configured to: It is judged whether there is a page information corresponding to the service request and/or a page loading container type in the pre-stored page loading information table.
此处需要说明的是,上述解析单元和判断单元对应于实施例2中的步骤S404中Step1中的步骤A和步骤B,上述两个模块与对应的步骤所实现的示例和应用场景相同,但不限于上述实施例2所公开的内容。需要说明的是,上述模块作为装置的一部分可以在诸如一组计算机可执行指令的计算机系统中执行。It should be noted that the foregoing parsing unit and the judging unit correspond to step A and step B in step 1 in step S404 in the second embodiment, and the two modules are the same as the examples and application scenarios implemented in the corresponding steps, but It is not limited to the contents disclosed in the above embodiment 2. It should be noted that the above modules may be implemented as part of a device in a computer system such as a set of computer executable instructions.
实施例5Example 5
根据本申请实施例,还提供了一种用于实现上述实施例3中页面加载的装置实施例, 图7是根据本申请实施例五的一种页面加载的装置示意图,在服务器侧,如图7所示,该装置包括:An apparatus for implementing page loading in the foregoing Embodiment 3 is also provided according to the embodiment of the present application. FIG. 7 is a schematic diagram of a device for loading a page according to Embodiment 5 of the present application. As shown in 7, the device includes:
接收模块72,用于接收终端发送的业务请求;配置模块74,用于依据业务请求返回对应的页面加载信息,以使得终端依据页面加载信息打开对应页面。The receiving module 72 is configured to receive a service request sent by the terminal, and the configuration module 74 is configured to return corresponding page loading information according to the service request, so that the terminal opens the corresponding page according to the page loading information.
在本发明实施例中,通过接收终端发送的业务请求;依据业务请求返回对应的页面加载信息,以使得终端依据页面加载信息打开对应页面,达到了动态配置页面类型的目的,从而实现了提升响应效率的技术效果,进而解决了由于现有技术中对APP的配置局限,导致的APP由于页面类型限制导致响应效率低的技术问题。In the embodiment of the present invention, the service request sent by the terminal is received; the corresponding page loading information is returned according to the service request, so that the terminal opens the corresponding page according to the page loading information, thereby achieving the purpose of dynamically configuring the page type, thereby achieving the promotion response. The technical effect of the efficiency further solves the technical problem that the APP has low response efficiency due to the limitation of the page type due to the configuration limitation of the APP in the prior art.
此处需要说明的是,上述接收模块72和配置模块74对应于实施例3中的步骤S502和S504,上述两个模块与对应的步骤所实现的示例和应用场景相同,但不限于上述实施例3所公开的内容。需要说明的是,上述模块作为装置的一部分可以在诸如一组计算机可执行指令的计算机系统中执行。It should be noted that the foregoing receiving module 72 and the configuration module 74 correspond to steps S502 and S504 in Embodiment 3, and the foregoing two modules are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the above embodiments. 3 published content. It should be noted that the above modules may be implemented as part of a device in a computer system such as a set of computer executable instructions.
可选的,配置模块74包括:信息解析单元,用于解析业务请求,得到业务请求所需的页面加载信息;查询单元,用于依据业务请求所需的页面加载信息查询预存页面加载信息;第一发送单元,用于在预存页面加载信息存在业务请求所需的页面加载信息的情况下,向终端返回页面加载信息;第二发送单元,用于在预存页面加载信息不存在业务请求所需的页面加载信息的情况下,向终端返回查询结果,其中,查询结果用于指示终端打开错误提示页面;其中,页面加载信息包括:页面信息和/或页面加载容器类型。Optionally, the configuration module 74 includes: an information parsing unit, configured to parse the service request, and obtain page load information required for the service request; the query unit is configured to query the pre-stored page loading information according to the page loading information required by the service request; a sending unit, configured to return page loading information to the terminal in the case that the pre-stored page loading information has the page loading information required for the service request; and the second sending unit is configured to load the information in the pre-stored page without the service request In the case of the page loading information, the query result is returned to the terminal, wherein the query result is used to instruct the terminal to open the error prompt page; wherein the page loading information includes: page information and/or a page loading container type.
此处需要说明的是,上述解析单元、查询单元、第一发送单元和第二发送单元对应于实施例3中的步骤S504中的Step1至Step4,上述四个模块与对应的步骤所实现的示例和应用场景相同,但不限于上述实施例3所公开的内容。需要说明的是,上述模块作为装置的一部分可以在诸如一组计算机可执行指令的计算机系统中执行。It should be noted that the foregoing parsing unit, the query unit, the first sending unit, and the second sending unit correspond to steps 1 to Step 4 in step S504 in the third embodiment, and the four modules and the corresponding steps are implemented by the corresponding steps. It is the same as the application scenario, but is not limited to the content disclosed in the above embodiment 3. It should be noted that the above modules may be implemented as part of a device in a computer system such as a set of computer executable instructions.
实施例6Example 6
根据本发明实施例的再一方面,还提供了一种存储介质,包括:存储介质包括存储的程序,其中,在程序运行时控制存储介质所在设备执行上述实施例2和实施例3中的页面加载的方法。According to still another aspect of the embodiments of the present invention, a storage medium is provided, including: the storage medium includes a stored program, wherein, when the program is running, the device where the storage medium is controlled performs the pages in Embodiment 2 and Embodiment 3 described above. The method of loading.
实施例7Example 7
根据本发明实施例的再一方面,还提供了一种处理器,包括:处理器用于运行程序,其中,程序运行时执行上述实施例2和实施例3中的页面加载的方法。According to still another aspect of the embodiments of the present invention, there is further provided a processor, comprising: a processor, configured to execute a program, wherein the method of performing page loading in Embodiment 2 and Embodiment 3 is executed when the program is running.
实施例8Example 8
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以用于保存上述实施例一所提供的页面加载的方法所执行的程序代码。Embodiments of the present invention also provide a storage medium. Optionally, in this embodiment, the foregoing storage medium may be used to save the program code executed by the method of page loading provided in Embodiment 1 above.
可选地,在本实施例中,上述存储介质可以位于计算机网络中计算机终端群中的任意一个计算机终端中,或者位于移动终端群中的任意一个移动终端中。Optionally, in this embodiment, the foregoing storage medium may be located in any one of the computer terminal groups in the computer network, or in any one of the mobile terminal groups.
可选地,在本实施例中,存储介质被设置为存储用于执行以下步骤的程序代码:获取业务请求;根据业务请求获取对应的页面加载信息,并根据页面加载信息通过对应容器打开对应页面。Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: acquiring a service request; acquiring corresponding page loading information according to the service request, and opening the corresponding page by using the corresponding container according to the page loading information. .
可选地,在本实施例中,存储介质被设置为存储用于执行以下步骤的程序代码:判断预存页面加载信息表中是否存在对应业务请求的页面加载信息;在判断结果为是的情况下,依据页面加载信息通过对应容器打开对应页面;在判断结果为否的情况下,向服务器发送业务请求,并接收服务器依据业务请求返回的页面加载信息,并依据页面加载信息通过对应容器打开对应页面。Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: determining whether there is page loading information corresponding to the service request in the pre-stored page loading information table; if the determination result is yes According to the page loading information, the corresponding page is opened by the corresponding container; if the determination result is no, the service request is sent to the server, and the page loading information returned by the server according to the service request is received, and the corresponding page is opened by the corresponding container according to the page loading information. .
可选地,在本实施例中,存储介质被设置为存储用于执行以下步骤的程序代码:判断预存页面加载信息表中是否存在对应业务请求的页面加载信息包括:解析业务请求,得到业务请求对应的页面加载信息;其中,页面加载信息包括:页面信息和/或页面加载容器类型;判断预存页面加载信息表中是否存在对应业务请求的页面信息和/或页面加载容器类型。Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: determining whether the page loading information of the corresponding service request exists in the pre-stored page loading information table comprises: parsing the service request, and obtaining the service request Corresponding page loading information; wherein the page loading information comprises: page information and/or a page loading container type; determining whether there is a page information corresponding to the service request and/or a page loading container type in the pre-stored page loading information table.
可选地,在本实施例中,存储介质被设置为存储用于执行以下步骤的程序代码:在接收服务器依据业务请求返回的页面加载信息之后,在依据页面加载信息打开对应页面之前,将依据业务请求返回的页面加载信息更新至预存页面加载信息表。Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: after the receiving server returns the page loading information according to the service request, before the corresponding page is opened according to the page loading information, The page load information returned by the business request is updated to the pre-stored page load information table.
可选地,在本实施例中,存储介质被设置为存储用于执行以下步骤的程序代码:若服务器中不存在与第二业务请求对应的页面加载信息,则打开错误提示页面,其中,错误提示页面,用于指示无法打开当前业务请求对应的页面。Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: if there is no page loading information corresponding to the second service request in the server, opening an error prompt page, where the error A prompt page that indicates that the page corresponding to the current business request cannot be opened.
可选地,在本实施例中,存储介质被设置为存储用于执行以下步骤的程序代码:在判断预存页面加载信息表中是否存在对应业务请求的页面加载信息之前,检测是否接收到服务器反馈的页面加载信息表更新指示信息;在检测结果为是的情况下,向服务器发送页面加载信息表更新请求,接收服务器根据页面加载信息表更新请求返回的数据更新包,并依据数据更新包更新预存页面加载信息表。Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: detecting whether the server feedback is received before determining whether there is page loading information corresponding to the service request in the pre-stored page loading information table. The page load information table update indication information; if the detection result is yes, the page load information table update request is sent to the server, and the receiving server updates the data update package according to the page load information table update request, and updates the pre-store according to the data update package. The page loads the information table.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
在本发明的上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详 述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments of the present invention, the descriptions of the various embodiments are different, and the detailed description of the other embodiments may be referred to.
在本申请所提供的几个实施例中,应该理解到,所揭露的技术内容,可通过其它的方式实现。其中,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,单元或模块的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed technical contents may be implemented in other manners. The device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner. For example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, unit or module, and may be electrical or otherwise.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like. .
以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above description is only a preferred embodiment of the present invention, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present invention. It should be considered as the scope of protection of the present invention.

Claims (15)

  1. 一种页面加载的系统,其特征在于,包括:A page loading system, comprising:
    终端,用于根据预先获取的第一业务请求查询预存页面加载信息表,判断是否存在对应所述第一业务请求的页面加载信息,在判断结果为是的情况下,依据所述页面加载信息打开对应页面;The terminal is configured to query the pre-stored page loading information table according to the pre-acquired first service request, and determine whether there is page loading information corresponding to the first service request, and if the determination result is yes, open the information according to the page loading information. Corresponding page;
    服务器,用于所述终端的所述预存页面加载信息表不存在对应所述第一业务请求的页面加载信息的情况下,接收所述终端发送的第二业务请求,并依据所述第二业务请求返回对应的页面加载信息,以使得所述终端依据所述页面加载信息打开对应页面;其中,所述第一业务请求中的待查询的页面加载信息与所述第二业务请求中的待查询的页面加载信息相同。The server, when the pre-stored page loading information table for the terminal does not have the page loading information corresponding to the first service request, receives a second service request sent by the terminal, and according to the second service Retrieving the corresponding page loading information, so that the terminal opens the corresponding page according to the page loading information; wherein the page loading information to be queried in the first service request and the to-be-queried in the second service request The page load information is the same.
  2. 根据权利要求1所述的页面加载的系统,其特征在于,所述服务器包括:云服务器,其中,The page loading system according to claim 1, wherein the server comprises: a cloud server, wherein
    所述云服务器,用于存储所述页面加载信息,并依据存储的所述页面加载信息返回所述终端发送的所述第二业务请求对应的页面加载信息。The cloud server is configured to store the page loading information, and return the page loading information corresponding to the second service request sent by the terminal according to the stored page loading information.
  3. 根据权利要求2所述的页面加载的系统,其特征在于,所述页面加载信息包括:页面信息和/或页面加载容器类型。The page loading system according to claim 2, wherein the page loading information comprises: page information and/or a page loading container type.
  4. 根据权利要求2所述的页面加载的系统,其特征在于,所述终端包括:解析模块、第一处理模块和第二处理模块,其中,The page loading system according to claim 2, wherein the terminal comprises: a parsing module, a first processing module, and a second processing module, wherein
    所述解析模块,用于解析所述第一业务请求,得到所述第一业务请求对应的页面信息和/或页面加载容器类型,并判断所述预存页面加载信息表中是否存在对应所述第一业务请求的页面信息和/或页面加载容器类型;The parsing module is configured to parse the first service request, obtain a page information corresponding to the first service request, and/or a page loading container type, and determine whether the pre-stored page loading information table has a corresponding The page information of a business request and/or the type of page load container;
    所述第一处理模块,用于在所述预存页面加载信息表中存在对应所述第一业务请求的页面信息和/或页面加载容器类型的情况下,依据所述页面信息和/或所述页面加载容器类型打开对应页面;The first processing module is configured to: when the page information corresponding to the first service request and/or the page loading container type exist in the pre-stored page loading information table, according to the page information and/or the The page load container type opens the corresponding page;
    所述第二处理模块,用于在所述预存页面加载信息表中不存在对应所述第一业务请求的页面信息和/或页面加载容器类型的情况下,向所述服务器发送第二业务请求,并接收所述服务器依据所述第二业务请求返回的所述页面信息和/或所述页面加载容器类型,并依据所述页面信息和/或所述页面加载容器类型打开对应页面;The second processing module is configured to send a second service request to the server if there is no page information corresponding to the first service request and/or a page load container type in the pre-stored page load information table. And receiving the page information returned by the server according to the second service request and/or the page loading container type, and opening a corresponding page according to the page information and/or the page loading container type;
    其中,所述第一业务请求中的待查询的页面加载信息与所述第二业务请求中的待查询的页面加载信息相同。The page load information to be queried in the first service request is the same as the page load information to be queried in the second service request.
  5. 一种页面加载的方法,其特征在于,包括:A method for loading a page, comprising:
    获取业务请求;Obtain a business request;
    根据所述业务请求获取对应的页面加载信息,并根据所述页面加载信息通过对应容器打开对应页面。Acquiring corresponding page loading information according to the service request, and opening a corresponding page by using a corresponding container according to the page loading information.
  6. 根据权利要求5所述的页面加载的方法,其特征在于,所述根据所述业务请求获取对应的页面加载信息,并根据所述页面加载信息通过对应容器打开对应页面包括:The method for loading a page according to claim 5, wherein the obtaining the corresponding page loading information according to the service request, and opening the corresponding page by using the corresponding container according to the page loading information comprises:
    判断预存页面加载信息表中是否存在对应所述业务请求的页面加载信息;Determining whether there is page loading information corresponding to the service request in the pre-stored page loading information table;
    在判断结果为是的情况下,依据所述页面加载信息通过对应容器打开对应页面;When the determination result is yes, the corresponding page is opened by the corresponding container according to the page loading information;
    在判断结果为否的情况下,向服务器发送所述业务请求,并接收所述服务器依据所述业务请求返回的页面加载信息,并依据所述页面加载信息通过对应容器打开对应页面。If the determination result is no, the service request is sent to the server, and the page loading information returned by the server according to the service request is received, and the corresponding page is opened by the corresponding container according to the page loading information.
  7. 根据权利要求6所述的页面加载的方法,其特征在于,所述判断所述预存页面加载信息表是否存在对应所述业务请求的页面加载信息包括:The page loading method according to claim 6, wherein the determining whether the pre-stored page loading information table has page loading information corresponding to the service request comprises:
    解析所述业务请求,得到所述业务请求对应的页面加载信息;其中,所述页面加载信息包括:页面信息和/或页面加载容器类型;Parsing the service request, and obtaining page load information corresponding to the service request; wherein the page load information includes: page information and/or a page load container type;
    判断所述预存页面加载信息表中是否存在对应所述业务请求的页面信息和/或页面加载容器类型。Determining, in the pre-stored page loading information table, whether there is page information corresponding to the service request and/or a page loading container type.
  8. 根据权利要求6所述的页面加载的方法,其特征在于,在所述接收所述服务器依据所述业务请求返回的页面加载信息之后,在依据所述页面加载信息打开对应页面之前,所述方法还包括:The method for loading a page according to claim 6, wherein after the receiving the page loading information returned by the server according to the service request, the method is opened before the corresponding page is opened according to the page loading information. Also includes:
    将依据所述业务请求返回的页面加载信息更新至所述预存页面加载信息表。Updating the page load information returned according to the service request to the pre-stored page load information table.
  9. 根据权利要求6所述的页面加载的方法,其特征在于,所述方法还包括:The method of page loading according to claim 6, wherein the method further comprises:
    若所述服务器中不存在与所述业务请求对应的页面加载信息,则打开错误提示页面,其中,所述错误提示页面,用于指示无法打开当前业务请求对应的页面。If the page loading information corresponding to the service request does not exist in the server, the error prompt page is opened, where the error prompt page is used to indicate that the page corresponding to the current service request cannot be opened.
  10. 根据权利要求6所述的页面加载的方法,其特征在于,在判断预存页面加载信息表中是否存在对应所述业务请求的页面加载信息之前,所述方法还包括:The method for loading a page according to claim 6, wherein the method further comprises: before determining whether the page loading information corresponding to the service request exists in the pre-stored page loading information table, the method further comprises:
    检测是否接收到所述服务器反馈的页面加载信息表更新指示信息;Detecting whether the page load information table update indication information fed back by the server is received;
    在检测结果为是的情况下,向所述服务器发送页面加载信息表更新请求,接收所述服务器根据所述页面加载信息表更新请求返回的数据更新包,并依据所述数据更新包更新所述预存页面加载信息表。If the detection result is yes, sending a page load information table update request to the server, receiving a data update package returned by the server according to the page load information table update request, and updating the data according to the data update package. The pre-stored page loads the information table.
  11. 一种页面加载的装置,其特征在于,包括:A device for loading a page, comprising:
    获取模块,用于获取业务请求;Obtaining a module for obtaining a service request;
    页面启动模块,用于根据所述业务请求获取对应的页面加载信息,并根据所述页面加载信息通过对应容器打开对应页面。The page startup module is configured to obtain corresponding page loading information according to the service request, and open a corresponding page by using a corresponding container according to the page loading information.
  12. 根据权利要求11所述的页面加载的装置,其特征在于,所述页面启动模块包括:The device for loading a page according to claim 11, wherein the page startup module comprises:
    解析单元,用于判断预存页面加载信息表中是否存在对应所述业务请求的页面加载信息;a parsing unit, configured to determine whether there is page loading information corresponding to the service request in the pre-stored page loading information table;
    第一处理单元,用于在判断结果为是的情况下,依据所述页面加载信息通过对应容器打开对应页面;a first processing unit, configured to: when the determination result is yes, open a corresponding page by using a corresponding container according to the page loading information;
    第二处理单元,用于在判断结果为否的情况下,向服务器发送所述业务请求,并接收所述服务器依据所述业务请求返回的页面加载信息,并依据所述页面加载信息通过对应容器打开对应页面。a second processing unit, configured to send the service request to the server, and receive the page loading information returned by the server according to the service request, and pass the corresponding loading container according to the page loading information, if the determination result is negative Open the corresponding page.
  13. 根据权利要求12所述的页面加载的装置,其特征在于,所述解析单元包括:The apparatus for loading a page according to claim 12, wherein the parsing unit comprises:
    解析子单元,用于解析所述业务请求,得到所述业务请求对应的页面加载信息;其中,所述页面加载信息包括:页面信息和/或页面加载容器类型;a parsing subunit, configured to parse the service request, to obtain page loading information corresponding to the service request, where the page loading information includes: page information and/or a page loading container type;
    判断子单元,用于判断所述预存页面加载信息表中是否存在对应所述业务请求的页面信息和/或页面加载容器类型。The determining subunit is configured to determine whether there is page information and/or a page loading container type corresponding to the service request in the pre-stored page loading information table.
  14. 一种存储介质,其特征在于,所述存储介质包括存储的程序,其中,在所述程序运行时控制所述存储介质所在设备执行权利要求5至10中任意一项所述的页面加载的方法。A storage medium, characterized in that the storage medium includes a stored program, wherein the method of controlling the device in which the storage medium is located to perform the page loading according to any one of claims 5 to 10 while the program is running .
  15. 一种处理器,其特征在于,所述处理器用于运行程序,其中,所述程序运行时执行权利要求5至10中任意一项所述的页面加载的方法。A processor, wherein the processor is configured to execute a program, wherein the program is executed to perform the method of page loading according to any one of claims 5 to 10.
PCT/CN2018/097186 2017-08-04 2018-07-26 Page loading method, device, and system WO2019024754A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710661533.8A CN109391649A (en) 2017-08-04 2017-08-04 The methods, devices and systems of page load
CN201710661533.8 2017-08-04

Publications (1)

Publication Number Publication Date
WO2019024754A1 true WO2019024754A1 (en) 2019-02-07

Family

ID=65233519

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/097186 WO2019024754A1 (en) 2017-08-04 2018-07-26 Page loading method, device, and system

Country Status (2)

Country Link
CN (1) CN109391649A (en)
WO (1) WO2019024754A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110427186A (en) * 2019-07-26 2019-11-08 广东信通通信有限公司 A kind of commander's business page information displaying method and device and equipment based on form
CN111694550A (en) * 2020-04-28 2020-09-22 北京奇艺世纪科技有限公司 Page display control method, device and system
CN111831999A (en) * 2020-07-13 2020-10-27 中国银行股份有限公司 Method and system for aggregating multi-station operation
CN113127775A (en) * 2019-12-30 2021-07-16 武汉斗鱼鱼乐网络科技有限公司 Page loading method, device, equipment and storage medium
CN113315829A (en) * 2021-05-26 2021-08-27 平安普惠企业管理有限公司 Client offline H5 page loading method and device, computer equipment and medium
CN113515549A (en) * 2021-09-14 2021-10-19 江西科技学院 Financial data query method and device and readable storage medium
CN115079923A (en) * 2022-06-17 2022-09-20 北京新唐思创教育科技有限公司 Event processing method, device, equipment and medium

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109885781B (en) * 2019-02-27 2021-05-18 百度在线网络技术(北京)有限公司 Mixed page unified browsing method, device, equipment and storage medium
CN110134376A (en) * 2019-05-15 2019-08-16 重庆八戒电子商务有限公司 The interface HTML5 and APP interface switching method, device, medium and electronic equipment
CN110413921B (en) * 2019-06-21 2022-08-30 深圳壹账通智能科技有限公司 Webpage loading method and device, computer equipment and storage medium
CN110765392A (en) * 2019-09-16 2020-02-07 浙江口碑网络技术有限公司 Data loading method and device, storage medium and terminal
CN111399809B (en) * 2020-03-11 2023-09-12 苏州金羲智慧科技有限公司 Method, system, device and medium for communication between RN and H5 page
CN111767487A (en) * 2020-05-22 2020-10-13 阿里巴巴集团控股有限公司 Page display method and device and electronic equipment
CN113553489B (en) * 2021-07-29 2023-06-23 北京百度网讯科技有限公司 Method, device, equipment, medium and program product for capturing content
CN115687827B (en) * 2022-11-15 2023-08-25 中电金信软件有限公司 Method, device, equipment and medium for communicating native page and H5 page path

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110029641A1 (en) * 2009-08-03 2011-02-03 FasterWeb, Ltd. Systems and Methods Thereto for Acceleration of Web Pages Access Using Next Page Optimization, Caching and Pre-Fetching Techniques
CN103412898A (en) * 2013-07-26 2013-11-27 华为技术有限公司 Method and device for optimizing webpage
CN104216695A (en) * 2013-06-03 2014-12-17 阿里巴巴集团控股有限公司 Method and system for providing webpage information to be displayed on webpage and displaying webpage information

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103377064B (en) * 2012-04-28 2016-08-31 阿里巴巴集团控股有限公司 The loading method of a kind of page script and device
CN103777868B (en) * 2012-10-23 2016-08-24 福建星网视易信息系统有限公司 A kind of in units of the page and there is backstage load and the method that swipes of cache logic
CN105045887B (en) * 2015-07-24 2018-06-22 苏州工业园区迪锐信信息科技有限责任公司 The system and method for mixed mode cross-domain data interaction

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110029641A1 (en) * 2009-08-03 2011-02-03 FasterWeb, Ltd. Systems and Methods Thereto for Acceleration of Web Pages Access Using Next Page Optimization, Caching and Pre-Fetching Techniques
CN104216695A (en) * 2013-06-03 2014-12-17 阿里巴巴集团控股有限公司 Method and system for providing webpage information to be displayed on webpage and displaying webpage information
CN103412898A (en) * 2013-07-26 2013-11-27 华为技术有限公司 Method and device for optimizing webpage

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110427186A (en) * 2019-07-26 2019-11-08 广东信通通信有限公司 A kind of commander's business page information displaying method and device and equipment based on form
CN110427186B (en) * 2019-07-26 2023-08-15 广东信通通信有限公司 Command service page information display method, device and equipment based on window
CN113127775A (en) * 2019-12-30 2021-07-16 武汉斗鱼鱼乐网络科技有限公司 Page loading method, device, equipment and storage medium
CN113127775B (en) * 2019-12-30 2023-10-20 北京鲲鹏映像文化传媒有限公司 Page loading method, device, equipment and storage medium
CN111694550A (en) * 2020-04-28 2020-09-22 北京奇艺世纪科技有限公司 Page display control method, device and system
CN111831999A (en) * 2020-07-13 2020-10-27 中国银行股份有限公司 Method and system for aggregating multi-station operation
CN111831999B (en) * 2020-07-13 2022-08-19 中国银行股份有限公司 Method and system for aggregating multi-station operation
CN113315829A (en) * 2021-05-26 2021-08-27 平安普惠企业管理有限公司 Client offline H5 page loading method and device, computer equipment and medium
CN113315829B (en) * 2021-05-26 2022-08-12 平安普惠企业管理有限公司 Client offline H5 page loading method and device, computer equipment and medium
CN113515549A (en) * 2021-09-14 2021-10-19 江西科技学院 Financial data query method and device and readable storage medium
CN115079923A (en) * 2022-06-17 2022-09-20 北京新唐思创教育科技有限公司 Event processing method, device, equipment and medium
CN115079923B (en) * 2022-06-17 2023-11-07 北京新唐思创教育科技有限公司 Event processing method, device, equipment and medium

Also Published As

Publication number Publication date
CN109391649A (en) 2019-02-26

Similar Documents

Publication Publication Date Title
WO2019024754A1 (en) Page loading method, device, and system
CN107784086B (en) Webpage loading method, terminal equipment and computer readable storage medium
US10631361B2 (en) Method and apparatus for providing user with information received by electronic device
WO2019242166A1 (en) Application update method and system, and computer device and storage medium
WO2017185253A1 (en) Patch upgrade-based file processing method and device, terminal, and storage medium
US9538445B2 (en) Communication method and apparatus for electronic device in mobile communication system
US20160285987A1 (en) Method, client, and server for message pushing of webpage application
EP2988191B1 (en) Method and electronic device for reducing current consumption by the electronic device
US10367537B2 (en) Mobile communication using a plurality of subscriber identity modules
EP2919440A1 (en) Advertisement processing method and device
WO2015085706A1 (en) Method,terminal,and system for pushing information
US20130152069A1 (en) Method, apparatus and system for initiating terminal operation
CN109933381B (en) Kernel loading method and device
US20150160827A1 (en) Method of interface control and electronic device thereof
EP3091712B1 (en) Smart device for realizing multiple-device collaboration and working method for multiple-device collaboration
CN110532009A (en) A kind of smart machine upgrading management system and method
EP3224714A1 (en) Embedded system enabling on-line collaborative migration of software execution environments
CN108090345B (en) Linux system external command execution method and device
WO2013066575A1 (en) Optimization of distribution of over the -air (ota) updates to portable computing devices
CN107992498B (en) Method and system for importing data into data warehouse
EP4195870B1 (en) Data transmission method and terminal
US10078532B2 (en) Resource management method and device for terminal system among multiple operating systems
US20240111595A1 (en) Application deployment method, distributed operating system, electronic device, and storage medium
CN110493644A (en) TV applications upgrade method, television terminal and server
EP3723343A1 (en) Resource processing method and system, storage medium and electronic device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18841653

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18841653

Country of ref document: EP

Kind code of ref document: A1