Webpage price information conversion method and device and electronic equipment

By identifying and converting price nodes into target price pictures on the web page of the e-commerce platform, the problem of easy access to price information in the existing technology is solved, and higher confidentiality and security of price information are achieved.

CN120030578APending Publication Date: 2025-05-23BEIJING WODONG TIANJUN INFORMATION TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311558100.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-21
Publication Date
2025-05-23

AI Technical Summary

Technical Problem

When the prior art prevents the price information of e-commerce platforms from being maliciously crawled, there are defects in interface encryption and web page text confusion, which are easy to be cracked to obtain real price information.

Method used

By traversing the visible area of ​​the target page, identifying and converting the price node into the target price picture, the identification of image information is difficult and costly, increasing the cost and difficulty of maliciously crawling price information.

Benefits of technology

Effectively prevent malicious crawling of price information, improve the confidentiality and security of price information, and increase the cost and difficulty of attacks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120030578A_ABST
    Figure CN120030578A_ABST
Patent Text Reader

Abstract

The invention provides a webpage price information conversion method and device and electronic equipment, and relates to the technical field of network security, the method comprises the following steps: traversing a first visible area of a currently browsed target page, and determining whether a price node exists in the first visible area; in response to the existence of the price node, establishing a picture label of the price node at the position of the price node, and obtaining price information of the price node; and obtaining picture information of the target price picture based on the price information, and setting the picture information as a tag attribute of the picture tag, so as to display the target price picture in the first visible area. Therefore, the price node is automatically converted into the target price picture on the webpage, and the picture information identification difficulty and the identification cost are relatively high, so that the cost and the difficulty of maliciously crawling the price information can be greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of network security technology, and in particular to a method, device and electronic device for converting web page price information. Background Art

[0002] Price information anti-scraping refers to the e-commerce platform using technical means to prevent malicious people on the Internet from obtaining the price information of each product on its platform. There are usually two ways to prevent price information from being crawled:

[0003] One is to encrypt the interface text. The server encrypts the price information into ciphertext through various algorithms, and then sends it to the web page of the user's browser through the interface. After receiving the ciphertext of the price, the web page decrypts it into normal price information through the decryption algorithm corresponding to the encryption algorithm, and then displays the price information on the web page. The main disadvantage of this method is that although the price information cannot be directly obtained through the encrypted text in the interface, the price information can be obtained by analyzing and crawling the decrypted text in the web page.

[0004] The second method is to confuse the web page text. A special font file is loaded into the web page. Some special characters in this font file are mapped to various numbers. The web page uses these special characters to represent price information. Even if these special characters are crawled, the real price information cannot be obtained. The main disadvantage of this method is that although the price information on the web page cannot be directly obtained, the font file itself is also in plain text. You only need to find the text of the special characters that display the price information on the web page, and then find the numbers corresponding to these special characters in the font file to crack the price information. Summary of the invention

[0005] The present disclosure aims to solve one of the technical problems in the related art at least to some extent.

[0006] To this end, one purpose of the present disclosure is to provide a method for converting web page price information.

[0007] The second objective of the present disclosure is to provide a web page price information conversion device.

[0008] A third objective of the present disclosure is to provide an electronic device.

[0009] A fourth object of the present disclosure is to provide a non-transitory computer-readable storage medium.

[0010] To achieve the above-mentioned purpose, the first aspect of the present disclosure proposes a method for converting web page price information, including: traversing the first visible area of ​​the currently browsed target page, and determining whether there is a price node in the first visible area; in response to the existence of a price node, establishing an image tag of the price node at the price node position, and obtaining the price information of the price node; based on the price information, obtaining the image information of the target price image, and setting the image information as the tag attribute of the image tag, so as to display the target price image in the first visible area.

[0011] According to one embodiment of the present disclosure, traversing the first visible area of ​​the currently browsed target page and determining whether there is a price node in the first visible area includes: for any candidate element node in the first visible area, obtaining the node attributes of the candidate element node; in response to the node attributes being the same as the preset target price node attributes, determining that the candidate element node is the price node.

[0012] According to one embodiment of the present disclosure, obtaining the price information of the price node includes: obtaining the product code, price font size and font color of the price node, and using the product code, price font size and font color as the price information.

[0013] According to one embodiment of the present disclosure, the method of obtaining the image information of the target price picture based on the price information includes: generating an image request instruction based on the price information, and sending the image request instruction to a price picture generation server; sending the product code in the image request instruction to the price server through the price picture generation server to obtain the real price of the product; generating the target price picture and the image information of the target price picture based on the price font size, the font color and the real price of the product through the price picture generation server.

[0014] According to one embodiment of the present disclosure, setting the image information as a tag attribute of the image tag to display the target price image in the first visible area includes: retrieving the image path of the target price image in the tag attribute; and displaying the target price image in the first visible area based on the image path.

[0015] According to one embodiment of the present disclosure, the method also includes: in response to monitoring a scrolling event of the target page, updating the current visible area to obtain a second visible area; determining whether there is a price node that has not been converted in the second visible area; returning to execute the step of establishing a picture tag of the price node at the price node position and obtaining the price information of the price node and its subsequent steps.

[0016] To achieve the above-mentioned purpose, the second aspect embodiment of the present disclosure proposes a web page price information conversion device, including: a determination module, used to traverse the first visible area of ​​the currently browsed target page, and determine whether there is a price node in the first visible area; an acquisition module, used to establish a picture tag of the price node at the price node position in response to the existence of a price node, and obtain the price information of the price node; a conversion module, used to obtain the picture information of the target price picture based on the price information, and set the picture information as the tag attribute of the picture tag, so as to display the target price picture in the first visible area.

[0017] To achieve the above-mentioned purpose, the third aspect embodiment of the present disclosure proposes an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to implement the web page price information conversion method as described in the first aspect embodiment of the present disclosure.

[0018] To achieve the above-mentioned purpose, the fourth aspect embodiment of the present disclosure proposes a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to implement the web page price information conversion method as described in the first aspect embodiment of the present disclosure.

[0019] Therefore, by automatically converting price nodes into target price images on web pages, the cost and difficulty of maliciously crawling price information can be greatly improved due to the difficulty and cost of identifying image information. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 is a schematic diagram of a web page price information conversion method according to an embodiment of the present disclosure;

[0021] Figure 2 A schematic diagram of a target page disclosed in the present invention;

[0022] Figure 3 is a schematic diagram of another web page price information conversion method according to an embodiment of the present disclosure;

[0023] Figure 4 is a schematic diagram of another web page price information conversion method according to an embodiment of the present disclosure;

[0024] Figure 5 is a schematic diagram of a method for generating picture information according to an embodiment of the present disclosure;

[0025] Figure 6 is a schematic diagram of a web page price information conversion device according to one embodiment of the present disclosure;

[0026] Figure 7 Schematic diagram of a picture information generation device according to an embodiment of the present disclosure;

[0027] Figure 8 Schematic diagram of an electronic device according to an embodiment of the present disclosure. Specific embodiments

[0028] Embodiments of the present disclosure will be described in detail below. Examples of the embodiments are shown in the accompanying drawings, where the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to explain the present disclosure and should not be construed as limiting the present disclosure.

[0029] In the technical solution of the present disclosure, the acquisition, storage, use, processing, etc. of data all comply with the relevant regulations of national laws and regulations.

[0030] Figure 1 Schematic diagram of a method for converting web page price information according to an embodiment of the present disclosure, as Figure 1 shown, the method for converting web page price information includes the following steps:

[0031] S101, traverse the first visible area of the target page currently being browsed and determine whether there is a price node in the first visible area.

[0032] It should be noted that the solution in the present disclosure is executed when the page is loaded or pre-loaded.

[0033] The method for converting web page price information in the embodiments of the present application can be applied to the scenario of web page browsing. The execution subject of the method for converting web page price information in the embodiments of the present application can be the device for converting web page price information in the embodiments of the present application, and the device for converting web page price information can be set on an electronic device.

[0034] It should be noted that the nodes in the present disclosure are basic elements of the page, and the price nodes are the nodes whose basic element attributes are commodity prices. It should be noted that there can be multiple methods for identifying different types of nodes, which are not limited here and can be specifically defined according to actual design needs. For example, the structures corresponding to different types of nodes can be different, or the tags corresponding to different types of nodes can be different, etc.

[0035] In the embodiments of the present disclosure, as Figure 2 shown, Figure 2 is a schematic diagram of a target page of the present disclosure. Since there may be a situation where there are multiple price nodes on the target page, if the conversion is performed simultaneously, it may consume a large amount of system resources. Therefore, in the present disclosure, only the first visible area of the target page currently being browsed is targeted. As Figure 2 As shown, there are price nodes 1-10 on the target page, and currently only price nodes 1-7 in the first visible area are processed.

[0036] S102, in response to the existence of a price node, establishing a picture tag of the price node at the price node position, and acquiring price information of the price node.

[0037] It should be noted that the image tag is a HyperText Markup Language (HTML) element used to display images on a web page, and it has some attributes that can be used to control the display and behavior of the image.

[0038] In the embodiments of the present disclosure, the price information may include multiple types, which are not limited herein. For example, the price information may include specific commodity prices, commodity types, etc.

[0039] S103, acquiring picture information of the target price picture based on the price information, and setting the picture information as a tag attribute of the picture tag, so as to display the target price picture in the first visible area.

[0040] In the embodiment of the present disclosure, after the price information is obtained, the price information can be converted into picture information, and then the tag attributes of the picture tag can be configured based on the picture information to generate a first visible area to display the target price picture.

[0041] In the disclosed embodiment, the first visible area of ​​the currently browsed target page is first traversed, and it is determined whether there is a price node in the first visible area. Then, in response to the existence of the price node, an image tag of the price node is established at the price node position in the first visible area, and the price information of the price node is obtained. Finally, based on the price information, the image information of the target price image is obtained, and the image information is set as the label attribute of the image tag, so that the target price image can be rendered to display the target price image in the first visible area.

[0042] It should be noted that the image information may include a variety of data, for example, product price, font size, font style, font color, etc. Among them, the data such as font size, font style, font color, etc. can be set in advance and can be changed according to actual design needs, and no limitation is made here.

[0043] In order to prevent it from being easily recognized by artificial intelligence, the font size, font style, and font color can be randomly configured to achieve different price pictures.

[0044] In the disclosed embodiment, the first visible area of ​​the currently browsed target page is first traversed, and it is determined whether there is a price node in the first visible area. Then, in response to the existence of the price node, a picture tag of the price node is established at the price node position in the first visible area, and the price information of the price node is obtained. Finally, based on the price information, the picture information of the target price picture is obtained, and the picture information is set as the label attribute of the picture tag to display the target price picture in the first visible area.

[0045] In the disclosed embodiment, the first visible area of ​​the currently browsed target page is first traversed, and it is determined whether there is a price node in the first visible area. In response to the existence of the price node, a picture tag of the price node is established at the price node position, and the price information of the price node is obtained. Finally, the picture information of the target price picture is obtained based on the price information, and the picture information is set as the label attribute of the picture tag to display the target price picture in the first visible area. Therefore, by automatically converting the price node into the target price picture on the web page, the cost and difficulty of maliciously crawling price information can be greatly improved due to the high difficulty and cost of identifying the picture information.

[0046] In the above embodiment, the first visible area of ​​the currently browsed target page is traversed, and it is determined whether there is a price node in the first visible area. Figure 3 To explain further, Figure 3 FIG. 1 is a schematic diagram of another method for converting web page price information according to an embodiment of the present disclosure, the method comprising:

[0047] S301: For any candidate element node in the first visible area, obtain node attributes of the candidate element node.

[0048] In the disclosed embodiment, each node of the target page has a node attribute. The node attributes corresponding to different types of nodes may be different, which can be set according to actual design requirements and are not limited here.

[0049] S302: In response to the node attribute being the same as a preset target price node attribute, determining that the candidate element node is a price node.

[0050] In the disclosed embodiment, first, for any candidate element node in the first visible area, the node attribute of the candidate element node is obtained, and in response to the node attribute being the same as the preset target price node attribute, the candidate element node is determined to be a price node. Thus, by obtaining the node attribute, the price node in the first visible area can be quickly located, providing a data basis for the subsequent acquisition of price information.

