Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
It should be noted that: following be implement in first service implement body can be distribution of services or adaptation services device, second service implement body can be subscription management server.
The business supplying method that the following description embodiment of the present invention provides, Fig. 1 describes the flow process of business supplying method embodiment one in the embodiment of the present invention, and what this embodiment described is the handling process of second server, and this embodiment comprises:
101, receive the service request of self terminal, this service request carries composition information and the purchase condition of User Defined business.
It is one or more that User Defined business can comprise in television services, advertising business, data service etc.User Defined business is arranged after have received by terminal the business guide that first server sends, the composition information of User Defined business be user for the mark of the business burst forming self-defined business and select, content fragment mark, buy in the mark of item burst or the mark of time slicing at least one.
Purchase condition can comprise at least one in conditions such as subscribing to type, subscription period, subscription initial time, way of paying or purchasing price.Subscribe to type mainly to comprise and to subscribe to indefinite duration (Open-ended) and fixed term (Fixed-period) is subscribed to, free used subscription or according at least one in the subscribing manners such as real consumption paid subscriptions.Indefinite duration, subscription referred to that, once after subscribing to, this subscribing relationship will exist always, until user initiates to move back subscribe request, just can cancel subscriptions relation.After fixed term is subscribed to and referred to subscription, subscribing relationship only exists in subscription period, and exceed subscription period, subscribing relationship is cancelled automatically, if user wishes to renew one's subscription, needs again to initiate subscribe request.The subscription of paying according to real consumption can comprise: watch paying (PPV:Pay Per View) at every turn, each broadcasting is paid (PPP:Pay Per Play), by each paying service time (PPT:Pay Per Time) etc.
Purchase condition can be represented by the mode of " parameter-assignment ", and table 1 describes in one embodiment of the invention the assignment buying conditional parameter and parameter.
Parameter |
Assignment is illustrated |
Implication |
Subscribe to type (subscriptionType) |
Fixed-period,Open-ended,PPV,PPT, |
Fixed-period: the subscribing manner of fixed term, subscription period is the assignment of " subscriptionPeriod " attribute; |
|
pPP |
open-ended: indefinite subscribing manner; PPV: at every turn watch paying; PPT: at every turn use paying; PPP: at every turn play paying; |
subscribe to the time limit (SubscriptionPer iod) |
10M |
when UDB adopts fixed term mode to subscribe to, subscription period is 10 months |
subscribe to initial time (SubscriptionSta rtTime) |
20090310 |
subscribing to initial time is on March 10th, 2009 |
purchasing price (PurchasePrice) |
15RMB |
user wishes that purchasing price is 15 yuans |
other necessary subscription information (OtherSubscripti onInfoNeeded) |
true or False |
if Subscriber can not meet the purchase condition that user is arranged, whether accept other subscription information. |
Certainly, table 1 only describes the parameter of one embodiment of the invention and the assignment of parameter, can expand as required in actual applications.Such as, the parameter in his-and-hers watches 1 logical combination can be carried out, as
" subscriptionType=open-ended & subscriptionStartTime=20090310 " represents employing subscribing manner in indefinite duration, and subscription initial time is on March 10th, 2009.
Above-mentioned purchase condition can be for all the elements in the self-defined business of business, also can specify the purchase condition of wherein certain business or content specially.As " serviceID=example001 & subscriptionType=open-ended " represents that the business of " serviceID=example001 " in User Defined business adopts subscribing manner subscription in indefinite duration.When not specifying certain business or content, acquiescence purchase condition is all the requirement to all the elements in User Defined business.
102, burst is provided according to the composition information of User Defined business and the business of purchase condition generation User Defined business.
Purchase item (PurchaseItem) burst, purchase data (PurchaseData) burst and purchase passage (PurchaseChannel) burst all belong to business provides burst.The business generated provides burst to need to meet the definition of data structure in business guide, wherein buys item fragment packets containing User Defined business composition information, i.e. the business burst, the mark that content fragment is corresponding that comprise of User Defined business.
Particularly, the step of burst is provided specifically can to comprise according to the business of purchase condition generation User Defined business: the data message obtaining User Defined business from service information database; Purchase data is obtained from subscription information database according to the composition information of User Defined business and data message, purchase condition; The business generating User Defined business according to purchase data provides burst.
Wherein, the step obtaining the data message of User Defined business from service information database can comprise: the composition information sending User Defined business to service information database; Receive the data message of the User Defined business that service information database sends, by service information database, the data message of this User Defined business judges that User Defined business sends effectively afterwards.Particularly, whether service information database is effective according to preset rule judgment User Defined business, such as, judge whether User Defined business includes the business that two business, the User Defined business that do not allow to subscribe to comprise simultaneously and have employed the subscribing manner etc. be not allowed to.
Can comprise according to the step that composition information and data message, the purchase condition of User Defined business obtain purchase data from subscription information database: the composition information from User Defined business to subscription information database and data message, the purchase condition that send; Receive the purchase data that subscription information database sends, by subscription information database, purchase data judges that purchase condition is effective after, obtain according to the composition information of User Defined business and data message, purchase condition and send.Particularly, whether subscription information database root is effective according to preset rule judgment purchase condition.
103, send business by service response to terminal and burst is provided; So that terminal provides burst to initiate the subscription of User Defined business according to business.
Wherein, business provides burst can comprise one or more purchase option, is therefrom selected by terminal, if need to buy, then need the subscription initiating User Defined business before the deadline to server, set up subscribing relationship with second server, become this service-user.
From the above, in the present embodiment, business provides burst to generate according to the purchase condition received, namely in the present embodiment, business provides burst to be generate according to the needs of user, the business of User Defined business is made to provide burst to meet the needs of user, meet the individual demand of user, eliminate price negotiation process simultaneously, decrease network interaction.
Fig. 2 describes the flow process of business supplying method embodiment two in the embodiment of the present invention, comprising:
201, second server receives the service request of self terminal, and this service request carries composition information and the purchase condition of User Defined business.
202, the composition information of User Defined business is sent to service information database, to the data message of the self-defined business of service information database inquiring user by second server.
203, service information database judges that whether User Defined business is effective; If so, 204 are entered; If not, 209 are entered.
204, service information database obtains the data message of User Defined business, and the data message of User Defined business is returned to second server.
The data message of User Defined business comprises the descriptor of User Defined business, specifically can obtain according to the mark of the business burst in the composition information of User Defined business.
205, the composition information of purchase condition, User Defined business and the data message of User Defined business are sent to subscription information database by second server, provide burst to subscription information database inquiry services.
206, subscription information database judges that whether purchase condition is effective; If so, 207 are entered; If not, 209 are entered.
207, subscription information database root is according to the composition information of User Defined business, the data message of User Defined business and the condition of purchase, obtains purchase data, the purchase data got is returned to second server;
208, second server generates business according to purchase data and provides burst, and business provides burst can represent with data formats such as the purchase item burst of standard, purchase data burst, purchase passage bursts.Enter 210.
209, wrong status information is returned to second server.
210, second server returns service response to terminal.
Wherein, if second server generates business provide burst, then this service response is successful service response, and comprising business provides burst, makes terminal provide burst to initiate the subscription of User Defined business according to business.Otherwise then this service response comprises wrong status information, terminal is known, and second server can not provide this User Defined business.
The form of the service response that one embodiment of the present of invention provide is as shown in table 2.
title (Name) |
type (Type) |
occurrence number (Cardina lity) |
describe (Description) |
data type (Data Type) |
service response (Servic eRespon se) |
e |
|
service response, comprises with properties: requestID, globalStatusCode.Comprise following element: PersonalizedService |
|
service request mark (reques tID) |
a |
0..1 |
the mark of corresponding service request |
signless integer (unsignedInt) |
responsive state code (global Status Code) |
a |
0..1 |
responsive state code |
without symbol-byte (unsignedByt e) |
personali zedServi ce |
e1 |
0..1 |
the business of the User Defined service generation asked provides burst, comprises following element: PurchaseItemFragment, PurchaseDataFragment, PurchaseChannelFragment |
|
Purchase ItemFrag ment |
E2 |
0..N |
The purchase item burst of individual business/collection of services |
Complex Type |
Purchase DataFrag ment |
E2 |
0..N |
The purchase data burst of individual business/collection of services |
Complex Type |
Purchase Channel Fragmen t |
E2 |
0..N |
The purchase passage burst of individual business/collection of services |
Complex Type |
Wherein the different values of the conditional code (globalStatusCode) of service response indicate the different conditions of response, as globalStatusCode=000 represents successful response service request, globalStatusCode=011 represents the service request etc. not allowing to perform.
Wherein, business provides in burst information such as buying item burst, purchase data burst, purchase passage burst that data mode can be adopted directly to carry in service response.Also business can be provided the burst of the purchase item in burst, purchase data burst, buying the information such as passage burst adopts the mode quoted to be carried in service response, the i.e. ID of the service response only business of the carrying purchase item burst that provides burst corresponding, the ID of purchase data burst, buy the ID of passage burst, broadcast channel obtains address or interactive channel obtains address etc., terminal obtains corresponding burst according to these information by broadcast or interactive channel, wherein broadcast channel obtains address can be URL(uniform resource locator) (URL:Uniform Resource Locator) form, it also can be URL form that interactive channel obtains address.
From the above, in the present embodiment, business provides burst to generate according to the purchase condition received, namely in the present embodiment, business provides burst to be generate according to the needs of user, the business of User Defined business is made to provide burst to meet the needs of user, meet the individual demand of user, eliminate price negotiation process simultaneously, decrease network interaction.
Fig. 3 describes the flow process of business supplying method embodiment three in the embodiment of the present invention, and what this embodiment described is the processing procedure of terminal, comprising:
301, the business guide that first server sends is received.
302, the composition information of User Defined business is set according to business guide, purchase condition is set.
Particularly, a business or multiple service constitution User Defined business can be chosen according to self needing.
303, sent composition information and the condition of purchase of User Defined business to second server by service request.
Service request can adopt extend markup language (XML:Extensible Markup Language) form to encapsulate, and the useful load of service request as HTML (Hypertext Markup Language) (HTTP:Hypertext TransferProtocol) message is transmitted between second server and terminal.
Table 3 describes the logical definition of the service request of XML format in one embodiment of the invention.
Table 3
title |
type |
occurrence number |
describe |
data type |
servieReq uest |
e |
|
service request, comprises attribute: requestID; Containing element: UserID, DeviceID BroadcastRoamingSpecific Part PersonalizedService |
|
requestID |
a |
0..1 |
service request identifies |
unsignedInt |
userID |
e1 |
0..N |
user ID, comprises attribute: type |
string |
type |
a |
1 |
the type of instruction User ID. |
unsignedBy te |
deviceID |
e1 |
0..N |
device identification, comprises attribute: type |
string |
type |
a |
1 |
the type of indicating equipment mark. |
unsignedBy te |
broadcast |
e1 |
0..1 |
this element is used for under roaming condition |
|
roamingS pecificPart |
|
|
service request provides information. |
|
homeBS M |
e2 |
0..1 |
the broadcasting service subscription management of indicating terminal ownership place |
complexTyp e |
visitedBS M |
e2 |
0..1 |
the broadcasting service subscription management of indicating terminal visited place |
complexTyp e |
personaliz edService |
e1 |
0..1 |
user Defined service lists, containing element: Service, Content, PurchaseItem, chedule |
|
service |
e2 |
0..N |
request adds the business of User Defined business, comprises attribute: UDBnotification |
anyURI |
notificatio n |
a |
1 |
indicate whether to subscribe to the notification message with this business association |
boolean |
content |
e2 |
0..N |
request adds the content of individual business/collection of services |
anyURI |
purchaseIt em |
e2 |
0..N |
request adds the purchase item of individual business/collection of services |
anyURI |
schedule |
e2 |
0..N |
request adds the timetable of individual business/collection of services |
anyURI |
subscripti onConditi on |
e1 |
0..N |
the purchase condition arranged. |
string |
In table 3, E represents element, and A represents attribute, and E1 represents daughter element, and E2 represents the daughter element of daughter element, by that analogy.
In table 3, in service request (ServiceRequest), E 1 element " PersonalizedService " represents User Defined business, comprise business (Service), content (Content), buy the items such as item (PurchaseItem) and timetable (Schedule), quoted by the mark of burst corresponding in business guide.E1 element " SubscriptionCondition " represents the purchase condition that user is arranged.
The service request that one embodiment of the invention provides is as described below:
<?xml version=″1.0″encoding=″UTF-8″?>
<ServiceRequest requestID=5109>
<UserID type=2>//bsda.com/sgdd/1234/subscriber/001</UserID>
<deviceID type=1>s52#-10-3f9q-1381</deviceID>
<PersonalizedService>
<Service>//this.example.com/service/501 </UDBService>
<Service>//this.example.com/service/502 </UDBService>
<Service>//this.example.com/service/505 </UDBService>
<Content>//this.example.com/content/103</UDBContent>
<PurchaseItem>//this.example.com/pitem/152</PurchaseItem>
<PurchaseItem>//this.example.com/pitem/113</PurchaseItem>
<Schedule>//this.example.com/schedule/552 </UDBSchedule>
</PersonalizedService>
<SubscriptionCondition>
subscriptionType=open-ended & subscriptionStartTime=
20090310
</SubscriptionCondition>
</ServiceRequest>
Three business, content, two purchase items and a timetable are formed a User Defined business by this service request.Wherein three business are represented by the service_ID of these business corresponding business burst in business guide, namely serviceID is respectively //this.example.com/service/501, //this.example.com/service/502, the business burst of //this.example.com/service/505; A content is represented by the content_ID of this content corresponding content burst in business guide, namely content_ID is //this.example.com/content/103, buy item for two to be represented by PurchaseItem, namely PurchaseItem is respectively //this.example.com/pitem/152, //this.example.com/pitem/113; Timetable is represented by Schedule, and namely Schedule is //this.example.com/schedule/552.
304, receive the service response that second server sends, service response comprises business provides burst, and this business provides burst to be that second server generates according to the composition information of User Defined business and purchase condition.
Terminal have received and comprises after business provides the service response of burst, burst can be provided to initiate the subscription of User Defined business according to business; Certainly, if business provides burst not to be that user wants, the subscription of User Defined business can not also be initiated.
From the above, in the present embodiment, business provides burst to generate according to the purchase condition received, namely in the present embodiment, business provides burst to be generate according to the needs of user, the business of User Defined business is made to provide burst to meet the needs of user, meet the individual demand of user, eliminate price negotiation process simultaneously, decrease network interaction.
Fig. 4 describes the flow chart of business supplying method embodiment four in the embodiment of the present invention, This embodiment describes the reciprocal process of terminal and second server, comprising:
400, terminal receives the business guide that first server sends.
401, terminal arranges the composition information of User Defined business, and buying pattern.
Particularly, according to the business guide received, the item design User Defined business meeting self-demand can be selected from business guide.
402, terminal sends service request to second server.
Service request comprises composition information and the purchase condition of User Defined business, and the composition information of User Defined business comprises the mark of the business burst of composition individual business/collection of services, the mark of content fragment, the mark of purchase item burst, the mark etc. of time slicing.
403, second server is according to the composition information of User Defined business and the condition of purchase, and the business generating User Defined business provides burst.
Concrete generative process can with reference to 202 ~ 208.
404, business provides burst to send to terminal by service response by second server.
Business provides burst can comprise one or more purchase option, if terminal wishes to buy, then need the subscription initiating User Defined business before the deadline, particularly, subscribe request can be sent to second server, thus set up subscribing relationship with second server, become the user of this User Defined business.
405, terminal provides burst to send service subscribing request to second server according to business.
406, second server carries out service subscribing operation.
407, second server sends service subscribing result to user.
From the above, in the present embodiment, business provides burst to generate according to the purchase condition received, namely in the present embodiment, business provides burst to be generate according to the needs of user, makes the business of User Defined business provide burst to meet the needs of user, meets the individual demand of user; And terminal and second server do not need to carry out price negotiation, decrease the mutual of terminal and second server, can network load be reduced.
Introduce the server that the embodiment of the present invention provides as follows, Fig. 5 describes the structure of server example one, comprising:
Receiving element 501, for receiving the service request of self terminal, service request carries composition information and the purchase condition of User Defined business.
Generation unit 502, for composition information and the condition of purchase of the User Defined business entrained by the service request that receives according to receiving element 501, the business generating User Defined business provides burst.
Transmitting element 503, provides burst for the business sending generation unit 502 generation to terminal by service response; Thus so that terminal provides burst to initiate the subscription of User Defined business according to business.
From the above, in the present embodiment, business provides burst to generate according to the purchase condition received, namely in the present embodiment, business provides burst to be generate according to the needs of user, the business of User Defined business is made to provide burst to meet the needs of user, meet the individual demand of user, eliminate price negotiation process simultaneously, decrease network interaction.
Fig. 6 describes the structure of server example two, comprising:
Receiving element 601, for receiving the service request of self terminal, service request carries composition information and the purchase condition of User Defined business.
Generation unit 602, for composition information and the condition of purchase of the User Defined business entrained by the service request that receives according to receiving element 601, the business generating User Defined business provides burst.
Particularly, generation unit 602 can comprise: acquiring unit 6021, for obtaining the data message of User Defined business from service information database according to the composition information of User Defined business; Purchase data is obtained from subscription information database according to this data message and the condition of purchase; Information generating unit 6022, for the purchase data got according to acquiring unit 6021, the business generating User Defined business provides burst.
Wherein, acquiring unit 6021 can comprise: information transmitting unit 1, for sending the composition information of User Defined business to service information database; Information receiving unit 1, for receiving the data message of the User Defined business that service information database sends, by service information database, the data message of this User Defined business judges that User Defined business sends effectively afterwards; Information transmitting unit 2 60213, for the data message received to subscription information database transmission purchase condition and information receiving unit 1; Information receiving unit 2 60214, for receiving the purchase data that subscription information database sends, this purchase data is judged obtain according to data message and purchase condition and send after purchase condition effectively by subscription information database.
Transmitting element 603, provides burst for the business sending generation unit 602 generation to terminal by service response, so that terminal provides burst to initiate the subscription of User Defined business according to business.
From the above, in the present embodiment, business provides burst to generate according to the purchase condition received, namely in the present embodiment, business provides burst to be generate according to the needs of user, the business of User Defined business is made to provide burst to meet the needs of user, meet the individual demand of user, eliminate price negotiation process simultaneously, decrease network interaction.
The server that the embodiment of the present invention provides can as subscription management server.
Introduce the terminal that the embodiment of the present invention provides as follows, Fig. 7 describes the structure of terminal embodiment one, comprising:
Business guide receiving element 701, for receiving the business guide that first server sends; Described first server is distribution of services or adaptation services device;
Setting unit 702, the business guide for receiving according to business guide receiving element 701 arranges the composition information of User Defined business, arranges purchase condition;
Transmitting element 703, for sending service request to second server, service request comprises composition information and the purchase condition of the User Defined business that setting unit 702 is arranged, and described second server is subscription management server;
Service response receiving element 704, for receiving the service response that second server sends, the service response business of carrying provides burst, and this business provides burst to generate according to purchase condition.
From the above, in the present embodiment, business provides burst to generate according to the purchase condition received, namely in the present embodiment, business provides burst to be generate according to the needs of user, the business of User Defined business is made to provide burst to meet the needs of user, meet the individual demand of user, eliminate price negotiation process simultaneously, decrease network interaction.
Fig. 8 describes the structure of terminal embodiment two, comprising:
Business guide receiving element 801, for receiving the business guide that first server sends, described first server is distribution of services or adaptation services device;
Setting unit 802, the business guide for receiving according to business guide receiving element 801 arranges the composition information of User Defined business, arranges purchase condition;
Transmitting element 803, for sending service request to second server, service request comprises composition information and the purchase condition of the User Defined business that setting unit 802 is arranged, and described second server is subscription management server.
Service response receiving element 804, for receiving the service response that second server sends, the service response business of carrying provides burst, and this business provides burst to generate according to purchase condition.
Subscriber units 805, provides burst for the business received according to service response receiving element 804, initiates the subscription of User Defined business to second server.
From the above, in the present embodiment, business provides burst to generate according to the purchase condition received, namely in the present embodiment, business provides burst to be generate according to the needs of user, the business of User Defined business is made to provide burst to meet the needs of user, meet the individual demand of user, eliminate price negotiation process simultaneously, decrease network interaction.
It should be noted that: described in above embodiment of the present invention, first server is distribution of services or adaptation services device and described second server is subscription management server, optionally, described first server can also be the server of other types, described second server also can be the server of other types, and these can not be construed as limiting the invention.
The embodiment of the present invention additionally provides service providing system, and this service providing system comprises terminal that the embodiment of the present invention provides and/or comprises the server that the embodiment of the present invention provides.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
The business supplying method provided the embodiment of the present invention above and system, terminal and server are described in detail, and the explanation of above embodiment just understands method of the present invention and thought thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.