| With the development of Internet e-commerce platforms and the improvement of the domestic logistics system,online shopping has gradually become people’s daily shopping method.As users’ shopping habits change,more and more sellers have opened their own online stores.There are countless stores on major e-commerce platforms,and sellers have more and more choices.In the fierce market competition,how to make the products in the store attract users and increase the conversion rate is the primary consideration for each store.In the process of displaying products in a store,the product detail page is an important part,and the user’s feelings about the product are basically obtained through the product detail page.However,the design and production of the product detail page,and the maintenance in each promotion event require a lot of manpower and material input from the store and the platform.However,the product details of different business departments within the company are maintained separately,and operators often need to edit and upload them on different platforms.Therefore,the dynamic product detail generation system came into being,combining the internally deposited product data,opening up the data links of different business departments,and providing one-stop product detail generation and maintenance services.In the product detail dynamic generation system,the product detail image is divided into different blocks,the arrangement and combination of the blocks form a product detail template.The system applies the generated image to the product according to the set rules.For the business department that uses the system,the system supports automatic synchronization of the product detail pictures approved to the business side,and updates the business side product details in an incremental update way when the product attributes change,without additional manual maintenance.In addition,the system provides the generation of product detail videos,which enriches the form of product details.The product details block supports SPI expansion,and the business departments can implement the block by themselves.Based on basic image processing,expandable blocks,universal templates,rule-level switching and automatic update synchronization and other functions,the system perfectly solves the pain points of the company’s product detail business.The author is mainly responsible for the development of block module,template module,rule module,review module,image processing module,and video generation module in this project.The system is mainly implemented based on the Spring Cloud microservice framework,using My SQL and Redis as storage tools,Rocket MQ as message queue,Canal as the incremental subscription & consumption component of My SQL database Binlog,and Image Magick and SVG for image processing,with the principle of high availability and high performance to complete the development of each module in the system.All modules of the system has now been completed and put into use in the company,providing detailed services for this department and other business departments,and saving a lot of manpower and material resources for the company and businesses. |