Self-service selling system for scattered market applets and use method
By designing a self-service sales system with scattered market mini programs, the problems of single product display, limited search function and shopping carts not supporting cross-store settlement in the retail system are solved, which improves consumer shopping convenience and merchant operation efficiency, and realizes system stability and data interaction accuracy.
Patent Information
- Application Number
- CN202510801281.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-16
- Publication Date
- 2025-08-08
AI Technical Summary
The existing scattered market retail system has problems such as single product display form, limited search function, and shopping carts do not support cross-store settlement and after-sales procedures, which is difficult to meet consumers' immediate and personalized shopping needs.
A self-service sales system for small programs in scattered markets is designed, including the front-end module of the mini program, the merchant management module and the back-end server module, which supports product display with pictures and texts, intelligent search and classification navigation, one-stop service for shopping carts and personal centers. The merchant management module supports product management, order processing and store settings. The back-end server adopts a relational database and distributed cache architecture to ensure the standardization of data and read efficiency.
It significantly improves consumer shopping convenience and satisfaction, merchant operation efficiency, system stability and data interaction accuracy, and realizes a convenient transaction process between consumers and merchants.
Smart Images

Figure CN120452098A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of Internet e-commerce, and in particular to a self-service vending system and a method for using small programs in a scattered market. Background Art
[0002] With the widespread adoption of mobile internet technology, the need for digital transformation in fragmented markets (such as community convenience stores, individual businesses, and temporary markets) is becoming increasingly urgent. Traditional offline retail models, plagued by limitations in product display, cumbersome transaction processes, and inefficient management, struggle to meet consumers' demands for instant, personalized shopping.
[0003] The existing retail system for scattered markets has two core pain points: a fragmented consumer experience: product display is limited to a single format (static images and text only), the search function only supports precise keyword matching, and users need to try multiple times to find the target product; the shopping cart does not support cross-store checkout, and the after-sales process must jump to a third-party platform, resulting in a lengthy operation process. In view of this, we propose a self-service vending system and usage method for scattered market mini-programs. Summary of the Invention
[0004] The main purpose of the present invention is to provide a self-service sales system and a method for using a small program in a scattered market, which can solve the problems raised in the above background technology.
[0005] To achieve the above objectives, the present invention proposes a self-service sales system for small-scale market applications, comprising:
[0006] Mini-program front-end module, which is used to provide consumers with product information browsing, shopping operations, and personal information management;
[0007] Merchant management module, which is used by merchants to manage products, orders and store information;
[0008] A backend server module, which is used to store consumer information, merchant information, product information, and order information;
[0009] The payment interface module integrates multiple mainstream payment methods and interacts with the backend server module.
[0010] Preferably, the mini program front-end module includes a product display unit, a search and classification navigation unit, a shopping cart unit and a personal center unit. The product display unit is used to display the product's picture, name, price, detailed parameters and user evaluation information in a combination of pictures and texts, and supports dynamic switching and zooming in of pictures. The search and classification navigation unit is used to support keyword retrieval of products and filtering of products by preset product categories. The shopping cart unit is used to temporarily store products selected by consumers, supports product quantity modification and unified settlement, and the personal center unit is used for consumers to view order history, logistics information, modify personal information and initiate after-sales applications.
[0011] Preferably, the merchant management end module includes a product management unit, an order processing unit and a store information setting unit. The product management unit is used by merchants to upload product pictures, edit product names, set prices and inventory quantities, write product descriptions and update product status. The order processing unit is used by merchants to receive consumer orders, view order details, execute shipping operations and handle after-sales applications. The store information setting unit is used by merchants to customize store names, introductions, business hours and contact information.
[0012] Preferably, the keyword search of the search and classification navigation unit has a fuzzy matching function, and the preset product categories support merchants to customize secondary categories.
[0013] Preferably, the product management unit automatically converts and compresses the product images uploaded by merchants, the product name editing has a sensitive word filtering function, the price setting supports setting tiered prices for different promotional activities, and the inventory quantity is synchronized to the background server module in real time and automatically triggers an early warning when it is lower than the set threshold.
[0014] Preferably, the background server module uses a relational database to store data, the database table structure follows the third normal form, and improves data reading efficiency through a distributed cache architecture, and dynamically adjusts the cache strategy according to the data access frequency.
[0015] The present invention proposes a method for using a self-service sales system for a small-scale market app, comprising the following steps:
[0016] S01. Consumer registration and login: Consumers complete registration by obtaining a verification code through their mobile phone number. Mobile phone number and password login and WeChat one-click authorization login are supported. WeChat one-click authorization login automatically synchronizes basic information such as user profile picture and nickname to the Mini Program account. A privacy terms pop-up window is set during the registration process.
[0017] S02. Merchant Registration Application: Merchants submit registration applications containing basic information such as legal representative name, ID number, contact address, and qualification certification documents. After approval by the system administrator using a combination of manual and intelligent review, they will obtain access to the merchant management module.
[0018] S03. Consumer Product Browsing and Purchasing: Consumers browse products through the Mini Program front-end module. After adding products to the shopping cart, the system automatically records the product browsing history and recommends similar products. The shopping cart supports batch checkout of products, and the checkout page displays the total price, discount amount, and estimated delivery time.
[0019] S04. Merchant product listing and management: Merchants upload product information, set inventory and prices, and list and remove products through the merchant management module;
[0020] S05. Order processing: The merchant receives the consumer's order and processes the order for shipment. The consumer can check the order status and logistics information in the personal center of the mini program front-end module. The system will automatically notify you if there is any abnormality in the logistics information.
[0021] S06. After-sales processing: The consumer initiates an after-sales application, the merchant checks the after-sales voucher and negotiates with the consumer, completes the refund, exchange and other operations within the specified time, and the after-sales operation record is saved to the backend server module
[0022] Preferably, in step S03, the recommendation algorithm for recommending similar products comprehensively considers factors such as product category, price range, and user evaluation.
[0023] Preferably, in step S05, the system tracks the logistics information of the shipped orders in real time and synchronizes it to the personal center of the merchant management module and the mini program front-end module. In step S06, the merchant operation records during the after-sales processing are completely saved to facilitate subsequent queries and statistical analysis.
[0024] The present invention provides a self-service sales system and usage method for small programs in a scattered market. It has the following beneficial effects:
[0025] (1) The front-end module of the self-service sales system of the scattered market mini program supports product display with pictures and texts, intelligent search and category navigation. The shopping cart and personal center realize one-stop service for the entire process of purchase, order viewing and after-sales processing, which significantly improves shopping convenience and satisfaction.
[0026] (2) The merchant management module of the self-service sales system of the scattered market applet covers product management, order processing and store setting functions, supports operations such as custom categories and tiered prices, meets diversified business needs, and effectively improves the merchant's operating efficiency and management level.
[0027] (3) The backend server of the self-service sales system of the small program in the scattered market adopts a relational database and distributed cache architecture to ensure the integrity of data specifications and reading efficiency. The processes of consumer registration, merchant entry and transaction after-sales are closely coordinated to ensure stable operation of the system and accurate data interaction. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] 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 some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying any creative work.
[0029] Figure 1 This is a schematic diagram of the system modules of the present invention;
[0030] Figure 2 Schematic diagram of the system architecture of the present invention;
[0031] Figure 3 This is a schematic diagram of the functional architecture of the mini-program front-end module of the present invention;
[0032] Figure 4 This is a schematic diagram of the functional architecture of the merchant management module of the present invention;
[0033] Figure 5 This is a flow chart of the method for using the present invention;
[0034] Figure 6 It is a schematic diagram of the logistics and after-sales processing flow of the present invention.
[0035] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings and in conjunction with the embodiments. DETAILED DESCRIPTION
[0036] 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. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.
[0037] See also Figure 1-Figure 5The present invention proposes a self-service vending system for small programs in scattered markets, including a small program front-end module, a merchant management module, a back-end server module, and a payment interface module. The small program front-end module is used to provide consumers with product information browsing, shopping operations, and personal information management. In actual applications, the small program front-end adopts a responsive design, which can adapt to mobile device screens of different sizes and is compatible with iOS, Android, and WeChat small programs. The page loading speed is optimized to within 2.5 seconds (3G network environment), and the interactive fluency reaches the 60fps standard. Whether it is a mobile phone, tablet or other mobile terminal, consumers can get a good visual experience and operation experience. The small program front-end and the back-end server module exchange data through a safe and reliable network communication protocol to ensure the stability and security of data transmission. The merchant management module is used for merchants to manage products, orders, and store information. When merchants use the merchant management module, they need to log in through identity authentication to ensure the security of the merchant account. The interface design of the merchant management module is simple and clear, and the operation process conforms to the daily management habits of merchants, reducing the learning cost of merchants. For example, the product management unit's user interface clearly divides functional areas such as product image upload, name editing, and price setting, making it easy for merchants to quickly get started. The backend server module stores consumer information, merchant information, product information, and order information. Deployed in the cloud, the backend server module offers high reliability and scalability. Using a relational database to store data, the database is regularly backed up to prevent data loss. The distributed cache architecture's cache nodes are configured appropriately based on business needs. For example, during peak shopping periods, cache nodes can be dynamically added to improve data access performance. The payment interface module integrates multiple mainstream payment methods and interacts with the backend server module. The payment interface module supports common payment methods such as WeChat Pay, Alipay, and UnionPay. When consumers make a payment, the payment interface module encrypts the payment information to ensure payment security. Upon successful payment, the payment interface module promptly reports the payment result to the backend server module to update the order status.
[0038] Furthermore, the front-end module of the mini program includes a product display unit, a search and category navigation unit, a shopping cart unit and a personal center unit. The dynamic switching and zoom viewing functions of the product display unit are implemented through the front-end JavaScript animation library, such as using swiper.js to achieve dynamic switching of images and viewer.js to achieve zoom viewing of images. The fuzzy matching function of the search and category navigation unit and the merchant-defined secondary category function are jointly implemented by the search algorithm and database storage structure of the back-end server module. The functions of the shopping cart unit and the personal center unit are completed through data interaction and logic processing between the front-end and the back-end. For example, for the product quantity modification and settlement functions of the shopping cart, the front-end sends the user operation information to the back-end, and the back-end updates the data and calculates the price and returns the results to the front-end for display.
[0039] Furthermore, the merchant management module includes a product management unit, an order processing unit, and a store information setting unit. The image format conversion and compression processing functions of the product management unit are implemented on the server side with the help of an image processing library, such as the ImageMagick library. The sensitive word filtering function is implemented by reading the built-in sensitive word library for matching. The price setting and inventory warning functions are implemented by the business logic and database operations of the background server module. The connection between the order processing unit and the logistics platform is completed through the API interface provided by the logistics platform. The store name uniqueness detection of the store information setting unit is implemented by querying the database.
[0040] Furthermore, the keyword search function in the search and classification navigation unit has a fuzzy matching function, and the preset product categories support merchants to customize secondary categories. After the consumer enters the keyword, the backend server module will segment the keyword and then calculate the similarity with the product name, description and other fields in the product database, and return the matching results. When merchants customize secondary categories, they enter the custom category information in the merchant management module. The backend server module stores the information in the corresponding table of the database and updates the product category navigation displayed on the front end.
[0041] Furthermore, the product management unit automatically converts and compresses product images uploaded by merchants. Product name editing features sensitive word filtering, and pricing supports tiered pricing for different promotions. Inventory levels are synchronized to the backend server module in real time and automatically trigger an alert when inventory levels fall below a set threshold. Image format conversion and compression occur immediately after the merchant uploads the image. The server immediately calls the image processing library for processing, stores the new image in a designated directory, and updates the product image storage path in the database. Sensitive word filtering occurs in real time after the merchant enters the product name. When sensitive words are detected, a pop-up notification pops up on the front-end interface to notify the merchant. Tiered pricing is set by merchants using the price setting interface of the product management unit. The backend server module stores the information in the database based on the merchant's rules and calculates the price at checkout. Real-time inventory synchronization is achieved through a database trigger mechanism. When inventory levels change, the backend server module and the front-end display automatically update inventory information. When inventory levels fall below a threshold, an alert is triggered, sending a message to the merchant.
[0042] Furthermore, the backend server module uses a relational database to store data. The database table structure follows the third paradigm, and the distributed cache architecture improves data reading efficiency, and dynamically adjusts the cache strategy according to the frequency of data access. The relational database uses mature database products such as MySQL or Oracle, and the database table structure is designed according to the third paradigm to ensure standardized storage of data. The distributed cache architecture uses cache technologies such as Redis, and cache nodes are deployed on multiple servers and managed uniformly through cache proxy servers. Data access frequency statistics are achieved through log analysis, and the cache strategy is adjusted regularly based on the analysis results, such as storing data with high access frequency on nodes with long cache time.
[0043] See also Figure 5-Figure 6 The present invention proposes a method for using a self-service sales system of a small program in a scattered market, comprising the following steps:
[0044] S01. Consumer registration and login: Consumers complete registration by obtaining a verification code through their mobile phone number. The verification code is sent using an SMS gateway service to ensure that the verification code can be sent to the consumer's mobile phone quickly and accurately. Mobile phone number and password login and WeChat one-click authorization login are supported. When WeChat one-click authorization login is used, the Mini Program automatically synchronizes basic information such as the user's profile picture and nickname to the Mini Program account through the interface provided by the WeChat Open Platform. During the registration process, a privacy terms pop-up window is set and displayed prominently on the registration page. Consumers must click the "Agree" button to continue registration, ensuring that consumers fully understand and agree to the privacy terms.
[0045] S02. Merchant Settlement Application: Merchants submit settlement applications containing basic information such as legal person name, ID number, contact address, and qualification certification documents. Qualification certification documents include business licenses, tax registration certificates, etc. File upload formats support common PDF, JPEG, etc. After the system administrator uses a combination of manual and intelligent review to review and approve, the merchant obtains permission to use the management module. Manual review mainly checks the authenticity and compliance of the information submitted by the merchant, and intelligent review uses image recognition technology and text analysis technology to conduct preliminary verification of qualification certification documents to improve review efficiency;
[0046] S03. Consumer product browsing and purchasing: Consumers browse products through the mini-program front-end module. The mini-program front-end module dynamically adjusts the product display order based on the consumer's browsing history and behavioral habits, giving priority to products that the consumer may be interested in. After adding a product to the shopping cart, the system automatically records the product browsing history and recommends similar products. The product browsing history is stored in the database table related to the consumer's personal information. The function of recommending similar products is implemented by the recommendation algorithm of the back-end server module. The shopping cart supports batch checkout of products. The checkout page displays the total price of the product, the discount amount and the estimated delivery time. The estimated delivery time is estimated based on the shipping time set by the merchant and the delivery time data provided by the logistics platform;
[0047] S04. Merchant Product Listing and Management: Merchants upload product information through the merchant management module. During the upload process, the system performs real-time format verification and integrity checks on the product information to ensure that the product information complies with the regulations. Set inventory and prices, and list and remove products. Merchants can flexibly adjust product status based on factors such as product inventory and market demand. Product status changes are synchronized to the mini program front-end module in real time to ensure that consumers can see the latest product information.
[0048] S05. Order processing: The merchant receives the consumer's order, and the order information is sent to the merchant through real-time message push. After the merchant views the order details, it executes the delivery operation. The consumer views the order status and logistics information in the personal center of the mini program front-end module. The logistics information is obtained in real time through the API interface provided by the logistics platform and displayed on the mini program front-end. When the logistics information is abnormal, the system automatically reminds, and the reminder methods include pop-up windows in the mini program, SMS notifications, etc., to ensure that consumers are aware of the order logistics status in a timely manner. If the logistics is abnormal, the merchant can view the abnormality details in the order processing unit of the merchant management module, and communicate and coordinate with the logistics party. At the same time, the system records the exception handling process in the background server module for subsequent traceability. When the goods are successfully delivered, the consumer can confirm the receipt of the order in the personal center. If the consumer fails to confirm the receipt within the specified time (such as 7 days), the system automatically updates the order status to "completed";
[0049] S06. After-Sales Processing: Consumers initiating after-sales service requests must describe the reason for the after-sales service in detail on the after-sales service request page in the Personal Center of the Mini Program front-end module and upload relevant documentation, such as pictures and videos of the product issue. Upon receiving the after-sales service request notification, the merchant, in the Order Processing Unit of the Merchant Management module, reviews the consumer's submitted documentation and negotiates with the consumer within 24 hours using the system's built-in instant messaging function. If a return agreement is reached, the merchant generates a return address in the system and sends it to the consumer. The consumer then returns the product and uploads the tracking number. After the merchant receives and confirms the returned product, a refund is initiated in the system. The refund amount is returned to the consumer's payment account through the payment interface module. The entire refund process is completed within three business days. If the negotiated exchange is for a product, the merchant marks the exchange status in the system, arranges for reshipment, and updates logistics information in real time for the consumer to view. Every step of the after-sales service, including communication records, processing time, and operation details, is fully stored in the after-sales record database table on the back-end server module for subsequent query and statistical analysis. The system also supports the evaluation of the merchant's after-sales handling. Consumers can rate and leave messages on the merchant's handling attitude, processing time, etc. after the after-sales service is completed. The rating and message information are displayed on the merchant's store page to urge the merchant to improve the quality of after-sales service.
[0050] During the entire system operation process, the background server module continuously manages and maintains the data. At 2 a.m. every day, the system automatically performs a full backup of the database and stores the backup data in an off-site server to prevent data loss due to local server failures. At the same time, the database is regularly defragmented and optimized to improve data query and storage efficiency. For sensitive information of consumers and merchants, such as ID numbers, payment passwords, etc., encryption algorithms (such as AES-256) are used for encrypted storage to ensure information security. The system also has strict access control settings, and different roles (consumers, merchants, administrators) have different operating permissions to prevent data from being illegally accessed and tampered with. In addition, the background server module monitors the system operation status in real time, and through log analysis and performance monitoring tools, it promptly discovers and resolves problems that arise during system operation, such as excessive server load, interface response timeout, etc., to ensure the stable operation of the system.
[0051] The above description is only a preferred embodiment of the present invention and does not limit the patent scope of the present invention. All equivalent structural transformations made by using the contents of the present invention description and drawings under the inventive concept of the present invention, or direct / indirect application in other related technical fields are included in the patent protection scope of the present invention.
Claims
1. A self-service sales system for small programs in a scattered market, characterized by: include: Mini Program front-end module, which is used to provide consumers with product information browsing, shopping operations, and personal information management; Merchant management module, which is used by merchants to manage products, orders and store information; A backend server module, which is used to store consumer information, merchant information, product information, and order information; The payment interface module integrates multiple mainstream payment methods and interacts with the backend server module.
2. The self-service sales system for small programs in a scattered market according to claim 1, characterized in that: The mini program front-end module includes a product display unit, a search and classification navigation unit, a shopping cart unit and a personal center unit. The product display unit is used to display the product's picture, name, price, detailed parameters and user evaluation information in a combination of pictures and texts, and supports dynamic switching and zooming in on pictures. The search and classification navigation unit is used to support keyword retrieval of products and filtering of products by preset product categories. The shopping cart unit is used to temporarily store the products selected by consumers, supports product quantity modification and unified settlement, and the personal center unit is used for consumers to view order history, logistics information, modify personal information and initiate after-sales applications.
3. The self-service sales system for small programs in a scattered market according to claim 1 is characterized by: The merchant management module includes a product management unit, an order processing unit and a store information setting unit. The product management unit is used by merchants to upload product pictures, edit product names, set prices and inventory quantities, write product descriptions and update product status. The order processing unit is used by merchants to receive consumer orders, view order details, execute shipping operations and handle after-sales applications. The store information setting unit is used by merchants to customize store names, introductions, business hours and contact information.
4. The self-service sales system for small programs in a scattered market according to claim 1, characterized in that: The user evaluation information displayed by the product display unit is arranged in reverse chronological order, and is categorized into good reviews, medium reviews, and bad reviews for display.
5. The self-service sales system for small programs in a scattered market according to claim 1 is characterized by: The keyword search of the search and classification navigation unit has a fuzzy matching function, and the preset product categories support merchants to customize secondary categories.
6. The self-service sales system for small programs in a scattered market according to claim 1, characterized in that: The product management unit automatically converts and compresses the product images uploaded by merchants. The product name editing has a sensitive word filtering function. The price setting supports setting tiered prices for different promotional activities. The inventory quantity is synchronized to the background server module in real time and automatically triggers an alert when it is lower than the set threshold.
7. The self-service sales system for small programs in a scattered market according to claim 1, characterized in that: The backend server module uses a relational database to store data. The database table structure follows the third normal form and improves data reading efficiency through a distributed cache architecture. The cache strategy is dynamically adjusted according to the data access frequency.
8. A method for using a self-service sales system for a small-scale market app according to any one of claims 1 to 7, characterized in that: The following steps are involved: S01. Consumer registration and login: Consumers complete registration by obtaining a verification code through their mobile phone number. Mobile phone number and password login and WeChat one-click authorization login are supported. WeChat one-click authorization login automatically synchronizes basic information such as user profile picture and nickname to the Mini Program account. A privacy terms pop-up window is set during the registration process. S02. Merchant Registration Application: Merchants submit registration applications containing basic information such as legal representative name, ID number, contact address, and qualification certification documents. After approval by the system administrator using a combination of manual and intelligent review, they will obtain access to the merchant management module. S03. Consumer Product Browsing and Purchasing: Consumers browse products through the Mini Program front-end module. After adding products to the shopping cart, the system automatically records the product browsing history and recommends similar products. The shopping cart supports batch checkout of products, and the checkout page displays the total price, discount amount, and estimated delivery time. S04. Merchant product listing and management: Merchants upload product information, set inventory and prices, and list and remove products through the merchant management module; S05. Order processing: The merchant receives the consumer's order and processes the order for shipment. The consumer can check the order status and logistics information in the personal center of the mini program front-end module. The system will automatically notify you if there is any abnormality in the logistics information. S06. After-sales processing: The consumer initiates an after-sales application. The merchant checks the after-sales voucher and negotiates with the consumer to complete operations such as refunds and exchanges within the specified time. The after-sales operation records are saved to the backend server module.
9. The method for using the self-service sales system of the small program in the scattered market according to claim 8 is characterized by: In step S03, the recommendation algorithm for recommending similar products comprehensively considers factors such as product category, price range, and user evaluation.
10. The method for using the self-service sales system of the small program in the scattered market according to claim 8, characterized in that: In step S05, the system tracks the logistics information of the shipped orders in real time and synchronizes it to the personal center of the merchant management module and the mini program front-end module. In step S06, the merchant operation records during the after-sales processing are completely saved to facilitate subsequent queries and statistical analysis.
Citation Information
Patent Citations
Mobile store platform system based on APP
CN106204221A
A platform operating system for WeChat programs
CN109146628A
WeChat official account e-commerce system and method
CN111815385A
Electronic mall consumption information management system
CN112348637A
Regional business applet background management method and system
CN112581234A