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

Webpage resource data generation method and device, computer equipment and storage medium

A technology for resource data and data generation, applied in the field of data processing, can solve the problems of prolonged development cycle, increased code maintenance cost, labor consumption, etc., and achieve the effect of reducing maintenance cost, development data volume, and development cost.

Active Publication Date: 2021-05-14
GUANGZHOU HUYA TECH CO LTD
View PDF2 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Throughout the development process: in order to adapt to two browsers of different sizes, it takes twice as much manpower to develop a web page, the development cycle is prolonged, and the cost of code maintenance is increased

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
  • Webpage resource data generation method and device, computer equipment and storage medium
  • Webpage resource data generation method and device, computer equipment and storage medium
  • Webpage resource data generation method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] figure 1 It is a flowchart of a method for generating webpage resource data in Embodiment 1 of the present invention. This embodiment is applicable to adapting the terminal type and adjusting and generating target webpage resource data to generate an adapted terminal after the development of webpage resource data is completed. In the case of a type of target webpage, the method can be executed by the apparatus for generating webpage resource data provided by the embodiment of the present invention, which can be realized by software and / or hardware, and can generally be integrated into computer equipment. Such as figure 1 As shown, the method of this embodiment specifically includes:

[0028] S110. Obtain source web page resource data and terminal type.

[0029] The source web page resource data is resource data developed for the target web page. The size included in the source web page resource data is the first size, and the source web page resource data is used to ...

Embodiment 2

[0043] Figure 2a It is a flow chart of a method for generating webpage resource data in Embodiment 2 of the present invention, and this embodiment is embodied on the basis of the foregoing embodiments. The acquisition of the target display size mapping relationship matching the terminal type according to the terminal type is embodied as: determining the target mapping type according to the terminal type, and the terminal type includes: mobile terminal type or computer terminal type, the mapping type includes a unit mapping type and a size mapping type; obtain a target display size mapping relationship matching the target mapping type, and determine it as a target display size mapping relationship matching the terminal type.

[0044] The method of this embodiment specifically includes:

[0045] S210. Obtain source web page resource data and terminal type.

[0046] For descriptions that are not described in detail in the embodiments of the present invention, reference may be ...

Embodiment 3

[0083] image 3 It is a schematic diagram of a device for generating web page resource data in Embodiment 3 of the present invention. Embodiment 3 is a corresponding device for implementing the method for generating web page resource data provided by the above embodiments of the present invention. The device can be realized by software and / or hardware, and can generally be integrated into computer equipment.

[0084] Correspondingly, the device of this embodiment may include:

[0085] A terminal type obtaining module 310, configured to obtain source web page resource data and terminal type;

[0086] A size mapping relationship acquiring module 320, configured to acquire a target display size mapping relationship matching the terminal type according to the terminal type;

[0087] The target web page resource data generation module 330 is configured to adjust the size of the source web page resource data according to the target display size mapping relationship to form target ...

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 embodiment of the invention discloses a webpage resource data generation method and device, computer equipment and a storage medium. The method comprises the following steps that source webpage resource data and a terminal type are obtained; a target display size mapping relation matched with the terminal type is obtained according to the terminal type; and according to the target display size mapping relation, the size in the source webpage resource data is adjusted, target webpage resource data matched with the terminal type is formed, wherein the target webpage resource data is used for displaying a target webpage in a target terminal matched with the terminal type according to the display size, and the display size is determined according to the target display size mapping relation. According to the embodiment of the invention, the development period can be shortened, the webpage development cost is reduced, and the webpage maintenance cost is reduced.

Description

technical field [0001] The embodiments of the present invention relate to the field of data processing, in particular to a method, device, computer equipment and storage medium for generating web page resource data. Background technique [0002] Web pages can be displayed on mobile terminals and computer terminals, and the size of the visible area of ​​different browsers is different. [0003] Due to the large size of the viewable area of ​​different end browsers, to achieve the best visual effect on each end of the same webpage, a small-size visual design draft should be configured for the mobile end and mobile browser end, and a large-scale visual design draft should be configured for the computer end. Dimensions of the visual design draft. [0004] In the existing method, the design team delivers two visual design drafts of different sizes, and then the front-end development team develops two different page codes according to different designs, and finally delivers the t...

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): G06F16/958
CPCG06F16/972
Inventor 杨立新
Owner GUANGZHOU HUYA TECH CO LTD