Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
Referring to Fig. 1, Fig. 1 is a kind of implementation flow chart of method for handling product requests provided in an embodiment of the present invention.
In the present embodiment, the executing subject for handling the method for product requests is server.The method of processing product requests as shown in Figure 1
The following steps are included:
S1: the product requests for pre-set product that receiving terminal apparatus is sent, and the product requests are carried out crucial
Word identification, extracts the product information of requested target product from the product requests.
In the embodiment of the present invention, pre-set product refers to that needs carry out out the financial product of part control.Financial product is gone out
Part control controls the sale amount of financial product, to reduce the distribution of financial product while guaranteeing that financial product sales volume is up to standard
The marketing risk of side.
When carrying out out part control to financial product, financial product can be divided into multiple product classes according to actual needs
Type may include multiple and different financial products under each product type.Finance is produced for example, whether can be fixed according to income
Product are divided into fixed income product and on-fixed revenue product both product types, and fixed income product may include that bond produces
Product and credit product etc., on-fixed revenue product may include stock product, options products and fund product etc..The present invention is implemented
In example, server provides products configuration interface for user, and the publisher of financial product can add needs in the server in advance
The pre-set product of part control is carried out out, and configures the product information of each pre-set product.The product information of pre-set product can wrap
The product identification of pre-set product and the product type of pre-set product etc. are included but are not limited to, product identification can be name of product,
It can be product number.The product identification of pre-set product and product type can be associated storage by server.
When client wants to buy certain pre-set product, can the operation interface of default application on the terminal device input it
Want the product information of the target product of purchase, and the preset control at trigger action interface.Wherein, the product information of target product
It may include the product identification of target product and/or the product type of target product.Terminal device detects the pre- of operation interface
If control is triggered, the product information of the target product based on client's input generates the product requests for being directed to pre-set product, and
The product requests are sent to server.Wherein, the product information of requested target product is carried in product requests, target produces
Product can be one of them or at least two products in pre-set product, herein with no restrictions.
After server receives the product requests for pre-set product of terminal transmission, keyword knowledge is carried out to product requests
Not, and then from product requests the product information of requested target product is extracted.Specifically, server can be using participle work
Tool carries out word segmentation processing to product requests, then is closed based on product keyword database to each word that word segmentation processing obtains
Key word identifies, and then the keyword for describing product information is extracted from all words that word segmentation processing obtains, these are crucial
Word is the product information for characterizing target product.Wherein, it is stored in product keyword database multiple for describing product attribute
Keyword.
S2: the product information based on the target product obtains the target product from the first database constructed in advance
Controlled dimension;Information in the first database is used to describe the corresponding relationship between product information and controlled dimension;Institute
Controlled dimension is stated for describing the impact factor of influence product sales volume.
In practical applications, since the impact factor for influencing the sales volume of different types of financial product is different, it can be with
The controlled of different types of financial product is determined respectively based on the impact factor for the sales volume for influencing different types of financial product
Dimension.Wherein, controlled dimension is used for the impact factor for describing to influence product sales volume.For example, if influencing certain type financial product
The impact factor of sales volume includes part region, going out part channel and client's feature, then the controlled dimension of the financial product may include
Region dimension, channel dimension and client's dimension.If the impact factor for influencing the sales volume of certain type financial product only includes part out
Channel and client's feature, then the controlled dimension of the financial product may include channel dimension and client's dimension.It should be noted that
The controlled dimension of different types of financial product may be the same or different, and determines with specific reference to actual conditions, does not do herein
Limitation.
The publisher of financial product can be determined all types of based on the impact factor for the sales volume for influencing all types of financial products
The controlled dimension of financial product, and first database is constructed in the server, it is that all types of finance produces in first database
Product configure corresponding controlled dimension, and server can be by pair between each product type and controlled dimension of financial product
It should be related to and be stored in first database, i.e., the information in first database is for describing between product information and controlled dimension
Corresponding relationship, the corresponding relationship between product type and controlled dimension specifically for describing financial product.
In the present embodiment, server is after the product information for extracting target product in product requests, if detecting target
It include the product type of target product, then the product class being directly based upon in the product information of target product in the product information of product
Type obtains the controlled dimension of target product from first database.If server is detected in the product information of target product and is only wrapped
Product identification containing target product is then determined the product type of target product based on the product identification of target product, then is based on mesh
The product type for marking product obtains the controlled dimension of target product from first database.
It should be noted that the controlled dimension of the financial product of each type may each be region in the embodiment of the present invention
The combination of any one dimension or any at least two dimension in dimension, channel dimension and client's dimension.For example, certain seed type
The controlled dimension of pre-set product can only include region dimension, the controlled dimension of another type of pre-set product may include
Client's dimension and region dimension etc..
S3: based on the controlled dimension of the target product it is associated go out part strategy judge the target product currently whether
It is allowed to out part, and returns to the response message for describing judging result to the terminal device.
In the embodiment of the present invention, the publisher of financial product can configure different part plans out for different controlled dimensions
Slightly.And the corresponding relationship storage between part strategy is in the server by controlled dimension and out.
It, can be based on pre-stored controlled dimension and part strategy out after server has determined the controlled dimension of target product
Between corresponding relationship it is determining with the controlled dimension of target product it is associated go out part strategy, and based on the controlled dimension with target product
It spends associated part strategy out and judges whether target product is currently allowed to out part, and generated based on judging result for describing to judge
As a result response message, and the response message is back to terminal device.It should be noted that response message is specifically used for description
Whether target product is currently allowed to out part, and part is for describing the operation that target product is sold by out.
As an embodiment of the present invention, the target that requested target product is also carried in product requests goes out number of packages amount, mesh
It marks part region and target goes out part channel.Wherein, target goes out the quantity that number of packages amount thinks the target product of purchase for describing client.
For describing the region that product is sold by, part region can be geographic area out, be also possible to the pin artificially divided in part region out
Section is sold, target, which goes out part region, can be geographic area belonging to client's permanent residence or client's office ground, and it is normal to be also possible to client
Sale section belonging to residence or client's office ground.Part channel is used for the channel for describing to be passed through when product is sold by out, out part
Channel can include but is not limited to Internet channel, phone channel and business hall channel etc., and target, which goes out part channel, can be network canal
Any one in road, phone channel and business hall channel.
In practical applications, when the controlled dimension of target product includes region dimension and channel dimension, with target product
The associated air control strategy of controlled dimension can be with are as follows: the target of the requested target product of product requests go out number of packages amount be less than or
Number of packages amount and target product can be gone out in the residue that target goes out in part region equal to target product and go out the residue in part channel in target
When can go out the sum of number of packages amount, allows target product to go out part, otherwise do not allow target product to go out part.Based on this, S3 can specifically lead to
It crosses S31~S36 as shown in Figure 2 and realizes that details are as follows:
S31: the target that requested target product is extracted from the product requests goes out part region and target goes out part channel.
In the present embodiment, after server carries out word segmentation processing to product requests, it is also based on region keyword database and canal
Road keyword database carries out keyword recognition to each word that word segmentation processing obtains respectively, and then obtained from word segmentation processing
The target that target product is extracted in all words goes out part region and target goes out part channel.Wherein, region keyword database includes
It is multiple for the keywords in part region to be depicted, include multiple in channel keyword database for the keys of part channel to be depicted
Word.
S32: determine that the target product can go out number of packages amount in the first residue that the target goes out in part region.
In the present embodiment, after server goes out part region from the target for extracting target in product requests and going out part region, determine
Target product goes out in part region in target and goes out part index.Wherein, the part index that goes out of target product refers to that target product can be sold by
Total quantity.
Specifically, in one embodiment of the invention, S32 may comprise steps of:
Go out part index calculation formula according to first, calculates the target product and refer in the part that goes out that the target goes out in part region
Mark;Described first goes out part index calculation formula are as follows:
Wherein, AreaQuota indicates the part index out that the target product goes out in the target in part region, and W indicates institute
The weight coefficient that target goes out part region is stated, J indicates to influence the total quantity for the impact factor that each part region out goes out part index, and j is
Integer, and 1≤j≤J, KjIndicate the weight coefficient of j-th of impact factor, QjIndicate j-th of impact factor described
Target goes out the score value in part region;
It determines that the target product goes out in part region in the target and has gone out number of packages amount;
Go out in part region to go out part index and to have gone out number of packages amount in the target based on the target product, determines the mesh
Number of packages amount can be gone out in the first residue that the target goes out in part region by marking product.
In the present embodiment, the publisher of financial product can according to target product it is each go out part region historical sales shape
Condition is that weight coefficient is arranged in each part region out.For example, can be the higher part region setting out of history sales volume of target product
Biggish weight coefficient is that lesser weight coefficient is arranged in the lower part region out of history sales volume of target product.Meanwhile finance
The publisher of product can count the impact factor for influencing part region sales volume out, not according to Different Effects factor pair product sales volume
It is that weight coefficient is arranged in each impact factor, and determines each impact factor taking under each part region out with influence degree
Value.For example, the impact factor for influencing part region sales volume out can include but is not limited to the population ratio of the density of population, all age group
The population ratio of example etc., the density of population and all age group that difference goes out in part region can be obtained through statistics, based on each
Value of the impact factor in different part regions out, determines that each impact factor goes out the score value in part region in target.Finance produces
The publisher of product can sell pre-set each weight coefficient in part region out, influence target product in each part region out
The score value of each impact factor of amount and the weight coefficient of each impact factor store in the server.
After server has determined that target goes out part region, mesh is obtained from pre-stored each weight coefficient in part region out
The weight coefficient in part region is marked, and obtains influence target product and goes out each impact factor of the sales volume in part region in target
The weight coefficient of score value and each impact factor goes out part index calculation formula based on first, calculates target product and goes out in target
Go out part index in part region.Server has determined that target product, can basis after target goes out the part index out in part region
The sum for belonging to target and going out product requests in part region and for target product received in the present sales period, determines
Target product goes out in part region in target and has gone out number of packages amount, by target product target go out in part region go out part index with
The difference of number of packages amount, which is determined as target product, out can go out number of packages amount in the first residue that target goes out in part region.
S33: determine that the target product can go out number of packages amount in the second residue that the target goes out in part channel.
In the present embodiment, server from product requests extract target go out part channel target go out part channel after, determine mesh
Mark product goes out in part channel in target and goes out part index.Wherein, the part index that goes out of target product refers to what target product can be sold by
Total quantity.
Specifically, in one embodiment of the invention, S33 may comprise steps of:
Go out part index calculation formula according to second, calculates the target product and refer in the part that goes out that the target goes out in part channel
Mark;Described second goes out part index calculation formula are as follows:
Wherein, ChannelQuo ta indicates the part index out that the target product goes out in the target in part channel, V table
Show that the target goes out the weight coefficient of part channel, N indicates to influence the total quantity for the impact factor that channel goes out part index, and n is integer
And 1≤n≤N, KnIndicate the coefficient of n-th of impact factor, QnIndicate that n-th of impact factor goes out obtaining for part channel in the target
Score value;
It determines that the target product goes out in part channel in the target and has gone out number of packages amount;
Go out in part channel to go out part index and to have gone out number of packages amount in the target based on the target product, determines the mesh
Number of packages amount can be gone out in the second residue that the target goes out in part channel by marking product.
In the present embodiment, the publisher of financial product can according to target product it is each go out part channel historical sales shape
Condition is that weight coefficient is arranged in each part channel out.For example, can be the higher part channel setting out of history sales volume of target product
Biggish weight coefficient is that lesser weight coefficient is arranged in the lower part channel out of history sales volume of target product.Meanwhile finance
The publisher of product can count the impact factor for influencing part channel sales volume out, not according to Different Effects factor pair product sales volume
It is that weight coefficient is arranged in each impact factor, and determines each impact factor taking under each part channel out with influence degree
Value.For example, the impact factor for influencing part channel sales volume out can include but is not limited to client age, network coverage situation etc..Gold
The publisher for melting product can be by pre-set each weight coefficient of part channel out, influence target product in each part canal out
The score value of each impact factor of road sales volume and the weight coefficient of each impact factor store in the server.
After server has determined that the requested target of product requests goes out part channel, from pre-stored each part channel out
Target is obtained in weight coefficient and goes out the weight coefficient of part channel, and is obtained influence target product and gone out the sales volume in part channel in target
Each impact factor score value and each impact factor weight coefficient, based on second go out part index calculation formula, calculate
Target product goes out in part channel in target and goes out part index.
Server has determined that pre-set product, can be according to the present sales period after target goes out the part index out in part channel
The sum for belonging to target and going out product requests in part channel and for target product inside received, determines target product in mesh
It marks in part channel and has gone out number of packages amount, target product is gone out into the difference for going out part index and having gone out number of packages amount in part channel in target
Number of packages amount can be gone out in the second residue that target goes out in part channel by being determined as target product.
S34: determine that the target of the requested target product of the product requests goes out number of packages amount.
In the present embodiment, after server receives product requests, requested target product is extracted from product requests
Target goes out number of packages amount, and the target of target product is gone out number of packages amount and the first residue can go out number of packages amount and the second residue and can go out number of packages
The sum of amount compares, if the target of target product, which goes out number of packages amount, can go out number of packages amount and the second residue less than or equal to the first residue
The sum of number of packages amount can be gone out, then execute S35;If the target of target product, which goes out number of packages amount, can go out number of packages amount and second greater than the first residue
Residue can go out the sum of number of packages amount, then execute S36.
S35: if the target, which goes out number of packages amount, can go out number of packages amount and second residue less than or equal to first residue
The sum of number of packages amount can be gone out, then generate the first response message;First response message is for describing the target product currently quilt
Allow part out.
In the present embodiment, if server detects that the target of target product goes out number of packages amount and can go out less than or equal to the first residue
Number of packages amount and the second residue can go out the sum of number of packages amount, then generate and be currently allowed to out the first of part to respond for describing target product
Information, and first response message is back to terminal device, so that client knows that its current product requests meets the requirements,
Requested target product is currently allowed to out part.
S36: if the target goes out, number of packages amount can go out number of packages amount greater than first residue and second residue can go out part
The sum of quantity then generates the second response message;Second response message is not allowed to currently for describing the target product
Part out.
In the present embodiment, if server detects that the target of target product goes out number of packages amount and can go out number of packages amount greater than the first residue
The sum of number of packages amount can be gone out with the second residue, then generate the second response letter for not being allowed to out part currently for describing target product
Breath, and second response message is back to terminal device, so that client knows that its current product requests is undesirable,
Requested target product is not allowed to out part currently.
Also carried as another embodiment of the present invention, in product requests the customer information for sending the client of the product requests and
The target of the requested target product of product requests goes out part channel.Wherein, customer information include but is not limited to client identity mark,
Client age, client occupation and client gender etc., customer ID can be ID card No. or phone number of client etc., herein
With no restrictions.Part channel is used for the channel for describing to be passed through when product is sold by out, and part channel can include but is not limited to net out
Network channel, phone channel and business hall channel etc., target, which goes out part channel, can be Internet channel, phone channel and business hall channel
In any one.
In practical applications, when the controlled dimension of target product includes client's dimension and channel dimension, with target product
The associated air control strategy of controlled dimension can be with are as follows: be greater than or equal to default credit value threshold value, and product in the credit value of client
Request the target of requested target product go out number of packages amount go out less than or equal to target product in target it is second surplus in part channel
It is remaining go out number of packages amount when, allow target product go out part, otherwise do not allow target product to go out part.Based on this, S3 can specifically pass through
S37~S42 as shown in Figure 3 realizes that details are as follows:
S37: extracting the customer information for sending the client of the product requests from the product requests and the product is asked
The target of requested target product is asked to go out part channel.
In the present embodiment, after server carries out word segmentation processing to product requests, it is also based on customer keys database and canal
Road keyword database carries out keyword recognition to each word that word segmentation processing obtains respectively, and then obtained from word segmentation processing
The customer information of client for sending product requests is extracted in all words and the target of target product goes out part channel.Wherein, client
Include multiple in keyword database for describing the keyword of client properties, includes multiple be used in channel keyword database
The keyword of part channel is depicted.
S38: the credit value of the client is determined based on the customer information.
In the present embodiment, server is from extracting customer information and after target goes out part channel, be based on product in product requests
The customer information carried in request determines the credit value of client.
Specifically, in one embodiment of the invention, S38 can specifically include following steps:
The score value of each preset attribute of the client is determined based on the customer information;
The score value of each preset attribute based on the client and default credit value calculation formula, calculate the letter of the client
With value;The default credit value calculation formula are as follows:
Wherein, Score indicates the credit value of the client, and Y indicates the total item of preset attribute, y be integer and 1≤y≤
Y, WyIndicate the weight coefficient of y-th of preset attribute, QyIndicate the score value of y-th of preset attribute.
In the present embodiment, preset attribute can include but is not limited to client age, client gender and client occupation etc..In reality
In the application of border, the publisher of financial product can be each pre- according to influence degree of each preset attribute to the credit value of client
If weight coefficient is arranged in attribute.For example, biggish weight can be arranged for the preset attribute being affected to the credit value of client
Coefficient influences lesser preset attribute for the credit value on client and lesser weight coefficient is arranged.Meanwhile the distribution of financial product
It can be corresponding score value be arranged for the different value of each preset attribute.It, can be with for example, for this preset attribute of client gender
Different score values is respectively set for different genders;For this preset attribute of client age, it can be divided into multiple years in advance
Age section, and different score values is set for different age brackets.Server extracts each preset attribute of client from customer information
Value, and the value of each preset attribute based on the client extracted determines the score value of each preset attribute of client and each
The weight coefficient of a preset attribute substitutes into the weight coefficient of the score value of each preset attribute of client and each preset attribute
In above-mentioned default credit value calculation formula, and then calculate the credit value of client.
S39: if the credit value of the client is greater than or equal to default credit value threshold value, it is determined that the target product is in institute
Number of packages amount can be gone out by stating the third residue that target goes out in part channel.
In this implementation, if server detects that the credit value of client is greater than or equal to default credit value threshold value, illustrate visitor
The credit at family reaches the preset requirement of purchase target product, at this point, server can first determine that the target product goes out part in target
Go out part index in channel, is to determine that the target product is current in the part index that goes out that target goes out in part channel based on target product
It is no to be allowed to sell.
Specifically, in one embodiment of the invention, S36 can specifically include following steps:
Go out part index calculation formula according to second, calculates the target product and refer in the part that goes out that the target goes out in part channel
Mark;Described second goes out part index calculation formula are as follows:
Wherein, ChannelQuo ta indicates the part index out that the target product goes out in the target in part channel, V table
Show that the target goes out the weight coefficient of part channel, N indicates to influence the total quantity for the impact factor that channel goes out part index, and n is integer
And 1≤n≤N, KnIndicate the coefficient of n-th of impact factor, QnIndicate that n-th of impact factor goes out obtaining for part channel in the target
Score value;
It determines that the target product goes out in part channel in the target and has gone out number of packages amount;
Go out in part channel to go out part index and to have gone out number of packages amount in the target based on the target product, determines the mesh
Number of packages amount can be gone out in the third residue that the target goes out in part channel by marking product.
In the present embodiment, the publisher of financial product can according to target product it is each go out part channel historical sales shape
Condition is that weight coefficient is arranged in each part channel out.For example, can be the higher part channel setting out of history sales volume of target product
Biggish weight coefficient is that lesser weight coefficient is arranged in the lower part channel out of history sales volume of target product.Meanwhile finance
The publisher of product can count the impact factor for influencing part channel sales volume out, not according to Different Effects factor pair product sales volume
It is that weight coefficient is arranged in each impact factor, and determines each impact factor taking under each part channel out with influence degree
Value.For example, the impact factor for influencing part channel sales volume out can include but is not limited to client age, network coverage situation etc..Gold
The publisher for melting product can be by pre-set each weight coefficient of part channel out, influence target product in each part canal out
The score value of each impact factor of road sales volume and the weight coefficient of each impact factor store in the server.
After server has determined that the requested target of product requests goes out part channel, from pre-stored each part channel out
Target is obtained in weight coefficient and goes out the weight coefficient of part channel, and is obtained influence target product and gone out the sales volume in part channel in target
Each impact factor score value and each impact factor weight coefficient, based on second go out part index calculation formula, calculate
Target product goes out in part channel in target and goes out part index.
Server has determined that pre-set product, can be according to the present sales period after target goes out the part index out in part channel
The sum for belonging to target and going out product requests in part channel and for target product inside received, determines target product in mesh
It marks in part channel and has gone out number of packages amount, target product is gone out into the difference for going out part index and having gone out number of packages amount in part channel in target
Number of packages amount can be gone out in the third residue that target goes out in part channel by being determined as target product.
S40: determine that the target of the requested target product of the product requests goes out number of packages amount.
In the present embodiment, server has determined that target product can go out number of packages amount in the third residue that target goes out in part channel
Afterwards, the target that requested target product is extracted from product requests goes out number of packages amount, and the target of target product is gone out number of packages amount
Number of packages amount can be gone out with third residue to compare, if the target of target product, which goes out number of packages amount, can go out part less than or equal to third residue
Quantity then executes S41;If the target of target product, which goes out number of packages amount, can go out number of packages amount greater than third residue, S42 is executed.
S41: if the target, which goes out number of packages amount, can go out number of packages amount less than or equal to the third residue, the first response is generated
Information;First response message is currently allowed to out part for describing the target product.
In the present embodiment, if server detects that the target of target product goes out number of packages amount and can go out less than or equal to third residue
Number of packages amount then generates the first response message for being currently allowed to out part for describing target product, and by first response message
It is back to terminal device, so that client knows that its current product requests meets the requirements, the current quilt of requested target product
Allow part out.
S42: if the target, which goes out number of packages amount, can go out number of packages amount greater than the third residue, the second response message is generated;
Second response message is not allowed to out part currently for describing the target product.
In the present embodiment, if server detects that the target of target product goes out number of packages amount and can go out number of packages greater than third residue
Amount then generates the second response message for not being allowed to out part currently for describing target product, and second response message is returned
It is back to terminal device, so that client knows that its current product requests is undesirable, requested target product is currently not
It is allowed to out part.
As an embodiment of the present invention, after S38, can with the following steps are included:
If the credit value of the client is less than default credit value threshold value, the second response message is generated, and by described second
Response message is back to the terminal device;Second response message is not allowed to out currently for describing the target product
Part.
In the present embodiment, if server detects that the credit value of client is less than default credit value threshold value, illustrate client's
Credit is not up to the preset requirement for buying target product, at this point, server generation is not allowed to currently for describing target product
Second response message of part out, and second response message is back to terminal device, so that client knows its current product
Request undesirable, requested target product is not allowed to out part currently.
Above as can be seen that a kind of method for handling product requests provided in this embodiment is receiving terminal device transmission
Product requests when, the product information of target product carried based on product requests is obtained from the first database constructed in advance
The controlled dimension of target product, and be based on target product is judged currently with the associated part strategy out of the controlled dimension of target product
It is no to be allowed to out part, and the response message for describing judging result is returned to terminal device, it can be seen that, the embodiment of the present invention
For different target products, it can judge whether it is currently allowed to out based on part strategy out corresponding with its product information
Part, so that the individual character for realizing product dissolves part control.
Referring to Fig. 4, Fig. 4 is a kind of structural block diagram of server provided in an embodiment of the present invention.Clothes in the present embodiment
Business device can be the servers such as smart phone, tablet computer.The each unit that the server includes is corresponding for executing Fig. 1 to Fig. 3
Embodiment in each step.Referring specifically to the associated description in embodiment corresponding to Fig. 1 to Fig. 3 and Fig. 1 to Fig. 3.
For ease of description, only the parts related to this embodiment are shown.Referring to fig. 4, server 400 includes: information extraction unit
41, first acquisition unit 42 and judging unit 43.Wherein:
Information extraction unit 41 is used for the product requests for pre-set product that receiving terminal apparatus is sent, and to the production
Product request carries out keyword recognition, and the product information of requested target product is extracted from the product requests.
First acquisition unit 42 is for the product information based on the target product from the first database constructed in advance
Obtain the controlled dimension of the target product;Information in the first database for describe product information and controlled dimension it
Between corresponding relationship;The controlled dimension is used for the impact factor for describing to influence product sales volume.
Judging unit 43 be used for based on the controlled dimension of the target product it is associated go out part strategy judge the target
Whether product is currently allowed to out part, and returns to the response message for describing judging result to the terminal device.
As an embodiment of the present invention, the controlled dimension of the target product includes region dimension and channel dimension;Judgement
Unit 43 specifically includes: the first extraction unit, the first determination unit, the second determination unit, third determination unit, first information list
Member and the second information unit.Wherein:
First extraction unit be used for extracted from the product requests requested target product target go out part region and
Target goes out part channel.
First determination unit is for determining that the target product can go out part in the first residue that the target goes out in part region
Quantity.
Second determination unit is for determining that the target product can go out part in the second residue that the target goes out in part channel
Quantity.
Third determination unit is for determining that the target of the requested target product of the product requests goes out number of packages amount.
If first information unit for the target go out number of packages amount less than or equal to first residue can go out number of packages amount with
Second residue can go out the sum of number of packages amount, then generate the first response message;First response message is for describing the mesh
Mark product is currently allowed to out part.
If the second information unit, which goes out number of packages amount for the target, can go out number of packages amount and described the greater than first residue
Two residues can go out the sum of number of packages amount, then generate the second response message;Second response message is for describing the target product
It is not allowed to out part currently.
As an embodiment of the present invention, the first determination unit specifically includes: the first computing unit, first have gone out part and have determined list
Member and first it can go out part determination unit.Wherein:
First computing unit is used to go out part index calculation formula according to first, calculates the target product and goes out in the target
Go out part index in part region;Described first goes out part index calculation formula are as follows:
Wherein, AreaQuota indicates the part index out that the target product goes out in the target in part region, and W indicates institute
The weight coefficient that target goes out part region is stated, J indicates to influence the total quantity for the impact factor that each part region out goes out part index, and j is
Integer, and 1≤j≤J, KjIndicate the weight coefficient of j-th of impact factor, QjIndicate j-th of impact factor described
Target goes out the score value in part region.
First, which has gone out part determination unit, has gone out number of packages for determining that the target product goes out in part region in the target
Amount.
First can go out part determination unit for going out in part region to go out part index in the target based on the target product
And gone out number of packages amount, determine that the target product can go out number of packages amount in the first residue that the target goes out in part region.
As an embodiment of the present invention, the controlled dimension of the target product includes client's dimension and channel dimension;Judgement
Unit 43 is specific further include: the second extraction unit, credit value determination unit, the 4th determination unit, the 5th determination unit, third letter
Interest statement member and the 4th information unit.Wherein:
Second extraction unit sends the customer information of the client of the product requests for extracting from the product requests
And the target of the requested target product of product requests goes out part channel.
Credit value determination unit is used to determine the credit value of the client based on the customer information.
If the 4th determination unit is greater than or equal to default credit value threshold value for the credit value of the client, it is determined that described
Target product can go out number of packages amount in the third residue that the target goes out in part channel.
5th determination unit is for determining that the target of the requested target product of the product requests goes out number of packages amount.
If third information unit, which goes out number of packages amount for the target, can go out number of packages amount less than or equal to the third residue,
Generate the first response message;First response message is currently allowed to out part for describing the target product.
If the 4th information unit, which goes out number of packages amount for the target, can go out number of packages amount greater than the third residue, the is generated
Two response messages;Second response message is not allowed to out part currently for describing the target product.
As an embodiment of the present invention, credit value determination unit specifically includes: the first score value determination unit and credit value meter
Calculate unit.Wherein:
First score value determination unit is used to determine the score value of each preset attribute of the client based on the customer information.
Credit value computing unit calculates public for the score value of each preset attribute based on the client and default credit value
Formula calculates the credit value of the client;The default credit value calculation formula are as follows:
Wherein, Score indicates the credit value of the client, and Y indicates the total item of preset attribute, y be integer and 1≤y≤
Y, WyIndicate the weight coefficient of y-th of preset attribute, QyIndicate the score value of y-th of preset attribute.
As an embodiment of the present invention, the 4th determination unit specifically includes: the second computing unit, second have gone out part and have determined list
Member and second it can go out part determination unit.Wherein:
Second computing unit is used to go out part index calculation formula according to second, calculates the target product and goes out in the target
Go out part index in part channel;Described second goes out part index calculation formula are as follows:
Wherein, ChannelQuo ta indicates the part index out that the target product goes out in the target in part channel, V table
Show that the target goes out the weight coefficient of part channel, N indicates to influence the total quantity for the impact factor that channel goes out part index, and n is integer
And 1≤n≤N, KnIndicate the coefficient of n-th of impact factor, QnIndicate that n-th of impact factor goes out obtaining for part channel in the target
Score value.
Second, which has gone out part determination unit, has gone out number of packages for determining that the target product goes out in part channel in the target
Amount.
Second can go out part determination unit for going out in part channel to go out part index in the target based on the target product
And gone out number of packages amount, determine that the target product can go out number of packages amount in the third residue that the target goes out in part channel.
As an embodiment of the present invention, judging unit 43 further includes specifically the 5th information unit.
If the 5th information unit is less than default credit value threshold value for the credit value of the client, the second response letter is generated
Breath, and second response message is back to the terminal device;Second response message is produced for describing the target
Product are not allowed to out part currently.
Above as can be seen that server provided in this embodiment is when receiving the product requests of terminal device transmission, base
The controlled of target product is obtained from the first database constructed in advance in the product information for the target product that product requests carry
Dimension, and based on the controlled dimension of target product it is associated go out part strategy judge whether target product is currently allowed to out part,
And the response message for describing judging result is returned to terminal device, it can be seen that, the embodiment of the present invention is directed to different mesh
Product is marked, can judge whether it is currently allowed to out part based on part strategy out corresponding with its product information, to realize
The individual character of product dissolves part control.
Fig. 5 be another embodiment of the present invention provides a kind of server structural block diagram.As shown in figure 5, the embodiment
Server 5 includes: processor 50, memory 51 and is stored in the memory 51 and can run on the processor 50
Computer program 52, such as processing product requests method program.Processor 50 executes real when the computer program 52
Step in each embodiment of method of existing above-mentioned each processing product requests, such as S1 shown in FIG. 1 to S3.Alternatively, the place
Reason device 50 realizes the function of each unit in the corresponding embodiment of above-mentioned Fig. 4 when executing the computer program 52, for example, Fig. 4 institute
The function of the unit 41 to 44 shown does not repeat herein referring specifically to the associated description in the corresponding embodiment of Fig. 4.
Illustratively, the computer program 52 can be divided into one or more units, one or more of
Unit is stored in the memory 51, and is executed by the processor 50, to complete the present invention.One or more of lists
Member can be the series of computation machine program instruction section that can complete specific function, and the instruction segment is for describing the computer journey
Implementation procedure of the sequence 52 in the server 5.For example, the computer program 52 can be divided into information extraction unit,
First acquisition unit and judging unit, each unit concrete function are as described above.
The server may include, but be not limited only to, processor 50, memory 51.It will be understood by those skilled in the art that
Fig. 5 is only the example of server 5, does not constitute the restriction to server 5, may include than illustrating more or fewer portions
Part perhaps combines certain components or different components, such as the server can also include input-output equipment, network
Access device, bus etc..
Alleged processor 50 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng.
The memory 51 can be the internal storage unit of the server 5, such as the hard disk or memory of server 5.
The memory 51 is also possible to the External memory equipment of the server 5, such as the plug-in type being equipped on the server 5 is hard
Disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card
(Flash Card) etc..Further, the memory 51 can also both include the internal storage unit of the server 5 or wrap
Include External memory equipment.The memory 51 is for other programs needed for storing the computer program and the server
And data.The memory 51 can be also used for temporarily storing the data that has exported or will export.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality
Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each
Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified
Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all
It is included within protection scope of the present invention.