CN109710623A - A kind of intelligence order synchronous method - Google Patents
A kind of intelligence order synchronous method Download PDFInfo
- Publication number
- CN109710623A CN109710623A CN201811502959.XA CN201811502959A CN109710623A CN 109710623 A CN109710623 A CN 109710623A CN 201811502959 A CN201811502959 A CN 201811502959A CN 109710623 A CN109710623 A CN 109710623A
- Authority
- CN
- China
- Prior art keywords
- enterprise
- order
- data
- task
- score value
- 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.)
- Pending
Links
Abstract
A kind of intelligence order synchronous method, the synchronous method is used in scrm platform, including company information data, task data, the order method is needed equipped with server operating system, weight database, the weight database records the weighted data of enterprise in the platform, system calculates time interval by weighting levels to issue order taking responsibility data, carry out order delivery with it is synchronous, the present invention carries out the synchronous method of order in a manner of the task of delivering, solves the problem that traditional order synchronous efficiency is low, the wasting of resources and system stability are weak.
Description
Technical field
The invention belongs to internet data processing technology fields, and in particular to a kind of intelligence order synchronous method.
Background technique
With the birth of social media, development, more and more consumers is gathered in social media, brand names
Customer account management also changed therewith.Traditional enterprise and client is one-to-one interactive relation, and with social media
Generation, the relationship between client, between client and enterprise is intricate.Enterprise needs to listen attentively to client and customer communication.It will
Come, requires to realize social between client, between client and enterprise, between enterprise staff, by all kinds of means seamless may be implemented
Cooperation.
By scrm service platform, big data integration is carried out to the successful marketing program of different enterprises, while converting a variety of
Precisely efficient enterprise store solutions;Enterprise is helped to build social, multi-platform marketing channel.
However, most scrm service platform is multiple to handling simultaneously under the premise of each electric business platform order big data
Enterprise's shop order data suffers from limitation.Acquisition and analysis order data that cannot be quick, effective, intelligent, seriously affect
The timeliness and validity that enterprise excavates client, converts client.
Current existing scrm service platform operational means is as follows:
Server does timed task, the platform shop of every business licenses of timing scan;The synchronous order of package platforms needs
Parameter, parameter includes the platform store information for obtaining authorization, third-party platform key pair, synchronous order period and paging
Offset;It goes third-party platform to obtain order data by packaged synchronization parameter and is saved in system, and record current synchronization
Period, next synchronization timing task can choose new period order downloaded data.
When client (bean vermicelli) submits an order inquiries request, triggering scrm service platform goes to the synchronous shop of third-party platform
Spread order data;Every corporate resources for entering scrm service platform is divided equally: traversing all enterprise shops of binding, does timing
Task periodically pulls order data from third-party platform;Enterprise operation personnel on scrm service platform manual clicking trigger from
Third-party platform pulls order data.
That there are disadvantages is more for above-mentioned technical proposal: resource utilization is low: timed task is directed to every enterprise shop, but cannot be true
There are order data, task goes to the shop for pulling no order data to cause certain resource in which enterprise shop in certain fixed period
Waste.The waiting time of a segment sync, low efficiency are had when one order inquiries request of client's submission.Stability is poor: when one
In a period when the huge increasing of order data amount, there is the synchronous even risk of synchronization failure not in time.It is at high cost: cost of labor,
Server performance is at high cost, not smart enough
Summary of the invention
The technical problems to be solved by the present invention are: providing a kind of side for carrying out order in a manner of the task of delivering and synchronizing
Method solves the problem that traditional order synchronous efficiency is low, the wasting of resources and system stability are weak.
A kind of intelligence order synchronous method, which is used in scrm platform, including company information data, task
Data, the order method are needed equipped with server operating system, weight database, and the weight database records described flat
The weighted data of Tai Nei enterprise, system by weighted data carry out order taking responsibility data delivery with it is synchronous, the specific steps are as follows:
Step 1: current enterprise information data is transferred, which includes member's activation record under the enterprise,
The calculating of weight score value and ranking are done to enterprise according to information is enlivened, weight score value is recorded in weight database;
Step 2: decaying weight score value first reads each enterprise's initial weight score value from weight database, public by decaying
Formula recalculates weight score value, and newest weight score value is stored back in weight database, controls the rate of decay by attenuation coefficient;
Step 3: repeating the operation of step 1;
Step 4: according to the score value of weight database, enterprise being divided several grades according to weight score value, is calculated separately
The synchronization order taking responsibility data delivery time interval of different brackets enterprise;
Step 5: order taking responsibility delivery, and logger task details are carried out according to the calculated time interval data of step 4;
Step 6: taking-up task details, calling third-party platform interface synchronization order, the successful current time of recording synchronism,
Section time started synchronization time of next delivery task is this subsynchronous successful time.
Further, the interactive information includes: that steps are as follows for the calculating of weight score value in the step 1: system obtains enterprise
After member's activation record under industry, enterprise's initial value is read from database, then adds up 1 point to initial value and is stored back into again
Database, same member is at most 1 point cumulative daily, and so on, until being added to 100 points.
Further, behind the delivery task time interval for obtaining step 4, it can realize and appoint by finger daemon and redis lock
The delivery for data of being engaged in, the expired time of lock is the delivery task time interval of step 4, and redis is recorded in task data
In queue.
Further, in step 6, server operating system opens multiple finger daemons and consumes task from redis queue,
After taking out task data details, third-party platform interface synchronization order is called.
Further, the task data details include enterprise id, need be synchronized shop platform information, synchronization when
Between section.
Further, weighting levels are arranged 1-10 grades, and 1-5 grades are any active ues, and 6-10 grades are inactive users, active to look forward to
Industry time of delivery interval calculation formula 2n+20* (n-1), inactive enterprise's time of delivery interval calculation formula 2n+40*n.
Further, the decay formula are as follows: (present weight score value -10) * attenuation coefficient.
Further, the time interval is less than for 24 hours, guarantees that every enterprise can at least synchronize order 1 time daily.
Compared with prior art, the invention has the following advantages:
1, weight score value automatic synchronization order is pressed, resource utilization is allowed to greatly improve.
2, system stability is reinforced, and by multiple finger daemons, task can be consumed steadily;By the side for delivering task
Formula, allowing order to synchronize becomes intelligent, and user experience also greatly improves.
Detailed description of the invention
Fig. 1 is synchronous order logic flow as schemed.
Fig. 2 is stream compression procedure chart in server hardware service.
Fig. 3 is weighting levels division figure.
Fig. 4, which is that specific grade is corresponding, delivers task time interval detail list.
Specific embodiment
Structure and the course of work of the invention are described further with reference to the accompanying drawing.
A sync server is at least equipped in the present embodiment, for receiving task data and synchronous order data.Service
Stream compression process such as Fig. 1 in device hardware service: task data is deposited at clothes from business server transport to redis service layer
It is engaged in device memory.Server is opened multiple processes by process manager supervisor and guarded, and reads from server memory
Take task data.The required parameter that task data encapsulation third-party platform interface needs is read, is ordered from third-party platform downloading
Forms data is saved in data library disk.
Step 1: doing weight score value ranking to each enterprise for entering scrm service platform, weight score value 0-100 divides.Weighting
Mode can pass through interactive marketing means: the member under such as certain enterprise submits a courteous record of favorable comment, and record information includes to order
Odd numbers, membership information, company information etc. after system obtains the record submitted, read enterprise's initial value (default from database
70) score value can be, then to add up 1 point to initial value and being stored back into database again, and record the courteous letter of favorable comment of member's submission
Breath.One can only add up 1 point for member one day, and so on, until being added to 100 points.Wherein, the score value ratio that adds up and member are mutual
Dynamic scene is added 1 point as partially enlivened information, is partially enlivened information and add 0.5 point etc. as depending on service conditions.
Step 2: daily 24 decaying weight score values first read each enterprise's initial value, then from weighted data table
The score value of each enterprise is calculated newest weight score value by decay formula (initial weight score value -10) * 0.95, and newest
Weight score value is stored back in weighted data table;0.95 is attenuation coefficient, and the decaying of weight score value can be controlled by adjusting attenuation coefficient
Slow degree.Finally continuing in the way of step 1, system waits the submission data for reacquiring each corporate member today,
New score value, which is calculated, by active degree is stored in weighted data table.Decay a grade first daily, when member is inactive under certain enterprise
Or when not needing synchronous order correlation function, weight score value can be decayed up to 0 point always, be enlivened further according to what system received
Data calculate new score value.
Step 3: according to the score value of weighted data table, weight score value is divided 10 grades, every 10 points of grades, first five
A grade is active enterprise, and rear five grades are inactive enterprise, as shown in Figure 2.
The time interval for going out to deliver synchronous order taking responsibility by rating calculation, is held by step 4 again after time interval is calculated
The transmitting of row data.Principle guarantee allows every enterprise that can at least synchronize an order daily, and more resources is allowed to tilt to work
The enterprise of jump.Exponentially-increased mode is then 2n+20* (n-1) to enlivening enterprise calculation to deliver the formula at task time interval,
Inactive enterprise is 2n+40*n, and above-mentioned two formula can be adjusted modification according to concrete scene.Specific grade is corresponding to deliver
Task time interval detail is as shown in Figure 3 (unit minute).
Step 4: after obtaining the delivery task time interval detail result of step 3, can be locked by finger daemon and redis real
The delivery of current task, the expired time of lock are the delivery task time interval of step 3;And specific task detail records are arrived
In redis queue, task detail information includes: shop platform information, the period of synchronization etc. that enterprise id, needs are synchronized.
Step 5: finally, server background opens multiple finger daemons consumes task from redis queue, it is detailed to take out task
After feelings, third-party platform interface synchronization order is called.The successful current time of recording synchronism, the synchronization time of next delivery task
The section time started is this subsynchronous successful time.
One embodiment of the present invention above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously
Limitations on the scope of the patent of the present invention therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art
For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to guarantor of the invention
Protect range.
Claims (8)
1. a kind of intelligence order synchronous method, which is used in scrm platform, including company information data, number of tasks
According to the order method is needed equipped with server operating system, weight database, and the weight database records the platform
The weighted data of interior enterprise, system by weighted data carry out order taking responsibility data delivery with it is synchronous, the specific steps are as follows:
Step 1: current enterprise information data is transferred, which includes member's activation record under the enterprise, according to
It enlivens information and the calculating of weight score value and ranking is done to enterprise, weight score value is recorded in weight database;
Step 2: decaying weight score value first reads each enterprise's initial weight score value, by decay formula weight from weight database
It is new to calculate weight score value, and newest weight score value is stored back in weight database, the rate of decay is controlled by attenuation coefficient;
Step 3: repeating the operation of step 1;
Step 4: according to the score value of weight database, enterprise being divided several grades according to weight score value, calculates separately difference
The order taking responsibility data delivery time interval of enterprise, grade enterprise;
Step 5: order taking responsibility delivery, and logger task details are carried out according to the calculated time interval data of step 4;
Step 6: taking out task details, call third-party platform interface synchronization order, the successful current time of recording synchronism, next time
Section time started synchronization time of delivery task is this subsynchronous successful time.
2. intelligence order synchronous method according to claim 1, which is characterized in that the interactive information includes: the step
Weight score value calculates that steps are as follows in rapid 1: after system obtains member's activation record under enterprise, at the beginning of reading the enterprise from database
Then beginning score value adds up 1 point to initial value and is stored back into database again, same member is at most 1 point cumulative daily, and so on,
Until being added to 100 points.
3. intelligence order synchronous method according to claim 1, which is characterized in that obtain the delivery task time of step 4
Behind interval, the delivery of task data can be realized by finger daemon and redis lock, the expired time of lock is the delivery of step 4
Task time interval, and task data is recorded in redis queue.
4. intelligence order synchronous method according to claim 1, which is characterized in that in step 6, server operating system is opened
It opens multiple finger daemons and consumes task from redis queue, after taking out task data details, call third-party platform interface synchronization
Order.
5. intelligence order synchronous method according to claim 3, which is characterized in that the task data details include enterprise
Id, needs be synchronized shop platform information, synchronization period.
6. intelligence order synchronous method according to claim 1, which is characterized in that weighting levels are arranged 1-10 grades, 1-5 grades
For any active ues, 6-10 grades are inactive users, enliven enterprise time of delivery interval calculation formula 2n+20* (n-1), inactive
Enterprise time of delivery interval calculation formula 2n+40*n.
7. intelligence order synchronous method according to claim 1, which is characterized in that the decay formula are as follows: (present weight
Score value -10) * attenuation coefficient.
8. intelligence order synchronous method according to claim 1, which is characterized in that the time interval is less than for 24 hours, guarantees
Every enterprise can at least synchronize order 1 time daily.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811502959.XA CN109710623A (en) | 2018-12-10 | 2018-12-10 | A kind of intelligence order synchronous method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811502959.XA CN109710623A (en) | 2018-12-10 | 2018-12-10 | A kind of intelligence order synchronous method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109710623A true CN109710623A (en) | 2019-05-03 |
Family
ID=66255570
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811502959.XA Pending CN109710623A (en) | 2018-12-10 | 2018-12-10 | A kind of intelligence order synchronous method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109710623A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110443674A (en) * | 2019-06-27 | 2019-11-12 | 口碑(上海)信息技术有限公司 | Order data pulls method and device, storage medium, computer equipment |
CN113298642A (en) * | 2021-05-26 | 2021-08-24 | 上海晓途网络科技有限公司 | Order detection method and device, electronic equipment and storage medium |
CN113570390A (en) * | 2021-08-12 | 2021-10-29 | 杭州震旦科技有限公司 | Jewelry store after-sale management system and method based on Internet of things |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105049461A (en) * | 2014-04-24 | 2015-11-11 | 神乎科技股份有限公司 | Dynamic grading transmission method for mass data |
CN204790977U (en) * | 2015-08-11 | 2015-11-18 | 常州香传电子商务有限公司 | APP automatic compilation system and management platform based on cloud calculates |
CN105095365A (en) * | 2015-06-26 | 2015-11-25 | 北京奇虎科技有限公司 | Information flow data processing method and device |
TW201610907A (en) * | 2014-09-10 | 2016-03-16 | 中華電信股份有限公司 | Methodology for synchronizing heterogeneous data with telecom orders |
CN105577841A (en) * | 2013-07-12 | 2016-05-11 | 北京金山云网络技术有限公司 | File synchronization method, device, client, server side and device |
US20170177687A1 (en) * | 2015-12-21 | 2017-06-22 | Sap Se | Synchronization of offline instances |
CN107679822A (en) * | 2017-09-04 | 2018-02-09 | 金蝶蝶金云计算有限公司 | Order status automatic update method, storage medium and computer equipment in ERP system |
-
2018
- 2018-12-10 CN CN201811502959.XA patent/CN109710623A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105577841A (en) * | 2013-07-12 | 2016-05-11 | 北京金山云网络技术有限公司 | File synchronization method, device, client, server side and device |
CN105049461A (en) * | 2014-04-24 | 2015-11-11 | 神乎科技股份有限公司 | Dynamic grading transmission method for mass data |
TW201610907A (en) * | 2014-09-10 | 2016-03-16 | 中華電信股份有限公司 | Methodology for synchronizing heterogeneous data with telecom orders |
CN105095365A (en) * | 2015-06-26 | 2015-11-25 | 北京奇虎科技有限公司 | Information flow data processing method and device |
CN204790977U (en) * | 2015-08-11 | 2015-11-18 | 常州香传电子商务有限公司 | APP automatic compilation system and management platform based on cloud calculates |
US20170177687A1 (en) * | 2015-12-21 | 2017-06-22 | Sap Se | Synchronization of offline instances |
CN107679822A (en) * | 2017-09-04 | 2018-02-09 | 金蝶蝶金云计算有限公司 | Order status automatic update method, storage medium and computer equipment in ERP system |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110443674A (en) * | 2019-06-27 | 2019-11-12 | 口碑(上海)信息技术有限公司 | Order data pulls method and device, storage medium, computer equipment |
CN110443674B (en) * | 2019-06-27 | 2021-09-07 | 口碑(上海)信息技术有限公司 | Order data pulling method and device, storage medium and computer equipment |
CN113298642A (en) * | 2021-05-26 | 2021-08-24 | 上海晓途网络科技有限公司 | Order detection method and device, electronic equipment and storage medium |
CN113298642B (en) * | 2021-05-26 | 2024-02-23 | 上海晓途网络科技有限公司 | Order detection method and device, electronic equipment and storage medium |
CN113570390A (en) * | 2021-08-12 | 2021-10-29 | 杭州震旦科技有限公司 | Jewelry store after-sale management system and method based on Internet of things |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105471759B (en) | The network traffics dispatching method and device of data center | |
CN109710623A (en) | A kind of intelligence order synchronous method | |
CN107798109A (en) | Method, apparatus, computer equipment and the storage medium of reconciliation clearance | |
SG115362A1 (en) | Asset management and scheduling graphical user interface for media streamer | |
CN109299157A (en) | A kind of data export method and device of distributed big single table | |
CN106648903A (en) | Method and system for calling distributed file system | |
CN110310198A (en) | Management method, device, equipment and the readable storage medium storing program for executing of enterprise's amount information | |
CN109325056A (en) | A kind of big data processing method and processing device, communication equipment | |
CN108874946A (en) | A kind of ID management method and device | |
CN102929929A (en) | Method and device for data summarization | |
CN100433624C (en) | Method for realizing communication business payment metering | |
CN109474902A (en) | Message message accounting, method, terminal and system | |
US8335758B2 (en) | Data ETL method applied to real-time data ETL system | |
CN101534319B (en) | Method, system and proxy server for canceling inter-instruction dependency relationship | |
CN110071952A (en) | The control method and device of service call amount | |
CN106886452A (en) | A kind of method of simplified cloud system task scheduling | |
CN110909072B (en) | Data table establishment method, device and equipment | |
CN111581087A (en) | Application program testing method and device | |
US9430301B2 (en) | Distributed system for downloading internet information and a method thereof | |
CN105897545B (en) | A kind of method and device of mail synchronization | |
CN101320443A (en) | Electronic work order processing method and device | |
CN107147542A (en) | A kind of information generating method and device | |
CN110191048A (en) | A kind of customer service information management method and system | |
CN110471969A (en) | A kind of aeronautical product management system and its application method using regulation engine | |
CN106161197B (en) | service processing method and device based on RCS public platform |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190503 |