[0051] In the above embodiment, to obtain the price information of the price node, the product code, price font size and font color of the price node can be first obtained, and the price information can be generated based on the product code, price font size and font color. The format of the price information can be "skuId_fontSize_color", where skuId is the product code, is the information contained in the price node, and fontSize and color are the price font size and font color respectively.

[0052] It should be noted that the price font size and font color may be information contained in the node attributes of the price node, or may be user-defined data, and no limitation is made here.

[0053] In the above embodiment, the image information of the target price image is obtained based on the price information, and the image information of the target price image can also be obtained by Figure 4 To explain further, Figure 4 FIG. 1 is a schematic diagram of another method for converting web page price information according to an embodiment of the present disclosure, the method comprising:

[0054] S401, generating an image request instruction based on price information, and sending the image request instruction to a price picture generating server.

[0055] In the disclosed embodiment, the image generation server is a platform that can generate the target price image. The image generation server can be of various types and is not limited herein. For example, the image generation server can be a Node server, which is a free, open source, cross-platform JavaScript runtime environment that allows developers to write command line tools and server-side scripts outside of the browser.

[0056] S402, sending the product code in the image request instruction to the price server through the price image generation server to obtain the real price of the product.

[0057] In the embodiment of the present disclosure, the price server is a server that stores the commodity code and the corresponding commodity real price. The price server can receive the commodity code sent by the price picture generation server, and determine the corresponding commodity real price through the commodity code.

[0058] It should be noted that the price server is not open to the public, and the real price of the goods can only be obtained through access, which can improve the confidentiality of price information.

[0059] S403, generating a target price picture and picture information of the target price picture based on the price font size, font color and the real price of the commodity through a price picture generating server.

[0060] In the disclosed embodiment, there may be many methods for generating a target price picture and picture information of the target price picture based on the price font size, font color and actual price of the commodity through a price picture generation server, and no limitation is made here.

[0061] In one possible implementation, the target price image can be generated by calling an image generation application or an image generation script through the image generation server. The image generation application or image generation script can be stored in the storage space of the image generation server to facilitate retrieval and use when needed. For example, a new tag can be added to the target page through network mapping software to generate a target price image, and the image content can be manipulated.

[0062] In the disclosed embodiment, firstly, an image request instruction is generated based on the price information, and the image request instruction is sent to the price image generation server, then the product code in the image request instruction is sent to the price server through the price image generation server to obtain the real price of the product, and finally, the price image generation server generates a target price image and image information of the target price image based on the price font size, font color and the real price of the product. Thus, by storing the real price in the price server and obtaining the real price through access, the confidentiality of the price information can be improved.

[0063] After obtaining the image information, the image information is set as the label attribute of the image tag to display the target price image in the first visible area. The image path of the target price image in the label attribute can be first retrieved, and then the target price image can be displayed in the first visible area based on the image path.

[0064] In the embodiment of the present disclosure, it is also possible to monitor the user's actions on the target page, and in response to the monitored scrolling event of the target page, update the current visible area to obtain the second visible area, determine whether there is a price node that has not been converted in the second visible area, return to execute the steps of establishing a picture tag of the price node at the price node position, and obtain the price information of the price node and its subsequent steps.

[0065] Figure 5 is a schematic diagram of a method for generating picture information according to an embodiment of the present disclosure, such as Figure 5 As shown, the method for generating picture information is applied to a price picture generating server, and includes the following steps:

[0066] S501, obtaining price information, where the price information is attribute information of a price node in a visible area of ​​a currently browsed target page, wherein the attribute information includes a commodity code, price font size, and font color of the price node.

[0067] The specific steps of obtaining price information can refer to the contents of the above embodiment and will not be repeated here.

[0068] S502, sending the product code to the price server to obtain the real price of the price node.

[0069] The specific steps of obtaining the real price of the price node can refer to the content in the above embodiment, which will not be repeated here.

[0070] S503: Generate a price picture corresponding to the price node and picture information corresponding to the price picture based on the real price, price font size and font color.

