Rich text-based insurance product embedding method and device, equipment and storage medium

By inserting the ID information of the insurance product in the rich text editor and generating a detailed information display area, the problem of the inability to embed insurance products in existing technologies is solved, and the user experience and business conversion rate are improved.

CN120596715APending Publication Date: 2025-09-05CHINA PING AN PROPERTY INSURANCE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510664239.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-21
Publication Date
2025-09-05

AI Technical Summary

Technical Problem

Existing rich text editors cannot effectively embed insurance products and cannot meet users' needs when creating content.

Method used

By obtaining a list of insurance product information, inserting it into preset tags to form rich text content, and using regular expressions to extract ID information, Hypertext Markup Language code is generated and rendered to the front-end page to form a detailed information display area.

Benefits of technology

It enables insurance products to be embedded in rich text, improves user experience, simplifies operational processes, increases business conversion rates, and optimizes marketing strategies through dynamic updates and data tracking functions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120596715A_ABST
    Figure CN120596715A_ABST
Patent Text Reader

Abstract

The invention provides an insurance product embedding method and device based on a rich text, equipment and a storage medium. The method provided by the invention comprises the steps of obtaining a to-be-embedded insurance product information list, and displaying the insurance product information list; after an insurance product in the insurance product information list receives a selection instruction, inserting ID information of the selected insurance product into a preset tag of the rich text to form rich text content; when the front-end page containing the rich text is accessed, extracting a preset tag and ID information of the insurance product from the content of the rich text by utilizing a regular expression, and obtaining detailed information of the insurance product by taking the ID information of the insurance product as a parameter; generating a hypertext markup language code according to the detailed information of the insurance product, and rendering the hypertext markup language code to a front-end page to form an insurance product display area containing the detailed information. According to the method, the insurance product is embedded in the rich text.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of rich text technology, and in particular to a method, device, equipment and storage medium for embedding insurance products based on rich text. Background Art

[0002] A rich text editor is a browser-embedded, what-you-see-is-what-you-get (WYSIWYG) text editor. Rich text editors are widely used across various online platforms and applications for creating and editing content. However, most current rich text editors only support the insertion of basic elements such as text, images, and links. Support for complex elements that require integration with business systems, such as insurance products, is very limited. Existing technologies cannot meet users' needs for embedding insurance products when creating content. Summary of the Invention

[0003] The purpose of the present invention is to provide a method, device, equipment and storage medium for embedding insurance products based on rich text, so as to solve the technical problem in the prior art that rich text cannot meet the requirements of embedding insurance products.

[0004] The technical solution of the present invention is as follows: providing a method for embedding insurance products based on rich text, comprising:

[0005] Obtaining a list of insurance product information to be embedded, and displaying the list of insurance product information;

[0006] After receiving the selection instruction, the insurance products in the insurance product information list insert the ID information of the selected insurance products into the preset tag of the rich text to form rich text content;

[0007] When a front-end page containing rich text is accessed, the preset tag and the insurance product ID information are extracted from the rich text content using a regular expression, and the insurance product ID information is used as a parameter to obtain detailed information about the insurance product, including the product name, brief description, price, and coverage.

[0008] Generate a hypertext markup language code based on the detailed information of the insurance product, and render the hypertext markup language code to the front-end page to form an insurance product display area containing the detailed information.

[0009] Furthermore, a list of insurance product information to be embedded is obtained, including:

[0010] The plug-in is connected to the backend database through the application programming interface to obtain the list of insurance product information to be embedded.

[0011] Furthermore, after the ID information of the selected insurance product is inserted into the preset tag of the rich text to form the rich text content, it also includes saving the rich text content to the business database.

[0012] Furthermore, extracting the preset tag and the ID information of the insurance product from the rich text content using a regular expression includes:

[0013] The rich text content is obtained from the business database through an application programming interface, and the preset tag and the ID information of the insurance product are extracted from the rich text content using a regular expression.

[0014] Furthermore, after forming the insurance product display area containing the detailed information, the method further includes:

[0015] When the insurance product display area is displayed, the corresponding user information, the detailed information corresponding to the insurance product display area and the ID information of the corresponding insurance product are obtained, and the user information, the detailed information corresponding to the insurance product display area and the ID information of the corresponding insurance product are saved to the user behavior database.

