Method, system and the terminal that a kind of paying service system data dynamically change
Technical field
The present invention relates to communication technical field, particularly relate to a kind of method that paying service system data dynamically change, be
System and terminal.
Background technology
In service system in internet video, the media services industry such as live, owing to paying service system compares general department
System can provide better service to be favored by more users, and user pays in real life on network or under line and buys
During good service in paying service system (such as so-and-so member etc., but being not limited to membership service), what user can enjoy pays
The expense viability is had decided to by the algorithm that paying service system is fixing when buying, and conventional formula is as follows:
The duration (B) that paid service phase deadline (D)=purchase time of day (T)+paying is bought;
Wherein pay duration (B)=payment amount (the P)/paid service unit price (E) bought, or by set by service provider
Fixed set meal duration.
Inventor finds during research, from buying the time of day T fixing week to paid service phase deadline D
In phase, user enjoys the state of paid service and the cycle is immutable, and without change, the function that adjusts, Consumer's Experience is poor, works as user
Buy after good service, when being affected by some factor such as time, environmental condition, such as: personal network or equipment fault, going on business adds
Class, examination appendix stage etc., though thereby resulting in user's paying to buy good service, but good service can not be enjoyed to the full, leading
Cause poor user charges service experience, have a strong impact on user and continue to buy or buy the decision-making of longer time paid service.
Secondly, the many behaviors occurred for future time of good service that user charges are bought, but to unknown uncertain because of
The interference of element, causes user's worry when first paying is bought relatively big, affects the decision-making of user charges, provide a user with modifiable
Paid service experience particularly important.
Therefore, being badly in need of the technical scheme that a kind of paying service system data dynamically change, for response, user independently changes
Request, improves the efficiency that dynamically changes of data and the Consumer's Experience of paying service system of paying service system.
For prior art cannot dynamically change the problem of paying service system data, effective solution is the most not yet proposed
Certainly scheme.
Summary of the invention
Present invention is primarily targeted at method, system and the end providing a kind of paying service system data dynamically to change
End, with the defect overcoming the data not dynamic of existing paying service system to change, solves the data of paying service system
The dynamically technical problem of change.
One aspect of the present invention provides a kind of method that paying service system data dynamically change, including:
The data receiving paying service system dynamically change request, and the dynamically request of changing of described data includes that suspending data passes
Defeated request or continuation transmission request of data;
Obtain described data and dynamically change the authority information that request is corresponding, it is judged that the request of dynamically changing of described data is carried
Request data is in the range of the authority information of its correspondence, and data described in response dynamically change request;Or judge that described data are dynamic
The request data that change request is carried exceeds the authority information scope of its correspondence, and data described in rollback dynamically change request.
Wherein, described authority information includes but not limited to:
The number of times that the service duration of paying service system, the deadline of service duration, data dynamically change maybe can extend
One or more in service duration.
Further, the described data of described acquisition dynamically change the authority information that request is corresponding, including:
Identify the identification information that the request of dynamically changing of described data is carried;
Search the authority information carrying same identification information in the data base of paying service system;Based on described authority information
Perform described data and dynamically change the operation that request is corresponding.
Further, the request data that the request of dynamically changing of the described data of described judgement is carried is at the authority information of its correspondence
In the range of, data described in response dynamically change request, including:
Identify that described data dynamically change request for suspending data transfer request;
Extract the date of shipping of the described time-out data transfer request that described time-out data transfer request is carried and suspend number
Number of times according to transmission request;
Judge the number of times of the described time-out data transfer request residue degree in described authority information the most once and
The date of shipping of described time-out data transfer request before the deadline of the service duration of authority information, paying service system
Service state interrupt, suspend data transmission;Or
Identify that described data dynamically change request for continuing transmission request of data;
Extract the described date of shipping continuing the described continuation transmission request of data that transmission request of data is carried, continue transmission
Data, and recalculate, according to the described date of shipping continuing transmission request of data, the power that described continuation transmission request of data is corresponding
Number of times that the data of limit information dynamically change and service duration can be extended.
Further, the described date of shipping according to described continuation transmission request of data recalculates described continuation and transmits number
The number of times that dynamically changes according to the data of authority information corresponding to request and service duration can be extended, including:
D=tn+ α * F;(0 < α≤1);
Wherein, D is the deadline of the service duration of paying service system, and tn brings into operation for last data of suspending
Date;α is that the number of times dynamically changed based on data is defined, and the number of times that data dynamically change is the most, and α value is the least;F is for paying
Take the residue service duration of service system.
Further, the request data that the request of dynamically changing of the described data of described judgement is carried is beyond the authority letter of its correspondence
Breath scope, data described in rollback dynamically change request, including:
Identify that described data dynamically change request for suspending data transfer request;
Extract the number of times of the time-out data transfer request that described time-out data transfer request is carried;Judge described time-out data
The number of times of transmission request residue degree in described authority information, less than once, suspends data transfer request described in rollback;Or
Extract the date of shipping of the described time-out data transfer request that described time-out data transfer request is carried;Judge described
The deadline of service duration is identical or before it with the date of shipping suspending data transfer request, suspends data described in rollback
Transmission request.
Present invention also offers a kind of method that paying service system data dynamically change, including:
The data sending paying service system dynamically change request, and the dynamically request of changing of described data includes that suspending data passes
Defeated request or continuation transmission request of data;
Receive response instruction based on authority information or rollback instruction that server sends.
Further, response instruction based on authority information or rollback that described reception server sends instruct, including:
Receive server and judge that described data dynamically change the authority information model asking the request data carried in its correspondence
Enclose interior response instruction;Or
Receive server and judge that described data dynamically change the request data asking to carry and exceed the authority information of its correspondence
The rollback instruction of scope.
Further, after the response instruction based on authority information of described reception server transmission or rollback instruction, also
Including:
The data receiving server transmission dynamically change condition prompting information.
Present invention also offers the system that a kind of paying service system data dynamically change, it is characterised in that including:
First receiver module, dynamically changes request for receiving the data of paying service system, and described data dynamically change
Request includes suspending data transfer request or continuing transmission request of data;
Responder module, dynamically changes, for obtaining described data, the authority information that request is corresponding, it is judged that described data are dynamic
The request data that change request is carried is in the range of the authority information of its correspondence, and data described in response dynamically change request;Or sentence
The request data that the disconnected described data request of dynamically changing is carried exceeds the authority information scope of its correspondence, and data described in rollback are dynamic
Change request.
Wherein, described authority information includes but not limited to:
The number of times that the service duration of paying service system, the deadline of service duration, data dynamically change maybe can extend
One or more in service duration.
Further, described responder module, including:
First recognition unit, for identifying the identification information that the request of dynamically changing of described data is carried;
Search unit, in the data base searching paying service system, carry the authority information of same identification information;Base
Perform described data in described authority information and dynamically change the operation that request is corresponding.
Further, described responder module also includes:
Second recognition unit, is used for identifying that described data dynamically change request for suspending data transfer request;
First response unit, for extracting described time-out data transfer request that described time-out data transfer request carries
Date of shipping and the number of times of time-out data transfer request;Judge that the number of times of described time-out data transfer request is at described authority information
In residue degree at least the most once and the date of shipping of described time-out data transfer request is at the service duration of authority information
Before deadline, the service state of paying service system is interrupted, and suspends data transmission;Or
3rd recognition unit, is used for identifying that described data dynamically change request for continuing transmission request of data;
Second response unit, request of data is transmitted in the described continuation carried for extracting described continuation transmission request of data
Date of shipping, continues transmission data, and the date of shipping transmitting request of data according to described continuation recalculates described continuation and passes
Number of times that the data of the authority information that transmission of data request is corresponding dynamically change and service duration can be extended.
Wherein, described second response unit, specifically include, including:
D=tn+ α * F;(0 < α≤1);
Wherein, D is the deadline of the service duration of paying service system, and tn brings into operation for last data of suspending
Date;α is that the number of times dynamically changed based on data is defined, and the number of times that data dynamically change is the most, and α value is the least;F is for paying
Take the residue service duration of service system.Further, described responder module, also include:
Second recognition unit, is used for identifying that described data dynamically change request for suspending data transfer request;
First rollback unit, for extracting the secondary of time-outs data transfer request that described time-out data transfer request carries
Number;Judge the number of times of the described time-out data transfer request residue degree in described authority information less than once, described in rollback
Suspend data transfer request;Or
Second rollback unit, for extracting described time-out data transfer request that described time-out data transfer request carries
Date of shipping;Judge that deadline of described service duration is identical with the date of shipping suspending data transfer request or its it
Before, suspend data transfer request described in rollback.
Present invention also offers the terminal that a kind of paying service system data dynamically change, including described system.
Present invention also offers the system that a kind of paying service system data dynamically change, including:
Sending module, dynamically changes request for sending the data of paying service system, and described data dynamically change request
Including suspending data transfer request or continuing transmission request of data;
Receiver module, for receiving response instruction based on authority information or the rollback instruction that server sends.
Further, described receiver module, including:
First receives unit, judges that described data dynamically change the request data asking to carry at it for receiving server
Response instruction in the range of corresponding authority information;Or
Second receives unit, and the request data judging that the request of dynamically changing of described data is carried for receiving server exceeds
The rollback instruction of the authority information scope of its correspondence;Or
3rd receives unit, and the data sent for receiving server dynamically change condition prompting information.
Present invention also offers the terminal that a kind of paying service system data dynamically change, including described system.
The present invention dynamically changes request by the data receiving paying service system, and identify that described data dynamically change please
Ask and include suspending data transfer request or continuing transmission request of data;And then obtain described data and dynamically change the power that request is corresponding
Based on authority information, limit information, judges that described data dynamically change the request data carried of the request authority information model in its correspondence
In enclosing, data described in response dynamically change request;Or judge that the request data that the request of dynamically changing of described data is carried exceeds it
Corresponding authority information scope, data described in rollback dynamically change request, can realize the data of paying service system according to request
Automated to respond to data dynamically change, convenient and swift, solve the skill of the data not dynamic change of existing paying service system
Art problem, improves efficiency and the Consumer's Experience of paying service system that the data of paying service system dynamically change.
Accompanying drawing explanation
Fig. 1 is the flow process of the embodiment one of the method that a kind of paying service system data according to the present invention dynamically change
Figure;
Fig. 2 is the flow process of the embodiment two of the method that a kind of paying service system data according to the present invention dynamically change
Figure;
Fig. 3 is the structural frames of the embodiment three of the system that a kind of paying service system data according to the present invention dynamically change
Figure;
Fig. 4 is the structural frames of the embodiment five of the system that a kind of paying service system data according to the present invention dynamically change
Figure.
Detailed description of the invention
In order to make those skilled in the art be more fully understood that the present invention program, below in conjunction with in the embodiment of the present invention
Accompanying drawing, is clearly and completely described the technical scheme in the embodiment of the present invention, it is clear that described embodiment is only
The embodiment of a present invention part rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people
The every other embodiment that member is obtained under not making creative work premise, all should belong to the model of present invention protection
Enclose.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, "
Two " it is etc. for distinguishing similar object, without being used for describing specific order or precedence.Should be appreciated that so use
Data can exchange in the appropriate case, in order to embodiments of the invention described herein can with except here diagram or
Order beyond those described is implemented.Additionally, term " includes " and " having " and their any deformation, it is intended that cover
Cover non-exclusive comprising, such as, contain series of steps or the process of unit, method, system, product or equipment are not necessarily limited to
Those steps clearly listed or unit, but can include the most clearly listing or for these processes, method, product
Or intrinsic other step of equipment or unit.
Embodiment one
The one of the method that a kind of paying service system data that the present invention provides that show reference Fig. 1, Fig. 1 dynamically change is real
Execute the flow chart of example.
In step s 110, the data receiving paying service system dynamically change request, and described data dynamically change request
Including suspending data transfer request or continuing transmission request of data.
In one embodiment, user is when consumer products end selects to suspend membership service, and service end receives clothes of paying
The data of business system dynamically change request for suspending data transfer request;When user recovers membership service again, service end receives
The data of paying service system dynamically change request for continuing transmission request of data.
In the step s 120, obtain described data and dynamically change the authority information that request is corresponding, it is judged that described data are dynamic
The request data that change request is carried is in the range of the authority information of its correspondence, and data described in response dynamically change request;Or sentence
The request data that the disconnected described data request of dynamically changing is carried exceeds the authority information scope of its correspondence, and data described in rollback are dynamic
Change request.
The described data of described acquisition dynamically change the authority information that request is corresponding, including:
Identify the identification information that the request of dynamically changing of described data is carried;Search in the data base of paying service system and carry
The authority information of same identification information;Perform described data based on described authority information and dynamically change the operation that request is corresponding.
Wherein, described identification information includes the unique identification information dynamically changing request for identifying described data, including
But it is not limited to user name, registration ID, identity identification information etc..
Wherein, described authority information includes but not limited to: the service duration of paying service system, the deadline of service duration
The number of times that phase, data dynamically change maybe can extend one or more in service duration.
The example of concrete application, when user buys video membership service, server in the authority information of this member can
Change rights and interests and the time that can extend carry out assignment definition, user at most changes service times (C) respectively, the longest extends clothes
Must limit (E) represents.Wherein, user buy different member's set meal change number of times with can the extended period different, buy monthly (C1
Secondary change, E1 days extended periods), buy season (C2 change, E2 days extended periods), (C3 change, E3 days prolong to buy year
Long expiration) etc., wherein C, E can be defined processing with assignment according to demand, and the authority information after assignment is stored in paying
In the data base of service system.When user buys good service, the service end of the paying service system authority information to user
Assignment information according to storage is defined, and with user, described authority information is bought identification information binding during good service
After, it is stored in the data base of paying service system.When obtaining the authority information that described data dynamically change request correspondence, identify
The identification information that the request of dynamically changing of described data is carried;Search in the data base of paying service system and carry same identification information
Authority information, be this user and buy the authority information corresponding to video membership service, server is based on described authority information
The data sending user dynamically change request and operate accordingly.
The request data that the request of dynamically changing of the described data of described judgement is carried, should in the range of the authority information of its correspondence
Answer described data and dynamically change request, including:
Identify that described data dynamically change request for suspending data transfer request;
Extract the date of shipping of the described time-out data transfer request that described time-out data transfer request is carried and suspend number
Number of times according to transmission request;
Judge the number of times of the described time-out data transfer request residue degree in described authority information the most once and
The date of shipping of described time-out data transfer request before the deadline of the service duration of authority information, paying service system
Service state interrupt, suspend data transmission;Or
Identify that described data dynamically change request for continuing transmission request of data;
Extract the described date of shipping continuing the described continuation transmission request of data that transmission request of data is carried, continue transmission
Data, and recalculate, according to the described date of shipping continuing transmission request of data, the power that described continuation transmission request of data is corresponding
Number of times that the data of limit information dynamically change and service duration can be extended.Described according to the described transmission continuing transmission request of data
Date is recalculated number of times that the described data continuing transmission authority information corresponding to request of data dynamically change and can extend clothes
Business duration, including:
D=tn+ α * F;(0 < α≤1);
Wherein, D is the deadline of the service duration of paying service system, and tn brings into operation for last data of suspending
Date;α is that the number of times dynamically changed based on data is defined, and the number of times that data dynamically change is the most, and α value is the least;F is for paying
Take the residue 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 is the time starting to suspend, t2 be suspend after time of bringing into operation, t2-t1 is duration out of service, and α is based on number
Being defined according to the number of times of dynamically change, the number of times that data dynamically change is the most, and α value is the least.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;Suspending situation about exceeding once can by that analogy, at this no longer
Repeat, below, with several application examples, technical scheme is illustrated:
Such as, user a have purchased the membership service that service duration B is 24 hours of a paying service system, during purchase
Between T be 0 o'clock sharp of on January 1st, 2016, not in the case of 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, selects to suspend membership service, at t2=2 point t1=1 o'clock sharp when
Terminating the when of whole to suspend, start to continue viewing video, the number of times of time-out is once, and duration t2-t1 the most out of service is 1 little
Time, the number of times that α dynamically changes based on data is defined, 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).
Need to spend cost owing to suspending duration, it is possible to as required, the α in above-described embodiment is defined as 0.9, then pays
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))=2016 on January 1,22: 42.Shorten and buy duration.According to the value of suspending count amendment α, reach data and dynamically become
Purpose more.
Such as, user a have purchased the membership service that service duration B is 24 hours of a paying service system, during purchase
Between T be 0 o'clock sharp of on January 1st, 2016, not in the case of 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, selects to suspend membership service, at t2=2 point t1=1 o'clock sharp when
Terminate the when of whole to suspend, start to continue viewing video, select to suspend membership service, at t4=4 point t3=3 o'clock sharp when
Terminating the when of whole to suspend, start to continue viewing video, the number of times of time-out is twice, and duration t2-t1 the most out of service is 1 little
Time, t3-t2 is 1 hour, and the number of times that α dynamically changes based on data is defined, 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, during without suspending button.
D2=t4+ α 2 (B-(t1-T)-(t3-t2)) or D2=T+ (t1-T)+(t2-t1)+(t3-t2)+(t4-t3)+α 2
(B-(t1-T)-(t3-t2))=23: 48 on the 1st January in 2016.According to cost needs, α 1 and α 2 can also be carried out freedom
Definition, no longer illustrates at this.
In one detailed description of the invention, user is when product end selects to suspend membership service, and service end obtains change action, returns
Pass the date of shipping of described time-out data transfer request, i.e. current date t1, operational order (status switch parameter) are to service end;
Service end is according to all of supplemental characteristic and the user charges due date of service in the authority information of service end of passback, variable
More service times, can run extended services multilevel iudge, when data dynamically change number of times (C) >=1& is the longest when extending service
Long (E) >=1 time, eligible, service state is interrupted, and suspends paid service, and the number of times of the most described time-out data transfer request exists
Residue degree in described authority information reduces once;When user recovers service again, front end again obtains user and changes dynamic
Make, return the described date of shipping continuing transmission request of data, i.e. current date t2, operational order (status switch parameter) are to clothes
Business end;Service end reopens paid service according to all of supplemental characteristic of passback, recalculates user simultaneously and changes clothes
Business state number of times 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 brings into operation for last data of suspending
Date;α is that the number of times dynamically changed based on data is defined, and the number of times that data dynamically change is the most, and α value is the least;F is for paying
Take the residue service duration of service system.
Client product change service state, shows the due date of service after updating and modifiable number of times and can extend clothes
The business time.
The request data that the request of dynamically changing of the described data of described judgement is carried, beyond the authority information scope of its correspondence, is returned
Roll described data and dynamically change request, including:
Identify that described data dynamically change request for suspending data transfer request;
Extract the number of times of the time-out data transfer request that described time-out data transfer request is carried;Judge described time-out data
The number of times of transmission request residue degree in described authority information, less than once, suspends data transfer request described in rollback, anti-
Only erroneous judgement, reduces server stress;Or
Extract the date of shipping of the described time-out data transfer request that described time-out data transfer request is carried;Judge described
The deadline of service duration is identical or before it with the date of shipping suspending data transfer request, suspends data described in rollback
Transmission request, prevents erroneous judgement, reduces server stress.
The embodiment of the present invention one dynamically changes request by the data receiving paying service system, and identifies that described data are moved
State change request includes suspending data transfer request or continuing transmission request of data;And then obtain described data and dynamically change request
Corresponding authority information, judges request data that the request of dynamically changing of described data the carries power in its correspondence by authority information
In the range of limit information, data described in response dynamically change request;Or judge the number of request that the request of dynamically changing of described data is carried
According to the authority information scope beyond its correspondence, data described in rollback dynamically change request, can realize the data of paying service system
Automated to respond to data according to request dynamically change, convenient and swift, user charges are bought and occurs certain service following to carry
For the ability changed, adjust;Suspending, recover after paid service, user extends change dynamically at original paid service cycle;
User changes the frequency of service state and can extend the design based on initial payment situation dynamic differential of paid service time limit
Solve the technical problem of the data not dynamic change of existing paying service system, improve the data of paying service system
The efficiency dynamically changed and the Consumer's Experience of paying service system.
Embodiment two
Another of method that a kind of paying service system data that the present invention provides dynamically change is shown with reference to Fig. 2, Fig. 2
The flow chart of embodiment.
Present invention also offers a kind of method that paying service system data dynamically change, including:
In step S210, the data sending paying service system dynamically change request, and described data dynamically change request
Including suspending data transfer request or continuing transmission request of data.
One application example, when user selects to suspend membership service at consumer products end, sends the number of paying service system
According to dynamically change request to server, the dynamically request of changing of described data includes suspending data transfer request or continuing transmission data
Request, the request of dynamically changing of described data is carried data and is dynamically changed the date of shipping of request, i.e. current date t1, operational order
(status switch parameter) etc..When user recovers service again, select to recover membership service at consumer products end, send clothes of paying
The data of business system dynamically change and ask to server, and the dynamically request of changing of described data includes suspending data transfer request or continuing
Resuming transmission of data request, front end again obtains user and changes action, and the dynamically request of changing of described data is carried data and dynamically changed
The date of shipping of request, i.e. current date t2, operational order (status switch parameter) etc..
In step S220, receive response instruction based on authority information or rollback instruction that server sends.
Concrete, receive server and judge that described data dynamically change the authority asking the request data carried in its correspondence
Response instruction in range of information;Or
Receive server and judge that described data dynamically change the request data asking to carry and exceed the authority information of its correspondence
The rollback instruction of scope.
Further, after the response instruction based on authority information of described reception server transmission or rollback instruction, also
Including:
Receive the data that server sends and dynamically change condition prompting information, prompting user change the most maybe cannot change and
Reason.
The embodiment of the present invention two dynamically changes request by the data sending paying service system, and described data dynamically change
Request include suspend data transfer request or continue transmission request of data, and receive server send based on authority information should
Answer instruction or rollback instruction.The data of paying service system can be realized automated to respond to data according to request and dynamically change, convenient fast
Victory, solves the technical problem of the data not dynamic change of existing paying service system, improves paying service system
Efficiency that data dynamically change and the Consumer's Experience of paying service system, continue to pay dues to promoting user or buy long-term paid service
Conversion has bigger potentiality.The feature of paid service duration, certain journey are enjoyed in the frequency and prolongation that differentiation designing user changes
Degree attracts user charges.
Embodiment three
The structure of the system that a kind of paying service system data that the present invention provides that show reference Fig. 3, Fig. 3 dynamically change
Block diagram, including:
First receiver module 31, dynamically changes request for receiving the data of paying service system, and described data dynamically become
More request includes suspending data transfer request or continuing transmission request of data, and the function and the processing mode that implement see step
S110。
In one embodiment, user is when consumer products end selects to suspend membership service, and service end receives clothes of paying
The data of business system dynamically change request for suspending data transfer request;When user recovers membership service again, service end receives
The data of paying service system dynamically change request for continuing transmission request of data.
Responder module 32, dynamically changes, for obtaining described data, the authority information that request is corresponding, it is judged that described data are moved
The request data that state change request is carried is in the range of the authority information of its correspondence, and data described in response dynamically change request;Or
Judging that the request data that the request of dynamically changing of described data is carried exceeds the authority information scope of its correspondence, data described in rollback are moved
State change request.The function and the processing mode that implement see step S120.
Wherein, described authority information includes but not limited to: the service duration of paying service system, the deadline of service duration
The number of times that phase, data dynamically change maybe can extend one or more in service duration.Wherein, described identification information include for
Identify described data and dynamically change the unique identification information of request, include but not limited to user name, registration ID, identity identification information
Deng.
The example of concrete application, when user buys video membership service, server in the authority information of this member can
Change rights and interests and the time that can extend carry out assignment definition, user at most changes service times (C) respectively, the longest extends clothes
Must limit (E) represents.Wherein, user buy different member's set meal change number of times with can the extended period different, buy monthly (C1
Secondary change, E1 days extended periods), buy season (C2 change, E2 days extended periods), (C3 change, E3 days prolong to buy year
Long expiration) etc., wherein C, E can be defined processing with assignment according to demand, and the authority information after assignment is stored in paying
In the data base of service system.When user buys good service, the service end of the paying service system authority information to user
Assignment information according to storage is defined, and with user, described authority information is bought identification information binding during good service
After, it is stored in the data base of paying service system.When obtaining the authority information that described data dynamically change request correspondence, identify
The identification information that the request of dynamically changing of described data is carried;Search in the data base of paying service system and carry same identification information
Authority information, be this user and buy the authority information corresponding to video membership service, server is based on described authority information
The data sending user dynamically change request and operate accordingly.
Described responder module 32, including: the first recognition unit 321, it is used for identifying that the dynamically request of changing of described data is carried
Identification information;Search unit 322, in the data base searching paying service system, carry the authority letter of same identification information
Breath;Perform described data based on described authority information and dynamically change the operation that request is corresponding.
Described responder module 32 also includes: the second recognition unit 323, is used for identifying that the request of dynamically changing of described data is temporary
Stop data transfer request;First response unit 324, for extracting the described time-out data that described time-out data transfer request is carried
The date of shipping of transmission request and the number of times of time-out data transfer request;Judge that the number of times of described time-out data transfer request is in institute
At least the most once and the date of shipping of described time-out data transfer request is at authority information to state the residue degree in authority information
Before the deadline of service duration, the service state of paying service system is interrupted, and suspends data transmission;Or the 3rd recognition unit
325, it is used for identifying that described data dynamically change request for continuing transmission request of data;Second response unit 326, is used for extracting institute
State the date of shipping continuing the described continuation transmission request of data that transmission request of data is carried, continue transmission data, and according to institute
State the date of shipping continuing to transmit request of data and recalculate the described data continuing authority information corresponding to transmission request of data
The dynamically number of times of change and service duration can be extended.
Wherein, described second response unit, specifically include, including:
D=tn+ α * F;(0 < α≤1);
Wherein, D is the deadline of the service duration of paying service system, and tn brings into operation for last data of suspending
Date;α is that the number of times dynamically changed based on data is defined, and the number of times that data dynamically change is the most, and α value is the least;F is for paying
Take the residue 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 is the time starting to suspend, t2 be suspend after time of bringing into operation, t2-t1 is duration out of service, and α is based on number
Being defined according to the number of times of dynamically change, the number of times that data dynamically change is the most, and α value is the least.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;Suspending situation about exceeding once can by that analogy, at this no longer
Repeat, below, with several application examples, technical scheme is illustrated:
Such as, user a have purchased the membership service that service duration B is 24 hours of a paying service system, during purchase
Between T be 0 o'clock sharp of on January 1st, 2016, not in the case of 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, selects to suspend membership service, at t2=2 point t1=1 o'clock sharp when
Terminating the when of whole to suspend, start to continue viewing video, the number of times of time-out is once, and duration t2-t1 the most out of service is 1 little
Time, the number of times that α dynamically changes based on data is defined, 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).
Need to spend cost owing to suspending duration, it is possible to as required, the α in above-described embodiment is defined as 0.9, then pays
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))=2016 on January 1,22: 42.Shorten and buy duration.According to the value of suspending count amendment α, reach data and dynamically become
Purpose more.
Such as, user a have purchased the membership service that service duration B is 24 hours of a paying service system, during purchase
Between T be 0 o'clock sharp of on January 1st, 2016, not in the case of 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, selects to suspend membership service, at t2=2 point t1=1 o'clock sharp when
Terminate the when of whole to suspend, start to continue viewing video, select to suspend membership service, at t4=4 point t3=3 o'clock sharp when
Terminating the when of whole to suspend, start to continue viewing video, the number of times of time-out is twice, and duration t2-t1 the most out of service is 1 little
Time, t3-t2 is 1 hour, and the number of times that α dynamically changes based on data is defined, 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, during without suspending button.
D2=t4+ α 2 (B-(t1-T)-(t3-t2)) or D2=T+ (t1-T)+(t2-t1)+(t3-t2)+(t4-t3)+α 2
(B-(t1-T)-(t3-t2))=23: 48 on the 1st January in 2016.According to cost needs, α 1 and α 2 can also be carried out freedom
Definition, no longer illustrates at this.
Client product change service state, shows the due date of service after updating and modifiable number of times and can extend clothes
The business time.In one embodiment, when consumer products end selects to suspend membership service, service end obtains change action, returns
Pass the date of shipping of described time-out data transfer request, i.e. current date t1, operational order (status switch parameter) are to service end;
Service end is according to all of supplemental characteristic and the user charges due date of service in the authority information of service end of passback, variable
More service times, can run extended services multilevel iudge, when data dynamically change number of times (C) >=1& is the longest when extending service
Long (E) >=1 time, eligible, service state is interrupted, and suspends paid service, and the number of times of the most described time-out data transfer request exists
Residue degree in described authority information reduces once;When user recovers service again, front end again obtains user and changes dynamic
Make, return the described date of shipping continuing transmission request of data, i.e. current date t2, operational order (status switch parameter) are to clothes
Business end;Service end judges according to all of supplemental characteristic of passback, reopens paid service from newly, recalculates user simultaneously
Change service state number of times 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 brings into operation for last data of suspending
Date;α is that the number of times dynamically changed based on data is defined, and the number of times that data dynamically change is the most, and α value is the least;F is for paying
Take the residue service duration of service system.
Further, described responder module 32, also include: the second recognition unit 323, be used for identifying that described data dynamically become
More request is for suspending data transfer request;First rollback unit 327, temporary for extract that described time-out data transfer request carries
Stop the number of times of data transfer request;Judge the number of times of the described time-out data transfer request residue degree in described authority information
Less than once, suspend data transfer request described in rollback, prevent erroneous judgement, reduce server stress;Or
Second rollback unit 328, the described time-out data transmission carried for extracting described time-out data transfer request please
The date of shipping asked;Judge that deadline of described service duration is identical with the date of shipping suspending data transfer request or at it
Before, suspend data transfer request described in rollback, prevent erroneous judgement, reduce server stress.
The function implemented and processing mode see the concrete steps that embodiment of the method one describes.
The process realized due to the system of the present embodiment three and function essentially correspond to the reality of the method shown in earlier figures 1
Execute example, principle and example, therefore the most detailed part in the description of the present embodiment, may refer to the related description in previous embodiment,
Do not repeat at this.
The data that the embodiment of the present invention three receives paying service system by the first receiver module dynamically change request, and know
The dynamically request of changing of the most described data includes suspending data transfer request or continuing transmission request of data;And then pass through responder module
Obtain described data and dynamically change the authority information that request is corresponding, judge that the dynamically request of changing of described data is taken by authority information
The request data of band is in the range of the authority information of its correspondence, and data described in response dynamically change request;Or judge described data
The request data that dynamically change request is carried exceeds the authority information scope of its correspondence, and data described in rollback dynamically change request,
The data of paying service system can be realized automated to respond to data according to request and dynamically change, convenient and swift, user charges are purchased
Buy and occur certain service following to provide the ability changing, adjusting;After time-out, recovery paid service, original the paying of user
The expense seeervice cycle extends change dynamically;User changes the frequency of service state and can extend the paid service time limit based on initially
The design of paid cases dynamic differential solves the technical problem of the data not dynamic change of existing paying service system,
Improve efficiency and the Consumer's Experience of paying service system that the data of paying service system dynamically change.
Embodiment four
Present invention also offers the terminal that a kind of paying service system data dynamically change, including described system.
Specifically, this terminal includes but not limited to the smart machine such as the mobile phone equipped with described system, notebook computer.
The terminal that a kind of paying service system data that the embodiment of the present invention four provides dynamically change, by receiving clothes of paying
The data of business system dynamically change request, and identify that the dynamically request of changing of described data includes suspending data transfer request or continuation
Transmission request of data;And then obtain described data and dynamically change the authority information that request is corresponding, judged described by authority information
The request data that the data request of dynamically changing is carried is in the range of the authority information of its correspondence, and data described in response dynamically change please
Ask;Or judge that the request data that the request of dynamically changing of described data is carried exceeds the authority information scope of its correspondence, described in rollback
Data dynamically change request, can realize the data of paying service system and automated to respond to data according to request and dynamically change, convenient fast
Victory, buys for user charges and occurs certain service following to provide the ability changing, adjusting;Suspend, recover clothes of paying
After business, user extends change dynamically at original paid service cycle;User changes the frequency of service state and pays with extending
Expense viability design based on initial payment situation dynamic differential solves the data of existing paying service system can not
The dynamically technical problem of change, improves efficiency and the user of paying service system that the data of paying service system dynamically change
Experience.
Embodiment five
The structure of the system that a kind of paying service system data that the present invention provides that show reference Fig. 4, Fig. 4 dynamically change
Block diagram, including:
Sending module 41, dynamically changes request for sending the data of paying service system, and described data dynamically change please
Ask and include suspending data transfer request or continuing transmission request of data.The function and the processing mode that implement see step
S220。
One application example, when user selects to suspend membership service at consumer products end, sends the number of paying service system
According to dynamically change request to server, the dynamically request of changing of described data includes suspending data transfer request or continuing transmission data
Request, the request of dynamically changing of described data is carried data and is dynamically changed the date of shipping of request, i.e. current date t1, operational order
(status switch parameter) etc..
When user recovers service again, select to recover membership service at consumer products end, send paying service system
Data dynamically change and ask to server, and the dynamically request of changing of described data includes suspending data transfer request or continuing transmission number
According to request, front end again obtains user and changes action, and the request of dynamically changing of described data is carried data and dynamically changed sending out of request
Send the date, i.e. current date t2, operational order (status switch parameter) etc..
Receiver module 42, for receiving response instruction based on authority information or the rollback instruction that server sends.Specifically
The function and the processing mode that realize see step S220.
Further, described receiver module 42, including:
First receives unit 421, for receiving the request data that server judges that the request of dynamically changing of described data is carried
Response instruction in the range of the authority information of its correspondence;Or
Second receives unit 422, for receiving the request data that server judges that the request of dynamically changing of described data is carried
Rollback beyond the scope of the authority information of its correspondence instructs;Or
3rd receives unit 423, and the data sent for receiving server dynamically change condition prompting information.
The function implemented and processing mode see the concrete steps that embodiment of the method two describes.
The data that the embodiment of the present invention five sends paying service system by sending module dynamically change request, described data
Dynamically change request includes suspending data transfer request or continuing transmission request of data, and is sent out by receiver module reception server
The response instruction based on authority information sent or rollback instruction.The data that can realize paying service system automated to respond to according to request
Data dynamically change, convenient and swift, solve the technical problem of the data not dynamic change of existing paying service system, carry
Efficiency that the data of high paying service system dynamically change and the Consumer's Experience of paying service system, to promote user continue to pay dues or
The conversion buying long-term paid service has bigger potentiality.Paid service is enjoyed in the frequency and prolongation that differentiation designing user changes
The feature of duration, to a certain degree attracts user charges.
Embodiment six
Present invention also offers the terminal that a kind of paying service system data dynamically change, including described system.
Specifically, this terminal includes but not limited to the smart machine such as the mobile phone equipped with described system, notebook computer.
Embodiment of the present invention clematis stem is crossed the data of transmission paying service system and is dynamically changed request, and described data dynamically change
Request include suspend data transfer request or continue transmission request of data, and receive server send based on authority information should
Answer instruction or rollback instruction.The data of paying service system can be realized automated to respond to data according to request and dynamically change, convenient fast
Victory, solves the technical problem of the data not dynamic change of existing paying service system, improves paying service system
Efficiency that data dynamically change and the Consumer's Experience of paying service system, continue to pay dues to promoting user or buy long-term paid service
Conversion has bigger potentiality.The feature of paid service duration, certain journey are enjoyed in the frequency and prolongation that differentiation designing user changes
Degree attracts user charges.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
It should be noted that for aforesaid each method embodiment, in order to be briefly described, therefore it is all expressed as a series of
Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because
According to the present invention, some step can use other orders or carry out simultaneously.Secondly, those skilled in the art also should know
Knowing, embodiment described in this description belongs to preferred embodiment, involved action and the module not necessarily present invention
Necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not has the portion described in detail in certain embodiment
Point, may refer to the associated description of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, can be by another way
Realize.Such as, device embodiment described above is only schematically, and the division of the most described unit is only one
Logic function divides, actual can have when realizing other dividing mode, the most multiple unit or assembly can in conjunction with or can
To be integrated into another system, or some features can be ignored, or does not performs.Another point, shown or discussed each other
Coupling direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit or communication connection,
Can be being electrical or other form.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit
The parts shown can be or may not be physical location, i.e. may be located at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of the present embodiment scheme
's.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.Above-mentioned integrated list
Unit both can realize to use the form of hardware, it would however also be possible to employ the form of SFU software functional unit realizes.
It may be noted that according to the needs implemented, each step/parts described in this application can be split as more multistep
Suddenly/parts, it is possible to the part operation of two or more step/parts or step/parts is combined into new step/parts,
To realize the purpose of the present invention.
Above-mentioned the method according to the invention can realize in hardware, firmware, or is implemented as being storable in recording medium
Software in (such as CD ROM, RAM, floppy disk, hard disk or magneto-optic disk) or computer code, or it is implemented through network download
Original storage and the meter in local recording medium will be stored in remotely record medium or nonvolatile machine readable media
Calculation machine code, thus method described here can be stored in use general purpose computer, application specific processor or able to programme or special
By the such software processes on the record medium of hardware (such as ASIC or FPGA).It is appreciated that computer, processor, micro-
Processor controller or programmable hardware include can storing or receive software or computer code storage assembly (such as, RAM,
ROM, flash memory etc.), when described software or computer code are by computer, processor or hardware access and execution, it is achieved at this
The processing method described.Additionally, when general purpose computer accesses for the code of the process that realization is shown in which, the execution of code
General purpose computer is converted to the special-purpose computer of the process being shown in which for execution.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited thereto, and any
Those familiar with the art, in the technical scope that the invention discloses, can readily occur in change or replace, should contain
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with described scope of the claims.