[0071] In the disclosed embodiment, a new tag can be added to the target page through the network mapping software to generate a target price image. First, the acquired real price can be used together with the font size (fontsize) and color (color) to generate a Canvas object. The generated Canvas object can call the pngStream() method to generate a PNG stream. This PNG stream can use toString("base64") to generate a base64 format string. This string only needs to be prefixed with "data:image / png; base64," to form the image information.

[0072] In the disclosed embodiment, firstly, the price information is obtained, which is the attribute information of the price node in the visible area of ​​the target page currently being browsed, wherein the attribute information includes the commodity code, price font size and font color of the price node, and then the commodity code is sent to the price server to obtain the real price of the price node, and finally, based on the real price, price font size and font color, the price picture corresponding to the price node and the picture information corresponding to the price picture are generated. Thus, by storing the real price in the price server and obtaining the real price by access, the confidentiality of the price information can be improved.

[0073] Corresponding to the web page price information conversion methods provided in the above-mentioned embodiments, an embodiment of the present disclosure further provides a web page price information conversion device. Since the web page price information conversion device provided in the embodiment of the present disclosure corresponds to the web page price information conversion methods provided in the above-mentioned embodiments, the implementation methods of the above-mentioned web page price information conversion methods are also applicable to the web page price information conversion device provided in the embodiment of the present disclosure, and will not be described in detail in the following embodiments.

[0074] Figure 6 is a schematic diagram of a web page price information conversion device according to an embodiment of the present disclosure. Figure 6 As shown, the web page price information conversion device 600 includes: a determination module 610, an acquisition module 620 and a conversion module 630.

[0075] The determination module 610 is used to traverse the first visible area of ​​the currently browsed target page and determine whether there is a price node in the first visible area;

[0076] The acquisition module 620 is used to establish a picture label of the price node at the price node position in response to the existence of the price node, and acquire the price information of the price node;

[0077] The conversion module 630 is used to obtain the image information of the target price image based on the price information, and set the image information as a tag attribute of the image tag to display the target price image in the first visible area.

[0078] In one embodiment of the present disclosure, the determination module 610 is further used to: for any candidate element node in the first visible area, obtain the node attribute of the candidate element node; in response to the node attribute being the same as the preset target price node attribute, determine that the candidate element node is a price node.

[0079] In one embodiment of the present disclosure, the acquisition module 620 is further used to: acquire the product code, price font size and font color of the price node; and generate price information based on the product code, price font size and font color.

[0080] In one embodiment of the present disclosure, the conversion module 630 is also used to: generate an image request instruction based on price information, and send the image request instruction to a price picture generation server; send the product code in the image request instruction to the price server through the price picture generation server to obtain the actual price of the product; generate a target price picture and picture information of the target price picture based on the price font size, font color and the actual price of the product through the price picture generation server.

[0081] In one embodiment of the present disclosure, the conversion module 630 is further used to: retrieve the image path of the target price image in the label attribute; and display the target price image in the first visible area based on the image path.

[0082] In one embodiment of the present disclosure, in response to monitoring a scrolling event of a target page, the current visible area is updated to obtain a second visible area; it is determined whether there is a price node that has not been converted in the second visible area; and the steps of establishing a picture tag of a price node at the price node position in the first visible area and obtaining price information of the price node and subsequent steps are returned.

[0083] Therefore, by automatically converting price nodes into target price images on web pages, the cost and difficulty of maliciously crawling price information can be greatly improved due to the difficulty and cost of identifying image information.

[0084] Corresponding to the picture information generating methods provided in the above-mentioned embodiments, an embodiment of the present disclosure further provides a picture information generating device. Since the picture information generating device provided in the embodiment of the present disclosure corresponds to the picture information generating methods provided in the above-mentioned embodiments, the implementation methods of the above-mentioned picture information generating methods are also applicable to the picture information generating devices provided in the embodiments of the present disclosure, and will not be described in detail in the following embodiments.

[0085] Figure 7 is a schematic diagram of a picture information generating device according to an embodiment of the present disclosure, such as Figure 7 As shown, the image information generating device 700 includes: a receiving module 710, a sending module 720 and a generating module 730.

[0086] The receiving module 710 is used to obtain price information, which is the attribute information of the price node in the visible area of ​​the target page currently being browsed, wherein the attribute information includes the commodity code, price font size and font color of the price node;

