Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for realizing service data processing and client

A business data, client-side technology, applied in the computer field, can solve problems such as reducing user experience and delaying display of final pages

Active Publication Date: 2020-07-03
ALIBABA GRP HLDG LTD
View PDF10 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, since the front end of the web page must wait until the page html / js is parsed by the browser end of the front end of the web page, it will initiate a page-level initialization data interface request to the server to request relevant data, and then perform rendering. The entire processing process is serial ongoing
With the surge in the amount of web front-end code, parsing html / js will take about 700 milliseconds (ms)-800ms on a very good machine. This situation is extremely important for interface preloading initiated by page-level initialization interface requests. It is unbearable. Due to the delayed sending of the page-level initialization data interface request, the delayed display of the final page is caused. That is to say, for the user, opening a page requires a series of processing. There is a period of white screen, which undoubtedly reduces the user experience

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for realizing service data processing and client
  • Method and device for realizing service data processing and client
  • Method and device for realizing service data processing and client

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] In order to make the purpose, technical solution and advantages of the application clearer, the embodiments of the application will be described in detail below in conjunction with the accompanying drawings. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined arbitrarily with each other.

[0041] In a typical configuration of the present application, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.

[0042] Memory may include non-permanent storage in computer readable media, in the form of random access memory (RAM) and / or nonvolatile memory such as read only memory (ROM) or flash RAM. Memory is an example of computer readable media.

[0043]Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can be implemented by any method or technology for storage of info...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and device for realizing business data processing and a client, and the method comprises the steps that the client intercepts a page request through a Service Worker when requesting to access a page for the second time; requesting the service data and caching the requested service data by adopting the cached routing information which corresponds to the interceptedpage request and is used for requesting the service data, and caching and updating the routing information by utilizing a Service Worker; and the client intercepts the service request by using the Service Worker, and renders the data interface by using the cached service data. According to the method and the device, when a page request is responded, the client realizes a request process of the service data in parallel through the cached routing information by utilizing an interception function of the Service Worker. Thus, when the client requests the service data, the service data used for rendering the data interface can be obtained locally at the client, so that the loading efficiency is improved, and the user experience is improved.

Description

technical field [0001] This application involves but is not limited to computer technology, especially a method, device and client for realizing business data processing. Background technique [0002] With the rise of World Wide Web 2.0 (Web2.0) technology, Web applications have adopted a large-scale model similar to the client / server (C / S, Client / Server) architecture in the browser / server (B / S, Browser / Server) application, also known as Single Page Application (SPA, Single Page Application). The user interface (UI, User Interface) of the page is rendered by JavaScript (also known as JS) language at the front end of the webpage (ie, the client), and the backend (ie, the server) is only responsible for rendering the basic HyperText Markup Language (HTML, HyperText Markup Language) structure , which also makes the front-end of the web page and the server side truly separated in terms of collaboration, greatly improving the efficiency of collaboration. [0003] However, since...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/451G06F16/957
CPCG06F9/451G06F16/9574
Inventor 王智力樊迪张帅
Owner ALIBABA GRP HLDG LTD