The system of automatic media content download, method and portable terminal
Technical field
The present invention relates to the mobile media field, more particularly, relate to a kind of system, method and portable terminal of automatic media content download.
Background technology
Traditional media format mainly contains four types: one, paper media, and its circulation way is to propagate literal and picture on paper, comprises newspaper, magazine and book etc.; Two, broadcasting is propagated sound by the form of electric wave; Three, TV can be propagated figure, literary composition, sound and image; Four, the Internet is used for propagating literary composition, figure, sound and image etc.
Along with the development of wireless network, wireless network speed constantly speeds, and rate also constantly descend, and are also increasing by the data service that portable terminal (for example mobile phone, PDA etc.) carries out.Mobile media has advantage easy to carry, that can surf the Net the information of obtaining at any time, can read whenever and wherever possible as emerging medium, and it has become the 5th medium outside above-mentioned four kinds of traditional media.As a new media format, mobile phone is compared with traditional media a lot of essence, revolutionary change: mobile phone can most convenient ground use people's the scrappy time (for example waiting for bus, sit elevator, riding public transportation means etc.), and can diffuse information very quickly.By contrast, though newspaper is easy to carry, it is not quick to diffuse information; TV, broadcasting, the Internet can diffuse information quickly, but carrier carries inconvenience.And the characteristics that mobile phone has concurrently is easy to carry, propagation velocity is fast.In addition, mobile media also has wide coverage, propagates characteristics such as with low cost.
Yet existing mobile media all is during by the user side access server, to server send read or download request after, by server media content is sent to client.The user is in order to obtain up-to-date media content information, access server continually.But this must increase the operation of client.In addition, when a large amount of clients simultaneously during a certain newly-increased media content in the reading servers, cause server moment flow to increase easily, thereby the problem that the server service quality descends occurs.
Summary of the invention
The technical problem to be solved in the present invention is, at the above-mentioned user defective of complex operation during media content download initiatively, provides a kind of system, method and portable terminal of automatic media content download.
The technical solution adopted for the present invention to solve the technical problems is: construct a kind of system of automatic media content download, comprising:
The note creating unit is used for when new mobile media content release, generates the note that comprises command word and described mobile media content information;
Client side acquiring unit is used for obtaining the client of subscribing to described mobile media content by the retrieval subscription information;
The note transmitting element is used for described note is sent to described client;
Media content transmission unit is used for according to the download request that comprises media content information of client described mobile media content being sent to described client.
In the system of automatic media content download of the present invention, comprising:
The subscription information record sheet is used to preserve the information that the user subscribes to media content, and it comprises the media content information of user profile and subscription;
The media content subscriber units is used to receive the request from the subscription media content of client, and the generation user subscription information is saved in described subscription information record sheet.
In the system of automatic media content download of the present invention, comprise user message table, described user message table comprises user mobile phone number, described note transmitting element obtains the user profile of subscribing to media content by inquiring about described subscription information record sheet, and obtains corresponding user mobile phone number by inquiring about described user message table.
In the system of automatic media content download of the present invention, the media content of described issue comprises file header information, index information and page or leaf content piece, and described media content transmission unit comprises:
First processing unit is used for according to first download request from described client, resolves media content and will resolve the file header information and the index information that obtain to send to described client;
Second processing unit is used for according to second download request from described client, and the page or leaf content piece with described media content sends to described client successively.
The present invention also provides a kind of method of automatic media content download, comprising:
(a) when new mobile media content release, generate the note that comprises command word and mobile media content information;
(b) the media distribution server obtains the client of subscribing to described mobile media content by the retrieval subscription information;
(c) described note is sent to described client;
(d) download request that comprises the media content sign according to client sends to described client with described mobile media content.
In the method for automatic media content download of the present invention, also comprise the step that writes down subscription information, described subscription information comprises the media content information of user profile and subscription.
In the method for automatic media content download of the present invention, obtain the user profile of subscribing to media content by inquiring about described subscription information record sheet, and obtain corresponding user mobile phone number by inquiring about described user message table.
In the method for automatic media content download of the present invention, described media content comprises file header information, index information and page or leaf content piece, and described step (c) comprising:
(c1) according to first download request from described client, the parsing media content also will be resolved the file header information and the index information that obtain and be sent to described client;
(c2) according to second download request from described client, the page or leaf content piece with described media content sends to described client successively.
The present invention also provides a kind of portable terminal that is used for downloading automatically the mobile media content of said system, comprising:
The note resolution unit is used to resolve the note of reception, obtains command word and media content information to be downloaded;
The media content download unit is triggered by described command word, and according to described media content information media content download to be downloaded.
In portable terminal of the present invention, also comprise the media content subscriber units, be used to generate the request of subscribing to media content.
The system of automatic media content download of the present invention, method and portable terminal by the subscription information of server end according to media content, initiatively start the download of media content, thereby have realized the active push of media content, have avoided the troublesome operation of client.
Description of drawings
The invention will be further described below in conjunction with drawings and Examples, in the accompanying drawing:
Fig. 1 is the embodiment schematic diagram of applied environment of the system of automatic media content download of the present invention;
Fig. 2 is the schematic diagram of the embodiment among Fig. 1;
Fig. 3 is the schematic diagram of the embodiment among Fig. 2;
Fig. 4 is the flow chart of the method embodiment of automatic media content download of the present invention.
Embodiment
As shown in Figure 1, be the embodiment schematic diagram of applied environment of the system of a kind of automatic media content download of the present invention.This system is a customer end/server mode, its client be generally a plurality of portable terminals 30 (for example mobile phone, have the PDA of communication function etc., only illustrate one among the figure), server end comprises media distribution server 10.Wherein media distribution server 10 and portable terminal 30 are gone up at cordless communication network (including but not limited to GSM, CDMA, GPRS, 3G network etc.) and are used WAP etc. to carry out data interaction.
Media distribution server 10 has constituted the system of automatic media content download, and when specific implementation, it can comprise a plurality of physical equipments via local area network (LAN) or Internet connection, for example WEB server, file server etc.
As shown in Figure 2, be the schematic diagram of the embodiment of media distribution server 10 among Fig. 1.This media distribution server 10 comprises note creating unit 11, client side acquiring unit 12, note transmitting element 13 and media content transmission unit 14.
Note creating unit 11 is used for when new mobile media content release, generates the note that comprises above-mentioned new issue mobile media content identification information and command word according to predetermined format.For example, the form of said short message can be marking head+media name+medium concrete issues.Wherein marking head is special command word, thereby portable terminal 30 can be carried out corresponding down operation according to above-mentioned special command word after resolving this note, for example can use character string " //pushmedia: " as the note marking head.
Client side acquiring unit 12 is used for obtaining the client (for example portable terminal 30) of subscribing to the mobile media content by the retrieval subscription information.Above-mentioned subscription information comprises the user profile and the mobile media content information of subscription, and above-mentioned client comprises portable terminal 30.
Note transmitting element 13 is used for the note that note creating unit 11 is created is sent to the client of this media content of subscription that client side acquiring unit 12 obtains.This note transmitting element 13 calls the note transmission interface and sends note to specific portable terminal 30, for example call function SendSM ().
Media content transmission unit 14 is used for according to the download request that comprises media content sign of client the mobile media content of correspondence being sent to client.
In said system, in order to realize the stream transmission of media content, thereby guarantee the fluency of client reading media file, above-mentioned media content can comprise header, index information and page data piece, wherein file header information comprises the essential information of media file, for example the title of newspaper or magazine, issue etc.; Index information comprises in the media file essential information of page or leaf, for example should the phase newspaper or the total page number that comprises of magazine, the sign of each page data piece etc.; The page data piece is used for loading the article of newspaper or magazine, and each page data piece has a sign, and one piece of concrete article can be arranged in a page data piece or a plurality of page data piece.Correspondingly, media content transmission unit 14 comprises: first processing unit, be used for according to first download request (this request is used to obtain the file header information and the index information of media content) from client, the parsing media content also will be resolved the file header information and the index information that obtain and be sent to client; Second processing unit is used for according to second download request (this request is used to obtain the page data piece) from client, and the page or leaf content piece with media content sends to client successively.Client can be created the local media file after obtaining file header information and index information, and when obtaining each page data piece the page data piece is joined in the local media file, thereby client can be browsed downloaded contents when downloading.
In said system, can preserve the information that the user subscribes to media content by a subscription information record sheet, it specifically comprises the media content information of user profile and subscription, and is as shown in table 1.Accordingly, media distribution server 10 receives the request from the subscription media content of client by the media content subscriber units, and the generation user subscription information is saved in the subscription information record sheet.
User ID (userid) |
Predetermined content |
The predetermined start time |
Scheduled closing time |
10001 |
" Reference News " |
2007/01/01 |
2008/01/01 |
10001 |
The Peoples Daily |
2007/01/01 |
2008/01/01 |
10002 |
The Peoples Daily |
2007/06/01 |
2008/01/01 |
Table 1: subscription information record sheet
In addition, media distribution server 10 also comprises user message table, and this user message table is used for the log-on message of recording user, comprises user mobile phone number, and is as shown in table 2.Note transmitting element 13 obtains the user profile (user ID) of subscribing to media content by the querying information of subscription record sheet, and obtains corresponding user mobile phone number by the searching user's information table, then note is sent to corresponding mobile phone.
User ID (userid) |
User cipher (password) |
User mobile phone (mobile) |
10001 |
123456 |
13530871169 |
10002 |
654321 |
13530871160 |
Table 2: user message table
For example when issue 2007/08/01 phase of the Peoples Daily, 11 of note creating units are according to the messaging format definition, generate note " //pushmedia: People's Daily/2007/08/01 ".Client side acquiring unit 12 is by key 1 and table 2, obtain be scheduled to should the phase content two cell-phone numbers, note transmitting element 13 sends to this two mobile phones with the note of above-mentioned establishment.
As shown in Figure 3, be that the present invention also provides a kind of portable terminal 30 that is used for automatic download system mobile media content, it comprises note resolution unit 31 and media content download unit 32.Wherein:
Note resolution unit 31 is used to resolve the note of reception, obtains media content information to be downloaded and command word.If do not have command word in the note of resolving, then this command analysis word cell 31 is no longer resolved the remainder of this note; If have command word in the note of resolving, then note resolution unit 31 is further resolved and is obtained media content information to be downloaded (for example media content sign).
Media content download unit 32 is resolved the command word that obtains by note resolution unit 31 and is triggered, and according to the media content information media content download to be downloaded in the note.
For example the note that detects reception when note resolution unit 31 then starts media content download unit 32 with character string " //pushmedia: " beginning, imports into simultaneously and will download parameter (being media content information to be downloaded).Media content download unit 32 calls the respective function media content download, for example calls function under MS's Mobile operating system (Windows Mobile):
ShellExecute(NULL,NULL,
" MediaClient.exe ", // client-side program title
" Reference News/2007/07/02 ", // downloaded contents
NULL,SW_SHOWNORMAL
)
In the above-mentioned portable terminal, for the streaming that realizes the mobile media content is downloaded, this media content download unit 32 at first sends first download request, with the header file information and the index information of media content download, and according to header file information that obtains and index information establishment local media content; Media content download unit 32 sends second download request then, downloading the page data piece successively, and the page data piece of downloading is added in the above-mentioned local media content.
In above-mentioned portable terminal, also can comprise the media content subscriber units, be used to generate the request of subscribing to media content, to subscribe to the media content of appointment.Certainly, this subscription operation also can realize on desktop computer.
As shown in Figure 4, be the schematic diagram of the method embodiment of a kind of automatic media content download of the present invention.This method comprises:
Step S41: when new mobile media content release, generation comprises the mobile media content identification information of described issue and the note of command word.For example, the form of this note can be marking head+media name+medium concrete issues.
Step S42: the media distribution server obtains the client of subscribing to described mobile media content by the retrieval subscription information.Above-mentioned subscription information comprises media content information and user profile.
Step S43: the note of creating among the step S41 is sent to the client of obtaining among the step S42.Call function SendSM () for example.
Step S44: the download request that comprises the media content sign according to client sends to client with described mobile media content.
In said method, before step S41, also can comprise subscribe request according to client, the step of record subscription information, subscription information comprises the media content information of user profile and subscription.And in step S42, obtain the user profile of subscribing to media content, and obtain corresponding user mobile phone number by searching user's information by inquiring about above-mentioned subscription information.
In said method, download in order to realize streaming, above-mentioned media content comprises file header information, index information and page or leaf content piece, correspondingly, step S44 comprises: according to first download request from described client, the parsing media content also will be resolved the file header information and the index information that obtain and be sent to described client; According to second download request from described client, the page or leaf content piece with described media content sends to described client successively.
By above system and method, just can reach purpose, thereby the user can be understood in time and the following up-to-date media content of issuing on the media platform server that is loaded in by server from top to down distribution electronic medium content.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.