Summary of the invention
Technical problem to be solved by this invention is, provides a kind of information issuing method and system, can utilize the contract relation of CP and SP, the convenient, flexible issue realizing digital TV contents information and management.
In order to solve the problems of the technologies described above, on the one hand, The embodiment provides a kind of information issuing system, this system comprises: contract administration module, for importing the contract information between CP and SP in described information issuing system, the contract information that described contract administration module imports comprises the context and the contract term of validity that CP information, SP information, CP provide for SP; Release management module, needs content distributed content to issue inventory for obtaining SP system according to described contract information; Content release module, sends to SP system for issuing inventory according to content by needing the content issued.
Described release management module comprises: release management module automatically, for issuing inventory according to contract information automatically generated content; Manual release management module, for issuing inventory according to the manual generating content of contract information.
Described automatic release management module comprises further: judge module, for judging whether described information issuing system is configured to content and automatically issues; Enquiry module, for when result of determination is for being, inquires about described contract information to obtain all the elements scope comprised in contract information; First processing module, for issuing inventory according to the context generating content got.
Described manual release management module comprises further: select module, for selecting the context of needs issue in the context that comprises in contract information; Second processing module, for issuing inventory according to the context generating content selected.
Described system also comprises release management module and also comprises renewal release management module, and the content that described renewal release management module is used for SP system is issued upgrades.
Described renewal release management module comprises further: upgrade judge module, for judging that needing the context upgraded whether to be included in described content issues in inventory; 3rd processing module, for when result of determination is for being, is sent to SP system by the content corresponding with described context.
On the other hand, The embodiment provides a kind of information issuing method, the method comprises the following steps: in information issuing system, import the contract information between CP and SP, and described contract information comprises the context and the contract term of validity that CP information, SP information, CP provide for SP; Obtaining SP system according to described contract information needs content distributed content to issue inventory; Issue inventory according to content and send to SP system by needing the content issued.
Obtaining SP system according to described contract information needs the method for content distributed content issue inventory specifically to comprise: issue inventory according to contract information automatically generated content; Or, issue inventory according to the manual generating content of contract information.
The described method according to contract information automatically generated content issue inventory specifically comprises: judge whether described information issuing system is configured to content and automatically issues; When result of determination is for being, inquire about described contract information to obtain all the elements scope comprised in contract information; Inventory is issued according to the context generating content got.
The described method according to contract information manual generating content issue inventory specifically comprises: in the context that contract information comprises, select the context that needs are issued; Inventory is issued according to the context generating content selected.
The content that described method also comprises SP system is issued upgrades.
The method that the described content issued SP system upgrades is specially: judge that needing the context upgraded whether to be included in described content issues in inventory; When result of determination is for being, the content corresponding with described context is sent to SP system and is used for upgrading.
Adopt the technical scheme of a kind of information issuing system provided by the invention and method, by importing the contract information between CP and SP in information issuing system, the context that CP is provided for SP is stored in information issuing system.Like this, information issuing system is when the content issued by needs is supplied to SP, and can obtain SP according to the contract information imported need content distributed content to issue inventory, and sends to SP according to this content issue inventory by needing the content issued.Instant invention overcomes inconvenient technical problem of the issue of television content information being carried out to Based Intelligent Control in prior art, reach and the contract relation of CP and SP can be utilized television content information to be published to as required on SP, make the technique effect that the issue of television content information is convenient, intelligent.
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.
Below with reference to the accompanying drawings embodiments of the invention are described.See Fig. 1, it is the structural representation of a kind of embodiment of information issuing system a kind of in the present invention.As shown in Figure 1, this comprises: contract administration module 1, for importing the contract information between CP and SP in information issuing system; Release management module 2, needs content distributed content to issue inventory for obtaining SP system according to above-mentioned contract information; Content release module 3, sends to SP system for issuing inventory according to content by needing the content issued.
Further, the contract information that above-mentioned contract administration module 1 imports comprises the context and the contract term of validity that the CP information of contract both sides and SP information, CP provide for SP.Concrete, CP information can be CP code, CP provides context, address URL or content such as to be divided at the information; The information such as the professional ability that SP information can be SP code, SP supports, address URL or service are divided into, foregoing scope comprises AssetID group, name group or injection length section etc., can be obtained the content of SP needs issue by the information of inquiring about these contexts.Whether, after import above-mentioned contract information in information issuing system provided by the invention, information issuing system can return output one and import result, successful to show importing contract information.
Under this kind of execution mode of information issuing system provided by the invention, the mode obtaining content issue inventory comprises automated manner and manual mode.Concrete, above-mentioned release management module 2 specifically comprises: release management module 21 and manual release management module 22 automatically.Automatic release management module 21 is for issuing inventory according to contract information automatically generated content; Manual release management module 22 is for issuing inventory according to the manual generating content of contract information.
In order to the mode automatic release management module 21 and manual release management module 22 generating content being issued to inventory is set forth, be further described below in conjunction with Fig. 2, Fig. 3.
As shown in Figure 2, above-mentioned automatic release management module 21 comprises further: judge module 211, for judging whether information issuing system is configured to content and automatically issues; Enquiry module 212, for when result of determination is for being, inquires about described contract information to obtain all the elements scope comprised in contract information; First processing module 213, for issuing inventory according to the context generating content got.The operator of CP system can be configured the logical value that content is issued automatically when information issuing system provided by the invention starts, when logical value content automatically issued is configured to true, then think that information issuing system is configured to generating content in an automatic fashion issues inventory.Under present embodiment, above-mentioned judge module 211 can be specially one-period scheduler, when this periodic scheduling device detects that above-mentioned logical value is true, start enquiry module 212 to obtain by inquiry contract information all the elements scope comprised in contract information, now, the context comprised in contract information is the context that SP system needs are issued.Above-mentioned first processing module 213 generates a content after being arranged by the context got and issues inventory, and is stored in information issuing system of the present invention, in order to subsequent calls by this content issue inventory.
As shown in Figure 3, above-mentioned manual release management module 22 comprises further: select module 221, for selecting the context that needs are issued in the context that comprises in contract information, it should be noted that, the contract information of indication can be the contract information be directed in information issuing system herein, also can be the contract information be not directed in information issuing system; Second processing module 222, for issuing inventory according to the context generating content selected.The operator of CP system can when information issuing system provided by the invention starts according to the contract information of SP and CP, in the context that this contract information comprises, select the context that needs are issued, and the relevant information of the context chosen manually is inputed in information issuing system.Above-mentioned second processing module 222 generates a content according to the relevant information of the content of input immediately and issues inventory, and is stored in information issuing system of the present invention, in order to subsequent calls by this content issue inventory.The content that the operator that the content that the content issue inventory that manual release management module 22 generates comprises is CP system selects.
It should be noted that, foregoing issues in inventory the contract term of validity also comprising CP and SP, and when contract is to after date, system issues the issue of inventory time-out content according to content, and whether follow-up SP can renew and reselect carrying out contract.
Under present embodiment, foregoing release module 3 according to content issue inventory by need issue content send to SP system before, need first foregoing to be converted into the standard issued for SP system and issue form, because its accepted standard is issued, form is existing in associated international standards to be illustrated, and is not therefore described specifically in the present invention.
As shown in Figure 4, as to further improvement of the present invention, under this kind of execution mode of information issuing system provided by the invention, above-mentioned release management module 2 also comprises renewal release management module 23, and this renewal release management module 23 upgrades for the content issued SP system.Concrete, upgrade release management module 23 and comprise further: upgrade judge module 231, for judging that needing the context upgraded whether to be included in described content issues in inventory; 3rd processing module 232, for when result of determination is for being, is sent to SP system and is used for upgrading by the content corresponding with foregoing scope.When needing the content issued SP system to upgrade, CP system sends the request of more fresh content to information issuing system, more the request of fresh content comprises the context that needs request upgrades, above-mentioned renewal judge module 231 judges whether the context that the request received upgrades is included in the content issue inventory of aforementioned generation, if the determination result is YES, then start the 3rd processing module 232 and receive the more fresh content corresponding with foregoing scope, and will more send to SP system to be used for upgrading by fresh content.Further, also can arrange when the judged result upgrading judge module 231 is no, return and upgrade failure to CP system.
Fig. 5 is the flow chart of a kind of embodiment of a kind of information issuing method in the present invention.As shown in Figure 5, comprise the following steps:
S500: import the contract information between CP and SP in information issuing system;
S501: obtaining SP system according to described contract information needs content distributed content to issue inventory;
S502: issue inventory according to content and send to SP system by needing the content issued.
As shown in Figure 6, the method importing contract information in step S500 specifically comprises the following steps:
S601: operator sends the request adding CP information to information issuing system, concrete, CP information can be CP code, CP provides context, address URL or content such as to be divided at the information;
S602: information issuing system completes the interpolation of CP information;
S603: information issuing system returns the result to adding CP information;
S604: operator sends the request adding SP information to information issuing system, the professional ability that concrete, SP information can be SP code, SP supports, address URL or service such as to be divided at the information;
S605: information issuing system completes the interpolation of SP information;
S606: information issuing system returns the result to adding SP information;
S607: operator sends the request of treaty content adding SP and CP to information issuing system, concrete, this treaty content includes but not limited to the context that CP provides for SP and the contract term of validity.Certainly, this treaty content also can comprise contract two-sided information further, and this contract two-sided information can be any one information that can identify CP or SP, and under present embodiment, contract two-sided information specifically can adopt CP code and SP code;
S608: information issuing system completes the interpolation of treaty content;
S609: information issuing system returns the result to adding treaty content.Whether, after import above-mentioned contract information in information issuing system, information issuing system can return one in this step and import result, successful to show importing contract information.
Under this kind of execution mode of information issuing method provided by the invention, the mode obtaining content issue inventory comprises automated manner and manual mode.Concrete, the above-mentioned method needing content distributed content to issue inventory according to described contract information acquisition SP system specifically comprises: issue inventory according to contract information automatically generated content; Or, issue inventory according to the manual generating content of contract information.
It should be noted that, foregoing issues in inventory the contract term of validity also comprising CP and SP, and when contract is to after date, system issues the issue of inventory time-out content according to content, and whether follow-up SP can renew and reselect carrying out contract.
In order to method automatically generated content being issued to inventory and manual generating content issue inventory is set forth, be further described below in conjunction with Fig. 7, Fig. 8.
As shown in Figure 7, specifically comprise the following steps according to the method for contract information automatically generated content issue inventory:
S701: the logical value that Detection of content is issued automatically, judge whether information issuing system is configured to content and automatically issues, the operator of CP system can be configured the logical value that content is issued automatically when information issuing system starts, when logical value content automatically issued is configured to true, then think that information issuing system is configured to generating content in an automatic fashion issues inventory, under present embodiment, specifically detect above-mentioned logical value by one-period scheduler, when the logical value detected is true, perform step S702;
S702: start query script;
S703: inquiry contract information is to obtain all the elements scope comprised in contract information, and now, the context comprised in contract information is the context that SP system needs are issued;
S704: according to the context generating content issue inventory got, concrete, generates a content after the context that will get arranges and issues inventory, and be stored in information issuing system, in order to subsequent calls by this content issue inventory;
S705: trigger release tasks;
S706: content distributed, concrete, issuing inventory according to the content generated, sending to SP system by issuing with this content the content information that in inventory, context is corresponding;
The Information issued result that S707: return result, record SP system returns, and log.
As shown in Figure 8, specifically comprise the following steps according to the method for contract information manual generating content issue inventory:
S801: select the content needing to issue, concrete, the context that needs are issued is selected in the context that contract information comprises, it should be noted that, the contract information of indication can be the contract information be directed in information issuing system herein, also can be the contract information be not directed in information issuing system;
S802: trigger and generate listing procedure;
S803: generating content issues inventory, generates a content according to the relevant information of the context selected and issues inventory, and is stored in information issuing system, in order to subsequent calls by this content issue inventory;
S804: trigger release tasks;
S805: content distributed, concrete, issuing inventory according to the content generated, sending to SP system by issuing with this content the content information that in inventory, context is corresponding;
The Information issued result that S806: return result, record SP system returns, and log.
As to further improvement of the present invention, under this kind of execution mode of information issuing method provided by the invention, also comprise and the content of SP system issue is upgraded.Concrete, as shown in Figure 9, the method that the content of SP system issue upgrades specifically is comprised the following steps:
S901: send more new content request, when needing the content issued SP system to upgrade, CP system sends the request of more fresh content to information issuing system, and more the request of fresh content comprises the context that needs request upgrades;
S902: judge that needing the context upgraded whether to be included in foregoing issues in inventory, if result of determination is for being, performs step S903, otherwise, perform step S906;
S903: trigger release tasks;
S904: send more fresh content, receives the more fresh content corresponding with context in step S901, and will more send to SP system to be used for upgrading by fresh content;
The Information issued result that S905: return result, record SP system returns, and log;
S906: return renewal result, concrete, whether successful for renewal result is returned to CP system.
Adopt the technical scheme of a kind of information issuing system provided by the invention and method, by importing the contract information between CP and SP in information issuing system, the context that CP is provided for SP is stored in information issuing system.Like this, information issuing system is when the content issued by needs is supplied to SP, and can obtain SP according to the contract information imported need content distributed content to issue inventory, and sends to SP according to this content issue inventory by needing the content issued.
Embodiment of the present invention tool has the following advantages or beneficial effect: overcome inconvenient technical problem of the issue of television content information being carried out to Based Intelligent Control in prior art, reach and the contract relation of CP and SP can be utilized television content information to be published to as required on SP, make the technique effect that the issue of television content information is convenient, intelligent.
Device embodiment described above is only schematic, the wherein said unit illustrated as separating component or can may not be and physically separates, parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.Those of ordinary skill in the art, when not paying performing creative labour, are namely appreciated that and implement.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that each execution mode can add required general hardware platform by software and realize, and can certainly pass through hardware.Based on such understanding, technique scheme can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product can store in a computer-readable storage medium, as ROM/RAM, magnetic disc, CD etc., comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform the method described in some part of each embodiment or embodiment.
Above-described execution mode, does not form the restriction to this technical scheme protection range.The amendment done within any spirit at above-mentioned execution mode and principle, equivalently to replace and improvement etc., within the protection range that all should be included in this technical scheme.