Page data interaction apparatus and method

A technology of page data and interactive devices, applied in the Internet field, can solve problems such as logical coupling and low cache efficiency

Active Publication Date: 2017-02-22
TENCENT TECH (SHENZHEN) CO LTD
View PDF3 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] In view of the above problems, the present invention proposes a page data interaction device to solve the problems of logical coupling and low cache efficiency in the process of implementing page services

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
  • Page data interaction apparatus and method
  • Page data interaction apparatus and method
  • Page data interaction apparatus and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0033] According to an embodiment of the present invention, an embodiment of a page data interaction device is provided. The device embodiment provided in Embodiment 1 of the present application can be executed in a mobile terminal, a computer terminal, or a similar computing device. Take running on a computer terminal as an example, figure 2 It is a hardware structure block diagram of a computer terminal of a page data interaction device according to an embodiment of the present invention. Such as figure 2 As shown, the computer terminal 100 may include one or more (only one is shown in the figure) processor 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) for A memory 104 for storing data, and a transmission device 106 for communication functions. Those of ordinary skill in the art can understand, figure 2 The structure shown is only for illustration, and it does not limit the s...

Embodiment 2

[0071] Based on the device described in Embodiment 1, the present invention also provides a page data interaction method. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer device such as a set of computer executable instructions. And, although a logical sequence is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than here.

[0072] Such as Figure 7 As shown, the method includes the following steps:

[0073] Step S701: The framework service module parses the request sent by the client, obtains the storage address of the page template unit corresponding to the request, and sends the request to the page template unit according to the storage address.

[0074] Step S702: The page template unit receives the request sent by the framework service module, decomposes the page corresponding to the request into multiple modules, obtains plug-in information corresponding t...

Embodiment 3

[0104] The embodiment of the present invention also provides a computer terminal, and the computer terminal may be any computer terminal device in the computer terminal group. Optionally, in this embodiment, the above-mentioned computer terminal may also be replaced with a terminal device such as a mobile terminal.

[0105] Optionally, in this embodiment, the foregoing computer terminal may be located in at least one network device among multiple network devices in the computer network.

[0106] Optionally, Picture 12 It is a structural block diagram of a computer terminal according to an embodiment of the present invention. Such as Picture 12 As shown, the computer terminal A may include: one or more (only one is shown in the figure) processor 161, memory 163, and transmission device 165.

[0107] The memory 163 can be used to store software programs and modules, such as the program instructions / modules corresponding to the page data interaction method and device in the embodim...

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 page data interaction apparatus and method. The apparatus comprises a framework service module and a page template service module; a page template unit is used for decomposing a page corresponding to a request into a plurality of modules, obtaining plug-in information corresponding to the modules, generating a plug-in information list according to the plug-in information, and sends the plug-in information to the framework service module; and the framework service module is used for analyzing the request sent by a client, sending the request to the page template unit corresponding to the request, obtaining corresponding plug-in data according to the plug-in information list, and returning the plug-in data to the client. A client application only needs to interact with a framework service, and all data required for performing data display and UI rendering by the client can be obtained through one-time interaction, so that background inter-logic decoupling is achieved, the interactive frequency of the client and a background is reduced, the page loading speed is increased, and the efficiency of the client and a server is improved.

Description

Technical field [0001] The present invention relates to the field of Internet technology, in particular to a page data interaction device and method. Background technique [0002] Currently, when a user browses any page of a view-type application (for example, Tencent Video), the terminal renders the UI according to the data and template styles sent in the background. The data may come from different services in the background, and the terminal needs to initiate Multiple requests to obtain data, which increases the difficulty of application development and the chance of errors. [0003] The current background development schemes for view applications mostly adopt the division of modules according to page types, and the access proxy routes to different page services according to page types to decouple the back-end logic. For the data in the same page, the page service access Different data services, and create templates to combine, such as figure 1 Shown. [0004] The existing solut...

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): G06F17/30G06F9/445
CPCG06F9/44526G06F16/9574G06F16/986
Inventor 郭俊峰李炳袁昌文
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products