CN106412053A - Probability based service configuration method and system - Google Patents
Probability based service configuration method and system Download PDFInfo
- Publication number
- CN106412053A CN106412053A CN201610855012.1A CN201610855012A CN106412053A CN 106412053 A CN106412053 A CN 106412053A CN 201610855012 A CN201610855012 A CN 201610855012A CN 106412053 A CN106412053 A CN 106412053A
- Authority
- CN
- China
- Prior art keywords
- probability
- rule
- business
- editor
- edlin
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/51—Discovery or management thereof, e.g. service location protocol [SLP] or web services
-
- 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/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0207—Discounts or incentives, e.g. coupons or rebates
- G06Q30/0212—Chance discounts or incentives
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Strategic Management (AREA)
- Accounting & Taxation (AREA)
- Development Economics (AREA)
- Finance (AREA)
- Economics (AREA)
- Game Theory and Decision Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Marketing (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a probability based service configuration method and system. The probability based service configuration method comprises the steps of obtaining a probability rule editing instruction; disconnecting an initial probability rule and a service; editing the initial probability rule to obtain an edited probability rule; and connecting the edited probability rule to the service. In the probability based service configuration method, the service and the initial probability rule are disconnected and the initial probability rule is edited after the probability rule editing instruction is obtained, the initial probability rule is modified and edited based on a new service requirement, the edited probability rule is obtained and connected to the service, and the service with the edited probability rule is finally obtained. The initial probability rule in the original service is fully utilized; and compared with the way of resetting the as the probability rule based on a new service requirement, the probability based service configuration method reduces workload of changing the service probability rule and achieves a technical effect of increasing the efficiency.
Description
Technical field
The present invention relates to the business configuration technical field of probability correlation, particularly to a kind of business configuration side based on probability
Method and system.
Background technology
Increase with Internet user and network payment function development, ecommerce occupies importantly in people's life
Position, Network also becomes an important ring of strategic of Ge great businessman, and most of businessman is all using the tool such as draw a lottery, give bonus
The business of the rule of probability is had to attract user.
The rule of probability in business such as draw a lottery, give bonus generally includes probabilistic algorithm and probable range, probabilistic algorithm and industry
The prize species of business activity, probability generate direct relation, and probable range then has direct relation with participation number, probability hit,
The rule of probability therefore of the prior art and business-binding and non-editable.Once businessman according to market or oneself needs to establish
New business, the rule of probability of former business cannot be reused thus all abandoning abrogating due to not editable, and new business is corresponding
The rule of probability need complete accent editor.
In sum, how to reduce the workload of change service probability rule, thus improving efficiency is to be currently needed for solving
Technical problem.
Content of the invention
In view of this, it is an object of the invention to provide a kind of business collocation method based on probability and system, to initial
The rule of probability enters edlin, makes full use of the probability rule in former business, compares and reset according to new business need
The rule of probability, decreases the workload of change service probability rule, has reached and carried efficient technique effect.Its concrete scheme is such as
Under:
A kind of business collocation method based on probability, including:
Acquisition probability rule editing instructs;
Disconnect the connection of probability rule and business;
Edit described probability rule, the rule of probability after being edited;
The rule of probability after described editor is connected to described business.
Preferably, described probability rule includes probabilistic algorithm, probability seed and probable range.
Preferably, the described process editing described probability rule, including:
By edlin is entered to the probabilistic algorithm in described probability rule and/or probability seed and/or probable range,
Obtain the rule of probability after described editor.
Preferably, described probability rule also includes probability and probability threshold value, wherein, when the life of described probabilistic algorithm
The final probability becoming is more than described probability threshold value, then return described probability.
Preferably, the described process editing described probability rule, including:
By edlin is entered to the probability in described probability rule and/or probability threshold value, obtain described editor
Rule rule afterwards.
Preferably, the described process editing described probability rule includes:
By way of edlin is entered to first object XML configuration file, edlin is entered to described probability rule;Its
In, described first object XML configuration file is the XML configuration file for being recorded to described probability rule.
Preferably, described also included based on the business collocation method of probability:
When getting statistical rules edit instruction, then disconnect the regular connection and described business between of initial statistical;
Edlin is entered to described initial statistical rule, the statistical rules after being edited;
Statistical rules after described editor is connected to described business.
Preferably, described initial statistical rule includes counting the hit probability total degree of described business, counts described business
The total degree carrying out carries out the average hit probability number of times of described business every time with statistics.
Preferably, described also included based on the business collocation method of probability:
By way of edlin is entered to the second target XML configuration file, edlin is entered to described initial statistical rule;Its
In, described second target XML configuration file is the XML configuration file for being recorded to described initial statistical rule.
The invention also discloses a kind of business configuration system based on probability, including:
Rule of probability edit instruction acquisition module, for the instruction of acquisition probability rule editing;
Business disconnects module, for disconnecting the connection of probability rule and business;
Rule of probability editor module, for editing described probability rule, the rule of probability after being edited;
Service connection module, for connecting the rule of probability after described editor to described business.
The invention discloses a kind of business collocation method based on probability, including the instruction of acquisition probability rule editing;Disconnect
Probability rule and the connection of business;Edit above-mentioned probability rule, the rule of probability after being edited;By above-mentioned editor
The rule of probability afterwards connects to this business.It can be seen that in the present invention, after getting this rule of probability edit instruction, disconnect business with
The connection of probability rule, to enter edlin to probability rule, enters to probability rule for new business need
Row modification editor, the rule of probability after edit by itself and this service connection, finally give the rule of probability after editor
Business, that is, make full use of the probability rule in former business, compare and reset the rule of probability according to new business need, subtract
Lack the workload of change service probability rule, reached and carried efficient technique effect.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
Have technology description in required use accompanying drawing be briefly described it should be apparent that, drawings in the following description be only this
Inventive embodiment, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis
The accompanying drawing providing obtains other accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of the business collocation method based on probability disclosed in the embodiment of the present invention;
Fig. 2 is a kind of structural representation of the business configuration system based on probability disclosed in the embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation description is it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of not making creative work
Embodiment, broadly falls into the scope of protection of the invention.
The embodiment of the invention discloses a kind of business collocation method based on probability, shown in Figure 1, including step S1-
4, wherein:
Step S1:Acquisition probability rule editing instructs.
In the embodiment of the present invention, when getting rule of probability edit instruction, then former business is stopped it is ensured that business enters volume
Volume state, prevents in editing affairs, this business still in work thus the loss causing.
Step S2:Disconnect the connection of probability rule and business.
In the embodiment of the present invention, when getting rule of probability edit instruction, then disconnect the company of probability rule and business
Connect, will probability Rule Extraction out, and be at editing mode.It is understood that disconnecting probability rule
Then with the connection of business after, also corresponding description can enter edlin to business, for example, be the new explanatory note of business setting
Content.
Step S3:Edit above-mentioned probability rule, the rule of probability after being edited.
In the inventive embodiments of step S2, the connection of probability rule and business is disconnected, at probability rule
In editing mode, now edlin is entered to probability rule according to new business need, the rule of probability after being edited.
It is understood that edlin is entered to probability rule it is only necessary to according to new business need in probability
Can correspondingly be edited in rule just, compare and reset the rule of probability and can reduce substantial amounts of workload.
Step S4:The rule of probability after above-mentioned editor is connected to above-mentioned business.
In the embodiment of the present invention, the rule of probability after editor and service connection obtain the rule of probability after having editor
Business.
The invention discloses a kind of business collocation method based on probability, including the instruction of acquisition probability rule editing;Disconnect
Probability rule and the connection of business;Edit above-mentioned probability rule, the rule of probability after being edited;By above-mentioned editor
The rule of probability afterwards connects to this business.It can be seen that in the present invention, after getting this rule of probability edit instruction, disconnect business with
The connection of probability rule, to enter edlin to probability rule, enters to probability rule for new business need
Row modification editor, the rule of probability after edit by itself and this service connection, finally give the rule of probability after editor
Business, that is, make full use of the probability rule in former business, compare and reset the rule of probability according to new business need, subtract
Lack the workload of change service probability rule, reached and carried efficient technique effect.
The embodiment of the invention discloses a kind of specific business collocation method based on probability, with respect to a upper embodiment,
The present embodiment has made further instruction and optimization to technical scheme.Specifically:
Probability rule in the embodiment of the present invention specifically includes probabilistic algorithm, probability seed and probable range.
It should be noted that when probabilistic algorithm is that the probability that user participates in generating every time is all general with what first time participation generated
When rate is relevant, now, the probability participating in for the first time generating is probability seed.Generally participating in number of times with user increases, probability
The corresponding probit of seed also increases, and that is, probability seed is proportionate with participating in number of times.For example, if the rule of probability is that user is current
Participate in result be miss, then next time participate in when generating probability double, probability seed be n%, probable range be more than or wait
In 0% and less than or equal to 100%, then the probability that this user participates in generating for the first time is n%, if result is miss,
The probability participating in generating for second is 2n%, if the result participating in for the second time is still miss, third time participates in generation
Probability is 4n%, until the result that this user participates in is hit, now the probability that this user participates in is returned probability, n is
It is less than or equal to 25 number more than or equal to 0.
The regular positive correlation of inclusion and randomly it is understood that above-mentioned probability seed and above-mentioned participation number of times are proportionate
Rule positive correlation.For example, if the current result participating in of user is miss, when next time participates in, generating probability is that current participation generates
2 times of probability, now for regular positive correlation.For example, if the result that user first participates in is miss, second gives birth to when participating in
Probability is become to be 2 times of probability participating in for the first time generating, if the result of the second participation is miss not yet, then life when third time participates in
The probability becoming is to participate in 5 times of the probability of generation for the first time or directly will participate in results verification for hit, now for irregular positive
Close.
In order to ensure probabilistic algorithm can properly generate probability, the probable range in the embodiment of the present invention in Practical Calculation
Specifically include scope, the corresponding scope of hit probability generating random chance.For example, business is to take out in the sequence number of all users
Take the user that sequence number end position is 1, then the scope generating random chance is the serial number range of all users, the corresponding model of hit probability
Enclose the sequence number being 1 for last position.
In the embodiment of the present invention, the process of editor's above-mentioned probability rule, including:By to above-mentioned probability rule
In probabilistic algorithm and/or probability seed and/or probable range enter edlin, obtain the rule of probability after above-mentioned editor.
It is understood that new business need may be probabilistic algorithm, probability seed and probability model with former business need
One of enclose or several, therefore editor's probability rule when, only need to be according to business change point to probabilistic algorithm, probability seed
With one of probable range or several enter edlin.For example new business need is increase business difficulty, that is, expand former probability
Scope, now enters the rule of probability after edlin can be edited accordingly to probable range.
In order to prevent the irrational situation of probability of occurrence numerical value in practical operation from occurring, above-mentioned probability rule is also wrapped
Include probability and probability threshold value, wherein, when the final probability that above-mentioned probabilistic algorithm generates is more than above-mentioned probability threshold value, then return
Above-mentioned probability.
In practical operation, there is hacker and utilize fraudulent meanses malicious modification or generated using probabilistic algorithm larger final
Probability obtains the situation that hit results gain business prize by cheating, is therefore more than above-mentioned probability threshold in the final probability that probabilistic algorithm generates
During value, return probability, or result is defined as miss.
Probability threshold value can be used for preventing the generation of probability breakdown events.For example, if the rule of probability is currently joined for user
With result be miss, then next time participate in when generating probability double, probable range is more than or equal to 0% and to be less than or equal to
100%, the probability that this user participates in generating for the first time is n%, if result is miss, participates in the probability generating for second
For 2n%, now in order to prevent probability breakdown events, probability threshold value is set as 50%, when the probability that user generates is more than
Probability threshold value and result are miss, then be directly labeled as hitting by the result that user participates in next time, n is little more than or equal to 0
In the number equal to 50.
It is understood that probability can be one of probabilistic algorithm compensates probability, when network delay etc. is objective
It is ensured that the final probability of this user is effective when reason impacts to the user participating in.For example, probabilistic algorithm must be for user
Participate in preset time period, when user participates in due to due to the synchronization of network delay server, be not shown in preset time period
Participate in, now in order to compensate user, the probability that this user is generated is adjusted to probability.
In the embodiment of the present invention, the process of editor's above-mentioned probability rule, including:By to above-mentioned probability rule
In probability and/or probability threshold value enter edlin, obtain the rule after above-mentioned editor rule.
In the embodiment of the present invention, the process of editor's above-mentioned probability rule includes:By literary composition is configured to first object XML
Part enters the mode of edlin, enters edlin to above-mentioned probability rule;Wherein, above-mentioned first object XML configuration file is use
In the XML configuration file that above-mentioned probability rule is recorded.
It is understood that XML configuration file has the advantages that the content and structure of document is kept completely separate, can easily realize
Being completely separated of Content Management and workflow management, facilitate implementation to one of probabilistic algorithm, probability seed and probable range or
Several enter edlin.
In order to count to business, correct record traffic flowing water, the business in the embodiment of the present invention is also included for uniting
The statistical rules of meter rule of probability service condition, wherein, the process of editor's statistical rules includes:When getting statistical rules editor
Instruction, then disconnect the regular connection and above-mentioned business between of initial statistical;Edlin is entered to above-mentioned initial statistical rule, is compiled
Statistical rules after volume;Statistical rules after above-mentioned editor is connected to above-mentioned business.
It is understood that changing so that statistical rules also makes corresponding change because of business need, it is simultaneous for
The statistical rules of business is also required to adjust, and therefore after getting statistical rules edit instruction, disconnects initial statistical regular and upper
State the connection between business, make statistical rules be in editing mode, and as needed edlin is entered to statistical rules, edited
Rear statistical rules is simultaneously connected to business, thus completing the editor to statistical rules.
It is total that the hit probability total degree of the above-mentioned initial statistical rule inclusion above-mentioned business of statistics, the above-mentioned business of statistics are carried out
Number of times carries out the average hit probability number of times of above-mentioned business every time with statistics.
In the embodiment of the present invention, the process entering edlin to above-mentioned initial statistical rule includes:By to the second target XML
Configuration file enters the mode of edlin, enters edlin to above-mentioned initial statistical rule;Wherein, above-mentioned second target XML configuration literary composition
Part is the XML configuration file for being recorded to above-mentioned initial statistical rule.
It is understood that XML configuration file has the advantages that the content and structure of document is kept completely separate, can easily realize
Being completely separated of Content Management and workflow management, facilitates implementation and enters edlin to statistical rules.
The invention also discloses a kind of business configuration system based on probability, shown in Figure 2, including rule of probability editor
Instruction acquisition module 11, business disconnect module 12, rule of probability editor module 13 and service connection module 14, wherein:
Rule of probability edit instruction acquisition module 11, for the instruction of acquisition probability rule editing.
In the embodiment of the present invention, when rule of probability edit instruction acquisition module 11 obtains large stretch of rule of probability edit instruction,
Then former business is stopped it is ensured that business enters editing mode, prevents in editing affairs, this business still in work thus causing
Loss.
Business disconnects module 12, for disconnecting the connection of probability rule and business.
In the embodiment of the present invention, if business disconnects module 12 and receives rule of probability edit instruction, disconnect probability
Rule and the connection of business, will probability Rule Extraction out, and be at editing mode.It is understood that
After disconnecting probability rule and the connection of business, also corresponding description can enter edlin to business, for example, be that business sets
Put new explanatory note content.
Rule of probability editor module 13, for editing above-mentioned probability rule, the rule of probability after being edited.
After business disconnection module 12 receives rule of probability edit instruction, the connection of probability rule and business is broken
Open, probability rule is in editing mode, now by rule of probability editor module 13 according to new business need to initial
The rule of probability enters edlin, the rule of probability after being edited.
Service connection module 14, for connecting the rule of probability after above-mentioned editor to above-mentioned business.
In the embodiment of the present invention, service connection module 14 obtains the rule of probability after editing and service connection with volume
The business of the rule of probability after volume.
The invention discloses a kind of business configuration system based on probability, including rule of probability edit instruction acquisition module,
For the instruction of acquisition probability rule editing;Business disconnects module, for disconnecting the connection of probability rule and business;Probability is advised
Then editor module, for editing above-mentioned probability rule, the rule of probability after being edited;Service connection module, for inciting somebody to action
The rule of probability after above-mentioned editor connects to above-mentioned business.It can be seen that in the present invention, obtaining in rule of probability edit instruction acquisition module
After getting rule of probability edit instruction, business disconnects the connection that module disconnects business and probability rule, with to probability
Rule enters edlin, probability rule is modified editor for new business need by rule of probability editor module,
The rule of probability after being edited by itself and this service connection, the probability after edit eventually through service connection module is advised
Business then, that is, make full use of the probability rule in former business, compare and reset probability rule according to new business need
Then, decrease the workload of change service probability rule, reached and carried efficient technique effect.
The embodiment of the invention discloses a kind of specific business configuration system based on probability, with respect to a upper embodiment,
The present embodiment has made further instruction and optimization to technical scheme.Specifically:
Probability rule in the embodiment of the present invention specifically includes probabilistic algorithm, probability seed and probable range.
It should be noted that when probabilistic algorithm is that the probability that user participates in generating every time is all general with what first time participation generated
When rate is relevant, now, the probability participating in for the first time generating is probability seed.Generally participating in number of times with user increases, probability
The corresponding probit of seed also increases, and that is, probability seed is proportionate with participating in number of times.For example, if the rule of probability is that user is current
Participate in result be miss, then next time participate in when generating probability double, probability seed be n%, probable range be more than or wait
In 0% and less than or equal to 100%, then the probability that this user participates in generating for the first time is n%, if result is miss,
The probability participating in generating for second is 2n%, if the result participating in for the second time is still miss, third time participates in generation
Probability is 4n%, until the result that this user participates in is hit, now the probability that this user participates in is returned probability, n is
It is less than or equal to 25 number more than or equal to 0.
The regular positive correlation of inclusion and randomly it is understood that above-mentioned probability seed and above-mentioned participation number of times are proportionate
Rule positive correlation.For example, if the current result participating in of user is miss, when next time participates in, generating probability is that current participation generates
2 times of probability, now for regular positive correlation.For example, if the result that user first participates in is miss, second gives birth to when participating in
Probability is become to be 2 times of probability participating in for the first time generating, if the result of the second participation is miss not yet, then life when third time participates in
The probability becoming is to participate in 5 times of the probability of generation for the first time or directly will participate in results verification for hit, now for irregular positive
Close.
In order to ensure probabilistic algorithm can properly generate probability, the probable range in the embodiment of the present invention in Practical Calculation
Specifically include scope, the corresponding scope of hit probability generating random chance.For example, business is to take out in the sequence number of all users
Take the user that sequence number end position is 1, then the scope generating random chance is the serial number range of all users, the corresponding model of hit probability
Enclose the sequence number being 1 for last position.
In the embodiment of the present invention, rule of probability editor module includes:Probabilistic algorithm edit cell, for above-mentioned initially general
Probabilistic algorithm in rate rule enters edlin;Probability seed edit cell, for the probability kind in above-mentioned probability rule
Son enters edlin;Probable range edit cell, for entering edlin to the probable range in above-mentioned probability rule.
It is understood that new business need may be probabilistic algorithm, probability seed and probability model with former business need
One of enclose or several, therefore editor's probability rule when, only probabilistic algorithm editor need to be passed through according to business change point single
One of unit, probability seed edit cell and probable range edit cell or several editor's corresponding contents.For example new business
Require for increasing business difficulty, that is, to expand former probable range, now by probable range edit cell, probable range is compiled
Collect the rule of probability after can get corresponding editor.
In order to prevent the irrational situation of probability of occurrence numerical value in practical operation from occurring, above-mentioned probability rule is also wrapped
Include probability and probability threshold value, wherein, when the final probability that above-mentioned probabilistic algorithm generates is more than above-mentioned probability threshold value, then return
Above-mentioned probability.
In practical operation, there is hacker and utilize fraudulent meanses malicious modification or generated using probabilistic algorithm larger final
Probability obtains the situation that hit results gain business prize by cheating, is therefore more than above-mentioned probability threshold in the final probability that probabilistic algorithm generates
During value, return probability, or result is defined as miss.
Probability threshold value can be used for preventing the generation of probability breakdown events.For example, if the rule of probability is currently joined for user
With result be miss, then next time participate in when generating probability double, probable range is more than or equal to 0% and to be less than or equal to
100%, the probability that this user participates in generating for the first time is n%, if result is miss, participates in the probability generating for second
For 2n%, now in order to prevent probability breakdown events, probability threshold value is set as 50%, when the probability that user generates is more than
Probability threshold value and result are miss, then be directly labeled as hitting by the result that user participates in next time, n is little more than or equal to 0
In the number equal to 50.
It is understood that probability can be one of probabilistic algorithm compensates probability, when network delay etc. is objective
It is ensured that the final probability of this user is effective when reason impacts to the user participating in.For example, probabilistic algorithm must be for user
Participate in preset time period, when user participates in due to due to the synchronization of network delay server, be not shown in preset time period
Participate in, now in order to compensate user, the probability that this user is generated is adjusted to probability.
In the embodiment of the present invention, above-mentioned rule of probability editor module also includes:Probability edit cell, for above-mentioned
Probability in probability rule enters edlin;Probability threshold value edit cell, in above-mentioned probability rule
Probability threshold value enters edlin.
The embodiment of the present invention has been done to rule of probability editor module and has been refined further, specially:
First XML configuration file editor module, for by way of edlin is entered to first object XML configuration file,
Edlin is entered to above-mentioned probability rule;Wherein, above-mentioned first object XML configuration file is for advising to above-mentioned probability
The XML configuration file then being recorded.
It is understood that XML configuration file has the advantages that the content and structure of document is kept completely separate, can easily realize
Being completely separated of Content Management and workflow management, facilitate implementation to one of probabilistic algorithm, probability seed and probable range or
Several enter edlin.
In order to count to business, correct record traffic flowing water, the business in the embodiment of the present invention is also included for uniting
The statistical rules of meter rule of probability service condition.In order to realize the editor to statistical rules, the embodiment of the present invention is also wrapped further
Include:Statistical rules edit instruction acquisition module, is used for getting statistical rules edit instruction;Statistical rules disconnects module, is used for
When getting statistical rules edit instruction, then disconnect the regular connection and above-mentioned business between of initial statistical;Statistical rules editor
Module, for edlin is entered to above-mentioned initial statistical rule, the statistical rules after being edited;Statistical rules link block, uses
In the statistical rules after above-mentioned editor is connected to above-mentioned business.
It is understood that changing so that statistical rules also makes corresponding change because of business need, it is simultaneous for
The statistical rules of business is also required to adjust, and therefore statistical rules edit instruction acquisition module is getting statistical rules edit instruction
Afterwards, statistical rules disconnects module and disconnects the regular connection and above-mentioned business between of initial statistical, makes statistical rules be in editor's shape
State, and as desired by statistical rules editor module, edlin is entered to statistical rules, the statistical rules after being edited, and lead to
Cross statistical rules link block and be connected to business, thus completing the editor to statistical rules.
It is total that the hit probability total degree of the above-mentioned initial statistical rule inclusion above-mentioned business of statistics, the above-mentioned business of statistics are carried out
Number of times carries out the average hit probability number of times of above-mentioned business every time with statistics.
In the embodiment of the present invention, statistical rules editor module is done and has refined further, specially:
Second XML configuration file editor module, for by way of edlin is entered to the second target XML configuration file,
Edlin is entered to above-mentioned initial statistical rule;Wherein, above-mentioned second target XML configuration file is for advising to above-mentioned initial statistical
The XML configuration file then being recorded.
It is understood that XML configuration file has the advantages that the content and structure of document is kept completely separate, can easily realize
Being completely separated of Content Management and workflow management, facilitates implementation and enters edlin to statistical rules.
Last in addition it is also necessary to explanation, herein, such as first and second or the like relational terms be used merely to by
One entity or operation are made a distinction with another entity or operation, and not necessarily require or imply these entities or operation
Between there is any this actual relation or order.And, term " inclusion ", "comprising" or its any other variant meaning
Covering comprising of nonexcludability, so that including a series of process of key elements, method, article or equipment not only include that
A little key elements, but also include other key elements being not expressly set out, or also include for this process, method, article or
The intrinsic key element of equipment.In the absence of more restrictions, the key element being limited by sentence "including a ...", does not arrange
Remove and also there is other identical element in the process including described key element, method, article or equipment.
Above a kind of business collocation method based on probability provided by the present invention and system are described in detail, this
Apply specific case in literary composition the principle of the present invention and embodiment are set forth, the explanation of above example is only intended to
Help understands the method for the present invention and its core concept;Simultaneously for one of ordinary skill in the art, according to the think of of the present invention
Think, all will change in specific embodiments and applications, in sum, it is right that this specification content should not be construed as
The restriction of the present invention.
Claims (10)
1. a kind of business collocation method based on probability is it is characterised in that include:
Acquisition probability rule editing instructs;
Disconnect the connection of probability rule and business;
Edit described probability rule, the rule of probability after being edited;
The rule of probability after described editor is connected to described business.
2. the business collocation method based on probability according to claim 1 is it is characterised in that described probability rule is wrapped
Include probabilistic algorithm, probability seed and probable range.
3. the business collocation method based on probability according to claim 2 is it is characterised in that described editor is described initially general
The process of rate rule, including:
By edlin is entered to the probabilistic algorithm in described probability rule and/or probability seed and/or probable range, obtain
The rule of probability after described editor.
4. the business collocation method based on probability according to claim 2 is it is characterised in that described probability rule is gone back
Including probability and probability threshold value, wherein, when the final probability that described probabilistic algorithm generates is more than described probability threshold value, then return
Return described probability.
5. the business collocation method based on probability according to claim 4 is it is characterised in that described editor is described initially general
The process of rate rule, including:
By edlin is entered to the probability in described probability rule and/or probability threshold value, after obtaining described editor
Rule rule.
6. the business collocation method based on probability according to any one of claim 1 to 5 is it is characterised in that described editor
The process of described probability rule, including:
By way of edlin is entered to first object XML configuration file, edlin is entered to described probability rule;Wherein,
Described first object XML configuration file is the XML configuration file for being recorded to described probability rule.
7. the business collocation method based on probability according to any one of claim 1 to 5 is it is characterised in that also include:
When getting statistical rules edit instruction, then disconnect the regular connection and described business between of initial statistical;
Edlin is entered to described initial statistical rule, the statistical rules after being edited;
Statistical rules after described editor is connected to described business.
8. the business collocation method based on probability according to claim 7 is it is characterised in that described initial statistical rule is wrapped
Include and count the hit probability total degree of described business, count the total degree that carries out of described business and statistics carries out described business every time
Average hit probability number of times.
9. the business collocation method based on probability according to claim 7 it is characterised in that described to described initial statistical
Rule enters the process of edlin, including:
By way of edlin is entered to the second target XML configuration file, edlin is entered to described initial statistical rule;Wherein,
Described second target XML configuration file is the XML configuration file for being recorded to described initial statistical rule.
10. a kind of business configuration system based on probability is it is characterised in that include:
Rule of probability edit instruction acquisition module, for the instruction of acquisition probability rule editing;
Business disconnects module, for disconnecting the connection of probability rule and business;
Rule of probability editor module, for editing described probability rule, the rule of probability after being edited;
Service connection module, for connecting the rule of probability after described editor to described business.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610855012.1A CN106412053B (en) | 2016-09-26 | 2016-09-26 | Service configuration method and system based on probability |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610855012.1A CN106412053B (en) | 2016-09-26 | 2016-09-26 | Service configuration method and system based on probability |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106412053A true CN106412053A (en) | 2017-02-15 |
CN106412053B CN106412053B (en) | 2019-12-20 |
Family
ID=57997579
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610855012.1A Active CN106412053B (en) | 2016-09-26 | 2016-09-26 | Service configuration method and system based on probability |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106412053B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111178042A (en) * | 2019-12-31 | 2020-05-19 | 出门问问信息科技有限公司 | Data processing method and device and computer storage medium |
CN111488625A (en) * | 2020-03-30 | 2020-08-04 | 广州酷狗计算机科技有限公司 | Data processing method and device |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101593386A (en) * | 2008-05-30 | 2009-12-02 | 科乐美数码娱乐株式会社 | Games system and constitute the commercial use game device and the management devices of this games system |
CN102332132A (en) * | 2011-07-22 | 2012-01-25 | 深圳市财富万方信息技术有限公司 | Internet real-time lucky drawing system and implementation method thereof |
CN103685154A (en) * | 2012-09-04 | 2014-03-26 | 深圳市世纪光速信息技术有限公司 | Internet-based probability product data processing method and server |
CN104268772A (en) * | 2014-09-26 | 2015-01-07 | 上海邦助信息技术有限公司 | Lucky draw device capable of presetting winning probability and lucky draw method |
US20150081529A1 (en) * | 2013-09-17 | 2015-03-19 | Nhn Entertainment Corporation | Method of managing online reward content |
CN104715390A (en) * | 2013-12-16 | 2015-06-17 | 腾讯科技(深圳)有限公司 | Data processing method and device for network application |
CN104899768A (en) * | 2015-06-25 | 2015-09-09 | 北京奇虎科技有限公司 | Prize information generation method, device and system |
CN204695426U (en) * | 2015-06-03 | 2015-10-07 | 广州市杨林电子有限公司 | A kind of novel lottery wheel |
CN105321249A (en) * | 2015-10-14 | 2016-02-10 | 贵阳朗玛信息技术股份有限公司 | Prize drawing method and device |
CN105894338A (en) * | 2016-06-30 | 2016-08-24 | 广东电网有限责任公司珠海供电局 | Probability adjusting method and probability adjusting device for resource allocation |
-
2016
- 2016-09-26 CN CN201610855012.1A patent/CN106412053B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101593386A (en) * | 2008-05-30 | 2009-12-02 | 科乐美数码娱乐株式会社 | Games system and constitute the commercial use game device and the management devices of this games system |
CN102332132A (en) * | 2011-07-22 | 2012-01-25 | 深圳市财富万方信息技术有限公司 | Internet real-time lucky drawing system and implementation method thereof |
CN103685154A (en) * | 2012-09-04 | 2014-03-26 | 深圳市世纪光速信息技术有限公司 | Internet-based probability product data processing method and server |
US20150081529A1 (en) * | 2013-09-17 | 2015-03-19 | Nhn Entertainment Corporation | Method of managing online reward content |
CN104715390A (en) * | 2013-12-16 | 2015-06-17 | 腾讯科技(深圳)有限公司 | Data processing method and device for network application |
CN104268772A (en) * | 2014-09-26 | 2015-01-07 | 上海邦助信息技术有限公司 | Lucky draw device capable of presetting winning probability and lucky draw method |
CN204695426U (en) * | 2015-06-03 | 2015-10-07 | 广州市杨林电子有限公司 | A kind of novel lottery wheel |
CN104899768A (en) * | 2015-06-25 | 2015-09-09 | 北京奇虎科技有限公司 | Prize information generation method, device and system |
CN105321249A (en) * | 2015-10-14 | 2016-02-10 | 贵阳朗玛信息技术股份有限公司 | Prize drawing method and device |
CN105894338A (en) * | 2016-06-30 | 2016-08-24 | 广东电网有限责任公司珠海供电局 | Probability adjusting method and probability adjusting device for resource allocation |
Non-Patent Citations (1)
Title |
---|
孔庆如等: ""基于概率分布的岗位配置优化研究"", 《武汉理工大学学报(信息与管理工程版》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111178042A (en) * | 2019-12-31 | 2020-05-19 | 出门问问信息科技有限公司 | Data processing method and device and computer storage medium |
CN111178042B (en) * | 2019-12-31 | 2023-04-28 | 出门问问信息科技有限公司 | Data processing method and device and computer storage medium |
CN111488625A (en) * | 2020-03-30 | 2020-08-04 | 广州酷狗计算机科技有限公司 | Data processing method and device |
CN111488625B (en) * | 2020-03-30 | 2023-10-03 | 广州酷狗计算机科技有限公司 | Data processing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN106412053B (en) | 2019-12-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6568538B2 (en) | Illegal click prevention method, apparatus, and storage medium | |
Rosas-Casals et al. | Analysis of major failures in Europe’s power grid | |
CN109685504B (en) | Block chain-based shared economy accounting method | |
CN106302534B (en) | A kind of method and system of detection and processing illegal user | |
CN106657693A (en) | Predictive outbound method and system of call system | |
CN107784474A (en) | A kind of novel electron contract and its method performed automatically | |
CN114462624B (en) | Method for developing trusted federation learning based on blockchain | |
CN101321070B (en) | Monitoring system and method for suspicious user | |
CN106412053A (en) | Probability based service configuration method and system | |
CN103927445A (en) | Characteristic event generation method and device | |
CN109660878A (en) | Living broadcast interactive method, storage medium, electronic equipment and system based on barrage | |
CN110909381A (en) | Block chain-based user comment tamper-proof system and method | |
CN105427479A (en) | Man-machine interaction ATM safety management system and method | |
Turnbull‐Roberts et al. | Trauma then and now: Implications of adoption reform for First Nations children | |
CN107358526A (en) | A kind of method and apparatus promptly merchandised | |
CN105812239A (en) | Social system realization method with supervision function | |
CN107274205A (en) | Order generation method and system | |
Lynch et al. | Continuing fault lines and new threats: European integration and the rise of UKIP | |
CN103297457B (en) | A kind of recommendation method and system of microblog users | |
Lin et al. | Trash journals in China | |
CN107135220A (en) | Cheat page detection method, computer equipment and computer-readable recording medium | |
CN108305096A (en) | Lottery system based on WeChat platform | |
CN109377223A (en) | A kind of method and system based on block chain technical management network safety event disposal process | |
CN108809955A (en) | A kind of power consumer behavior depth analysis method based on hidden Markov model | |
Duncan et al. | Media representations of lone mothers and policy implications |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |