CN114489639A - File generation method, device, equipment and storage medium - Google Patents

File generation method, device, equipment and storage medium Download PDF

Info

Publication number
CN114489639A
CN114489639A CN202111578029.4A CN202111578029A CN114489639A CN 114489639 A CN114489639 A CN 114489639A CN 202111578029 A CN202111578029 A CN 202111578029A CN 114489639 A CN114489639 A CN 114489639A
Authority
CN
China
Prior art keywords
picture
target
path
file
target picture
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202111578029.4A
Other languages
Chinese (zh)
Inventor
周纤纤
陈晓榆
刘鲁建
刘洪燕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
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 Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202111578029.4A priority Critical patent/CN114489639A/en
Publication of CN114489639A publication Critical patent/CN114489639A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/73Program documentation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Library & Information Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure provides a file generation method, device, apparatus and storage medium. In some embodiments of the present disclosure, a file generation apparatus obtains a target picture required for developing a web page, and performs picture processing on the target picture to obtain attribute information of the target picture; the file generating device generates a target path file required by developing a webpage according to the attribute information of the target picture; the file generation device generates a picture preview page based on the target path file; the file generation device can automatically generate the target path file required by developing the webpage without manually making the target path file, thereby improving the webpage development efficiency and reducing the labor cost of webpage development.

Description

File generation method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of web page processing technologies, and in particular, to a file generation method, device, and apparatus, and a storage medium.
Background
In the process of opening a web page, the browser includes a rendering engine for rendering the content presented by the window. A rendering engine of the browser renders HTML (Hyper Text Markup Language) according to a CSS (Cascading Style Sheets) file, and generates a web page to be opened.
At present, pictures of CSS files need to be written manually by developers, so that great labor cost is consumed for webpage development, and the webpage development efficiency is reduced.
Disclosure of Invention
The disclosure provides a file generation method, equipment, a device and a storage medium, which are used for at least solving the problems of high cost and low efficiency of the existing webpage development. The technical scheme of the disclosure is as follows:
the embodiment of the disclosure provides a file generation method, which includes:
acquiring a target picture required by developing a webpage;
performing picture processing on the target picture to obtain attribute information of the target picture;
generating a target path file required by developing a webpage according to the attribute information of the target picture;
and generating a picture preview page based on the target path file, wherein the picture preview page shows the attribute information of the target picture.
Optionally, the acquiring a target picture required by developing a webpage includes:
responding to path information input operation, and acquiring a picture resource path;
and screening out the target picture required by the development webpage from the resource library corresponding to the picture resource path.
Optionally, the obtaining a picture resource path in response to the path information input operation includes:
displaying a command line tool interface, the command line tool interface including an information entry;
and responding to the operation of inputting the picture resource path in the information input item to acquire the picture resource path.
Optionally, the screening out the target picture required by the development webpage from the resource library corresponding to the picture resource path includes:
and screening the target picture meeting the preset picture attribute condition from the resource library corresponding to the picture resource path according to the preset picture resolution and/or the preset picture format.
Optionally, the attribute information of the target picture includes a picture name, and the processing the target picture to obtain the attribute information of the target picture includes:
correcting the picture name of the target picture according to a preset naming rule to obtain a corrected picture name of the target picture; and
analyzing the information of the target picture to obtain the picture height, the picture width and the position path of the target picture;
and generating an introduction path of the target picture according to the position path of the target picture.
Optionally, the correcting the picture name of the target picture according to a preset naming rule to obtain a corrected picture name of the target picture includes at least one of the following correction modes:
identifying target setting characters contained in the picture name of the target picture, and removing the identified target setting characters from the picture name of the target picture;
identifying a Chinese text segment contained in the picture name of the target picture, and replacing the identified Chinese text segment with an English text segment corresponding to the Chinese text segment;
and identifying capital letters contained in the picture name of the target picture, and replacing the identified capital letters with lower case letters.
Optionally, the generating an introduction path of the target picture according to the position path of the target picture includes:
acquiring a position path of the target path file;
determining a target directory hierarchy corresponding to the target picture according to the position path of the target path file;
and generating the picture introducing path of the target picture according to the target directory hierarchy corresponding to the target picture and the position path of the target picture.
Optionally, the attribute information of the target picture includes a picture name, a picture height, a picture width, and a picture introduction path, and the generating a target path file required for developing a web page according to the attribute information of the target picture includes:
and writing the picture name, the picture height, the picture width and the picture lead-in path of the target picture into a file according to a set arrangement sequence to generate the target path file.
Optionally, the generating a picture preview page based on the target path file includes:
and rendering the hypertext markup language file by using the target path file to generate the picture preview page.
An embodiment of the present disclosure further provides a file generating apparatus, including:
the acquisition module is used for acquiring a target picture required by developing a webpage;
the image processing module is used for carrying out image processing on the target image to obtain attribute information of the target image;
the file generation module is used for generating a target path file required by developing a webpage according to the attribute information of the target picture;
and the page generation module is used for generating a picture preview page based on the target path file, wherein the picture preview page displays the attribute information of the target picture.
Optionally, the obtaining module is configured to obtain a picture resource path in response to a path information input operation when obtaining a target picture required for developing a web page; and screening out the target picture required by the development webpage from the resource library corresponding to the picture resource path.
Optionally, the obtaining module is configured to, when obtaining the picture resource path in response to the path information input operation, display a command line tool interface, where the command line tool interface includes an information input item; and responding to the operation of inputting the picture resource path in the information input item to acquire the picture resource path.
Optionally, when the target picture required by the development webpage is screened from the resource library corresponding to the picture resource path, the obtaining module is configured to screen the target picture meeting a preset picture attribute condition from the resource library corresponding to the picture resource path according to a preset picture resolution and/or a preset picture format.
Optionally, the image processing module includes a correction sub-module, an analysis sub-module and a generation sub-module;
the correcting submodule is used for correcting the picture name of the target picture according to a preset naming rule to obtain a corrected picture name of the target picture; and
the analysis submodule is used for carrying out information analysis on the target picture to obtain the picture height, the picture width and the position path of the target picture;
and the generating sub-module is used for generating an introduction path of the target picture according to the position path of the target picture.
Optionally, the correcting sub-module corrects the picture name of the target picture according to a preset naming rule to obtain a corrected picture name of the target picture, and includes at least one of the following correction modes:
identifying target setting characters contained in the picture name of the target picture, and removing the identified target setting characters from the picture name of the target picture;
identifying a Chinese text segment contained in the picture name of the target picture, and replacing the identified Chinese text segment with an English text segment corresponding to the Chinese text segment;
and identifying capital letters contained in the picture name of the target picture, and replacing the identified capital letters with lower case letters.
Optionally, the generating sub-module is configured to obtain a location path of the target path file when generating an introduction path of the target picture according to the location path of the target picture; determining a target directory hierarchy corresponding to the target picture according to the position path of the target path file; and generating the picture introducing path of the target picture according to the target directory hierarchy corresponding to the target picture and the position path of the target picture.
Optionally, the attribute information of the target picture includes a picture name, a picture height, a picture width, and a picture lead-in path, and the file generation module is configured to, when generating a target path file required for developing a web page according to the attribute information of the target picture, write the picture name, the picture height, the picture width, and the picture lead-in path of the target picture into a file according to a set arrangement order, and generate the target path file.
Optionally, when generating the image preview page based on the target path file, the file generating module is configured to render a hypertext markup language file using the target path file, and generate the image preview page.
An embodiment of the present disclosure further provides an electronic device, including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the steps of the method described above.
The disclosed embodiments also provide a non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the steps of the above-described method.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
in some embodiments of the present disclosure, a file generation apparatus obtains a target picture required for developing a web page, and performs picture processing on the target picture to obtain attribute information of the target picture; the file generating device generates a target path file required by developing a webpage according to the attribute information of the target picture; the file generation device generates a picture preview page based on the target path file; the file generation device can automatically generate the target path file required by developing the webpage without manually making the target path file, thereby improving the webpage development efficiency and reducing the labor cost of webpage development.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
Fig. 1 is a schematic flowchart of a file generation method according to an exemplary embodiment of the present disclosure;
FIG. 2 is a schematic flow chart diagram of another file generation method provided by an exemplary embodiment of the present disclosure;
FIG. 3 is a schematic flow chart diagram of another file generation method provided by an exemplary embodiment of the present disclosure;
FIG. 4 is a schematic flow chart diagram illustrating another file generation method provided by an exemplary embodiment of the present disclosure;
FIG. 5 is a schematic flow chart diagram illustrating another file generation method provided by an exemplary embodiment of the present disclosure;
fig. 6a is a block diagram of a file generation apparatus according to an exemplary embodiment of the present disclosure;
FIG. 6b is a block diagram of another file generation apparatus according to an exemplary embodiment of the present disclosure;
FIG. 7 illustrates a schematic block diagram of an example electronic device that can be used to implement embodiments of the present disclosure.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
In the process of opening a web page, the browser includes a rendering engine for rendering the content presented by the window. A rendering engine of the browser renders html (Hyper Text Markup Language) according to a CSS (Cascading Style Sheets) file, and generates a web page to be opened.
In the web page development stage, developers need to manually write the pictures needed by the CSS file to generate the CSS file, and the web page now contains many pictures, so that a large manpower cost needs to be consumed, and the web page development efficiency is affected.
In some embodiments of the present disclosure, a file generation apparatus obtains a target picture required for developing a web page, and performs picture processing on the target picture to obtain attribute information of the target picture; the file generating device generates a target path file required by developing a webpage according to the attribute information of the target picture; the file generation device generates a picture preview page based on the target path file; the file generation device can automatically generate the target path file required by developing the webpage without manually making the target path file, thereby improving the webpage development efficiency and reducing the labor cost of webpage development.
Technical solutions provided by the embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
Fig. 1 is a flowchart illustrating a file generation method according to an exemplary embodiment of the present disclosure. As shown in fig. 1, the method includes:
s101: acquiring a target picture required by developing a webpage;
s102: performing picture processing on the target picture to obtain attribute information of the target picture;
s103: generating a target path file required by the development webpage according to the attribute information of the target picture;
s104: and generating a picture preview page based on the target path file, wherein the picture preview page shows the attribute information of the target picture.
In this embodiment, the main execution body of the method is a file generation device, and the file generation device may be an intelligent terminal or a server.
When the file generation device is an intelligent terminal, the intelligent terminal includes, but is not limited to, any one of the following: personal computer, panel computer, notebook computer, cell-phone, intelligent bracelet, smart television, intelligent wrist-watch and intelligent stereo set.
When the file generation apparatus is a server, the implementation form of the server is not limited in this embodiment, and the server may be a conventional server, a cloud host, a virtual center, or other server devices. The server device mainly includes a processor, a hard disk, a memory, a system bus, and the like, and is similar to a general computer architecture.
It should be noted that HTML (Hyper Text Markup Language) is a Markup Language. The system comprises a series of tags, and the document format on the network can be unified through the tags, so that the scattered network resources are connected into a logic whole. HTML text is descriptive text consisting of HTML commands that can specify words, graphics, animations, sounds, tables, links, etc. The content in the web page to be displayed is marked by HTML mark-up symbols, and the web page file itself is a text file, and by adding mark-up symbols in the text file, the browser can display the content in the web page file according to the mark-up symbols, for example: how characters are processed, how pictures are arranged, how pictures are displayed, and the like; the browser reads the web page files in sequence, interprets and displays the marked contents according to the markers.
CSS (Cascading Style Sheets), which is a computer program language used to define how elements in HTML (hypertext markup language) are displayed, enables static or dynamic layout of web pages. The CSS can control the position of elements in a web page and the layout format and support various font styles.
The CSS file, hereinafter referred to as a cascading style sheet file, is a text file for generating a web page. In the process of opening the webpage, the rendering engine of the browser renders HTML according to the CSS file to generate the webpage to be opened.
The Less file is a file generated based on a Less language. The Less language is a CSS preprocessing language, which extends the CSS language and adds the characteristics of variable, function, etc., and the Less file can be operated in Node or browser. The Less file is visible to a webpage making technician, the synthetic information corresponding to each sub-picture and the storage path of each sub-picture can be taken from the Less file, and the codes of the Less file are compiled into the codes of the CSS file; and when a page is loaded or uses the command line tool, the Less file can also be compiled into JavaScript in the browser.
The embodiment of webpage rendering is that a terminal responds to the website input operation of a user to acquire an input website; the browser installed on the terminal sends a request to the server, the server sends HTML and CSS files to the terminal after receiving the request of the terminal, and the browser installed on the terminal starts to render HTML according to the CSS files; wherein, the order of rendering the web pages by the browser can be from top to bottom. In the process of rendering a webpage by a browser, the browser firstly analyzes HTML (hypertext markup language), constructs an internal file tree to represent all displayed elements, then the browser appoints various matched styles for the elements according to standard CSS (cascading style sheets), inheritance and sequencing rules to generate a rendering tree, and after the rendering tree is generated, the browser can 'draw' nodes in all the rendering trees on a screen, so that the whole page corresponding to a website is generated.
In this embodiment, the file generation apparatus acquires a target picture required for developing a web page; the file generation device carries out picture processing on the target picture to obtain attribute information of the target picture; the file generating device generates a target path file required by developing a webpage according to the attribute information of the target picture; and generating a picture preview page based on the target path file, wherein the picture preview page shows the attribute information of the target picture.
In the above-described embodiment, the file generation apparatus acquires the target picture required for developing the web page. One way to achieve this is to obtain a picture resource path in response to a path information input operation; and screening out a target picture required by developing the webpage from a resource library corresponding to the picture resource path.
It should be noted that the product forms corresponding to the products for executing the above method include, but are not limited to, the following: command line tools, applications and plug-ins.
For example, the file generation apparatus presents a command line tool interface in response to a command line tool open operation, wherein the command line tool interface includes a command input line; the file generation device responds to the operation that a user inputs the picture resource path in the command input line, and obtains the picture resource path of the picture required by developing the webpage; the file generation device screens a target picture from a resource library corresponding to the picture resource path according to a preset picture screening rule; and the file generation device generates a target path file required by the development webpage according to the attribute information of the target picture and a preset file generation rule.
For another example, the file generation device responds to the opening operation of the application program and displays an application interface, wherein the application interface comprises a path input pull-down menu item; the file generation device responds to the selection operation of a user for inputting a pull-down menu item through a path, and selects a picture resource path of a picture required by developing a webpage; the file generation device screens a target picture from a resource library corresponding to the picture resource path according to a preset picture screening rule; and the file generation device generates a target path file required by developing the webpage according to the attribute information of the target picture and a preset file generation rule.
In the above embodiment, the file generation apparatus, in response to the path information input operation, acquires a picture resource path of a picture required by developing a web page, including but not limited to the following path acquisition manners:
in the first path obtaining mode, the file generating device displays a command line tool interface, and the command line tool interface comprises information input items; the file generation means acquires the picture resource path in response to an operation of inputting the picture resource path in the information input item.
In the path acquisition mode II, the file generation device displays an application interface, wherein the application interface comprises a path input pull-down menu item; the file generation device responds to the selection operation of a user for inputting a pull-down menu item through a path, and selects a picture resource path of a picture required by developing a webpage.
In the third path obtaining mode, the file generating device displays an application interface, wherein the application interface comprises a command line tool opening control; the file generation device responds to the triggering operation of the command line tool opening control and displays a command line tool interface, and the command line tool interface comprises information input items; the file generation means acquires the picture resource path in response to an operation of inputting the picture resource path in the information input item.
It should be noted that the triggering manner of the control by the user includes, but is not limited to, at least one of the following: single click, double click, drop down, pull up, and hover.
In the first path obtaining manner, for example, the file generating apparatus responds to a command line tool opening operation to display a command line tool interface, where the command line tool interface includes a command input line; the file generation device responds to the operation that a user inputs the picture resource path in the command input line, and obtains the picture resource path of the picture required by the webpage development.
In the second path obtaining mode, for example, the file generating device responds to an application program opening operation to display an application interface, where the application interface includes a path input pull-down menu item; the file generation device responds to the selection operation of a user for inputting a pull-down menu item through a path, and selects a picture resource path of a picture required by developing a webpage.
In the third path obtaining mode, for example, the file generating device responds to an application program opening operation to display an application interface, where the application interface includes a command line tool opening control; the file generation device responds to triggering operation of opening a control of the command line tool and displays a command line tool interface, wherein the command line tool interface comprises a command input line, and the file generation device responds to operation of inputting a picture resource path in the command input line by a user and acquires the picture resource path of a picture required by developing a webpage.
In the above embodiment, the resource types stored in the resource library corresponding to the picture resource path include, but are not limited to, at least one of the following: pictures, voice, video and files. Therefore, after querying the corresponding resource library according to the image resource path, the file generation device needs to screen out the target image required by developing the webpage from the resource library. The file generation device screens the target picture from the resource library corresponding to the picture resource path according to a preset picture screening rule. One way to implement this is that the file generation apparatus screens out a target picture whose picture attribute meets a preset picture attribute condition from a resource library corresponding to the picture resource path. The file generation device rapidly screens out the required target pictures from the resource library according to the picture attributes, and the picture query efficiency is improved.
It should be noted that the attribute information of the picture includes, but is not limited to, the following: picture name, picture height, picture width, picture size, picture introduction path, picture format, and picture resolution. The preset picture attribute condition can be a preset picture format, a preset picture resolution and a preset picture size.
The file generation device screens a target picture meeting a preset picture attribute condition from a resource library corresponding to a picture resource path according to a preset picture resolution and/or a preset picture format, and the method includes, but is not limited to, the following screening methods:
a first screening mode: and screening out the target picture with the picture format being the preset picture format from the resource library corresponding to the picture resource path. The picture formats include, but are not limited to, the following: bmp, jpg, png, tif, gif, pcx, tga, exif, fpx, svg, psd, cdr, pcd, dxf, ufo, eps, ai, raw, WMF, webp, avif, and apng.
And a second screening mode: and screening out the pictures with the picture resolution ratio larger than a set resolution ratio threshold value from the resource library corresponding to the picture resource path. The embodiment of the present disclosure does not limit the set resolution threshold, and the set resolution threshold may be adjusted according to the actual situation. The picture formats include, but are not limited to, the following: 320 × 240, 640 × 480, 1024 × 768, and 1280 × 1024.
And a third screening mode: and screening out the pictures with the picture formats as preset picture formats from the resource library corresponding to the picture resource paths, wherein the picture resolution is greater than a set resolution threshold.
In the first screening method, for example, the format of the picture screened from the resource library corresponding to the picture resource path is: picture of jpg, png and gif as target picture.
In the second filtering method, for example, a picture with a picture resolution greater than 320 × 240 is filtered from the resource library corresponding to the picture resource path to be used as the target picture.
In the third screening method, the format of the picture screened from the resource library corresponding to the picture resource path is as follows: jpg, png and gif, and pictures with picture resolution greater than 320 × 240 as the target picture.
The picture names of the pictures required by developing the webpage need to meet certain specifications, when a user names the pictures in the resource library, the picture names may not meet the requirements of developing the webpage, much time is consumed for manually modifying the picture names, webpage development efficiency is affected, and labor cost is increased. Accordingly, the present disclosure provides a method of automatically correcting an error of a picture name.
In the above embodiment, the file generation apparatus performs picture processing on the target picture to obtain attribute information of the target picture. One way to implement is to correct the picture name of the target picture according to a preset naming rule to obtain the corrected picture name of the target picture; analyzing the information of the target picture to obtain the picture height, the picture width and the position path of the target picture; and generating an introduction path of the target picture according to the position path of the target picture.
In an optional embodiment, the file generating device corrects the picture name of the target picture according to a preset naming rule to obtain the corrected picture name of the target picture. Including but not limited to at least one of the following correction:
in the first correction method, the file generation device recognizes the target setting character included in the picture name of the target picture, and removes the recognized target setting character from the picture name of the target picture. The target setting characters include, but are not limited to, the following: text, numbers and special characters. Wherein the special characters, such as phonetic symbols, mathematical symbols, pinyin characters, teletext symbols, square symbols and arrows.
And in a second correction mode, the file generation device identifies a Chinese text segment contained in the picture name of the target picture and replaces the identified Chinese text segment with an English text segment corresponding to the Chinese text segment.
And in a third correction mode, the file generation device identifies capital letters contained in the picture name of the target picture and replaces the identified capital letters with lowercase letters.
In the first correction method, for example, the file generation apparatus recognizes a space included in the picture name of the target picture, and removes the recognized space from the picture name of the target picture.
In the second correction mode, for example, the file generation device recognizes a chinese text segment "flower" included in the picture name of the target picture, and replaces the recognized chinese text segment with an english text segment "huadouo" corresponding to the chinese text segment.
In the third correction method, for example, the file generation apparatus recognizes the capital letters "a", "B", and "C" and the like included in the picture name of the target picture, and replaces the recognized capital letters "a", "B", and "C" with the lower case letters "a", "B", and "C".
After the file generation device screens out the target picture from the resource library corresponding to the picture resource path, the picture introduction path of the target picture is required to be acquired. One way to achieve this is that the file generation means obtains the location path of the target picture and the location path of the target path file; the file generation device determines a target directory hierarchy corresponding to the target picture according to the position path of the target path file; and the file generation device generates a picture introduction path of the target picture according to the target directory hierarchy corresponding to the target picture and the position path of the target picture. The position path of the target picture and the position path of the target path file are absolute paths, for example, the position path of the first picture in the target picture is E: \ learning file \ ps picture \1. img. The picture introduction path is a relative path, for example, when the target picture is at an upper directory level of the target path file, the picture introduction path of the first picture in the target picture is a././E:/learning file ps picture/1. img, where,/represents the current path,/represents a previous path of the current path,./represents a previous path of the current path.
For example, the file generation device acquires a position path E: \ learning file \ ps picture \1.img of a target picture and a position path C: \ development file \20.less of the target path file, the file generation device determines a target directory hierarchy corresponding to the target picture as an upper-level target hierarchy according to the position path of the target path file, and generates a picture introduction path of the target picture as./E:/learning file ps picture/1. img according to the target directory hierarchy corresponding to the target picture and the position path of the target picture.
After acquiring the attribute information of the target picture, the file generation device writes the picture name, the picture height, the picture width and the picture introduction path of the target picture into a file according to a set arrangement sequence, generates a target path file, and generates a target path file. It should be noted that the file generation rule may be a generation rule of a Less file to generate a target Less file; alternatively, the file generation rule may be a generation rule of a cascading style sheet file to generate a target cascading style sheet file.
And after the file generation device generates the target path file, displaying the target picture to the user so that the user can view the information of the target picture. One way to implement this is that the file generation device renders the hypertext markup language file by using the target path file, and generates a picture preview page; and displaying the picture preview page. The user can check the picture name, the picture height, the picture width and the picture size of the target picture through the picture preview page, and user experience is improved.
The picture resources in the resource library need to be maintained later, and after the picture resources in the resource library are changed, the file generation method can be executed again to generate a new target path file without manual updating, so that the labor cost is reduced, and the webpage development efficiency is improved.
In one embodiment, when the target path file is a target cascading style sheet file, the rendering engine of the browser renders html according to the target cascading style sheet file to generate a webpage to be opened.
In another embodiment, when the target path file is a target Less file, the target Less file is compiled to obtain a target cascading style sheet file, and a rendering engine of the browser renders html according to the target cascading style sheet file to generate a webpage to be opened.
With reference to the description of the foregoing embodiments, fig. 2 is a flowchart illustrating another file generation method provided in an exemplary embodiment of the present disclosure. As shown in fig. 2, the method includes:
s201: responding to path information input operation, and acquiring a picture resource path of a picture required by developing a webpage;
s202: screening a target picture from a resource library corresponding to a picture resource path according to a preset picture screening rule;
s203: generating a target path file required by developing a webpage according to the attribute information of the target picture and a preset file generation rule;
s204: and compiling the target path file to generate a cascading style sheet file required by developing the webpage in response to the file compiling operation.
In this embodiment, for implementation manners of each step of the file generation method in this embodiment, reference may be made to the description of the corresponding part of each embodiment, and this embodiment may also achieve the corresponding technical effects of each embodiment, which is not described in detail in this embodiment.
With reference to the description of the foregoing embodiments, fig. 3 is a flowchart illustrating another file generation method provided in an exemplary embodiment of the disclosure. As shown in fig. 3, the method includes:
s301: responding to path information input operation, and acquiring a picture resource path of a picture required by developing a webpage;
s302: screening a target picture from a resource library corresponding to a picture resource path according to a preset picture screening rule;
s303: generating a target path file required by developing a webpage according to the attribute information of the target picture and a preset file generation rule;
s304: compiling the target path file to generate a cascading style sheet file required by developing a webpage in response to file compiling operation;
s305: and rendering the hypertext markup language by using the cascading style sheet file to generate a target webpage.
In this embodiment, for implementation manners of each step of the file generation method in this embodiment, reference may be made to the description of the corresponding part of each embodiment, and this embodiment may also achieve the corresponding technical effects of each embodiment, which is not described in detail in this embodiment.
With reference to the description of the foregoing embodiments, fig. 4 is a flowchart illustrating another file generation method according to an exemplary embodiment of the disclosure. As shown in fig. 4, the method includes:
s401: responding to path information input operation, and acquiring a picture resource path of a picture required by developing a webpage;
s402: screening a target picture from a resource library corresponding to a picture resource path according to a preset picture screening rule;
s403: generating a target path file required by the development webpage according to the attribute information of the target picture and a preset file generation rule;
s404: generating a picture preview page based on the target path file;
s405: and displaying the picture preview page.
In this embodiment, for implementation manners of each step of the file generation method in this embodiment, reference may be made to the description of the corresponding part of each embodiment, and this embodiment may also achieve the corresponding technical effects of each embodiment, which is not described in detail in this embodiment.
With reference to the description of the foregoing embodiments, fig. 5 is a flowchart illustrating another file generation method provided in an exemplary embodiment of the present disclosure. As shown in fig. 5, the method includes:
s501: displaying a command line tool interface, wherein the command line tool interface comprises information input items;
s502: responding to the operation of inputting the picture resource path in the information input item, and acquiring the picture resource path;
s503: screening a target picture from a resource library corresponding to a picture resource path according to a preset picture screening rule;
s504: and generating a target path file required by the development webpage according to the attribute information of the target picture and a preset file generation rule.
In this embodiment, for implementation manners of each step of the file generation method in this embodiment, reference may be made to descriptions of corresponding parts in the foregoing embodiments, and this embodiment may also obtain corresponding technical effects in the foregoing embodiments, and details are not described in this embodiment again.
In the method embodiments of the present disclosure, a file generation device obtains a target picture required for developing a web page, and performs picture processing on the target picture to obtain attribute information of the target picture; the file generating device generates a target path file required by developing a webpage according to the attribute information of the target picture; the file generation device generates a picture preview page based on the target path file; the file generation device can automatically generate the target path file required by developing the webpage without manually making the target path file, thereby improving the webpage development efficiency and reducing the labor cost of webpage development.
Fig. 6a is a block diagram of a file generation apparatus 60 according to an exemplary embodiment of the disclosure. As shown in fig. 6a, the file generation apparatus 60 includes: an acquisition module 61, a picture processing module 62, a file generation module 63 and a page generation module 64.
The acquiring module 61 is used for acquiring a target picture required by developing a webpage;
the picture processing module 62 is configured to perform picture processing on the target picture to obtain attribute information of the target picture;
the file generation module 63 is configured to generate a target path file required by developing a webpage according to the attribute information of the target picture;
and a page generating module 64, configured to generate a picture preview page based on the target path file, where the picture preview page shows attribute information of the target picture.
Optionally, the obtaining module 61 is configured to, when obtaining a target picture required for developing a web page, obtain a picture resource path in response to a path information input operation; and screening out a target picture required by developing the webpage from a resource library corresponding to the picture resource path.
Optionally, the obtaining module 61 is configured to, when obtaining the picture resource path in response to the path information input operation, display a command line tool interface, where the command line tool interface includes an information input item; and responding to the operation of inputting the picture resource path in the information input item to acquire the picture resource path.
Optionally, when the target picture required for developing the web page is screened from the resource library corresponding to the picture resource path, the obtaining module 61 is configured to screen the target picture meeting the preset picture attribute condition from the resource library corresponding to the picture resource path according to the preset picture resolution and/or the preset picture format.
Optionally, fig. 6b is a block diagram of another file generating apparatus provided in the exemplary embodiment of the present disclosure, as shown in fig. 6b, the picture processing module 62 includes a correction sub-module 621, an analysis sub-module 622, and a generation sub-module 623;
the correcting submodule 621 is configured to correct the picture name of the target picture according to a preset naming rule, so as to obtain a corrected picture name of the target picture; and
the analysis submodule 622 is configured to perform information analysis on the target picture to obtain a picture height, a picture width, and a position path of the target picture;
and a generating sub-module 623 configured to generate an introduction path of the target picture according to the position path of the target picture.
Optionally, the correcting sub-module 621, when correcting the picture name of the target picture according to a preset naming rule to obtain a corrected picture name of the target picture, includes at least one of the following correction manners:
identifying target setting characters contained in the picture name of the target picture, and removing the identified target setting characters from the picture name of the target picture;
identifying a Chinese text segment contained in the picture name of the target picture, and replacing the identified Chinese text segment with an English text segment corresponding to the Chinese text segment;
and identifying capital letters contained in the picture name of the target picture, and replacing the identified capital letters with lower case letters.
Optionally, the generating sub-module 623 is configured to obtain a location path of the target path file when generating an introduction path of the target picture according to the location path of the target picture; determining a target directory hierarchy corresponding to the target picture according to the position path of the target path file; and generating a picture introducing path of the target picture according to the target directory hierarchy corresponding to the target picture and the position path of the target picture.
Optionally, the attribute information of the target picture includes a picture name, a picture height, a picture width, and a picture lead-in path, and the file generating module 63 is configured to write the picture name, the picture height, the picture width, and the picture lead-in path of the target picture into a file according to a set arrangement order when generating the target path file required by developing the web page according to the attribute information of the target picture, so as to generate the target path file.
Optionally, the file generating module 63 is configured to render the hypertext markup language file by using the target path file to generate a picture preview page when the picture preview page is generated based on the target path file.
The present disclosure also provides an electronic device, a readable storage medium, and a computer program product according to embodiments of the present disclosure.
FIG. 7 illustrates a schematic block diagram of an example electronic device 700 that can be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 7, the apparatus 700 includes a computing unit 701, which can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM)702 or a computer program loaded from a storage unit 707 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the device 700 can also be stored. The computing unit 701, the ROM 702, and the RAM 703 are connected to each other by a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
Various components in the device 700 are connected to the I/O interface 705, including: an input unit 707 such as a keyboard, a mouse, and the like; an output unit 707 such as various types of displays, speakers, and the like; a storage unit 707 such as a magnetic disk, an optical disk, or the like; and a communication unit 709 such as a network card, modem, wireless communication transceiver, etc. The communication unit 709 allows the device 700 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
Computing unit 701 may be a variety of general and/or special purpose processing components with processing and computing capabilities. Some examples of the computing unit 701 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The calculation unit 701 executes the respective methods and processes described above, such as a text processing method. For example, in some embodiments, the text processing method may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 707. In some embodiments, part or all of a computer program may be loaded onto and/or installed onto device 700 via ROM 702 and/or communications unit 709. When the computer program is loaded into the RAM 703 and executed by the computing unit 701, one or more steps of the text processing method described above may be performed. Alternatively, in other embodiments, the computing unit 701 may be configured to perform the text processing method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), the internet, and blockchain networks.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The Server can be a cloud Server, also called a cloud computing Server or a cloud host, and is a host product in a cloud computing service system, so as to solve the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service ("Virtual Private Server", or simply "VPS"). The server may also be a server of a distributed system, or a server incorporating a blockchain.
Correspondingly, the embodiment of the disclosure also provides a computer readable storage medium storing the computer program. The computer-readable storage medium stores a computer program, and the computer program, when executed by one or more processors, causes the one or more processors to perform the steps in the method embodiment of fig. 1.
Accordingly, embodiments of the present disclosure also provide a computer program product comprising a computer program/instructions for executing the steps in the method embodiment of fig. 1 by a processor.
In the embodiments of the apparatus, the device, the storage medium, and the computer program product of the present disclosure, the file generation apparatus obtains a target picture required for developing a web page, and performs picture processing on the target picture to obtain attribute information of the target picture; the file generating device generates a target path file required by developing a webpage according to the attribute information of the target picture; the file generation device generates a picture preview page based on the target path file; the file generation device can automatically generate the target path file required by developing the webpage without manually making the target path file, thereby improving the webpage development efficiency and reducing the labor cost of webpage development.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present disclosure may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved, and the present disclosure is not limited herein.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the scope of protection of the present disclosure.