[0016] Furthermore, the rich text-based insurance product embedding method further includes associating the insurance product display area with a detail page of the insurance product;

[0017] After forming the insurance product display area containing the said detailed information, it also includes:

[0018] When the insurance product display area receives a click instruction, the page where the insurance product display area is located jumps to the details page, and obtains the corresponding user information and detailed information corresponding to the insurance product display area, and saves the user information and detailed information corresponding to the insurance product display area to the user behavior database.

[0019] Furthermore, after forming the insurance product display area containing the detailed information, the method further includes:

[0020] When a user visits the page where the insurance product display area is located, the corresponding user information and the rich text content corresponding to the insurance product display area are obtained, and the user information and the detailed information corresponding to the insurance product display area are saved to the user behavior database.

[0021] Another technical solution of the present invention is as follows: providing an insurance product embedding device based on rich text, comprising an information list display module, a rich text content forming module, an information acquisition module, and a display area forming module;

[0022] The information list display module is used to obtain the insurance product information list to be embedded and display the insurance product information list;

[0023] The rich text content forming module is configured to insert the ID information of the selected insurance product into a preset tag of the rich text after receiving the selection instruction of the insurance product in the insurance product information list, thereby forming rich text content;

[0024] The information acquisition module is configured to extract the preset tags and the insurance product ID information from the rich text content using regular expressions when a front-end page containing rich text is accessed, and obtain detailed information of the insurance product using the insurance product ID information as a parameter, wherein the detailed information includes the product name, brief description, price, and coverage;

[0025] The display area forming module is used to generate a hypertext markup language code based on the detailed information of the insurance product, and render the hypertext markup language code to the front-end page to form an insurance product display area containing the detailed information.

[0026] Another technical solution of the present invention is as follows: an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program that can be executed by the processor, and when the processor executes the computer program, it implements the rich text-based insurance product embedding method as described in any of the above technical solutions.

[0027] Another technical solution of the present invention is as follows: a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the rich text-based insurance product embedding method as described in any of the above technical solutions is implemented.

[0028] The beneficial effects of the present invention are: obtaining a list of insurance product information to be embedded and displaying the insurance product information list; after the insurance products in the insurance product information list receive a selection instruction, the ID information of the selected insurance products is inserted into the preset tag of the rich text to form rich text content; when the front-end page containing rich text is accessed, the preset tag and the ID information of the insurance product are extracted from the rich text content using a regular expression, and the ID information of the insurance product is used as a parameter to obtain detailed information of the insurance product, the detailed information including product name, brief description, price and coverage; generating hypertext markup language code based on the detailed information of the insurance product, rendering the hypertext markup language code to the front-end page to form an insurance product display area containing the detailed information; through the above technical solution, it is realized to embed insurance products in rich text, which meets the demand of embedding insurance products in rich text. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only part of the embodiments of the present invention, rather than all the embodiments. For ordinary technicians in this field, without paying any creative work, other drawings obtained based on these drawings are all within the scope of protection of this application.

[0030] Figure 1 A flowchart of a method for embedding insurance products based on rich text provided by an embodiment of the present invention;

[0031] Figure 2 A schematic diagram of the structure of a rich text-based insurance product embedding device provided by an embodiment of the present invention;

[0032] Figure 3 A schematic structural diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0033] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.

[0034] In the description of this application, words such as "first" and "second" are used only for descriptive purposes and should not be construed as indicating or implying relative importance or order. In this specification, the terms "including," "comprising," "having," and their variations all mean "including but not limited to," unless otherwise specifically emphasized.

[0035] References herein to "embodiments" mean that a particular feature, structure, or characteristic described in connection with the embodiments may be included in at least one embodiment of the present invention. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute a separate or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0036] Figure 1 It is a flowchart of the method for embedding insurance products based on rich text according to an embodiment of the present invention. It should be noted that the method for embedding insurance products based on rich text according to the present invention is not limited to the method for embedding insurance products based on rich text according to an embodiment of the present invention. Figure 1The process sequence shown is limited. Figure 1 As shown, the insurance product embedding method based on rich text mainly includes the following steps:

[0037] S101, obtaining a list of insurance product information to be embedded, and displaying the list of insurance product information;

[0038] In an optional embodiment, obtaining a list of insurance product information to be embedded includes:

[0039] The plug-in is connected to the backend database through the application programming interface to obtain the list of insurance product information to be embedded.

[0040] In some embodiments, in the rich text editor of the management background, a plug-in is designed using the custom plug-in function of the rich text editor (for example, ueditor). The plug-in is connected to the backend database through the backend API (Application Programming Interface) interface, dynamically obtains the currently available (to be embedded) insurance product information list, and displays it on the plug-in interface, that is, the background page, for user selection and configuration.

[0041] S102, after receiving the selection instruction, the insurance products in the insurance product information list insert the ID information of the selected insurance products into the preset tags of the rich text to form rich text content;

[0042] In some embodiments, after the user selects the insurance product that he wants to configure, that is, after the insurance product in the insurance product information list receives the selection instruction, the inserthtml instruction provided by the rich text editor can be used to insert the ID information of the insurance product selected by the user into the preset position in the rich text. Without loss of generality, for example, if the ID of the insurance product is idxxxx, then <section productid="idxxxx">< / section> This format inserts the insurance product ID information into a preset position in the rich text. This operation allows users to embed the insurance product ID at any position in the rich text. <section>The labels are preset labels.

[0043] In an optional embodiment, after the ID information of the selected insurance product is inserted into a preset tag of the rich text to form the rich text content, the method further includes saving the rich text content to a business database.

[0044] It should be noted that saving rich text content with preset tags into the original business database can ensure the persistence and traceability of its content.

[0045] S103, when a front-end page containing rich text is accessed, extracting the preset tag and the insurance product ID information from the rich text content using a regular expression, and using the insurance product ID information as a parameter to obtain detailed information about the insurance product, the detailed information including the product name, brief description, price, and coverage;

[0046] In an optional embodiment, extracting the preset tag and the insurance product ID information from the rich text content using a regular expression includes:

[0047] The rich text content is obtained from the business database through an application programming interface, and the preset tag and the ID information of the insurance product are extracted from the rich text content using a regular expression.

[0048] In some embodiments, when a user accesses a front-end page containing rich text, the rich text content stored in the business database is retrieved through an API interface, and the preset tags and insurance product ID information contained therein are extracted using regular expressions. A back-end API interface is called, using the extracted insurance product ID information as a parameter to obtain detailed information about the corresponding insurance product, including but not limited to the product name, brief description, price, and coverage.

[0049] S104: Generate a hypertext markup language code based on the detailed information of the insurance product, and render the hypertext markup language code to the front-end page to form an insurance product display area containing the detailed information.

[0050] In some embodiments, based on the detailed information of the insurance product, a Hypertext Markup Language (HTML) code containing the detailed information can be generated, and the HTML code can be rendered to the front-end page to form an insurance product display area containing the detailed information. The HTML code needs to follow a specific UI (User Interface) display style to ensure a unified and beautiful display effect. Rendering the HTML code to the front-end page can specifically include rendering rich text content, such as<sectionproductid="idxxxx">< / section> The tag is replaced with the aforementioned HTML code. The replaced rich text content can be rendered to the front-end page for user browsing and interaction. The insurance product display area can be displayed in the form of component cards, which contain information such as product name, brief description, price, and coverage.

[0051] In an optional embodiment, the rich text-based insurance product embedding method further includes associating the insurance product display area with a detail page of the insurance product;

[0052] After forming the insurance product display area containing the said detailed information, it also includes:

[0053] When the insurance product display area receives a click instruction, the page where the insurance product display area is located jumps to the details page or the page where the insurance product display area is located jumps to the purchase page, and the corresponding user information and detailed information corresponding to the insurance product display area are obtained, and the user information and detailed information corresponding to the insurance product display area are saved in the user behavior database.

[0054] In some embodiments, when a user clicks on an insurance product in the insurance product display area on the front-end page, that is, when the first preset position of the insurance product display area receives a click instruction, the page where the insurance product display area is located can jump to the details page; when the second preset position of the insurance product display area receives a click instruction, the page where the insurance product display area is located can jump to the purchase page, so as to guide the user to the corresponding insurance product purchase page, thereby completing the user purchase process of the insurance product.

[0055] In some embodiments, when a user clicks on an insurance product in the insurance product display area on the front-end page and the page jumps to the product details page, user behavior data can be obtained and saved. The user behavior data includes but is not limited to user information, detailed information of the insurance product, etc.

[0056] In a specific embodiment, only the ID information of the insurance product is stored in the rich text content, and the latest insurance product information is obtained in real time through the background API each time the front-end page is loaded. Therefore, dynamic updating of the insurance product information can be achieved. That is, when the terms, prices or other information of the insurance product changes, the content browsed by the user automatically reflects the latest product information, which can ensure the accuracy of the information without the need for manual intervention.

[0057] In an optional embodiment, after forming the insurance product display area containing the detailed information, the method further includes:

[0058] When the insurance product display area is displayed, the corresponding user information, the detailed information corresponding to the insurance product display area and the ID information of the corresponding insurance product are obtained, and the user information, the detailed information corresponding to the insurance product display area and the ID information of the corresponding insurance product are saved to the user behavior database.

[0059] In some embodiments, when the user slides the front-end page to the insurance product display area, that is, when the insurance product display area is displayed, the user information and detailed information of the corresponding insurance product (such as product ID, name, brief description, price, coverage, etc.) are obtained and saved to the user behavior database through the API interface.

[0060] In an optional embodiment, after forming the insurance product display area containing the detailed information, the method further includes:

[0061] When a user visits the page where the insurance product display area is located, the corresponding user information and detailed information corresponding to the insurance product display area are obtained, and the user information and rich text content corresponding to the insurance product display area are saved to the user behavior database.

[0062] In some embodiments, when a user accesses the page (front-end page) where the insurance product display area is located, user information, rich text content and other data are recorded and saved to the user behavior database through the API interface. It should be noted that in the process of browsing the insurance product (the page where it is located), the user's interactive behavior, such as sliding and clicking, can be recorded, and the relevant data can be saved to the user behavior database. The acquired user behavior data can be regularly sorted and analyzed to generate detailed analysis reports for managers' reference. These reports will help optimize the insurance product display strategy and improve user experience and conversion rate.

[0063] The embodiment of the present invention provides a rich text-based insurance product embedding method, which obtains a list of insurance product information to be embedded and displays the insurance product information list; after the insurance products in the insurance product information list receive a selection instruction, the ID information of the selected insurance products is inserted into the preset tag of the rich text to form rich text content; when the front-end page containing rich text is accessed, the preset tag and the ID information of the insurance product are extracted from the rich text content using a regular expression, and the ID information of the insurance product is used as a parameter to obtain detailed information of the insurance product, the detailed information including the product name, brief description, price and coverage; hypertext markup language code is generated according to the detailed information of the insurance product, and the hypertext markup language code is rendered to the front-end page to form an insurance product display area containing the detailed information; the embedding of insurance products in rich text is realized, which meets the demand for embedding insurance products in rich text, and can provide functions such as quotation and purchase of insurance products, thereby improving user experience and increasing business conversion rate.

[0064] The rich-text-based insurance product embedding method provided by the present invention directly embeds insurance products within rich text. This allows users to intuitively access relevant insurance product information while reading or editing content without having to navigate to other pages, simplifying user operations and improving the user experience. Based on users' content creation and browsing behavior, suitable insurance products can be recommended. For example, in an article about healthy living, health insurance products can be recommended, increasing the exposure of insurance products and boosting purchase conversion rates. A dynamic update function allows embedded insurance product information to be kept up to date, ensuring that the latest information is always presented to users. Compared to traditional static information insertion methods, this approach avoids user misunderstandings or potential legal risks caused by outdated information. Because insurance products are directly embedded within rich text, users can make purchase decisions during the content consumption process, reducing steps and potential points of churn in the purchase path, thereby improving overall business conversion rates. Data tracking functions can analyze user behavior, helping companies understand which products are most popular within specific content or contexts. This data can not only guide product optimization but also be used to adjust marketing strategies, achieving targeted delivery and efficient resource utilization.

[0065] The rich-text-based insurance product embedding method provided in embodiments of the present invention can be constructed based on artificial intelligence (AI). This technology acquires and processes relevant data, enabling unattended AI-powered rich-text-based insurance product embedding. Artificial Intelligence (AI) refers to the theories, methods, techniques, and application systems that use digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, perceive the environment, acquire knowledge, and use that knowledge to achieve optimal results.

[0066] Fundamental AI technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing, operating / interaction systems, and mechatronics. AI software technologies primarily encompass computer vision, robotics, biometrics, speech processing, natural language processing, and machine learning / deep learning.

[0067] Figure 2 Schematic diagram of the structure of the insurance product embedding device based on rich text according to an embodiment of the present invention. Figure 2 As shown, the insurance product embedding device 20 based on rich text includes an information list display module 21, a rich text content forming module 22, an information acquisition module 23 and a display area forming module 24;

[0068] The information list display module 21 is used to obtain the insurance product information list to be embedded and display the insurance product information list;

[0069] The rich text content forming module 22 is configured to insert the ID information of the selected insurance product into a preset tag of the rich text after receiving the selection instruction, thereby forming rich text content;

[0070] The information acquisition module 23 is configured to, when a front-end page containing rich text is accessed, extract the preset tag and the insurance product ID information from the rich text content using a regular expression, and obtain detailed information of the insurance product using the insurance product ID information as a parameter, the detailed information including the product name, brief description, price, and coverage;

[0071] The display area forming module 24 is configured to generate a hypertext markup language code based on the detailed information of the insurance product, and render the hypertext markup language code to the front-end page to form an insurance product display area containing the detailed information.

[0072] In an optional embodiment, the information list display module 21 obtains the insurance product information list to be embedded, including:

[0073] The plug-in is connected to the backend database through the application programming interface to obtain the list of insurance product information to be embedded.

[0074] In an optional embodiment, the rich text-based insurance product embedding device 20 also includes a storage module, which is used to insert the ID information of the selected insurance product into the preset tag of the rich text to form rich text content, and then save the rich text content to the business database.

[0075] In an optional embodiment, the information acquisition module 23 extracts the preset tag and the ID information of the insurance product from the rich text content using a regular expression, including:

[0076] The rich text content is obtained from the business database through an application programming interface, and the preset tag and the ID information of the insurance product are extracted from the rich text content using a regular expression.

[0077] In an optional embodiment, the rich text-based insurance product embedding device 20 also includes a first information processing module, which is used to obtain corresponding user information, detailed information corresponding to the insurance product display area and ID information of the corresponding insurance product after forming an insurance product display area containing the detailed information and when the insurance product display area is displayed, and save the user information, detailed information corresponding to the insurance product display area and ID information of the corresponding insurance product to the user behavior database.

[0078] In an optional embodiment, the rich-text-based insurance product embedding device 20 further includes an association module, which is used to associate the insurance product display area with the details page of the insurance product; the rich-text-based insurance product embedding device 20 further includes a second information processing module, which is used to jump the page where the insurance product display area is located to the details page when the insurance product display area receives a click instruction, and obtain the corresponding user information and detailed information corresponding to the insurance product display area, and save the user information and detailed information corresponding to the insurance product display area to the user behavior database.

[0079] In an optional embodiment, the rich text-based insurance product embedding device 20 also includes a third information processing module, which is used to obtain corresponding user information and rich text content corresponding to the insurance product display area when the user visits the page where the insurance product display area is located, and save the user information and detailed information corresponding to the insurance product display area to the user behavior database.

[0080] Figure 3 Schematic diagram of the structure of an electronic device according to an embodiment of the present invention. Figure 3 As shown, the electronic device 30 includes a processor 31 and a memory 32 communicatively connected to the processor 31 .

[0081] The memory 32 stores program instructions for implementing the insurance product embedding method based on rich text in any one of the above embodiments.

[0082] The processor 31 is configured to execute program instructions stored in the memory 32 to embed insurance products based on rich text.

[0083] The processor 31 may also be referred to as a CPU (Central Processing Unit). The processor 31 may be an integrated circuit chip having signal processing capabilities. The processor 31 may also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component. The general-purpose processor may be a microprocessor or any conventional processor.

[0084] An embodiment of the present invention provides a storage medium, which stores program instructions that can implement all the above methods. The storage medium can be non-volatile or volatile. The program instructions can be stored in the above storage medium in the form of a software product, including several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, or terminal devices such as a computer, a server, a mobile phone, and a tablet.

[0085] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of modules is merely a logical function division. In actual implementation, there may be other division methods, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interface, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

[0086] In addition, the functional modules in the various embodiments of the present invention may be integrated into one processing unit, or each module may exist physically separately, or two or more modules may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of a software functional unit. The above is only an embodiment of the present invention and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

[0087] The above description is only an embodiment of the present invention. It should be pointed out that those skilled in the art can make improvements without departing from the creative concept of the present invention, but these improvements all fall within the scope of protection of the present invention.

Claims

1. A method for embedding insurance products based on rich text, characterized in that: include: Obtaining a list of insurance product information to be embedded, and displaying the list of insurance product information; After receiving the selection instruction, the insurance products in the insurance product information list insert the ID information of the selected insurance products into the preset tag of the rich text to form rich text content; When a front-end page containing rich text is accessed, the preset tag and the insurance product ID information are extracted from the rich text content using a regular expression, and the insurance product ID information is used as a parameter to obtain detailed information about the insurance product, including the product name, brief description, price, and coverage. Generate a hypertext markup language code based on the detailed information of the insurance product, and render the hypertext markup language code to the front-end page to form an insurance product display area containing the detailed information.

2. The method for embedding insurance products based on rich text according to claim 1, characterized in that: Get the list of insurance product information to be embedded, including: The plug-in is connected to the backend database through the application programming interface to obtain the list of insurance product information to be embedded.

3. The method for embedding insurance products based on rich text according to claim 1, characterized in that: After the ID information of the selected insurance product is inserted into the preset tag of the rich text to form the rich text content, the method further includes saving the rich text content to the business database.

4. The method for embedding insurance products based on rich text according to claim 3, characterized in that: Extracting the preset tag and the insurance product ID information from the rich text content using a regular expression includes: The rich text content is obtained from the business database through an application programming interface, and the preset tag and the ID information of the insurance product are extracted from the rich text content using a regular expression.

5. The method for embedding insurance products based on rich text according to claim 1, characterized in that: After forming the insurance product display area containing the said detailed information, it also includes: When the insurance product display area is displayed, the corresponding user information, the detailed information corresponding to the insurance product display area and the ID information of the corresponding insurance product are obtained, and the user information, the detailed information corresponding to the insurance product display area and the ID information of the corresponding insurance product are saved to the user behavior database.

6. The method for embedding insurance products based on rich text according to claim 1, characterized in that: The rich text-based insurance product embedding method further includes associating the insurance product display area with a detail page of the insurance product; After forming the insurance product display area containing the said detailed information, it also includes: When the insurance product display area receives a click instruction, the page where the insurance product display area is located jumps to the details page, and obtains the corresponding user information and detailed information corresponding to the insurance product display area, and saves the user information and detailed information corresponding to the insurance product display area to the user behavior database.

7. The method for embedding insurance products based on rich text according to claim 1, characterized in that: After forming the insurance product display area containing the said detailed information, it also includes: When a user visits the page where the insurance product display area is located, the corresponding user information and the rich text content corresponding to the insurance product display area are obtained, and the user information and the detailed information corresponding to the insurance product display area are saved in the user behavior database.

8. A device for embedding insurance products based on rich text, characterized in that: It includes an information list display module, a rich text content formation module, an information acquisition module, and a display area formation module; The information list display module is used to obtain the insurance product information list to be embedded and display the insurance product information list; The rich text content forming module is configured to insert the ID information of the selected insurance product into a preset tag of the rich text after receiving the selection instruction of the insurance product in the insurance product information list, thereby forming rich text content; The information acquisition module is configured to extract the preset tags and the insurance product ID information from the rich text content using regular expressions when a front-end page containing rich text is accessed, and obtain detailed information of the insurance product using the insurance product ID information as a parameter, wherein the detailed information includes the product name, brief description, price, and coverage; The display area forming module is used to generate a hypertext markup language code based on the detailed information of the insurance product, and render the hypertext markup language code to the front-end page to form an insurance product display area containing the detailed information.

9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program executable by the processor, wherein: When the processor executes the computer program, the rich text-based insurance product embedding method according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the rich text-based insurance product embedding method according to any one of claims 1 to 7 is implemented.