Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

High-concurrency agricultural product online trading system and construction method and operation method thereof

An online transaction and agricultural product technology, applied in the direction of buying and selling/leasing transactions, data processing applications, instruments, etc., can solve the problems of high coupling and fragility of the back-end management system, improve query efficiency, reduce access pressure, and achieve low coupling. Effect

Inactive Publication Date: 2018-11-27
SHANDONG UNIV
View PDF3 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the background management system in this patent is highly coupled, and the interfaces between different components are closely connected with their functions and structures. When the system needs to be changed, it will appear very fragile

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • High-concurrency agricultural product online trading system and construction method and operation method thereof
  • High-concurrency agricultural product online trading system and construction method and operation method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0045] A highly concurrent online trading system for agricultural products, such as figure 1 As shown, it includes the presentation layer, service layer and persistence layer connected in sequence; the presentation layer communicates with the service layer through the service middleware Dubbo, the service layer connects to the persistence layer through the cache database Redis, and the presentation layer and the cache database Redis use ActiveMQ as the message queue ;

[0046] The presentation layer is used to process the interaction with the page; the service layer is used to provide external services; the persistence layer is used to interact with the cache database Redis.

[0047] The present invention uses Redis as a cache database, which can reduce database access pressure and improve query efficiency. At the same time, the present invention uses ActiveMQ as a message queue to eliminate high concurrent access peaks, speed up website response speed, and effectively improve...

Embodiment 2

[0052] A method for building a highly concurrent online transaction system for agricultural products described in Embodiment 1, comprising:

[0053] (1) Build a server cluster: use several servers to build a server cluster;

[0054] (2) Install the MySQL database: select a server to deploy the MySQL database;

[0055] (3) Deploy Redis cluster: select several servers, deploy cache database Redis on each server, set some of the servers as Redis master nodes, and the remaining servers as Redis slave nodes; increase memory capacity.

[0056] (4) Install ActiveMQ, select a server to deploy ActiveMQ; use the publish / subscribe mode of ActiveMQ, the producer publishes the operation message to ActiveMQ, and the consumer takes it out and performs the corresponding operation;

[0057] (5) Install Dubbo, modify the configuration file to associate Redis and MySQL.

[0058] The operation method of the above-mentioned high-concurrency online trading system for agricultural products include...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a high-concurrency agricultural product online trading system and a construction method and an operation method thereof. The system comprises a presentation layer, a service layer and a persistence layer which are connected in turn. The presentation layer communicates with the service layer through a service middleware Dubbo. The service layer is connected with the persistence layer through a cache database Redis. The presentation layer and the cache database Redis use ActiveMQ as a message queue. According to the high-concurrency system based on Redis and ActiveMQ, the Redis is used as cache to reduce the pressure of database reading and writing, and the ActiveMQ is used as the message queue to eliminate the high concurrency access peak and accelerate the responsespeed of the website so as to greatly increase the concurrent access to the website and meet the needs of subsequent business operation.

Description

technical field [0001] The invention relates to a highly concurrent agricultural product online trading system and its construction method and operation method, in particular to a highly concurrent agricultural product online trading system based on Redis and ActiveMQ. Background technique [0002] With the vigorous development of e-commerce and the logistics industry, more and more farmers choose to sell agricultural products on the Internet, which can not only broaden sales channels, avoid unsalable agricultural products, but also enable consumers to buy fresh products grown in various places of origin. Agricultural and sideline products. The increase in the number of website visits requires the agricultural product online trading system to have the ability to handle a large number of parallel requests, that is, the ability of high concurrent access. [0003] The existing agricultural product trading system only adopts the architecture of front-end webpage + back-end mana...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06Q30/06G06Q50/02G06F8/20
CPCG06F8/20G06Q30/0601G06Q50/02
Inventor 张海霞李明瑞
Owner SHANDONG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products