Claims (10)

1. A file generation method, comprising:
acquiring a target picture required by developing a webpage;
performing picture processing on the target picture to obtain attribute information of the target picture;
generating a target path file required by developing a webpage according to the attribute information of the target picture;
and generating a picture preview page based on the target path file, wherein the picture preview page shows the attribute information of the target picture.
2. The method of claim 1, wherein the obtaining of the target picture required for developing the web page comprises:
responding to the path information input operation, and acquiring a picture resource path;
and screening out the target picture required by the development webpage from the resource library corresponding to the picture resource path.
3. The method according to claim 2, wherein the obtaining a picture resource path in response to a path information input operation comprises:
displaying a command line tool interface, the command line tool interface including an information entry;
and responding to the operation of inputting the picture resource path in the information input item to acquire the picture resource path.
4. The method according to claim 2, wherein the step of screening out the target picture required by the development webpage from the resource library corresponding to the picture resource path comprises:
and screening the target picture meeting the preset picture attribute condition from the resource library corresponding to the picture resource path according to the preset picture resolution and/or the preset picture format.
5. The method according to claim 1, wherein the attribute information of the target picture includes a picture name, and the performing picture processing on the target picture to obtain the attribute information of the target picture includes:
correcting the picture name of the target picture according to a preset naming rule to obtain a corrected picture name of the target picture; and
analyzing the information of the target picture to obtain the picture height, the picture width and the position path of the target picture;
and generating an introduction path of the target picture according to the position path of the target picture.
6. The method according to claim 5, wherein the correcting the picture name of the target picture according to a preset naming rule to obtain a corrected picture name of the target picture comprises at least one of the following correction modes:
identifying target setting characters contained in the picture name of the target picture, and removing the identified target setting characters from the picture name of the target picture;
identifying a Chinese text segment contained in the picture name of the target picture, and replacing the identified Chinese text segment with an English text segment corresponding to the Chinese text segment;
and identifying capital letters contained in the picture name of the target picture, and replacing the identified capital letters with lower case letters.
7. The method according to claim 5, wherein the generating an introduction path of the target picture according to the position path of the target picture comprises:
acquiring a position path of the target path file;
determining a target directory hierarchy corresponding to the target picture according to the position path of the target path file;
and generating the picture introducing path of the target picture according to the target directory hierarchy corresponding to the target picture and the position path of the target picture.
8. A file generation apparatus, comprising:
the acquisition module is used for acquiring a target picture required by developing a webpage;
the image processing module is used for carrying out image processing on the target image to obtain attribute information of the target image;
the file generation module is used for generating a target path file required by developing a webpage according to the attribute information of the target picture;
and the page generation module is used for generating a picture preview page based on the target path file, wherein the picture preview page displays the attribute information of the target picture.
9. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to carry out the steps in the method according to any one of claims 1 to 7.
10. A non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the steps of the method of any one of claims 1-7.
CN202111578029.4A 2021-12-22 2021-12-22 File generation method, device, equipment and storage medium Pending CN114489639A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111578029.4A CN114489639A (en) 2021-12-22 2021-12-22 File generation method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111578029.4A CN114489639A (en) 2021-12-22 2021-12-22 File generation method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114489639A true CN114489639A (en) 2022-05-13

Family

ID=81493778

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111578029.4A Pending CN114489639A (en) 2021-12-22 2021-12-22 File generation method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114489639A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116071740A (en) * 2023-03-06 2023-05-05 深圳前海环融联易信息科技服务有限公司 Invoice identification method, computer equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2101093A1 (en) * 1993-07-22 1995-01-23 Carol A. Greenhalgh Computerized encyclopedia and user interface therefor
CN102508864A (en) * 2011-10-10 2012-06-20 深圳中兴网信科技有限公司 Tapestry framework-based method for previewing images in real time
CN103247067A (en) * 2013-04-02 2013-08-14 深圳市瑞云科技有限公司 Remote rendering method and cloud rendering platform
CN104216868A (en) * 2014-09-10 2014-12-17 武汉钢铁(集团)公司 Adaptation method and device for document display format
AU2019100079A4 (en) * 2018-01-24 2019-02-28 Apple Inc. Devices, methods, and graphical user interfaces for system-wide behavior for 3D models
CN110990732A (en) * 2019-10-16 2020-04-10 平安国际智慧城市科技股份有限公司 Loading method, device and equipment based on webpage and storage medium
CN112084747A (en) * 2020-09-17 2020-12-15 瑞庭网络技术(上海)有限公司 Resource management method and device, electronic equipment and storage medium
CN112269893A (en) * 2020-10-20 2021-01-26 重庆工程职业技术学院 Intelligent identification and retrieval system for massive graphic images
CN113138815A (en) * 2020-01-19 2021-07-20 腾讯科技(深圳)有限公司 Image processing method and device and terminal

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2101093A1 (en) * 1993-07-22 1995-01-23 Carol A. Greenhalgh Computerized encyclopedia and user interface therefor
CN102508864A (en) * 2011-10-10 2012-06-20 深圳中兴网信科技有限公司 Tapestry framework-based method for previewing images in real time
CN103247067A (en) * 2013-04-02 2013-08-14 深圳市瑞云科技有限公司 Remote rendering method and cloud rendering platform
CN104216868A (en) * 2014-09-10 2014-12-17 武汉钢铁(集团)公司 Adaptation method and device for document display format
AU2019100079A4 (en) * 2018-01-24 2019-02-28 Apple Inc. Devices, methods, and graphical user interfaces for system-wide behavior for 3D models
CN110990732A (en) * 2019-10-16 2020-04-10 平安国际智慧城市科技股份有限公司 Loading method, device and equipment based on webpage and storage medium
CN113138815A (en) * 2020-01-19 2021-07-20 腾讯科技(深圳)有限公司 Image processing method and device and terminal
CN112084747A (en) * 2020-09-17 2020-12-15 瑞庭网络技术(上海)有限公司 Resource management method and device, electronic equipment and storage medium
CN112269893A (en) * 2020-10-20 2021-01-26 重庆工程职业技术学院 Intelligent identification and retrieval system for massive graphic images

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
SONA HASANI等: "TableView: A Visual Interface for Generating Preview Tables of Entity Graphs", 《2018 IEEE 34TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE)》, 25 October 2018 (2018-10-25), pages 1617 - 1620 *
唐博远: "用于生成快速预览信息的视频概览框架及其系统实现", 《中国优秀硕士学位论文全文数 据库(信息科技辑)》, no. 12, 15 December 2020 (2020-12-15), pages 138 - 122 *
好大一棵树: "如何按分辨率筛选图片?", pages 1 - 2, Retrieved from the Internet <URL:https://www.zhihu.com/question/39287689> *
张鑫等: "基于安卓的手机图片分类软件的设计与实现", 《电子世界》, no. 24, 31 December 2016 (2016-12-31), pages 185 - 186 *
杨宝龙: "基于J2EE的多用户学术主页系统研究与实现", 《中国优秀硕士学位论文全文数据库(社 会科学Ⅱ辑)》, no. 05, 15 May 2021 (2021-05-15), pages 131 - 278 *
老王说天下L: "电脑怎么在选择图片时预览图片", pages 1 - 3, Retrieved from the Internet <URL:https://jingyan.baidu.com/article/6079ad0eb570a628fe86db64.html> *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116071740A (en) * 2023-03-06 2023-05-05 深圳前海环融联易信息科技服务有限公司 Invoice identification method, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
US10824691B2 (en) Page rendering method, device, and data storage medium
EP3822828A2 (en) Method, apparatus, device and storage medium for determining page theme and computer program product
US9817811B2 (en) Web server system, dictionary system, dictionary call method, screen control display method, and demonstration application generation method
EP4280049A1 (en) Front-end code generation method and apparatus
US20110128291A1 (en) Program generation device, program generation method, and computer-readable storage medium
US8745521B2 (en) System and method for annotating graphical user interface
CN112835579B (en) Method, device, electronic equipment and storage medium for determining interface code
CN114218890A (en) Page rendering method and device, electronic equipment and storage medium
CN113656533A (en) Tree control processing method and device and electronic equipment
CN113342450A (en) Page processing method and device, electronic equipment and computer readable medium
CN113407745B (en) Data labeling method, device, electronic equipment and computer readable storage medium
CN114489639A (en) File generation method, device, equipment and storage medium
CN115309470A (en) Method, device and equipment for loading widgets and storage medium
CN116719456A (en) Icon style switching method and device, electronic equipment and storage medium
CN115329720A (en) Document display method, device, equipment and storage medium
CN115469849A (en) Service processing system, method, electronic device and storage medium
CN113849164A (en) Data processing method and device, electronic equipment and memory
CN113642295A (en) Page layout method, page layout device and computer program product
CN114625460B (en) Image-text mixed arrangement method, device, equipment and storage medium
US20240126978A1 (en) Determining attributes for elements of displayable content and adding them to an accessibility tree
CN113343636B (en) Method and device for setting marking line width, electronic equipment and storage medium
CN117075959A (en) Method and system for splitting source codes of rich text large note web pages
CN117785165A (en) Chart generation method and device based on large model and electronic equipment
CN117744590A (en) Presentation generation method and device, electronic equipment and storage medium
CN113971256A (en) Page processing method and device, electronic equipment and memory

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination