CN110855755B - Message pushing method - Google Patents
Message pushing method Download PDFInfo
- Publication number
- CN110855755B CN110855755B CN201911016922.0A CN201911016922A CN110855755B CN 110855755 B CN110855755 B CN 110855755B CN 201911016922 A CN201911016922 A CN 201911016922A CN 110855755 B CN110855755 B CN 110855755B
- Authority
- CN
- China
- Prior art keywords
- order
- logistics end
- order data
- software
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/25—Integrating or interfacing systems involving database management systems
- G06F16/252—Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/53—Network services using third party service providers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Stored Programmes (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention relates to the technical field of information processing, in particular to a message pushing method. A message pushing method comprises an APP software at an logistics end, and is characterized in that: the specific method comprises the following steps: the method comprises the steps that a salesman uses logistics end APP software to place an order for a customer on site, the order is put in storage, and after the order is successfully put in storage, a first target message enters logistics end software to contact a central database center; the order system carries out order data pushing, after the order data pushing is successful, a second target message enters the logistics end APP software to hold a receiving middlebox order synchronous queue consumption service, the consumption order data is put in storage, and after the consumption order data is put in storage successfully, the logistics end APP software holds a receiving middlebox order synchronous queue consumption service; and the APP software at the logistics end is connected with a central database center, stores order data according to the coded information of the salesman and enters a cache, Redis cluster. Compared with the prior art, the information is received by the streaming end APP software in the receiving intermediate station database, and the Redis cluster is matched to assist in storing data, so that the load of the receiving intermediate station database is reduced, and the message pushing efficiency is improved.
Description
Technical Field
The invention relates to the technical field of information processing, in particular to a message pushing method.
Background
In the prior art, when a message is pushed, a database needs to be searched, so that additional pressure is brought to the database; in addition, the pushing rate depends on the performance of the database, when the file is large, the sending takes long time, and the message pushing efficiency is low.
Disclosure of Invention
The invention provides a message pushing method for overcoming the defects of the prior art, which utilizes the APP software at the logistics end to receive the information from the middle database, and cooperates with the Redis cluster to assist in storing data, thereby reducing the load of the middle database received by the software at the logistics end and improving the message pushing efficiency.
In order to achieve the above object, a message pushing method is designed, which is characterized in that: the specific method comprises the following steps:
s1: the method comprises the steps that a salesman uses logistics end APP software to place an order for a customer on site, the order is put in storage, and after the order is successfully put in storage, a first target message enters logistics end software to contact a central database center;
s2: meanwhile, the order system carries out order data pushing, after the order data pushing is successful, a second target message enters the logistics end APP software to connect to the acquisition center order synchronous queue consumption service, the consumption order data is put in storage, and after the consumption order data is put in storage successfully, the logistics end APP software connects to the acquisition center database center;
s3: the method comprises the steps that APP software at a logistics end is connected to a central database center, order data are stored according to business member coding information and enter a cache, Redis cluster;
s4: the caching Redis cluster caches order data information to a value database according to the coding of a service person, and the order data is encrypted;
s5: the value database is stored by using a zset data structure, and data are stored in a reverse order by taking time as a weight score;
s6: the method comprises the steps that APP software at a logistics end is used for caching order data in a receiving center station;
s6: a logistics end software service person utilizes logistics end APP software to obtain an order list, the order list enters a logistics end software gateway and an interface service system, then the logistics end APP software obtains service person order data according to basic information of the service person, a receiving center interface service system is used, data in a specified time range are pulled in a cluster mode according to information of the service person and information and time of a cache service person, and the logistics end APP software receives a receiving center for cache service;
s7: and after the logistics end software catches the middle desk to perform cache service, the order data of the salesman is returned.
The Redis cluster is 9 Redis, one master and two slaves, and 9 nodes are counted.
The order data encryption process is a ProtoBuf serialization process.
The steps S1, S2, and S6 may be performed simultaneously.
Compared with the prior art, the invention provides a message pushing method, which utilizes the APP software at the logistics end to receive the information from the central database, and cooperates with the Redis cluster and 9 nodes (3 master and 6 slave) to assist in storing data, thereby reducing the load of the central database received by the software at the logistics end and improving the message pushing efficiency.
Drawings
FIG. 1 is a software flow diagram of the present invention.
Detailed Description
The invention is further illustrated below with reference to the accompanying drawings.
As shown in fig. 1, a message pushing method includes a logistics end APP software, which is a rhyme dart knight-errant APP, and is characterized in that: the specific method comprises the following steps:
s1: the method comprises the steps that a salesman uses logistics end APP software to place an order for a customer on site, the order is put in storage, and after the order is successfully put in storage, a first target message enters logistics end software to contact a central database center;
s2: meanwhile, the order system carries out order data pushing, after the order data pushing is successful, a second target message enters the logistics end APP software to connect to the acquisition center order synchronous queue consumption service, the consumption order data is put in storage, and after the consumption order data is put in storage successfully, the logistics end APP software connects to the acquisition center database center;
s3: the method comprises the steps that APP software at a logistics end is connected to a central database center, order data are stored according to business member coding information and enter a cache, Redis cluster;
s4: the caching Redis cluster caches order data information to a value database according to the coding of a service person, and the order data is encrypted;
s5: the value database is stored by using a zset data structure, and data are stored in a reverse order by taking time as a weight score;
s6: the method comprises the steps that APP software at a logistics end is used for caching order data in a receiving center station;
s6: a logistics end software service person utilizes logistics end APP software to obtain an order list, the order list enters a logistics end software gateway and an interface service system, then the logistics end APP software obtains service person order data according to basic information of the service person, a receiving center interface service system is used, data in a specified time range are pulled in a cluster mode according to information of the service person and information and time of a cache service person, and the logistics end APP software receives a receiving center for cache service;
s7: and after the logistics end software catches the middle desk to perform cache service, the order data of the salesman is returned.
The Redis cluster is 9 Redis, one master and two slaves, and 9 nodes are provided in total.
The order data encryption process is a ProtoBuf serialization process.
Steps S1, S2, and S6 may be performed simultaneously.
The information is received by utilizing the APP software at the logistics end to hold the central database, and the 9 nodes (3 master and 6 slave) are matched with the Redis cluster to assist in storing data, so that the load of the central database held by the software at the logistics end is reduced, and the efficiency of information pushing is improved.
Claims (4)
1. A message pushing method, characterized by: the specific method comprises the following steps:
s1: the method comprises the steps that a salesman uses logistics end APP software to place an order for a customer on site, the order is put in storage, and after the order is successfully put in storage, a first target message enters logistics end software to contact a central database center;
s2: meanwhile, the order system pushes order data, after the order data are successfully pushed, a second target message enters logistics end software to acquire the order synchronous queue consumption service of the central database center, the consumption order data are put in storage, and after the consumption order data are successfully put in storage, the logistics end software acquires the central database center;
s3: the logistics end software is used for collecting a central database center, storing order data according to the coded information of the salesman and entering a cache, Redis cluster;
s4: the caching Redis cluster caches order data information to a value database according to the coding of a service person, and the order data is encrypted;
s5: the value database is stored by using a zset data structure, and data are stored in a reverse order by taking time as a weight score;
s6: the logistics end software collects the order data to the central database center for caching service;
s7: a logistics end software service person utilizes logistics end APP software to obtain an order list, the order list enters a logistics end software gateway and an interface service system, then the logistics end APP software obtains service person order data according to basic information of the service person, a gathering midstation interface service system is achieved, data in a specified time range are pulled in a cluster mode according to information of the service person and coding information and time of the service person, and the logistics end software gathers a midstation database center for caching service;
s8: and after caching service is carried out by the logistics end software in the central database center, the order data of the salesman is returned.
2. A message pushing method according to claim 1, characterized in that: the Redis cluster is 9 Redis, one master and two slaves, and 9 nodes are counted.
3. A message pushing method according to claim 1, characterized in that: the order data encryption process is a ProtoBuf serialization process.
4. A message pushing method according to claim 1, characterized in that: the steps S1, S2, and S6 may be performed simultaneously.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911016922.0A CN110855755B (en) | 2019-10-24 | 2019-10-24 | Message pushing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911016922.0A CN110855755B (en) | 2019-10-24 | 2019-10-24 | Message pushing method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110855755A CN110855755A (en) | 2020-02-28 |
CN110855755B true CN110855755B (en) | 2022-04-01 |
Family
ID=69596987
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911016922.0A Active CN110855755B (en) | 2019-10-24 | 2019-10-24 | Message pushing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110855755B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112804329A (en) * | 2021-01-13 | 2021-05-14 | 广州华多网络科技有限公司 | Message relay and interaction method, and corresponding device, equipment and medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104270302A (en) * | 2014-09-22 | 2015-01-07 | 上海钢有商贸有限公司 | Online order transmitting system and method |
CN106204000A (en) * | 2016-07-05 | 2016-12-07 | 康存乐付保数据科技(上海)有限公司 | A kind of service consumption method for processing payment information and system |
CN109636262A (en) * | 2018-10-26 | 2019-04-16 | 北京中关村科金技术有限公司 | A kind of order processing method, apparatus, system, computer equipment and storage medium |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10796356B2 (en) * | 2018-01-30 | 2020-10-06 | Walmart Apollo, Llc | Transformation and aggregation engine |
US11782900B2 (en) * | 2018-04-10 | 2023-10-10 | Walmart Apollo, Llc | High throughput order fullfillment database system |
-
2019
- 2019-10-24 CN CN201911016922.0A patent/CN110855755B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104270302A (en) * | 2014-09-22 | 2015-01-07 | 上海钢有商贸有限公司 | Online order transmitting system and method |
CN106204000A (en) * | 2016-07-05 | 2016-12-07 | 康存乐付保数据科技(上海)有限公司 | A kind of service consumption method for processing payment information and system |
CN109636262A (en) * | 2018-10-26 | 2019-04-16 | 北京中关村科金技术有限公司 | A kind of order processing method, apparatus, system, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110855755A (en) | 2020-02-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104125163B (en) | Data processing method and device and terminal | |
CN102831170B (en) | Method and device for pushing activity information | |
CN108270860A (en) | The acquisition system and method for environmental quality online monitoring data | |
CN108536753B (en) | Method for determining repeated information and related device | |
CN103095819A (en) | Data information pushing method and data information pushing system | |
CN109118360B (en) | Block chain account checking method, device, equipment and storage medium | |
CN104361031B (en) | A kind of government data pre-processing system and processing method | |
CN104636477B (en) | The De-weight method of push list before a kind of information push | |
CN104731899A (en) | Data high-concurrency processing method based on asynchronous processing | |
CN103167086A (en) | System and method for cleaning invalid contact persons of mobile phone | |
CN102801817A (en) | Subscriber context-based pushing method and device | |
CN107870982A (en) | Data processing method, system and computer-readable recording medium | |
CN110855755B (en) | Message pushing method | |
CN101662389B (en) | Method for carrying out statistics on performance data and device applying same | |
CN103530203A (en) | System and method for remote backups of remote sensing satellite data | |
CN103490983A (en) | Enterprise mail system and mail migration executing method thereof | |
CN102684895A (en) | Standby server and system and method for restoring registration of client side in master server | |
CN111131512B (en) | Equipment information processing method and device, storage medium and processor | |
CN109862094B (en) | Water affair equipment data sharing method and device based on stream computing | |
CN106919574B (en) | Method for processing remote synchronous file in real time | |
CN104270272A (en) | Power quality monitoring data managing scheme based on mobile Agent | |
CN115883545A (en) | High-frequency data transmission method and system | |
CN106603197B (en) | A kind of high energy efficiency wireless sensing network data transmission method based on compression network coding | |
CN101247415A (en) | Data transmission and synchronization method and wireless terminal | |
CN110650257A (en) | Intelligent customer service system based on big data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |