CN109559103A - Quantity determines method, apparatus, computer equipment and readable storage medium storing program for executing - Google Patents

Quantity determines method, apparatus, computer equipment and readable storage medium storing program for executing Download PDF

Info

Publication number
CN109559103A
CN109559103A CN201811115685.9A CN201811115685A CN109559103A CN 109559103 A CN109559103 A CN 109559103A CN 201811115685 A CN201811115685 A CN 201811115685A CN 109559103 A CN109559103 A CN 109559103A
Authority
CN
China
Prior art keywords
red packet
total value
dollar amount
quotient
packet number
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811115685.9A
Other languages
Chinese (zh)
Inventor
邱泽斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Property and Casualty Insurance Company of China Ltd
Original Assignee
Ping An Property and Casualty Insurance Company of China Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Ping An Property and Casualty Insurance Company of China Ltd filed Critical Ping An Property and Casualty Insurance Company of China Ltd
Priority to CN201811115685.9A priority Critical patent/CN109559103A/en
Publication of CN109559103A publication Critical patent/CN109559103A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/04Payment circuits
    • G06Q20/06Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
    • G06Q20/065Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
    • G06Q20/0652Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash e-cash with decreasing value according to a parameter, e.g. time
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/08Insurance

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Theoretical Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Technology Law (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides a kind of quantity to determine method, apparatus, computer equipment and readable storage medium storing program for executing, is related to field of computer technology.The embodiment of the present invention is by obtaining red packet total value to be provided;Then, it according to the red packet total value and presets and single red packet maximum dollar amount and presets single red packet minimum dollar amount, determine red packet number range;To generate the control strip of red packet number according to the red packet number range;In turn, the operation information that user is directed to the control strip is received, determines target red packet number.Therefore, technical solution provided in an embodiment of the present invention simplifies the operating procedure that setting sends red packet number, and it is low to improve insurance red packet transmitting efficiency.

Description

Quantity determines method, apparatus, computer equipment and readable storage medium storing program for executing
[technical field]
The present invention relates to field of computer technology more particularly to a kind of quantity to determine method, apparatus, computer equipment and can Read storage medium.
[background technique]
The purchase of traditional insurance business and service procedure are although perfect, but have not been in step with the times.Traditional insurance It linked up under line in business service, fill in cumbersome Additional Forms, period under review etc. of insuring for a long time all allows the insured to pay More costs.Based on this problem, internet thought is dissolved into insurance business by proposition, by by insurance business and internet It organically combines, so that insurance business purchase and service are more convenient.
With prevailing, the relevant technologies that insurance industry is also introduced into of electronics red packet, insurance red packet is released.Before sending red packet It requires input in the input frame first shown in mobile terminal display interface and needs the red packet quantity and red packet total value wrapped, so After generate a gift of money at Chinese New Year pending.Wherein, user inputs Any Digit in input frame, and the number of user's input is how many, will produce The red packet of raw corresponding number.And red packet is insured due to business demand, red packet number is corresponding setting scope limitation, allows to generate Red packet number no more than the setting scope limitation, the existing this insurance red packet quantity for needing to send by input frame input In method, user does not know about the red packet number setting range for allowing to be arranged, and the value in true scope can not be inputted, to need to use The number of input is modified at family repeatedly, so that cumbersome, insurance red packet transmitting efficiency is low.
[summary of the invention]
In view of this, the embodiment of the invention provides a kind of quantity to determine method, apparatus, computer equipment and readable storage Medium simplifies the operating procedure that setting sends red packet number, improves insurance red packet transmitting efficiency.
On the one hand, the embodiment of the invention provides a kind of quantity to determine method, comprising:
Obtain red packet total value to be provided;
It according to the red packet total value and presets single red packet maximum dollar amount and presets single red packet minimum dollar amount, determine red Packet number range;
According to the red packet number range, the control strip of red packet number is generated;
The operation information that user is directed to the control strip is received, determines target red packet number.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, it is described according to institute It states red packet total value and presets single red packet maximum dollar amount and preset single red packet minimum dollar amount, determine red packet number range, wrap It includes:
The red packet total value and the quotient for presetting single red packet maximum dollar amount are obtained respectively, and, the red packet total value With the quotient for presetting single red packet minimum dollar amount;
It determines the red packet total value and the quotient for presetting single red packet maximum dollar amount is under the red packet number range Limit value, and, the red packet total value is the upper limit of the red packet number range with the quotient for presetting single red packet minimum dollar amount Value.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, it is described according to institute It states red packet total value and presets single red packet maximum dollar amount and preset single red packet minimum dollar amount, determine red packet number range, wrap It includes:
The red packet total value and the quotient for presetting single red packet maximum dollar amount are obtained respectively, and, the red packet total value With the quotient for presetting single red packet minimum dollar amount;
Compare the big of the red packet total value and the quotient for presetting single red packet minimum dollar amount and default red packet amount threshold It is small, obtain comparison result;
By in the comparison result, the red packet total value and the quotient for presetting single red packet minimum dollar amount and default red packet In amount threshold the two, lesser one is determined as the upper limit value;
It determines the red packet total value and the quotient for presetting single red packet maximum dollar amount is under the red packet number range Limit value.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, the control strip Including sliding block, the operation information for receiving user and being directed to the control strip determines target red packet number, comprising:
Obtain the location information of the sliding block;
According to the location information of the sliding block, the target red packet number is determined.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, the acquisition institute State the location information of sliding block, comprising:
Obtain the sliding trace of the sliding block;
The sliding trace endpoint information is determined as to the location information of the sliding block.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, it is described obtain to The red packet total value of granting, comprising:
The numerical value that acquisition user inputs in designated position, and the numerical value is determined as the red packet total value;
Alternatively,
Acquire the voice messaging of user;
Semantics recognition is carried out to the voice messaging, and the numerical value that will identify that is determined as the red packet total value.
Second aspect, the embodiment of the invention provides a kind of quantity determining device, the quantity determining device includes:
Acquiring unit, for obtaining red packet total value to be provided;
Determination unit, for according to the red packet total value and presetting and single red packet maximum dollar amount and presetting single red packet most The small amount of money determines red packet number range;
Generation unit, for generating the control strip of red packet number according to the red packet number range;
Processing unit, the operation information for being directed to the control strip for receiving user, determines target red packet number.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, it is described determining single Member is specifically used for:
The red packet total value and the quotient for presetting single red packet maximum dollar amount are obtained respectively, and, the red packet total value With the quotient for presetting single red packet minimum dollar amount;
It determines the red packet total value and the quotient for presetting single red packet maximum dollar amount is under the red packet number range Limit value, and, the red packet total value is the upper limit of the red packet number range with the quotient for presetting single red packet minimum dollar amount Value.
The third aspect, the embodiment of the invention also provides a kind of computer installations, including memory, processor and storage The computer program that can be run on the processor in the memory, when the processor executes the computer program Realize that quantity described in any one of first aspect determines method.
Fourth aspect, the embodiment of the invention also provides a kind of readable storage medium storing program for executing, including computer-readable instruction, work as meter Calculate it is machine-readable when taking and executing the computer-readable instruction so that computer executes quantity described in any one of first aspect and determines Method.
It is had the following beneficial effects: in above-mentioned technical proposal
Technical solution provided by the invention by obtaining red packet total value, and according to red packet total value and presets single red packet Maximum dollar amount and single red packet minimum dollar amount is preset, calculates red packet number range, it is then, raw according to the red packet number range At control strip, so that user is by operating the control strip, so that it may input target red packet number.In this scheme, pass through control Item can intuitively show red packet number range, and since the control strip is generated according to red packet number range, according to Family operates the operation information of the control strip, determines that target red packet number one is scheduled within the scope of red packet number.Therefore, compared to existing Technology, technical solution provided by the invention simplify the operating procedure that setting sends red packet number, improve insurance red packet and send Efficiency.
[Detailed description of the invention]
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this field For those of ordinary skill, without any creative labor, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is the flow diagram that a kind of quantity provided by the embodiment of the present invention determines method;
Fig. 2 is a kind of flow diagram for implementation method that the embodiment of the present invention is provided for step 104;
Fig. 3 is the flow diagram for another implementation method that the embodiment of the present invention is provided for step 104;
Fig. 4 is the composition block diagram of quantity determining device provided in an embodiment of the present invention;
Fig. 5 is a kind of composition block diagram of computer equipment provided in an embodiment of the present invention.
[specific embodiment]
For a better understanding of the technical solution of the present invention, being retouched in detail to the embodiment of the present invention with reference to the accompanying drawing It states.
It will be appreciated that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Base Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts it is all its Its embodiment, shall fall within the protection scope of the present invention.
The term used in embodiments of the present invention is only to be not intended to be limiting merely for for the purpose of describing particular embodiments The present invention.In the embodiment of the present invention and the "an" of singular used in the attached claims, " described " and "the" It is also intended to including most forms, unless the context clearly indicates other meaning.
It should be appreciated that term "and/or" used herein is only a kind of incidence relation for describing affiliated partner, indicate There may be three kinds of relationships, for example, A and/or B, can indicate: individualism A, exist simultaneously A and B, individualism B these three Situation.In addition, character "/" herein, typicallys represent the relationship that forward-backward correlation object is a kind of "or".
Depending on context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determination " or " in response to detection ".Similarly, depend on context, phrase " if it is determined that " or " if detection (condition or event of statement) " can be construed to " when determining " or " in response to determination " or " when the detection (condition of statement Or event) when " or " in response to detection (condition or event of statement) ".
It is larger often to will appear difference between maximum value red packet and minimum value red packet for spelling luck red packet in the prior art Situation problem, the embodiment of the invention provides following resolving ideas: firstly, obtaining red packet total value to be provided;Then, according to institute It states red packet total value and presets single red packet maximum dollar amount and preset single red packet minimum dollar amount, determine red packet number range;From And according to the red packet number range, generate the control strip of red packet number;In turn, the behaviour that user is directed to the control strip is received Make information, determines target red packet number.
Under the guidance of the thinking, this programme embodiment provides following feasible embodiment.
The embodiment of the present invention provides a kind of quantity and determines method.
Specifically, referring to FIG. 1, it is provided the flow diagram that quantity determines method, such as Fig. 1 by the embodiment of the present invention It is shown, method includes the following steps:
102, red packet total value to be provided is obtained.
Red packet total value to be provided involved in the present invention is the total amount that user is packed in red packet, which can be Any number.
What needs to be explained here is that, it is contemplated that insure the safety of red packet, the upper limit value of red packet total value can also be set, held The red packet total value that row main body is got is no more than the upper limit value, otherwise, is considered as that the red packet total value is invalid, and executing subject will not The step that subsequent quantity determines is executed, and exports the invalid prompt information of red packet total value, to prompt user to export again to terminal Red packet total value.
104, it according to the red packet total value and presets single red packet maximum dollar amount and presets single red packet minimum dollar amount, really Determine red packet number range.
106, according to the red packet number range, the control strip of red packet number is generated.
Wherein, red packet number range includes red packet number lower limit value and upper limit value.
Specifically, the corresponding red packet number of the initial position for setting control strip for the lower limit value of red packet number, by red packet The upper limit value of number range is set as the corresponding red packet number in final position of control strip.The initial position of control strip and terminal position The distance between set be the control strip total length L, the red packet set interface shown in the total length L size and executing subject There are a kind of corresponding relationship, the total length L sizes to be determined by the size of the red packet set interface shown in executing subject for size.
108, the operation information that user is directed to the control strip is received, determines target red packet number.
Technical solution provided by the invention by obtaining red packet total value, and according to red packet total value and presets single red packet Maximum dollar amount and single red packet minimum dollar amount is preset, calculates red packet number range, it is then, raw according to the red packet number range At control strip, so that user is by operating the control strip, so that it may input target red packet number.In this scheme, pass through control Item can intuitively show red packet number range, and since the control strip is generated according to red packet number range, according to Family operates the operation information of the control strip, determines that target red packet number one is scheduled within the scope of red packet number.Therefore, compared to existing Technology, technical solution provided by the invention simplify the operating procedure that setting sends red packet number, improve insurance red packet and send Low efficiency.
Further, in conjunction with above-mentioned process, step 104 is directed to according to the red packet total value and presets single red packet most The big amount of money and single red packet minimum dollar amount is preset, determines the realization of red packet number range, provide a kind of feasible implementation, Its flow chart is as shown in Fig. 2, step 104 specifically includes:
A1042, the red packet total value and the quotient for presetting single red packet maximum dollar amount are obtained respectively, and, it is described red Packet total value and the quotient for presetting single red packet minimum dollar amount.
A1044, determine the red packet total value and the quotient for presetting single red packet maximum dollar amount for the red packet number model The lower limit value enclosed, and, the red packet total value and the quotient for presetting single red packet minimum dollar amount are the red packet number range Upper limit value.
It should be noted that the quotient that step A1042 is got may not be integer, if the quotient that step A1042 is got is not When integer, then specified integer that is immediate with this quotient and being less than the quotient is taken, so that step A1044 is by the specified integer value Upper limit value and lower limit value as red packet number range.
Since red packet number range is related with red packet total value, red packet total value is bigger, so that obtaining the upper of red packet number range Limit value is bigger, that is, allow be arranged red packet number it is also more, and if be arranged target red packet number it is more when, may cause life At red packet may get it is endless, accordingly, it is considered to arrive this phenomenon, in order to effectively reduce the generation of such case, further be arranged One default red packet number upper limit value is based on this, is directed to the realization of step 104, additionally provides another feasible realization Mode, flow chart is as shown in figure 3, step 104 specifically:
B1042, the red packet total value and the quotient for presetting single red packet maximum dollar amount are obtained respectively, and, it is described red Packet total value and the quotient for presetting single red packet minimum dollar amount.
Red packet total value described in B1044, comparison and the quotient for presetting single red packet minimum dollar amount and default red packet quantity threshold The size of value, obtains comparison result.
B1046, by the comparison result, the red packet total value and the quotient for presetting single red packet minimum dollar amount and in advance If lesser one is determined as the upper limit value in red packet amount threshold the two.
Specifically, when the red packet total value and the quotient for presetting single red packet minimum dollar amount are greater than default red packet quantity threshold When value, determine that the default red packet amount threshold is the upper limit value, alternatively, when the red packet total value and described default individually red When the quotient of packet minimum dollar amount is less than or equal to default red packet amount threshold, determine that the red packet total value presets single red packet with described The quotient of minimum dollar amount is the upper limit value.
B1048, determine the red packet total value and the quotient for presetting single red packet maximum dollar amount for the red packet number model The lower limit value enclosed.
What needs to be explained here is that in this embodiment, for executing subject determine red packet number range lower limit value and Determine that the sequencing of the upper limit value of red packet number range is not specifically limited, that is to say, that step B1048 can be in step It is executed after B1042 and before step B1044;Alternatively, step B1048 can be after step B1044 and step B1046 It executes before;Alternatively, step B1048 can also be performed simultaneously with step B1044 or B1046, the present invention does not do specific limit to this It is fixed.
Determine that method, the embodiment of the present invention combine in a concrete application scene to step based on above-mentioned provided quantity 108 receive the operation information that user is directed to the control strip, determine that the realization of target red packet number is specifically described.The present invention In, the control strip includes sliding block, which can specifically include:
Step 1, the location information for obtaining the sliding block;
Step 2, according to the location information of the sliding block, determine the target red packet number.
Wherein, the location information for obtaining the sliding block includes: the sliding trace for obtaining the sliding block;By the sliding trace Termination message be determined as the location information of the sliding block.
Specifically, user is dragged to sliding block sliding, terminal acquires the sliding trace of sliding block, when sliding block stops sliding, at this point, Sliding block position is determined as the location information N of the sliding block, calculates the initial position of control strip and the location information N of sliding block Distance W,
Target red packet number=W/L* (X1-X0)+X0
Wherein, L is the total length of control strip, and X0 is red packet number lower limit value, and X1 is red packet number upper limit value.
In addition, determining the corresponding red packet in current location of sliding block in control strip in order to facilitate user in conjunction with the above method Whether number is target red packet number that user wants to set up, present invention further propose that, it can be moved according to the sliding trace of sliding block State shows candidate red packet number.Specifically, executing subject can acquire sliding block in real time when user drags the sliding block sliding on control strip Position, determine the corresponding red packet number in the position (the red packet number be candidate red packet number), and show in designated position Candidate red packet number, when within a certain period of time, detecting that slide position do not change or detect that designated position is shown Candidate red packet number when not changing, determine that the candidate red packet number shown at this time is target red packet number.
It in the present invention, is directed to and how to obtain red packet total value, provide two kinds of implementations,
First way are as follows: the numerical value that acquisition user inputs in designated position.
In the present invention, in display interface configure red packet total value input control, user can by operating the input control, The red packet total value of packet is wanted in input.
The second way: user can input the red packet total value for wanting input by voice mode.
In the present invention, specifically, the voice of acquisition user's input;Then, semantics recognition is carried out to the voice, and will known Not Chu numerical value be determined as red packet total value.Wherein, carrying out semantics recognition to collected voice may include: that extraction is collected Voice includes the candidate sentence of number, identifies whether candidate's sentence includes that " amount of money ", " total value ", " member " etc. can characterize red packet Number in candidate's sentence is determined as user and wants to use the red of input by the keyword message of total value value if identifying presence Packet total value;It is not present if identifying, prompt can be issued and input invalid prompt information, to remind user to re-enter red packet Total value value.
It should be noted that terminal involved in the embodiment of the present invention can include but is not limited to personal computer (Personal Computer, PC), personal digital assistant (Personal Digital Assistant, PDA), wireless handheld Equipment, tablet computer (Tablet Computer), mobile phone, MP3 player, MP4 player etc..
It should be noted that the executing subject of above steps can be quantity determining device, which can be located at this The application of ground terminal, or can also be the plug-in unit or Software Development Kit (Software being located locally in the application of terminal Development Kit, SDK) etc. functional units, the embodiment of the present invention is to this without being particularly limited to.
It is understood that the application can be mounted in the application program (nativeApp) in terminal, or may be used also To be a web page program (webApp) of browser in terminal, the embodiment of the present invention is to this without limiting.
Quantity provided by one determines method based on the above embodiment, and the embodiment of the present invention, which further provides, realizes above-mentioned side The Installation practice of each step and method in method embodiment.
Referring to FIG. 4, its composition block diagram for quantity determining device provided by the embodiment of the present invention.As shown in figure 4, should Device includes:
Acquiring unit 21, for obtaining red packet total value to be provided;
Determination unit 22, for according to the red packet total value and presetting and single red packet maximum dollar amount and presetting single red packet Minimum dollar amount determines red packet number range;
Generation unit 23, for generating the control strip of red packet number according to the red packet number range;
Processing unit 24, the operation information for being directed to the control strip for receiving user, determines target red packet number.
In the present invention, optionally, determination unit 22 is executing according to the red packet total value and is presetting single red packet most The big amount of money and single red packet minimum dollar amount is preset, when determining red packet number range, is specifically used for: obtaining the red packet total value respectively With the quotient for presetting single red packet maximum dollar amount, and, the red packet total value and described preset single red packet minimum dollar amount Quotient;It determines the red packet total value and the quotient for presetting single red packet maximum dollar amount is the lower limit value of the red packet number range, And the red packet total value and the quotient for presetting single red packet minimum dollar amount are the upper limit value of the red packet number range.This In it is worth noting that, the quotient got may not be integer, when the quotient got is not integer, then takes and most connects with this quotient Specified integer that is close and being less than the quotient, to specify integer value as the upper limit value and lower limit value of red packet number range this.
In the present invention, optionally, since red packet number range is related with red packet total value, red packet total value is bigger, so that Upper limit value to red packet number range is bigger, that is, the red packet number for allowing to be arranged is also more, and if the target red packet of setting When number is more, may cause generation red packet may get it is endless, accordingly, it is considered to arrive this phenomenon, be further provided with one it is pre- If red packet number upper limit value, it is based on this, determination unit 22 is executing according to the red packet total value and presetting single red packet maximum The amount of money and preset single red packet minimum dollar amount, when determining red packet number range, be specifically used for: obtain respectively the red packet total value with The quotient for presetting single red packet maximum dollar amount, and, the red packet total value and the quotient for presetting single red packet minimum dollar amount, Then, the size of the red packet total value and the quotient for presetting single red packet minimum dollar amount and default red packet amount threshold, Obtain comparison result.Secondly, by the comparison result, the red packet total value and the quotient for presetting single red packet minimum dollar amount With in both default red packet amount thresholds, lesser one is determined as the upper limit value;To determine the red packet total value and institute State the lower limit value for presetting the quotient of single red packet maximum dollar amount as the red packet number range.
In the present invention, optionally, the control strip of the present invention in the present invention includes sliding block, and processing unit 24 is executing reception User can specifically execute when determining target red packet number for the operation information of the control strip: obtain the position of the sliding block Confidence breath;To determine the target red packet number according to the location information of the sliding block.
In the present invention, optionally, processing unit 24 specifically can be also used for the sliding trace according to sliding block, Dynamically Announce Candidate red packet number.
In the present invention, optionally, the execution of acquiring unit 21 specifically can be used for leading to when obtaining the red packet total value wait provide Cross the numerical value that acquisition user inputs in designated position;Alternatively, it is total specifically the red packet for wanting to input can be inputted by voice mode Volume, the i.e. voice of acquisition user input;Then, to the voice carry out semantics recognition, and the numerical value that will identify that be determined as it is red Packet total value.
Above-mentioned quantity is able to carry out by each unit in this present embodiment and determines method, the portion that the present embodiment is not described in detail Point, it can refer to the related description that method is determined to quantity.
The technical solution of the embodiment of the present invention has the advantages that
Technical solution provided by the invention by obtaining red packet total value, and according to red packet total value and presets single red packet Maximum dollar amount and single red packet minimum dollar amount is preset, calculates red packet number range, it is then, raw according to the red packet number range At control strip, so that user is by operating the control strip, so that it may input target red packet number.In this scheme, pass through control Item can intuitively show red packet number range, and since the control strip is generated according to red packet number range, according to Family operates the operation information of the control strip, determines that target red packet number one is scheduled within the scope of red packet number.Therefore, compared to existing Technology, technical solution provided by the invention simplify the operating procedure that setting sends red packet number, improve insurance red packet and send Low efficiency.
Referring to FIG. 5, its embodiment of the invention provides a kind of composition block diagrams of computer equipment, as shown in figure 5, the meter Machine equipment is calculated, including memory 31, processor 32 and is stored in the memory 31 and can be run on the processor 32 Computer program, when the processor 32 executes the computer program realize any of the above-described quantity determine method.
The embodiment of the invention provides a kind of readable storage medium storing program for executing, including computer-readable instruction, when computer is read simultaneously When executing the computer-readable instruction, so that computer executes any of the above-described quantity and determines method.
The technical solution of the embodiment of the present invention has the advantages that
Technical solution provided by the invention by obtaining red packet total value, and according to red packet total value and presets single red packet Maximum dollar amount and single red packet minimum dollar amount is preset, calculates red packet number range, it is then, raw according to the red packet number range At control strip, so that user is by operating the control strip, so that it may input target red packet number.In this scheme, pass through control Item can intuitively show red packet number range, and since the control strip is generated according to red packet number range, according to Family operates the operation information of the control strip, determines that target red packet number one is scheduled within the scope of red packet number.Therefore, compared to existing Technology, technical solution provided by the invention simplify the operating procedure that setting sends red packet number, improve insurance red packet and send Low efficiency.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided by the present invention, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or group Part can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown Or the mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, device or unit it is indirect Coupling or communication connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer It is each that device (can be personal computer, server or network equipment etc.) or processor (Processor) execute the present invention The part steps of embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read- Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. it is various It can store the medium of program code.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the present invention.

Claims (10)

1. a kind of quantity determines method, which is characterized in that the quantity determines that method includes:
Obtain red packet total value to be provided;
It according to the red packet total value and presets single red packet maximum dollar amount and presets single red packet minimum dollar amount, determine red packet Number range;
According to the red packet number range, the control strip of red packet number is generated;
The operation information that user is directed to the control strip is received, determines target red packet number.
2. according to the red packet total value and presetting single red packet the method according to claim 1, wherein described Maximum dollar amount and single red packet minimum dollar amount is preset, determines red packet number range, comprising:
The red packet total value and the quotient for presetting single red packet maximum dollar amount are obtained respectively, and, the red packet total value and institute State the quotient for presetting single red packet minimum dollar amount;
It determines the red packet total value and the quotient for presetting single red packet maximum dollar amount is the lower limit value of the red packet number range, And the red packet total value and the quotient for presetting single red packet minimum dollar amount are the upper limit value of the red packet number range.
3. according to the red packet total value and presetting single red packet the method according to claim 1, wherein described Maximum dollar amount and single red packet minimum dollar amount is preset, determines red packet number range, comprising:
The red packet total value and the quotient for presetting single red packet maximum dollar amount are obtained respectively, and, the red packet total value and institute State the quotient for presetting single red packet minimum dollar amount;
The size for comparing the red packet total value Yu the quotient for presetting single red packet minimum dollar amount and default red packet amount threshold, obtains To comparison result;
By in the comparison result, the red packet total value and the quotient for presetting single red packet minimum dollar amount and default red packet quantity In threshold value the two, lesser one is determined as the upper limit value;
It determines the red packet total value and the quotient for presetting single red packet maximum dollar amount is the lower limit value of the red packet number range.
4. the reception user is directed to the method according to claim 1, wherein the control strip includes sliding block The operation information of the control strip determines target red packet number, comprising:
Obtain the location information of the sliding block;
According to the location information of the sliding block, the target red packet number is determined.
5. according to the method described in claim 4, it is characterized in that, the location information for obtaining the sliding block, comprising:
Obtain the sliding trace of the sliding block;
The sliding trace endpoint information is determined as to the location information of the sliding block.
6. method as claimed in any of claims 1 to 5, which is characterized in that described to obtain red packet to be provided total Volume, comprising:
The numerical value that acquisition user inputs in designated position, and the numerical value is determined as the red packet total value;
Alternatively,
Acquire the voice messaging of user;
Semantics recognition is carried out to the voice messaging, and the numerical value that will identify that is determined as the red packet total value.
7. a kind of quantity determining device, which is characterized in that the quantity determining device includes:
Acquiring unit, for obtaining red packet total value to be provided;
Determination unit, for according to the red packet total value and presetting single red packet maximum dollar amount and presetting the minimum gold of single red packet Volume determines red packet number range;
Generation unit, for generating the control strip of red packet number according to the red packet number range;
Processing unit, the operation information for being directed to the control strip for receiving user, determines target red packet number.
8. device according to claim 7, which is characterized in that the determination unit is specifically used for:
The red packet total value and the quotient for presetting single red packet maximum dollar amount are obtained respectively, and, the red packet total value and institute State the quotient for presetting single red packet minimum dollar amount;
It determines the red packet total value and the quotient for presetting single red packet maximum dollar amount is the lower limit value of the red packet number range, And the red packet total value and the quotient for presetting single red packet minimum dollar amount are the upper limit value of the red packet number range.
9. a kind of computer equipment, including memory, processor and storage in the memory can be on the processor The computer program of operation, which is characterized in that the processor realizes such as claim 1 to 6 when executing the computer program Described in any item methods.
10. a kind of readable storage medium storing program for executing, which is characterized in that including computer-readable instruction, when computer is read and is executed described When computer-readable instruction, so that computer executes such as method as claimed in any one of claims 1 to 6.
CN201811115685.9A 2018-09-25 2018-09-25 Quantity determines method, apparatus, computer equipment and readable storage medium storing program for executing Pending CN109559103A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811115685.9A CN109559103A (en) 2018-09-25 2018-09-25 Quantity determines method, apparatus, computer equipment and readable storage medium storing program for executing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811115685.9A CN109559103A (en) 2018-09-25 2018-09-25 Quantity determines method, apparatus, computer equipment and readable storage medium storing program for executing

Publications (1)

Publication Number Publication Date
CN109559103A true CN109559103A (en) 2019-04-02

Family

ID=65864670

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811115685.9A Pending CN109559103A (en) 2018-09-25 2018-09-25 Quantity determines method, apparatus, computer equipment and readable storage medium storing program for executing

Country Status (1)

Country Link
CN (1) CN109559103A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103578183A (en) * 2012-08-03 2014-02-12 华为技术有限公司 Method, device and electronic device for displaying amount of user account
CN107633389A (en) * 2016-07-19 2018-01-26 北大方正集团有限公司 A kind of distribution method and device of electronics red packet
CN107784492A (en) * 2017-11-20 2018-03-09 珠海市魅族科技有限公司 Information processing method, device, computer installation and computer-readable recording medium
CN107862609A (en) * 2017-06-27 2018-03-30 陆金所(上海)科技服务有限公司 Amount of money matching method, display device and computer-readable recording medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103578183A (en) * 2012-08-03 2014-02-12 华为技术有限公司 Method, device and electronic device for displaying amount of user account
CN107633389A (en) * 2016-07-19 2018-01-26 北大方正集团有限公司 A kind of distribution method and device of electronics red packet
CN107862609A (en) * 2017-06-27 2018-03-30 陆金所(上海)科技服务有限公司 Amount of money matching method, display device and computer-readable recording medium
CN107784492A (en) * 2017-11-20 2018-03-09 珠海市魅族科技有限公司 Information processing method, device, computer installation and computer-readable recording medium

Similar Documents

Publication Publication Date Title
CN107919130B (en) Cloud-based voice processing method and device
CN102968338B (en) Method, device and the electronic equipment classified for the application program of electronic equipment
CN104765750B (en) Input language switching method and device in input method application
CN105094708B (en) The Forecasting Methodology and device of a kind of disk size
CN110060087B (en) Abnormal data detection method, device and server
CN106327188B (en) Method and device for binding bank card in payment application
CN104660555B (en) A kind of confirmation processing method, relevant apparatus and system
CN110010125A (en) A kind of control method of intelligent robot, device, terminal device and medium
CN105528403B (en) Target data identification method and device
CN107402804B (en) background process control method and device, storage medium and electronic equipment
CN109388319A (en) A kind of screenshot method, screenshot device, storage medium and terminal device
CN107634901B (en) Session expression pushing method and device and terminal equipment
CN108255673A (en) Application program occupies detection method, device and the storage medium of resource
CN112037775B (en) Voice recognition method, device, equipment and storage medium
CN110164417A (en) A kind of languages vector obtains, languages know method for distinguishing and relevant apparatus
CN111787154A (en) Information processing method and electronic equipment
CN109614622A (en) Valid data extracting method, device, storage medium and terminal
CN112232804B (en) Code scanning payment method and device and electronic equipment
CN108205525B (en) Method and device for determining user intention based on user voice information
CN110970030A (en) Voice recognition conversion method and system
CN109559103A (en) Quantity determines method, apparatus, computer equipment and readable storage medium storing program for executing
CN109903054B (en) Operation confirmation method and device, electronic equipment and storage medium
CN109447489B (en) Selection method and device of crowd sensing user, electronic equipment and storage medium
CN104142885B (en) A kind of method and apparatus for carrying out abnormality test to tested program
CN103812986A (en) Data processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination