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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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 ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