[0087] The sending module 720 is used to send the commodity code to the price server to obtain the real price of the price node;

[0088] The generating module 730 is used to generate a price picture corresponding to the price node and picture information corresponding to the price picture based on the real price, price font size and font color.

[0089] Therefore, by storing the real price in the price server and obtaining the real price through access, the confidentiality of the price information can be improved.

[0090] In order to implement the above embodiment, the present disclosure further provides an electronic device 800, Figure 8 is a schematic diagram of an electronic device according to an embodiment of the present disclosure, such as Figure 8 As shown, the electronic device 800 includes: a processor 801 and a memory 802 that is communicatively connected to the processor, the memory 802 stores instructions that can be executed by at least one processor, and the instructions are executed by at least one processor 801 to implement the present disclosure. Figure 1-Figure 4 The web page price information conversion method of the embodiment or Figure 5 The method for generating picture information shown.

[0091] In order to implement the above embodiments, the present disclosure also provides a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable the computer to implement the above embodiments. Figure 1-Figure 4 The web page price information conversion method of the embodiment or Figure 5 The method for generating picture information shown.

[0092] In order to implement the above embodiments, the present disclosure also provides a computer program product, including a computer program. When the computer program is executed by a processor, the computer program implements the above embodiments. Figure 1-Figure 4 The web page price information conversion method of the embodiment or Figure 5 The method for generating picture information shown.

[0093] In the description of the present disclosure, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present disclosure and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present disclosure.

[0094] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the present disclosure, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0095] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present disclosure. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0096] Although the embodiments of the present disclosure have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present disclosure. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present disclosure.

Claims

1. A method for converting web page price information, It is characterized in that include: Traversing the first visible area of ​​the currently browsed target page, and determining whether there is a price node in the first visible area; In response to the existence of a price node, establishing a picture tag of the price node at the position of the price node, and acquiring price information of the price node; Based on the price information, image information of a target price image is acquired, and the image information is set as a tag attribute of the image tag, and the target price image is displayed in the first visible area.

2. The method according to claim 1, It is characterized in that The traversing the first visible area of ​​the currently browsed target page and determining whether there is a price node in the first visible area includes: For any candidate element node in the first visible area, obtaining a node attribute of the candidate element node; In response to the node attribute being the same as a preset target price node attribute, the candidate element node is determined to be the price node.

3. The method according to claim 1 or 2, It is characterized in that The obtaining the price information of the price node includes: The commodity code, price font size and font color of the price node are obtained, and the commodity code, price font size and font color are used as the price information.

4. The method according to claim 3, It is characterized in that The step of acquiring the picture information of the target price picture based on the price information includes: Generate an image request instruction based on the price information, and send the image request instruction to a price picture generation server; The price image generating server sends the commodity code in the image request instruction to the price server to obtain the real price of the commodity; The target price picture and picture information of the target price picture are generated by the price picture generation server based on the price font size, the font color and the real price of the commodity.

5. The method according to claim 4, It is characterized in that The step of setting the picture information as a label attribute of the picture label and displaying the target price picture in the first visible area includes: Retrieve the image path of the target price image in the label attribute; The target price image is displayed in the first visible area based on the image path.

6. The method according to claim 1, It is characterized in that The method further comprises: In response to monitoring a scrolling event of the target page, updating the current visible area to obtain a second visible area; Determine whether there is an unconverted price node in the second visible area; Return to the step of establishing a picture label of the price node at the price node position and obtaining price information of the price node and its subsequent steps.

7. A web page price information conversion device, It is characterized in that include: A determination module, used for traversing a first visible area of ​​a currently browsed target page and determining whether there is a price node in the first visible area; An acquisition module, configured to, in response to the existence of a price node, establish a picture tag of the price node at the position of the price node, and acquire price information of the price node; A conversion module is used to obtain image information of a target price image based on the price information, and set the image information as a tag attribute of the image tag to display the target price image in the first visible area.

8. An electronic device, It is characterized in that Including memory and processor; The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the web page price information conversion method as described in any one of claims 1-6.

9. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the web page price information conversion method according to any one of claims 1 to 6.