A kind of method, system and the terminal of the change of paying service system data dynamic
Technical field
The present invention relates to field of communication technology more particularly to a kind of method of paying service system data dynamic change, it is
System and terminal.
Background technique
In service system in the media services industry such as internet video, live streaming, since paying service system compares general department
System can provide better service and the favor by more users, user pay in real life on network or under line and buy
During good service (such as so-and-so member, but be not limited to membership service) in paying service system, what user can enjoy is paid
The expense viability has determined that common formula is as follows by the fixed algorithm of paying service system in purchase:
Paid service phase deadline (D)=purchase time of day (T)+payment purchase duration (B);
Duration (B)=payment amount (P) of purchase/paid service of wherein paying is monovalent (E), or as set by service provider
Fixed set meal duration.
Inventor has found in the course of the study, in the fixed week from purchase time of day T to paid service phase deadline D
In phase, user enjoy paid service state and the period it is immutable, it is no change, adjustment function, user experience is poor, works as user
After buying good service, when being influenced by certain factors such as time, environmental condition, such as: personal network or equipment fault, going on business adds
Class, examination appendix stage etc. buy good service though thereby resulting in user and paying, can not enjoy good service to the full, lead
Poor user charges service experience is caused, user is seriously affected and continues to buy or buy the decision of longer time paid service.
Secondly, the good service spininess behavior that future time occurs of user charges purchase, but to it is unknown it is uncertain because
The interference of element causes user to worry in first payment purchase larger, influences the decision of user charges, provide a user modifiable
Paid service experience it is particularly important.
Therefore, it is badly in need of a kind of technical solution of paying service system data dynamic change, is independently changed for response user
Request improves the efficiency of the data dynamic change of paying service system and the user experience of paying service system.
Aiming at the problem that can not dynamically change paying service system data in the prior art, effective solution is not yet proposed at present
Certainly scheme.
Summary of the invention
The main purpose of the present invention is to provide method, system and the ends of a kind of paying service system data dynamic change
End solves the data of paying service system to overcome the data defect that dynamic does not change of existing paying service system
The technical issues of dynamic changes.
One aspect of the present invention provides a kind of method of paying service system data dynamic change, comprising:
The data dynamic change request of paying service system is received, the data dynamic change request includes that pause data pass
Defeated request continues to transmit request of data;
It obtains the data dynamic change and requests corresponding authority information, judge what the data dynamic change request carried
Request data is within the scope of its corresponding authority information, the dynamic change request of data described in response;Or judge the data dynamic
The request data that change request carries exceeds its corresponding authority information range, the dynamic change request of data described in rollback.
Wherein, the authority information includes but is not limited to:
The number or can extend that the service duration of paying service system, the deadline of service duration, data dynamic change
One of service duration is a variety of.
It is further, described to obtain the corresponding authority information of the data dynamic change request, comprising:
Identify the identification information that the data dynamic change request carries;
Search the authority information that same identification information is carried in the database of paying service system;Based on the authority information
It executes the data dynamic change and requests corresponding operation.
Further, the request data that the judgement data dynamic change request carries is in its corresponding authority information
In range, the dynamic change request of data described in response, comprising:
Identify the data dynamic change request for pause data transfer request;
Extract the date of shipping and pause number of the pause data transfer request that the pause data transfer request carries
According to the number of transmission request;
Judge residue degree of the number in the authority information of the pause data transfer request be at least it is primary and
The date of shipping of the pause data transfer request is before the deadline of the service duration of authority information, paying service system
Service state interrupt, pause data transmission;Or
The data dynamic change request is identified to continue to transmit request of data;
The date of shipping for continuing to transmit request of data for continuing to transmit request of data carrying is extracted, continues to transmit
Data, and recalculated according to the date of shipping for continuing to transmit request of data and described continue to transmit the corresponding power of request of data
The number and service duration can be extended that the data dynamic of limit information changes.
Further, it is described according to it is described continue transmit request of data date of shipping recalculate it is described continue transmit number
According to the number for requesting the data dynamic of corresponding authority information to change and service duration can be extended, comprising:
D=tn+ α * F;(0 α≤1 <);
Wherein, D is the deadline of the service duration of paying service system, and tn is that last time pause data bring into operation
Date;α is that the number based on data dynamic change is defined, and the number of data dynamic change is more, and α value is smaller;F is to pay
Take the remaining service duration of service system.
Further, the request data that the judgement data dynamic change request carries is beyond its corresponding permission letter
Cease range, the dynamic change request of data described in rollback, comprising:
Identify the data dynamic change request for pause data transfer request;
Extract the number for the pause data transfer request that the pause data transfer request carries;Judge the pause data
It transmits residue degree of the number of request in the authority information to be less than once, suspends data transfer request described in rollback;Or
Extract the date of shipping for the pause data transfer request that the pause data transfer request carries;Described in judgement
The deadline of service duration and the pause date of shipping of data transfer request are identical or before it, suspend data described in rollback
Transmission request.
The present invention also provides a kind of methods of paying service system data dynamic change, comprising:
The data dynamic change request of paying service system is sent, the data dynamic change request includes that pause data pass
Defeated request continues to transmit request of data;
Receive the response instruction or rollback instruction based on authority information that server is sent.
Further, the response instruction or rollback instruction based on authority information for receiving server and sending, comprising:
Receiving server judges the request data of the data dynamic change request carrying in its corresponding authority information model
Response instruction in enclosing;Or
Receiving server judges the request data of the data dynamic change request carrying beyond its corresponding authority information
The rollback of range instructs.
Further, after the response instruction or rollback instruction based on authority information for receiving server transmission, also
Include:
Receive the data dynamic change condition prompting information that server is sent.
The present invention also provides a kind of systems of paying service system data dynamic change characterized by comprising
First receiving module, for receiving the data dynamic change request of paying service system, the data dynamic is changed
Request includes pause data transfer request or continues to transmit request of data;
Responder module requests corresponding authority information for obtaining the data dynamic change, judges the data dynamic
The request data that change request carries is within the scope of its corresponding authority information, the dynamic change request of data described in response;Or sentence
The request data that the data dynamic change request carries of breaking exceeds its corresponding authority information range, the dynamic of data described in rollback
Change request.
Wherein, the authority information includes but is not limited to:
The number or can extend that the service duration of paying service system, the deadline of service duration, data dynamic change
One of service duration is a variety of.
Further, the responder module, comprising:
First recognition unit, the identification information that the data dynamic change request carries for identification;
Searching unit carries the authority information of same identification information in the database for searching paying service system;Base
The data dynamic change, which is executed, in the authority information requests corresponding operation.
Further, the responder module further include:
Second recognition unit, the data dynamic change request is pause data transfer request for identification;
First response unit, for extracting the pause data transfer request for suspending data transfer request carrying
The number of date of shipping and pause data transfer request;Judge the number of the pause data transfer request in the authority information
In residue degree be at least service duration of the date of shipping in authority information of the primary and described pause data transfer request
Before deadline, the service state of paying service system is interrupted, pause data transmission;Or
Third recognition unit, the data dynamic change request is to continue to transmit request of data for identification;
Second response unit described continues to transmit that request of data carries described continues to transmit request of data for extracting
Date of shipping, continues to transmit data, and is recalculated according to the date of shipping for continuing to transmit request of data described after resuming
Transmission of data requests the number of the data dynamic change of corresponding authority information and can extend service duration.
Wherein, second response unit, specifically includes, comprising:
D=tn+ α * F;(0 α≤1 <);
Wherein, D is the deadline of the service duration of paying service system, and tn is that last time pause data bring into operation
Date;α is that the number based on data dynamic change is defined, and the number of data dynamic change is more, and α value is smaller;F is to pay
Take the remaining service duration of service system.Further, the responder module, further includes:
Second recognition unit, the data dynamic change request is pause data transfer request for identification;
First rollback unit, for extracting time for the pause data transfer request that the pause data transfer request carries
Number;It is primary to judge that residue degree of the number of the pause data transfer request in the authority information is less than, described in rollback
Suspend data transfer request;Or
Second rollback unit, for extracting the pause data transfer request for suspending data transfer request carrying
Date of shipping;Judge that deadline of the service duration is identical as the pause date of shipping of data transfer request or its it
Before, suspend data transfer request described in rollback.
The present invention also provides a kind of terminals of paying service system data dynamic change, including the system.
The present invention also provides a kind of systems of paying service system data dynamic change, comprising:
Sending module, for sending the data dynamic change request of paying service system, the data dynamic change request
Including pause data transfer request or continue to transmit request of data;
Receiving module, for receiving the response instruction or rollback instruction based on authority information of server transmission.
Further, the receiving module, comprising:
First receiving unit judges the request data of the data dynamic change request carrying at it for receiving server
Response instruction within the scope of corresponding authority information;Or
Second receiving unit exceeds for receiving the request data that server judges that the data dynamic change request carries
The rollback of its corresponding authority information range instructs;Or
Third receiving unit, for receiving the data dynamic change condition prompting information of server transmission.
The present invention also provides a kind of terminals of paying service system data dynamic change, including the system.
The present invention identifies that the data dynamic change is asked by receiving the data dynamic change request of paying service system
It asks including pause data transfer request or continues to transmit request of data;And then it obtains the data dynamic change and requests corresponding power
Limit information judges the request data of the data dynamic change request carrying in its corresponding authority information model based on authority information
In enclosing, the dynamic change request of data described in response;Or the request data for judging that the data dynamic change request carries exceeds it
Corresponding authority information range, the dynamic change request of data described in rollback, it can be achieved that the data of paying service system according to request
Data dynamic is automated toed respond to change, it is convenient and efficient, solve the data skill that dynamic does not change of existing paying service system
Art problem improves the efficiency of the data dynamic change of paying service system and the user experience of paying service system.
Detailed description of the invention
Fig. 1 is a kind of process of the embodiment one of the method for paying service system data dynamic change according to the present invention
Figure;
Fig. 2 is a kind of process of the embodiment two of the method for paying service system data dynamic change according to the present invention
Figure;
Fig. 3 is a kind of structural frames of the embodiment three of the system of paying service system data dynamic change according to the present invention
Figure;
Fig. 4 is a kind of structural frames of the embodiment five of the system of paying service system data dynamic change according to the present invention
Figure.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work
It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, "
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way
Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or
Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover
Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to
Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product
Or other step or units that equipment is intrinsic.
Embodiment one
Referring to Fig.1, Fig. 1 shows an a kind of reality of the method for paying service system data dynamic change provided by the invention
Apply the flow chart of example.
In step s 110, the data dynamic change request of paying service system, the data dynamic change request are received
Including pause data transfer request or continue to transmit request of data.
In one embodiment, for user when consumer products end selects pause membership service, server-side receives payment clothes
The data dynamic change request of business system is pause data transfer request;When user restores membership service again, server-side is received
The data dynamic change request of paying service system is to continue to transmit request of data.
In the step s 120, it obtains the data dynamic change and requests corresponding authority information, judge the data dynamic
The request data that change request carries is within the scope of its corresponding authority information, the dynamic change request of data described in response;Or sentence
The request data that the data dynamic change request carries of breaking exceeds its corresponding authority information range, the dynamic of data described in rollback
Change request.
It is described to obtain the corresponding authority information of the data dynamic change request, comprising:
Identify the identification information that the data dynamic change request carries;It searches and is carried in the database of paying service system
The authority information of same identification information;The data dynamic change, which is executed, based on the authority information requests corresponding operation.
Wherein, the identification information includes the unique identification information for identifying the data dynamic change request, including
But be not limited to user name, registration ID, identity identification information etc..
Wherein, the authority information includes but is not limited to: the deadline of the service duration of paying service system, service duration
The number or one of service duration or a variety of can be extended that phase, data dynamic change.
The example of concrete application, user buy video membership service when, server in the authority information of the member can
It changes equity and time progress assignment definition can be extended, service times (C) at most is changed to user respectively, longest can extend clothes
Business time limit (E) indicates.Wherein, user buy different member's set meals change number and can the extended period it is different, the monthly (C1 of purchase
Secondary change, E1 days extended periods), in purchase season (C2 change, E2 days extended periods), purchase year, (C3 change, E3 days prolonged
Long expiration) etc., wherein C, E can be defined according to demand is handled with assignment, and the authority information after assignment is stored in payment
In the database of service system.When user buys good service, the authority information of the server-side of paying service system to user
Identification information when being defined according to the assignment information of storage, and the authority information and user being bought good service is bound
Afterwards, it is stored in the database of paying service system.When obtaining the data dynamic change corresponding authority information of request, identification
The identification information that the data dynamic change request carries;It searches in the database of paying service system and carries same identification information
Authority information, as the user buy video membership service corresponding to authority information, server be based on the authority information
Corresponding operation is carried out to the data dynamic change request that user sends.
The request data that the judgement data dynamic change request carries is answered within the scope of its corresponding authority information
Answer the data dynamic change request, comprising:
Identify the data dynamic change request for pause data transfer request;
Extract the date of shipping and pause number of the pause data transfer request that the pause data transfer request carries
According to the number of transmission request;
Judge residue degree of the number in the authority information of the pause data transfer request be at least it is primary and
The date of shipping of the pause data transfer request is before the deadline of the service duration of authority information, paying service system
Service state interrupt, pause data transmission;Or
The data dynamic change request is identified to continue to transmit request of data;
The date of shipping for continuing to transmit request of data for continuing to transmit request of data carrying is extracted, continues to transmit
Data, and recalculated according to the date of shipping for continuing to transmit request of data and described continue to transmit the corresponding power of request of data
The number and service duration can be extended that the data dynamic of limit information changes.It is described according to it is described continue transmit request of data transmission
Date recalculates the number of the data dynamic change for continuing the corresponding authority information of transmission request of data and can extend clothes
Business duration, comprising:
D=tn+ α * F;(0 α≤1 <);
Wherein, D is the deadline of the service duration of paying service system, and tn is that last time pause data bring into operation
Date;α is that the number based on data dynamic change is defined, and the number of data dynamic change is more, and α value is smaller;F is to pay
Take the remaining service duration of service system.
When suspending one time, T is the Start Date of the service duration of paying service system, and B is the service of paying service system
Duration, t1 are the time for starting pause, and t2 is the time to bring into operation after suspending, and t2-t1 is duration out of service, and α is based on number
It is defined according to the number of dynamic change, the number of data dynamic change is more, and α value is smaller.Then, F=B- (t1-T), tn=t2
Then D=t2+ α (B- (t1-T)) is also referred to as D=T+ (t1-T)+(t2-t1)+α (B- (t1-T));Due to the embodiment of the present invention
Middle α value be (0-1], therefore, (t1-T)+α (B- (t1-T)≤B;Pause more than one time the case where can and so on, herein no longer
It repeats, in the following, being illustrated with several application examples to technical solution of the present invention:
For example, the service duration B that user a has purchased a paying service system is 24 hours membership services, when purchase
Between T be 0 o'clock sharp of on January 1st, 2016, not in the case where extension handle, the deadline D=T+B of service duration is in January, 2016
0 o'clock sharp on the 2nd.
User a watches video, when suspending one time, selection pause membership service when t1=1 o'clock sharp, in t2=2 point
Terminate to suspend when whole, start to continue to watch video, the number of pause be it is primary, then duration t2-t1 out of service is small for 1
When, α is defined based on the number of data dynamic change, and in the present embodiment, preferred definition α value is 1, then D=t2+ α (B-
Or D=T+ (t1-T)+(t2-t1)+α (B- (t1-T))=1 o'clock sharp of on January 2nd, 2016 (t1-T)).
, can also be as needed since pause duration needs to spend cost, the α in above-described embodiment is defined as 0.9, then is paid
Take the deadline D=t2+ α (B- (t1-T)) or D=T+ (t1-T)+(t2-t1)+α (B- (t1- of the service duration of service system
T))=2,016 42 minutes 22 points of 1, on January.Shorten purchase duration.The value that α is modified according to suspending count reaches data dynamic and becomes
Purpose more.
For example, the service duration B that user a has purchased a paying service system is 24 hours membership services, when purchase
Between T be 0 o'clock sharp of on January 1st, 2016, not in the case where extension handle, the deadline D=T+B of service duration is in January, 2016
0 o'clock sharp on the 2nd.
User a watches video, when suspending twice, selection pause membership service when t1=1 o'clock sharp, in t2=2 point
Terminate to suspend when whole, starts to continue to watch video, selection pause membership service when t3=3 o'clock sharp, in t4=4 point
Terminate to suspend when whole, starts to continue to watch video, the number of pause is that twice, then duration t2-t1 out of service is 1 small
When, t3-t2 is 1 hour, and α is defined based on the number of data dynamic change, and in the present embodiment, preferred definition α 1 is 1, excellent
Selected justice α 2 is 0.9, then D1=t2+ α 1 (B- (t1-T)) or D1=T+ (t1-T)+(t2-t1)+α 1 (B- (t1-T))=2016
1 o'clock sharp of on January 2, when no pause is detained.
D2=t4+ α 2 (B- (t1-T)-(t3-t2)) or D2=T+ (t1-T)+(t2-t1)+(t3-t2)+(t4-t3)+α 2
48 minutes 23 points of (B- (t1-T)-(t3-t2))=2016 on January 1,.α 1 and α 2 can also be subjected to freedom according to cost needs
Definition, no longer illustrates herein.
In one specific embodiment, for user when product end selects pause membership service, server-side obtains change movement, returns
Pass the date of shipping of the pause data transfer request, i.e. current date t1, operational order (status switch parameter) to server-side;
Server-side is according to the user charges due date of service, variable in the authority information of all supplemental characteristics and server-side of passback
More service times, can run extended services multilevel iudge, when data dynamic change number (C) >=1& longest can extend service
Long (E) >=1 when, eligible, service state is interrupted, and suspends paid service, then the number of the pause data transfer request exists
Residue degree in the authority information reduces primary;When user restores service again, it is dynamic that front end obtains user's change again
Make, returns the date of shipping for continuing to transmit request of data, i.e. current date t2, operational order (status switch parameter) to clothes
Business end;Server-side reopens paid service according to all supplemental characteristics of passback, while recalculating user and changing clothes
Business state number and the time can be extended,
D=tn+ α * F;(0 α≤1 <);
Wherein, D is the deadline of the service duration of paying service system, and tn is that last time pause data bring into operation
Date;α is that the number based on data dynamic change is defined, and the number of data dynamic change is more, and α value is smaller;F is to pay
Take the remaining service duration of service system.
Client product changes service state, shows updated due date of service and modifiable number and can extend clothes
It is engaged in the time.
The request data that the judgement data dynamic change request carries exceeds its corresponding authority information range, returns
Roll the data dynamic change request, comprising:
Identify the data dynamic change request for pause data transfer request;
Extract the number for the pause data transfer request that the pause data transfer request carries;Judge the pause data
It transmits residue degree of the number of request in the authority information to be less than once, suspends data transfer request described in rollback, prevent
It only judges by accident, reduces server stress;Or
Extract the date of shipping for the pause data transfer request that the pause data transfer request carries;Described in judgement
The deadline of service duration and the pause date of shipping of data transfer request are identical or before it, suspend data described in rollback
Transmission request, prevents from judging by accident, reduces server stress.
The embodiment of the present invention one identifies that the data are dynamic by receiving the data dynamic change request of paying service system
State change request includes pause data transfer request or continues to transmit request of data;And then obtain the data dynamic change request
Corresponding authority information judges the request data of the data dynamic change request carrying in its corresponding power by authority information
Within the scope of limit information, the dynamic change request of data described in response;Or judge the number of request that the data dynamic change request carries
According to its corresponding authority information range is exceeded, the data, it can be achieved that paying service system are requested in the dynamic change of data described in rollback
Data dynamic is automated toed respond to according to request to change, it is convenient and efficient, user charges purchase is occurred to mention in certain following service
For the ability for changing, adjusting;After pause, recovery paid service, user dynamically extends variation in the original paid service period;
User changes the frequency of service state and can extend design of the paid service time limit based on initial payment situation dynamic differential
The technical issues of solving the data of existing paying service system dynamic does not change, the data of paying service system are improved
The efficiency of dynamic change and the user experience of paying service system.
Embodiment two
Referring to Fig. 2, Fig. 2 shows a kind of the another of the method for paying service system data dynamic change provided by the invention
The flow chart of embodiment.
The present invention also provides a kind of methods of paying service system data dynamic change, comprising:
In step S210, the data dynamic change request of paying service system, the data dynamic change request are sent
Including pause data transfer request or continue to transmit request of data.
One application example, when user consumer products end select pause membership service when, send the number of paying service system
According to dynamic change request to server, the data dynamic change request includes pause data transfer request or continues to transmit data
Request, the data dynamic change request carry the date of shipping of data dynamic change request, i.e. current date t1, operational order
(status switch parameter) etc..When user restores service again, selects to restore membership service at consumer products end, send payment clothes
The data dynamic change request of business system to server, the data dynamic change request include pause data transfer request or after
Transmission of data request is resumed, front end obtains user's change movement again, and the data dynamic change request carries data dynamic and changes
The date of shipping of request, i.e. current date t2, operational order (status switch parameter) etc..
In step S220, the response instruction or rollback instruction based on authority information that server is sent are received.
Judge the request data of the data dynamic change request carrying in its corresponding permission specifically, receiving server
Response instruction in range of information;Or
Receiving server judges the request data of the data dynamic change request carrying beyond its corresponding authority information
The rollback of range instructs.
Further, after the response instruction or rollback instruction based on authority information for receiving server transmission, also
Include:
Receive server send data dynamic change condition prompting information, prompt user change successfully or can not change and
Reason.
The embodiment of the present invention two is requested by sending the data dynamic change of paying service system, and the data dynamic changes
Request includes pause data transfer request or continues to transmit request of data, and receives the answering based on authority information of server transmission
Answer instruction or rollback instruction.The data that paying service system can be achieved automated to respond to data dynamic according to request and change, convenient fast
Victory improves paying service system the technical issues of solving the data of existing paying service system dynamic does not change
The efficiency of data dynamic change and the user experience of paying service system, continue to pay dues or buy long-term paid service to user is promoted
Conversion has larger potentiality.The feature of paid service duration, certain journey are enjoyed in the modifiable frequency of differentiation designing user and extension
Degree attracts user charges.
Embodiment three
A kind of structure of the system of paying service system data dynamic change provided by the invention is shown referring to Fig. 3, Fig. 3
Block diagram, comprising:
First receiving module 31, for receiving the data dynamic change request of paying service system, the data dynamic becomes
More request includes pause data transfer request or continues to transmit request of data, and the function and processing mode of specific implementation are referring to step
S110。
In one embodiment, for user when consumer products end selects pause membership service, server-side receives payment clothes
The data dynamic change request of business system is pause data transfer request;When user restores membership service again, server-side is received
The data dynamic change request of paying service system is to continue to transmit request of data.
Responder module 32 requests corresponding authority information for obtaining the data dynamic change, judges that the data are dynamic
The request data that state change request carries is within the scope of its corresponding authority information, the dynamic change request of data described in response;Or
The request data for judging that the data dynamic change request carries exceeds its corresponding authority information range, and data described in rollback are dynamic
State change request.The function and processing mode of specific implementation are referring to step S120.
Wherein, the authority information includes but is not limited to: the deadline of the service duration of paying service system, service duration
The number or one of service duration or a variety of can be extended that phase, data dynamic change.Wherein, the identification information includes being used for
Identify the unique identification information of the data dynamic change request, including but not limited to user name, registration ID, identity identification information
Deng.
The example of concrete application, user buy video membership service when, server in the authority information of the member can
It changes equity and time progress assignment definition can be extended, service times (C) at most is changed to user respectively, longest can extend clothes
Business time limit (E) indicates.Wherein, user buy different member's set meals change number and can the extended period it is different, the monthly (C1 of purchase
Secondary change, E1 days extended periods), in purchase season (C2 change, E2 days extended periods), purchase year, (C3 change, E3 days prolonged
Long expiration) etc., wherein C, E can be defined according to demand is handled with assignment, and the authority information after assignment is stored in payment
In the database of service system.When user buys good service, the authority information of the server-side of paying service system to user
Identification information when being defined according to the assignment information of storage, and the authority information and user being bought good service is bound
Afterwards, it is stored in the database of paying service system.When obtaining the data dynamic change corresponding authority information of request, identification
The identification information that the data dynamic change request carries;It searches in the database of paying service system and carries same identification information
Authority information, as the user buy video membership service corresponding to authority information, server be based on the authority information
Corresponding operation is carried out to the data dynamic change request that user sends.
The responder module 32, comprising: the first recognition unit 321, the data dynamic change request carries for identification
Identification information;Searching unit 322 carries the permission letter of same identification information in the database for searching paying service system
Breath;The data dynamic change, which is executed, based on the authority information requests corresponding operation.
The responder module 32 further include: the second recognition unit 323, the data dynamic change request is temporary for identification
Stop data transfer request;First response unit 324, the pause data carried for extracting the pause data transfer request
Transmit the date of shipping of request and the number of pause data transfer request;Judge the number of the pause data transfer request in institute
It states the residue degree in authority information and is at least the date of shipping of the primary and described pause data transfer request in authority information
Before the deadline of service duration, the service state of paying service system is interrupted, pause data transmission;Or third recognition unit
325, the data dynamic change request is to continue to transmit request of data for identification;Second response unit 326, for extracting
It states and continues to transmit the date of shipping for continuing to transmit request of data that request of data carries, continue to transmit data, and according to institute
It states the date of shipping for continuing to transmit request of data and recalculates the data for continuing to transmit the corresponding authority information of request of data
The number and service duration can be extended that dynamic changes.
Wherein, second response unit, specifically includes, comprising:
D=tn+ α * F;(0 α≤1 <);
Wherein, D is the deadline of the service duration of paying service system, and tn is that last time pause data bring into operation
Date;α is that the number based on data dynamic change is defined, and the number of data dynamic change is more, and α value is smaller;F is to pay
Take the remaining service duration of service system.
When suspending one time, T is the Start Date of the service duration of paying service system, and B is the service of paying service system
Duration, t1 are the time for starting pause, and t2 is the time to bring into operation after suspending, and t2-t1 is duration out of service, and α is based on number
It is defined according to the number of dynamic change, the number of data dynamic change is more, and α value is smaller.Then, F=B- (t1-T), tn=t2
Then D=t2+ α (B- (t1-T)) is also referred to as D=T+ (t1-T)+(t2-t1)+α (B- (t1-T));Due to the embodiment of the present invention
Middle α value be (0-1], therefore, (t1-T)+α (B- (t1-T)≤B;Pause more than one time the case where can and so on, herein no longer
It repeats, in the following, being illustrated with several application examples to technical solution of the present invention:
For example, the service duration B that user a has purchased a paying service system is 24 hours membership services, when purchase
Between T be 0 o'clock sharp of on January 1st, 2016, not in the case where extension handle, the deadline D=T+B of service duration is in January, 2016
0 o'clock sharp on the 2nd.
User a watches video, when suspending one time, selection pause membership service when t1=1 o'clock sharp, in t2=2 point
Terminate to suspend when whole, start to continue to watch video, the number of pause be it is primary, then duration t2-t1 out of service is small for 1
When, α is defined based on the number of data dynamic change, and in the present embodiment, preferred definition α value is 1, then D=t2+ α (B-
Or D=T+ (t1-T)+(t2-t1)+α (B- (t1-T))=1 o'clock sharp of on January 2nd, 2016 (t1-T)).
, can also be as needed since pause duration needs to spend cost, the α in above-described embodiment is defined as 0.9, then is paid
Take the deadline D=t2+ α (B- (t1-T)) or D=T+ (t1-T)+(t2-t1)+α (B- (t1- of the service duration of service system
T))=2,016 42 minutes 22 points of 1, on January.Shorten purchase duration.The value that α is modified according to suspending count reaches data dynamic and becomes
Purpose more.
For example, the service duration B that user a has purchased a paying service system is 24 hours membership services, when purchase
Between T be 0 o'clock sharp of on January 1st, 2016, not in the case where extension handle, the deadline D=T+B of service duration is in January, 2016
0 o'clock sharp on the 2nd.
User a watches video, when suspending twice, selection pause membership service when t1=1 o'clock sharp, in t2=2 point
Terminate to suspend when whole, starts to continue to watch video, selection pause membership service when t3=3 o'clock sharp, in t4=4 point
Terminate to suspend when whole, starts to continue to watch video, the number of pause is that twice, then duration t2-t1 out of service is 1 small
When, t3-t2 is 1 hour, and α is defined based on the number of data dynamic change, and in the present embodiment, preferred definition α 1 is 1, excellent
Selected justice α 2 is 0.9, then D1=t2+ α 1 (B- (t1-T)) or D1=T+ (t1-T)+(t2-t1)+α 1 (B- (t1-T))=2016
1 o'clock sharp of on January 2, when no pause is detained.
D2=t4+ α 2 (B- (t1-T)-(t3-t2)) or D2=T+ (t1-T)+(t2-t1)+(t3-t2)+(t4-t3)+α 2
48 minutes 23 points of (B- (t1-T)-(t3-t2))=2016 on January 1,.α 1 and α 2 can also be subjected to freedom according to cost needs
Definition, no longer illustrates herein.
Client product changes service state, shows updated due date of service and modifiable number and can extend clothes
It is engaged in the time.In one embodiment, when consumer products end selects pause membership service, server-side obtains change movement, returns
Pass the date of shipping of the pause data transfer request, i.e. current date t1, operational order (status switch parameter) to server-side;
Server-side is according to the user charges due date of service, variable in the authority information of all supplemental characteristics and server-side of passback
More service times, can run extended services multilevel iudge, when data dynamic change number (C) >=1& longest can extend service
Long (E) >=1 when, eligible, service state is interrupted, and suspends paid service, then the number of the pause data transfer request exists
Residue degree in the authority information reduces primary;When user restores service again, it is dynamic that front end obtains user's change again
Make, returns the date of shipping for continuing to transmit request of data, i.e. current date t2, operational order (status switch parameter) to clothes
Business end;Server-side judges according to all supplemental characteristics of passback, reopens paid service from newly, while recalculating user
It changes service state number and the time can be extended,
D=tn+ α * F;(0 α≤1 <);
Wherein, D is the deadline of the service duration of paying service system, and tn is that last time pause data bring into operation
Date;α is that the number based on data dynamic change is defined, and the number of data dynamic change is more, and α value is smaller;F is to pay
Take the remaining service duration of service system.
Further, the responder module 32, further includes: the second recognition unit 323, the data dynamic becomes for identification
More request is pause data transfer request;First rollback unit 327, for extracting the temporary of the pause data transfer request carrying
Stop the number of data transfer request;Judge residue degree of the number of the pause data transfer request in the authority information
Less than primary, suspend data transfer request described in rollback, prevent from judging by accident, reduces server stress;Or
Second rollback unit 328 is asked for extracting the pause data transmission that the pause data transfer request carries
The date of shipping asked;Judge that deadline of the service duration is identical as the pause date of shipping of data transfer request or at it
Before, suspend data transfer request described in rollback, prevent from judging by accident, reduce server stress.
The specific steps that the function and processing mode of specific implementation are described referring to embodiment of the method one.
The processing and function realized by the system of the present embodiment three essentially correspond to the reality of aforementioned method shown in FIG. 1
Example, principle and example are applied, therefore not detailed place in the description of the present embodiment, it may refer to the related description in previous embodiment,
This will not be repeated here.
The embodiment of the present invention three receives the data dynamic change request of paying service system by the first receiving module, and knows
The not described data dynamic change request includes pause data transfer request or continues to transmit request of data;And then pass through responder module
It obtains the data dynamic change and requests corresponding authority information, judge that the data dynamic change request is taken by authority information
The request data of band is within the scope of its corresponding authority information, the dynamic change request of data described in response;Or judge the data
Dynamic change requests the request data carried to exceed its corresponding authority information range, and the dynamic change of data described in rollback is requested,
The data that paying service system can be achieved automated to respond to data dynamic according to request and change, convenient and efficient, and user charges are purchased
It buys and occurs to provide the ability of modifiable adjustment in certain following service;After pause, recovery paid service, user is original to be paid
The expense seeervice cycle dynamically extends variation;User changes the frequency of service state and can extend the paid service time limit based on initial
The technical issues of design of paid cases dynamic differential solves the data of existing paying service system dynamic does not change,
Improve the efficiency of the data dynamic change of paying service system and the user experience of paying service system.
Example IV
The present invention also provides a kind of terminals of paying service system data dynamic change, including the system.
Specifically, which includes but is not limited to the smart machines such as the mobile phone that the system is housed, laptop.
The terminal for a kind of paying service system data dynamic change that the embodiment of the present invention four provides, by receiving payment clothes
The data dynamic change request of business system, and identify that the data dynamic change request includes pause data transfer request or continuation
Transmit request of data;And then obtain data dynamic change and request corresponding authority information, judged by authority information described in
The request data that data dynamic change request carries within the scope of its corresponding authority information, ask by the dynamic change of data described in response
It asks;Or request data that data dynamic change request carries is judged beyond its corresponding authority information range, described in rollback
Data dynamically change request, it can be achieved that the data of paying service system automated to respond to data dynamic according to request and change, conveniently fastly
Victory provides the ability for changing, adjusting in certain following service for user charges purchase generation;Pause restores payment clothes
After business, user dynamically extends variation in the original paid service period;User changes the frequency of service state and can extend and pays
The data that the expense viability solves existing paying service system based on the design of initial payment situation dynamic differential cannot
The technical issues of dynamic changes improves the efficiency of the data dynamic change of paying service system and the user of paying service system
Experience.
Embodiment five
A kind of structure of the system of paying service system data dynamic change provided by the invention is shown referring to Fig. 4, Fig. 4
Block diagram, comprising:
Sending module 41, for sending the data dynamic change request of paying service system, the data dynamic change is asked
It asks including pause data transfer request or continues to transmit request of data.The function and processing mode of specific implementation are referring to step
S220。
One application example, when user consumer products end select pause membership service when, send the number of paying service system
According to dynamic change request to server, the data dynamic change request includes pause data transfer request or continues to transmit data
Request, the data dynamic change request carry the date of shipping of data dynamic change request, i.e. current date t1, operational order
(status switch parameter) etc..
When user restores service again, selects to restore membership service at consumer products end, send paying service system
Data dynamic change request to server, the data dynamic change request includes pause data transfer request or continues to transmit number
According to request, front end obtains user's change movement again, and the data dynamic change request carries the hair of data dynamic change request
Send date, i.e. current date t2, operational order (status switch parameter) etc..
Receiving module 42, for receiving the response instruction or rollback instruction based on authority information of server transmission.Specifically
The function and processing mode of realization are referring to step S220.
Further, the receiving module 42, comprising:
First receiving unit 421 judges the request data of the data dynamic change request carrying for receiving server
Response instruction in the range of its corresponding authority information;Or
Second receiving unit 422 judges the request data of the data dynamic change request carrying for receiving server
The rollback of range beyond its corresponding authority information instructs;Or
Third receiving unit 423, for receiving the data dynamic change condition prompting information of server transmission.
The specific steps that the function and processing mode of specific implementation are described referring to embodiment of the method two.
The embodiment of the present invention five is requested by the data dynamic change that sending module sends paying service system, the data
Dynamic change request includes pause data transfer request or continues to transmit request of data, and receives server hair by receiving module
The response instruction or rollback instruction based on authority information sent.The data that paying service system can be achieved are automated toed respond to according to request
The technical issues of data dynamic changes, convenient and efficient, solves the data of existing paying service system dynamic does not change, mentions
The high efficiency of the data dynamic change of paying service system and the user experience of paying service system, to promoted user continue to pay dues or
The conversion for buying long-term paid service has larger potentiality.Paid service is enjoyed in the modifiable frequency of differentiation designing user and extension
The feature of duration, to a certain degree attraction user charges.
Embodiment six
The present invention also provides a kind of terminals of paying service system data dynamic change, including the system.
Specifically, which includes but is not limited to the smart machines such as the mobile phone that the system is housed, laptop.
The embodiment of the present invention six is requested by sending the data dynamic change of paying service system, and the data dynamic changes
Request includes pause data transfer request or continues to transmit request of data, and receives the answering based on authority information of server transmission
Answer instruction or rollback instruction.The data that paying service system can be achieved automated to respond to data dynamic according to request and change, convenient fast
Victory improves paying service system the technical issues of solving the data of existing paying service system dynamic does not change
The efficiency of data dynamic change and the user experience of paying service system, continue to pay dues or buy long-term paid service to user is promoted
Conversion has larger potentiality.The feature of paid service duration, certain journey are enjoyed in the modifiable frequency of differentiation designing user and extension
Degree attracts user charges.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of
Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because
According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know
It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention
It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way
It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of the unit, it is only a kind of
Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can
To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit,
It can be electrical 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 software functional units.
It may be noted that each step/component described in this application can be split as more multistep according to the needs of implementation
Two or more step/components or the part operation of step/component can also be combined into new step/component by suddenly/component,
To achieve the object of the present invention.
It is above-mentioned to be realized in hardware, firmware according to the method for the present invention, or be implemented as being storable in recording medium
Software or computer code in (such as CD ROM, RAM, floppy disk, hard disk or magneto-optic disk), or it is implemented through network downloading
Original storage in long-range recording medium or nonvolatile machine readable media and the meter that will be stored in local recording medium
Calculation machine code, so that method described herein can be stored in using general purpose computer, application specific processor or programmable or specially
It is handled with such software in the recording medium of hardware (such as ASIC or FPGA).It is appreciated that computer, processor, micro-
Processor controller or programmable hardware include can store or receive software or computer code storage assembly (for example, RAM,
ROM, flash memory etc.), when the software or computer code are by computer, processor or hardware access and execute, realize herein
The processing method of description.In addition, when general purpose computer accesses the code for realizing the processing being shown here, the execution of code
General purpose computer is converted to the special purpose computer for being used for executing the processing being shown here.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.