CN108446962A - A method of agency and sales auto-sequencing pairing - Google Patents
A method of agency and sales auto-sequencing pairing Download PDFInfo
- Publication number
- CN108446962A CN108446962A CN201810277693.7A CN201810277693A CN108446962A CN 108446962 A CN108446962 A CN 108446962A CN 201810277693 A CN201810277693 A CN 201810277693A CN 108446962 A CN108446962 A CN 108446962A
- Authority
- CN
- China
- Prior art keywords
- agency
- sales
- pairing
- amount
- behalf
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0613—Third-party assisted
- G06Q30/0617—Representative agent
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The present invention relates to technical field of electronic commerce, specifically disclose a kind of method of agency and sales auto-sequencing pairing, include the urgent index and penalty ratio of setting transfer;Urgent index is transferred the possession of in record application;The new application agency and sales of record and not yet due returned money renew agency's agency and sales amount;The classification of agency and sales data and its validity, the priority level of pairing, data grabber rule are set;Urgent index is transferred the possession of by application, and the sequence from small to large of identical urgent index is transferred the possession of, penalty is transferred the possession of in clearing;Matched agency and sales amount type is treated before pairing every time and carries out priority ranking;The data that each agency and sales type is obtained by the data acquisition rule of agency and sales amount type, agency and sales amount is matched from small to large.Preceding obtain of pairing acts as the agent of pairing situation to the present invention every time, and is made adjustment according to the priority that actual conditions match agency and sales, to keep agency and sales pairing more reasonable, the reliability of raising agency and sales pairing.
Description
Technical field
The present invention relates to technical field of electronic commerce, specifically disclose a kind of method of agency and sales auto-sequencing pairing.
Background technology
In E-commerce market transaction, need to match trader's cargo and agent's fund in certain application scenarios
It is right.During acting as the agent of pairing, it is possible that the more funds of cargo are few or the more cargos of fund are small or supplier is not yet due
Situations such as refund, it is therefore desirable to carry out cumbersome matching operation so that agency and sales matching efficiency is low.And common pairing
Method is all to be carried out according to certain sequence, and the adjustment of pairing sequence is made not according to actual conditions, and pairing is caused not fill
Grade problem, has some limitations.
Therefore, a kind of energy solution to the problems described above is needed in industry.
Invention content
In order to overcome shortcoming and defect existing in the prior art, the purpose of the present invention is to provide a kind of agency and sales certainly
The method of dynamic sequence pairing.
To achieve the above object, the present invention uses following scheme.
The urgent index for acting on behalf of amount and corresponding penalty ratio that agency and sales are transferred the possession of in advance are set;
Receive the application that agency and sales are transferred the possession of, the urgent index that record application is transferred the possession of;
The new application agency and sales of record and not yet due returned money renew the agency and sales amount of agency;
The classification of agency and sales data and its validity, the priority level of pairing, data grabber rule are set;
The urgent index for the agency and sales amount transferred the possession of by application carries out pairing sequence, and to the agency and sales of identical urgent index
Amount sorts transfer from small to large, and penalty is transferred the possession of in clearing;
Matched agency and sales amount type is treated before pairing every time and carries out priority ranking;
By the corresponding acquisition rule of the data of agency and sales amount type, the data of each agency and sales type are obtained, agency is sold
Amount is sold to be matched from small to large.
According to agency and sales amount type priority grade sequence, agency and sales amount is matched from small to large.
Further, by agency and sales amount priority level act on behalf of the pairing of amount, same priority is not matched
Include to process:
Setting agency and sales pairing amount parameter;
The agency and sales amount for being equal to agency and sales pairing amount parameter is obtained, and is matched according to the pairing of cargo sequence;
The agency and sales amount for being more than agency and sales pairing amount parameter is obtained, proportion is calculated;
If proportion is less than 1, amount A=[downward rounding is acted on behalf of by each agency and sales side(B*C)/ D] * D, B is current excellent
The pre- agency and sales amount of first rank, C are proportion, and D is agency and sales pairing amount parameter;
And amount is acted on behalf of into plus agency and sales pairing amount parameter as current agent by each agency and sales side successively
Seller acts on behalf of amount, until each agency and sales side adds up total amount of acting on behalf of and is equal to remaining unpaired cargo
Act on behalf of amount;As unit of amount parameter is matched in agency and sales, and matched by the sequence of cargo;
If proportion is greater than or equal in 1, amount A=B acts on behalf of in the side of agency and sales;Amount parameter is matched with agency and sales
For unit, and matched by the sequence of cargo.
Further, proportion is equal to remaining unpaired cargo forwarder amount divided by current preference rank residue is not matched
To agency and sales act on behalf of volume in advance.
Further, penalty, which is equal to, applies for that the amount transferred the possession of is multiplied by penalty ratio.
Further, after completing pairing, record each agency agreement pairing acts on behalf of amount, and calculates and act on behalf of hand number,
Wherein act on behalf of hand number be equal to act on behalf of amount divided by agency and sales pairing amount parameter.
A kind of computer readable storage devices, are stored with computer program, the computer program be executed by processor with
The method for realizing above-mentioned agency and sales auto-sequencing pairing.
A kind of mobile terminal, including:
Processor is adapted for carrying out program instruction;
Storage device, is suitable for storage program instruction, and described program instruction is suitable for being loaded by processor and being executed above-mentioned to realize
The method for acting as the agent of auto-sequencing pairing.
A kind of system of agency and sales auto-sequencing pairing, including server;
Server includes processor and storage device;
Processor is adapted for carrying out program instruction;
Storage device, is suitable for storage program instruction, and described program instruction is suitable for being loaded by processor and being executed above-mentioned to realize
The method for acting as the agent of auto-sequencing pairing.
Beneficial effects of the present invention:A kind of method of agency and sales auto-sequencing pairing is provided, obtains generation before pairing every time
Reason sale pairing situation, and made adjustment to the priority of agency and sales pairing according to actual conditions, to make agency and sales
Pairing is more reasonable, substantially increases the reliability of agency and sales pairing.
Specific implementation mode
For the ease of the understanding of those skilled in the art, with reference to embodiment, the present invention is further illustrated, real
The content that the mode of applying refers to not is limitation of the invention.
A method of agency and sales auto-sequencing pairing, including:
Optionally urgent index is with its corresponding penalty ratio when addition agency and sales are transferred the possession of in advance in systems;For generation
The agency and sales amount of reason, agency and sales can select the urgent index for applying transferring the possession of in advance, simultaneity factor that can record current Shen
The urgent index for the agency and sales amount that please be transfer the possession of;When pairing clearing, system is selected tight when applying for transfer by agency and sales side
Anxious index is ranked up, and is sorted from small to large transfer to the agency and sales amount of identical urgent index, while clearing turn in advance
The amount * penalty ratios of the penalty allowed, wherein penalty=application transfer;
Setting agency and sales data, which are classified, includes:Definition agency and sales data specific name and its data grabber are regular, it is excellent to match
First grade, validity;Such as:Newly-increased one acts on behalf of sales data type (newly acting on behalf of Determined products agency and sales amount), corresponding definition
The new rule script for acting on behalf of Determined products agency and sales quota data to be paired, is arranged current agent sales data on the day of crawl
The pairing priority of type, setting validity are " enabling "." if newly acting on behalf of Determined products agency and sales amount " this agency pin
It is invalid to sell data type, then it is " disabling " that its validity, which is arranged,.
The agency and sales amount of system record agency and sales Fang Xin applications and not yet due returned money renew the amount of agency;Foundation
Service conditions, setting agency and sales data classification;When pairing clearing, system obtains the agency and sales for owning " enabling " state automatically
Data type, and agency and sales data type is sorted by priority, to each agency and sales type, system is automatically according to agency
Type of sale pre-sets data grabber rule script and obtains agency and sales quota data under corresponding types, and by corresponding generation
Reason sale amount is matched by sequence from small to large with cargo is acted on behalf of;And then the agency and sales of each " enabling " are completed one by one
The data of data type are matched.Such as system analyzed from the data of acquisition obtain the same day cargo it is inadequate when, then will agency and sales
The agency and sales amount of the middle not yet due returned money of supplier is preferentially matched with cargo to be matched, first ensures that agent is not yet due
Agency and sales amount be not retired, complete not yet due refund agency and sales amount pairing after carry out other kinds of agency again
Sell amount pairing.
According to agency and sales amount type priority grade sequence, agency and sales amount is matched from small to large, for same
It is as follows that one priority level matches process:
Assuming that agency and sales pairing amount parameter is 1000(It is acted on behalf of at this time with 1000 starting of agency and sales pairing amount parameter
Sale, therefore the agency and sales less than 1000 act on behalf of amount and are not involved in pairing in advance), it is assumed that unpaired cargo forwarder amount is
14000, the pre- agency and sales amount of current agent products type to be paired is 36000(That is the pre- agency and sales of agency and sales 1
Amount is 1000, and the pre- agency and sales amount for acting as the agent of 2 is 1000, and the pre- agency and sales amount for acting as the agent of 3 is 4000, generation
The pre- agency and sales amount of reason sale 4 is 10000, and the pre- agency and sales amount for acting as the agent of 5 is 20000).
It carries out matching clock synchronization, amount is acted on behalf of in the agency and sales that system first finds out equal to 1000 in advance(That is agency and sales 1 and agency's pin
Sell 2), after pairing, remaining unpaired cargo forwarder amount is 12000, and pre- amount of acting as the agent of is 34000(Act as the agent of 3
Pre- agency and sales amount be 4000, act as the agent of 4 pre- agency and sales amount be 10000, act as the agent of 5 pre- agency and sales
Amount is 20000).
Amount is acted on behalf of in the agency and sales that system first finds out more than 1000 in advance(3 are acted as the agent of, agency and sales 4 and agency sell
Sell 5), it is pre- to calculate the remaining unpaired agency and sales of the unpaired cargo forwarder amount of proportion=residue/current preference rank
Act on behalf of amount=(12000/34000)<1, then:
Agency and sales 3 can act on behalf of amount=[downward rounding (4000*12000/34000)/1000] * 1000=1000;
Agency and sales 4 can act on behalf of amount=[downward rounding (10000*12000/34000)/1000] * 1000=3000;
Agency and sales 5 can act on behalf of amount=[downward rounding (20000*12000/34000)/1000] * 1000=7000;
The amount of acting on behalf of of each agency and sales side is sorted from small to large:1000,3000,7000, pin will be each acted on behalf of successively
The amount of acting on behalf of sold acts on behalf of amount plus 1000 as current agent seller, until each agency and sales add up always
Act on behalf of amount be equal to 12000, that is, act as the agent of 3 can act on behalf of volume be 2000, agency and sales 4 can act on behalf of volume be 3000, agency
It is 7000 that sale 5, which can act on behalf of volume,.
Amount can be acted on behalf of to sort from small to large, and cargo according to one set pattern be ranked up, and according to pairing sequence with
1000 be the pairing that unit can act on behalf of amount and cargo, and the pre- agency and sales amount 22000 having more(I.e. pre- agency and sales
Amount 36000- cargo forwarders amount 14000)Wait for pairing next time.After completing pairing, the generation of each agency agreement pairing is recorded
Amount is managed, and calculates and acts on behalf of hand number=act on behalf of amount/agency and sales pairing amount parameter.I.e. record agency and sales 1 act on behalf of amount and are
1000, it is 1 hand to act on behalf of hand number;It is 1000 that amount is acted on behalf of in agency and sales 2, and it is 1 hand to act on behalf of hand number;Agency and sales 3 act on behalf of amount and are
2000, it is 2 hands to act on behalf of hand number;It is 3000 that amount is acted on behalf of in agency and sales 4, and it is 3 hands to act on behalf of hand number;Agency and sales 5 act on behalf of amount and are
7000, hand number 7 is acted on behalf of, consequently facilitating data are calculated.Penalty deduction is carried out into the agency and sales for completing to transfer the possession of pairing.
In the present embodiment, in the case where agency and sales are acted on behalf of amount in advance and cannot be corresponded with cargo forwarder amount, lead to
It crosses with scheduled agency and sales pairing amount parameter 1000(Preferential selection integer, in favor of calculating)Matched, it is opposite by than
The mode of example assignment agent sale pairing greatly optimizes remaining unpaired mantissa, keeps agency and sales pairing more abundant, together
When be also beneficial to accounting data, improve agency and sales pairing efficiency and reliability, and every time pairing before obtain agency pin
Pairing situation is sold, and is made adjustment to the priority of agency and sales pairing according to actual conditions, to make agency and sales match
More rationally, it avoids and is matched by regulation sequence, substantially increase the reliability of agency and sales pairing.
In the present embodiment, agency and sales data type can be arranged to startup or disabled status.Such as it needs to act on behalf of to one
Determined products progress in sales data type is further categorized into Determined products 1 and Determined products 2, then by Determined products class
Type is arranged to disabled status, adds the agency and sales data type of Determined products 1 and Determined products 2, and is correspondingly arranged data and grabs
It is enabling state to take rule script and pairing priority, state, and system correspondingly adjusts the agency and sales data in enabling state
The pairing priority of type.The agency and sales data type of enabling state is obtained when pairing clearing, and is sorted by priority, to every
A agency and sales type, system pre-set data grabber rule script automatically according to agency and sales type and obtain under corresponding types
Agency and sales quota data, and corresponding agency and sales amount is ranked up pairing by sequence from small to large.And then by
One completes the pairing of the corresponding agency and sales quota data of each agency and sales data type.When there is new agency and sales data class
When type is to be matched, pairing settle accounts before, only need to add new agency and sales data type and its data grabber rule, pairing it is excellent
Its validity is arranged to enable in first grade, and when matching clearing, it is preferential that system obtains this agency and sales data type and pairing automatically
Grade captures its corresponding agency and sales quota data and is matched, convenient and efficient.If desired it presses original type and matches clock synchronization, only
New type need to be arranged to disabled status, start original type state.
In addition, one of ordinary skill in the art will appreciate that:Realize a kind of side of above-mentioned agency and sales auto-sequencing pairing
The all or part of step of method can be completed by the relevant hardware of program instruction, and foregoing routine instruction can be stored in a meter
In calculation machine read/write memory medium or storage device, which when being executed, executes above-mentioned agency and sales auto-sequencing and matches
To method the step of;And aforementioned storage medium or storage device include but not limited to:ROM, RAM, disk or CD etc. are each
Kind can store the medium of program code.
Therefore correspondingly, the embodiment of the present invention additionally provides a kind of computer readable storage devices, is stored with computer journey
Sequence, the computer program are executed by processor the method to realize a kind of agency and sales auto-sequencing pairing.
Further, the present invention is also mating provides a kind of corresponding mobile terminal, agency and sales system to realize agency
The method for selling auto-sequencing pairing, specially:
A kind of mobile terminal, including:
Processor is adapted for carrying out program instruction;
Storage device, is suitable for storage program instruction, and described program instruction is suitable for being loaded by processor and being executed described with realization
The method for acting as the agent of auto-sequencing pairing.
A kind of system of agency and sales auto-sequencing pairing, including server;Server includes processor and storage device;
Processor is adapted for carrying out program instruction;
Storage device, is suitable for storage program instruction, and described program instruction is suitable for being loaded by processor and being executed described with realization
The method for acting as the agent of auto-sequencing pairing.
The above content is only presently preferred embodiments of the present invention, for those of ordinary skill in the art, according to the present invention
Thought, there will be changes in the specific implementation manner and application range, and the content of the present specification should not be construed as to the present invention
Limitation.
Claims (8)
1. a kind of method of agency and sales auto-sequencing pairing, which is characterized in that including:
The urgent index for acting on behalf of amount and corresponding penalty ratio that agency and sales are transferred the possession of in advance are set;
Receive the application that agency and sales are transferred the possession of, the urgent index that record application is transferred the possession of;
The new application agency and sales of record and not yet due returned money renew the agency and sales amount of agency;
The classification of agency and sales data and its validity, the priority level of pairing, data grabber rule are set;
The urgent index for the agency and sales amount transferred the possession of by application carries out pairing sequence, and to the agency and sales of identical urgent index
Amount sorts transfer from small to large, and penalty is transferred the possession of in clearing;
Matched agency and sales amount type is treated before pairing every time and carries out priority ranking;
By the corresponding acquisition rule of the data of agency and sales amount type, the data of each agency and sales type are obtained, agency is sold
Amount is sold to be matched from small to large.
2. a kind of method of agency and sales auto-sequencing pairing according to claim 1, which is characterized in that according to agency
The sequence of amount type priority grade is sold, agency and sales amount is matched from small to large, same priority Pei Dui not process packet
It includes:
Setting agency and sales pairing amount parameter;
The agency and sales amount for being equal to agency and sales pairing amount parameter is obtained, and is matched according to the pairing of cargo sequence;
The agency and sales amount for being more than agency and sales pairing amount parameter is obtained, proportion is calculated;
If proportion is less than 1, amount A=[downward rounding is acted on behalf of by each agency and sales side(B*C)/ D] * D, B is current excellent
The pre- agency and sales amount of first rank, C are proportion, and D is agency and sales pairing amount parameter;
And amount is acted on behalf of into plus agency and sales pairing amount parameter as current agent by each agency and sales side successively
Seller acts on behalf of amount, until the amount sum of acting on behalf of of each agency and sales side is equal to remaining unpaired cargo forwarder
Amount;As unit of amount parameter is matched in agency and sales, and matched by the sequence of cargo;
If proportion is greater than or equal in 1, amount A=B acts on behalf of in the side of agency and sales;Amount parameter is matched with agency and sales
For unit, and matched by the sequence of cargo.
3. a kind of method of agency and sales auto-sequencing pairing according to claim 2, which is characterized in that proportion etc.
Volume is acted on behalf of in the remaining unpaired agency and sales of remaining unpaired cargo forwarder amount divided by current preference rank in advance.
4. a kind of method of agency and sales auto-sequencing pairing according to claim 1, which is characterized in that penalty etc.
It is multiplied by penalty ratio in the amount that application is transferred the possession of.
5. a kind of method of agency and sales auto-sequencing pairing according to claim 1, which is characterized in that further include, it is complete
After pairing, record each agency agreement pairing acts on behalf of amount, and calculates and act on behalf of hand number, wherein acting on behalf of hand number is equal to agency
Amount divided by agency and sales pairing amount parameter.
6. a kind of computer readable storage devices, are stored with computer program, which is characterized in that the computer program is handled
Device executes the method to realize the agency and sales auto-sequencing pairing described in claim 1 to 5 any one.
7. a kind of mobile terminal, which is characterized in that including:
Processor is adapted for carrying out program instruction;
Storage device, is suitable for storage program instruction, and described program instruction is suitable for being loaded by processor and being executed to realize that right is wanted
The method for asking a kind of agency and sales auto-sequencing described in 1 to 5 any one to match.
8. a kind of system of agency and sales auto-sequencing pairing, which is characterized in that including server;
Server includes processor and storage device;
Processor is adapted for carrying out program instruction;
Storage device, is suitable for storage program instruction, and described program instruction is suitable for being loaded by processor and being executed to realize that right is wanted
The method for asking the agency and sales auto-sequencing pairing described in 1 to 5 any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810277693.7A CN108446962A (en) | 2018-03-30 | 2018-03-30 | A method of agency and sales auto-sequencing pairing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810277693.7A CN108446962A (en) | 2018-03-30 | 2018-03-30 | A method of agency and sales auto-sequencing pairing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108446962A true CN108446962A (en) | 2018-08-24 |
Family
ID=63198484
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810277693.7A Pending CN108446962A (en) | 2018-03-30 | 2018-03-30 | A method of agency and sales auto-sequencing pairing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108446962A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1534523A (en) * | 2003-04-01 | 2004-10-06 | 精业股份有限公司 | Integrated selling system and its method |
CN107798592A (en) * | 2017-06-09 | 2018-03-13 | 平安科技(深圳)有限公司 | Calculate the method and apparatus of commission |
-
2018
- 2018-03-30 CN CN201810277693.7A patent/CN108446962A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1534523A (en) * | 2003-04-01 | 2004-10-06 | 精业股份有限公司 | Integrated selling system and its method |
CN107798592A (en) * | 2017-06-09 | 2018-03-13 | 平安科技(深圳)有限公司 | Calculate the method and apparatus of commission |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110009485A (en) | A kind of digital asset payment and settlement method based on block chain technology | |
CN111401619A (en) | Purchase order processing method and device, electronic equipment and storage medium | |
CN102546722A (en) | Cloud service sharing and trading platform and system | |
US11188910B2 (en) | Blockchain-based reconciliation system, method, and apparatus and electronic device | |
CN106855828A (en) | A kind of method for processing resource and device | |
CN105335847A (en) | Operation method and device of electronic account | |
CN106034148B (en) | Rapid information interaction method, local server, remote server and system | |
CN108446962A (en) | A method of agency and sales auto-sequencing pairing | |
CN112017002A (en) | User order supplementing method, device, equipment and storage medium | |
CN111105306A (en) | Resource transaction strategy determination method and device and server | |
CN109064105A (en) | A kind of resource transfers request processing method, device and electronic equipment | |
CN110458676A (en) | Equity transfer method and device and electronic equipment based on block chain | |
CN115063244A (en) | Commodity trading system and method based on carbon emission and intelligent contract | |
CN111091402A (en) | Value data adjusting method and device, electronic equipment and readable medium | |
CN113935507A (en) | Foreign currency cash exchange reservation method and device based on block chain | |
CN111369282B (en) | Resource processing method and device | |
CN114895929A (en) | Method, device, equipment and storage medium for issuing upgrade installation package | |
CN113822704A (en) | Method and device for calculating discount cost, electronic equipment and readable storage medium | |
CN108198057A (en) | A kind of matching method of agency and sales | |
CN113935570A (en) | Order processing method, device, equipment and storage medium | |
KR20210096972A (en) | Methods and apparatuses for prioritizing energy trading resources for improving power relay reliability | |
CN113095909B (en) | Electric power market listing transaction method and device | |
CN112200675B (en) | Block chain-based transaction method, seller node system, equipment and medium | |
CN102957713B (en) | Method, device and system for service operation | |
KR102599544B1 (en) | System and method for intermediating electric power transaction for peer-to-peer contract |
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 |
Application publication date: 20180824 |
|
RJ01 | Rejection of invention patent application after publication |