Embodiment
Below in conjunction with accompanying drawing the technical scheme that the embodiment of the invention provides is described in further detail.
Referring to Fig. 1, the flow chart of the method for the mobile device receiving advertisement business that provides for the embodiment of the invention comprises:
Step 101 judges whether mobile device is in idle condition.
Mobile device has multiple resource, for example, calendar, calculator, browser, camera, recorder, note/multimedia message, input method, broadcast receiver, picture editor, mp3 plays, video playback etc., mobile device is when receiving advertisement business, need the support of one or more resources, but type for every kind of receiving advertisement business of mobile device, for example note/multimedia message/picture receives, audio/video advertisement is play, all execution of a corresponding work item workitem, mobile device is when carrying out a work item, for example play a section audio advertisement, to use a resource collection ResourceSet, ResourceSet represents the set of the resource that a required by task is wanted.
Mobile device when carrying out each task, but with the resource requirement set in the urgency level of allocation probability, execution work item of availability, work item of each resource itself and relevant in accordance with the degree of constraints.For this reason, can set up the absolute distribution factor that Mathematical Modeling is as shown in Equation (1) obtained each resource in the resource collection:
absolute_allocation(w,rs)=
rs_to_workitem(w,rs)*urgency_workitem(w)* (1)
comply_constraints(w,rs)*availability(rs)
Wherein, whether can distribute to the probability that work item is used for resource, can use function rs_to_workitem (w, rs) but the expression work item allocation probability: rs_to_workitem (w, rs) ∈ [0,1], value is that 1 expression resource can be distributed to this work item fully, and value is that 0 expression can not be distributed to this work item use.This distribution possibility relation is called resource-work item matching list between definition resource and the work item.
The execution of each work item all has the division of urgency level, for the high work item of emergency, must give higher weights, with the urgent degree of function urgency_workitem (w) expression work item: urgency_workitem (w) ∈ [0,1], the urgency level of the big more expression execution work of value item is high more.
The operation of work item also needs to satisfy certain constraints.Use ConstraintSet to represent constrain set, defined function violate (c, w, rs) ∈ { true, false}, function are respectively bound term (c), work item (w) and resource items (rs), this function will be judged when resource distributed to work item by constraint rule, whether can produce and run counter to, TRUE, FALSE represents not run counter to constraint if representing to run counter to constraint, when calculating the constraint probability, from running counter to the member of constraint, each calculate.Therefore each the bound term c in the set has a constraint factor, the cost proportion that this constraint is produced is violated in expression, with function constraint_violate_factor (c) ∈ [0,1] expression, value is that 1 this constraints of expression can not be violated, value is that 0 expression does not have constraints, the value representation constraint strength between the 0-1.On mobile device, for example mobile phone for the system of non-preemptive type, will be monopolized CPU when copied files, cause other application unavailable, and this just is equivalent to when copied files, and this constraints can not be violated.Therefore, carrying out its degree of observing constraints for a work item can obtain by formula (2):
For example, the picture reader is because the restriction of hardware performance, can only support big or small 1M with interior picture, decoding uses internal memory to be limited in the 4.5M, and along with the increment of picture physics size, the internal memory of its use and physics size have certain relation (such as linearity or certain curved line relation), then constraint_violate_factor (c) value increases progressively, therefore the suffered constraint factor of whole task also successively decreases, and finally causes the resource allocation failure, and task can not be carried out.
At itself to each resource, also there is the problem of an availability quality, available functions availability (rs) ∈ [0,1] represents the availability of each resource itself.This point embodies on the concrete mobile device, then shows as the evaluation indexes such as stability, performance of each resource module, comprises the influence to existing resource of defective that other software, hardware module resource exist.
Formula (1) has defined the absolute distribution factor of each resource in the resource collection, but, obtain the absolute distribution capability of each resource in the resource collection promptly according to the availability of each resource in the resource requirement set itself, the allocation probability of work item, the urgency level of execution work item and the product of observing the degree of constraints.
But get the distribution factor of the maximum of the absolute distribution factor of each resource in the resource collection as mobile device receiving advertisement business type, but but compare by the threshold values that the distribution factor and the receiving advertisement business type of receiving advertisement business type are set, but as can be known the receiving advertisement business type corresponding work item whether can carry out: if greater than the threshold values of setting, the expression work item can be carried out, if be less than or equal to the threshold values of setting, the expression work item can't be carried out.
According to formula (1) but obtain the distribution factor of mobile device receiving advertisement business type, certain limitation is arranged, such as for there being many resources all to satisfy in the resource collection, then therefrom calculate an absolute_allocation (w, rs) value satisfies the condition of execution work item, but it is not promptly difficult greater than the threshold values of receiving advertisement business type setting, but for having only a few resource can satisfy the work item needs, absolute_allocation (the w of very possible any one resource, rs) value does not all reach preset threshold, therefore work item just probably can't be carried out, because resource can't be allocated successfully, at this moment will produce unusual.In order to remedy top situation, formula (3) has defined the relative distribution factor of each resource in the resource collection:
Formula (3) shows, the relative distribution factor be exactly the absolute distribution factor of each resource in the resource collection and each resource in the described resource collection absolute distribution factor add up and ratio, for the resource i that can not distribute to work item, its absolute distribution factor is 0, does not therefore influence the numerical value of the relative distribution factor.The relative distribution factor has well solved the resource-constrained that satisfies the work item needs, the absolute low excessively problem of distribution factor numerical value.But also may produce new problem simultaneously, for example when available resources are too much, the relative distribution factor numerical value that obtains also can reduce, face the relative_allocation (w of any one resource equally, rs) value does not all reach preset threshold, cause resource to be allocated successfully, the problem of work item with regard to probably carrying out.Therefore, need further correction formula (3), absolute distribution capability and relative distribution ability all taken into account:
Formula (4) has defined the comprehensive distribution factor of each resource in the resource collection, wherein, according to the ratio of the 1 absolute distribution factor that deducts each resource in the peaked difference of absolute distribution factor of each resource in the described resource collection and the described resource collection, obtain the relative distribution coefficient of resource collection greater than zero number:
This relative distribution system can guarantee that whole expression formula is smaller or equal to 1.
For example, in some resources, there are two resources to be assigned with, its absolute distribution factor is respectively 0.8 and 0.5, the relative distribution coefficient of resource collection is: (1-0.8)/(1+1)=0.1, the final distribution capability according to each resource in the resource collection of formula (4) acquisition is:
0.8+0.1*0.8/(0.8+0.5)=0.8+0.062=0.862
0.5+0.1*0.5/(0.8+0.5)=0.5+0.038=0.538
And for extreme case, when having only a resource to be assigned with, for example its absolute distribution factor is 0.45, then utilizes formula (4) to have:
0.45+ (1-0.45)/and 1*0.45/0.45=0.45+0.55=1, that is to say that the relative distribution coefficient in the formula (4) can guarantee that (w rs) can not surpass 1 to comprehensive distribution factor allocation.
The background program of mobile device calculates the allocation (w of each resource in the resource collection, rs) after the value, but therefrom choose the distribution factor of maximum value as the corresponding work item of described mobile device receiving advertisement business type, if maximum value does not still reach preset threshold or empirical value, represent that then task does not possess the condition of execution.
For realizing judging whether self is in the function of idle condition, mobile device need be set up the administration module an of work item and its Resources list, but obtain every kind of receiving advertisement business type the resource collection of corresponding work item, but and, but obtain the distribution factor of mobile device receiving advertisement business type according to the allocation probability of the availability of each resource in the described resource collection itself, work item, the urgency level of execution work item and the degree of observing constraints.But the distribution factor that obtains mobile device receiving advertisement business type has three kinds of possibilities:
Scheme one is obtained the absolute distribution factor of each resource in the resource collection according to formula (1), but gets the distribution factor of the maximum of the absolute distribution factor of each resource in the described resource collection as the corresponding work item of described mobile device receiving advertisement business type.
Scheme two is obtained the relative distribution factor of each resource in the resource collection according to formula (3), but the maximum of the relative distribution factor of getting each resource in the described resource collection is as the distribution factor of the corresponding work item of described mobile device receiving advertisement business type.
Scheme three is obtained the comprehensive distribution factor of each resource in the resource collection according to formula (4), but gets the distribution factor of the maximum of the comprehensive distribution factor of each resource in the described resource collection as the corresponding work item of described mobile device receiving advertisement business type.
Wherein, scheme three combines absolute distribution capability of resource and relative distribution ability, and the resource number that no matter can share out the work in the resource collection is many or few, can obtain reasonably comprehensive distribution factor, so preferred version three.
But the threshold values that the distribution factor that gets access to and mobile device receiving advertisement business type are set is compared, if greater than the threshold values of setting, the expression work item can be carried out, judge that then mobile device is in idle condition, if be less than or equal to the threshold values of setting, the expression work item can't be carried out, and judges that then mobile device is in busy state.Wherein, but every kind of threshold values that the receiving advertisement business type is set is the probability distribution data, and these type of data are the empirical value of mobile device manufacturer or operator usually.
The method of this mobile device judgement self idle condition is different with the Demon process.The Demon process is called finger daemon again, is meant when program is idle, handle relevant a few thing, but when other process took CPU, Demon can only hang up.In embodiments of the present invention, by data structure in the available situation of one of the inner periodic maintenance of mobile device self, various resources in the mobile device are dynamically controlled, the distribution factor of the shared out the work item of each resource in the dynamically accessing resource set, but and compare with threshold values that the receiving advertisement business type is set, judge whether mobile device self is in idle condition, so just can realize, in time, carry out commercial activitys such as receiving advertisement business at " rubbish " of mobile device program running.For example, a lot of application programs are being carried out consistency operation, when operating with server sync as data such as phone directory, notepads, often demonstrate some animations or wait for picture for a long time.Method by mobile device judgement in the embodiment of the invention self idle condition, application program can report or initiatively upgrade data such as the upstate, urgency level of self, reach that propaganda activity is utilized by advertising business in the non-core function time, as downloading, play advertising data etc.The way that these find time when the operation of other process, be the Demon program can not finish.
The mobile device judgement self is in idle condition, need satisfy a lot of conditions.From participating in the role, it is fewer that mobile device requires the participant usually, and a guy even nobody participate in; Mobile device is safeguarded a lot of resource modules, as phone directory, input method, calculator, camera, broadcast receiver, video recorder, note/multimedia message, image/picture editor's browser, audio/video playback etc., the availability of these modules how, depend primarily on the quality of module self, usually these modules of commercial product all are more stable, so its availability (resource) approaches 1; The free time of mobile device judgement receiving advertisement business need be observed a lot of constraintss, as, can not with user interactions in enter the free time, can not when taking pictures, camera enter the free time, can not when consistency operations such as graph image encoding and decoding, enter the free time, and the player of mobile device is when the playing back music of backstage, then has ready conditions to satisfy to enter idle condition; And the execution priority of being responsible for the task of discovery idle condition itself is very low, and promptly its urgency_workitem (w) value is less usually; Utilizing mobile device to carry out advertising when professional, can use player or multimedia message/note usually and work item such as browse, but the most direct embodiment of allocation probability of work item is being exactly the availability of the various resource modules of software application layer.
Illustrate that with concrete example the mobile device judgement self is in the method for idle condition below:
Example one for designing conveniently, supposes that mobile phone does not have other operation at present, has only the backstage playing back music.Then at this moment, but the allocation probability of other propaganda materials of player plays is rs_to_workitem (rs) is 0.2 (dynamically updating usability data according to present residue play content), to carry out the urgency of advertising work item itself lower and play propaganda materials, such as having only 0.1, and the availability of player itself is 1, but observe the degree very low (supposition has only a constraints) of constraints, be violate (c, w, rs)=TRUE, player is not idle at present, its corresponding constraint_violate_fator (c) ∈ [0,1] bigger, such as 0.9, then the absolute distribution factor according to formula (1) acquisition player is: 0.2*0.1*1* (1-0.9)=0.002.
Example two, suppose that mobile phone will receive the advertising resource by multimedia message/SMS module, because there is not the note input operation, but multimedia message/SMS module allocation probability this moment is than higher, be that its rs_to_workitem (rs) is bigger, be 0.9, to carry out the urgency level of advertising work item itself still lower and receive multimedia message/note, be 0.1, availability (the quality of message and multimedia message itself, indexs such as stability) be approximately 1, constraints is without prejudice to (carrying out such as editor, transmit, operations such as deletion information), then constraint_violate_fator (c) ∈ [0,1] less, such as being 0, then the absolute distribution factor according to formula (1) acquisition multimedia message/SMS module is: 0.9*0.1*1*1=0.09.
Calculate the relative distribution factor or comprehensive distribution factor according to absolute distribution factor, and uncomplicated, do not repeat them here.
Hypothesis is by test and experience accumulation again, but receiving advertisement business type preset threshold is 0.075 o'clock, by the distribution factor and the threshold values of setting that relatively obtains, at the distribution factor that obtains during greater than the threshold values of setting, mobile device will be judged and self be in idle condition.
When judging that mobile device is in idle condition, will enter step 102, otherwise mobile device does not carry out the startup of advertising business, continue its idle condition of dynamic monitoring, when judging that mobile device is in idle condition, start the advertising business.
Step 102, to the request message of server transmission receiving advertisement business, but described request message comprises the receiving advertisement business type.
Specific to above two examples, mobile device is judged the idle condition obtain carrying out the advertising business propaganda by player types for not, and carries out the idle condition of advertising business propaganda for being by note/multimedia message type.At this moment, mobile device can carry out the startup of advertising business: system can select to send reception advertising service request message to server, and can accept the message informing server of note/multimedia message advertising business type, it is professional that server then can issue the correspondent advertisement propaganda with note/multimedia message form.
After mobile device is judged as idle condition, can send the relevant advertisement information request that receives to server.Because each mobile platform difference for this reason, can promptly transmit in the command format of message the Data Transport Protocol that uses a kind of portable terminal all to support in application layer.For example can use the SyncML agreement to carry out the transmission of advertising business content.Present most mobile phone has all been realized Open Mobile Alliance (OMA, Open MobileAlliance) SyncML agreement, and SyncML is the meaning of Synchronize+XML, i.e. expression can use the XML language to realize the agreement of synchronizing function.
OMA SyncML agreement is the C/S structure, client-side mainly is to comprise a sync client program, and at first the data that client is revised are passed to server, simultaneously, also the data parsing of server side to be come out be updated to client-side, guarantee the two ends data consistent at last.Server side comprises a sync agent and a synchronization engine, prepares at any time and initiates synchronous client and carry out synchronously.The mobile device side can realize the synchronous reception of advertising business by expansion OMA SyncML agreement.
In order to support the transmission of numerous types of data, OMA SyncML agreement has special description to the synchronization object of being supported, as synchronous vCard, and vCalendar, Email, big object (as file etc.) etc.To receivable advertising business type, only need that this agreement is carried out minor modifications and get final product in embodiments of the present invention.
For example, the simple and easy XML message of an alternate file:
…
<Sync>
…
<Replace〉--show it is ancient deed on the replacement terminal, terminal can increase this document newly if ancient deed does not exist then
<CmdID>6</CmdID>
<Meta>
<Type xmlns=' syncml:metinf '〉application/vnd.omads-file+xml</Type〉--the expression synchronous documents
</Meta>
<Item>
<Source>
<LocURI〉123</LocURI〉--corresponding local file unique number
</Source>
<Data〉--file data
<![CDATA[
<File〉--the attribute of file
<name>OMA-DataObject-File.doc</name>
<created>20030807T231830</created>
<modified>20030809T015500</modified>
<attributes>
<h>false</h>
<a>true</a>
</attributes>
<body enc=" base64 "〉<--! File content
</body>
</File>
]]>
</Data>
</Item>
</Replace>
</Sync>
In the request message initialization procedure, can in the synchronization object of OMA SyncML agreement, indicate, what need carry out is the synchronous of receiving advertisement business, after server side is received this request message, placing the advertising file of right type on the server, be issued to mobile device synchronously, enable corresponding player by the mobile device side and play.
Here, owing to be that server side issues synchronizing content, and the mobile device side is not upward sent out, therefore need carry out cutting to OMA SyncML agreement, only keep the one-sided method of synchronization of server (One-Way Sync from Server only) in seven kinds of methods of synchronization of SyncML, be that mobile device can not be reflected on the server to the modification of issuing the documents, that is to say, in OMA SyncML synchronous protocol, do not send with file increase, deletion, revise relevant information, can accelerate synchronous speed so greatly and save data traffic to server.
Step 103, the advertising business that reception server issues according to request message.
Mobile device is after server is initiated synchronization request, for server end, then need to provide a SyncML server and engine, can realize by interface as the webservice form, receive the synchronization request that mobile device is initiated, and issue the correspondent advertisement service scripts according to request message.
Mobile device can be placed under the special catalogue of mobile device the advertising business that the server that receives issues according to request message, is not user's finding, prevents user's retouching operation.
In order just to control the synchronous documents content in the mobile device side, server side can by expansion OMA SyncML agreement mode realize of the synchronous reception of mobile device side to advertising business, for example, can in OMA SyncML agreement, add an attribute, indicate synchronous documents MIME (Multipurpose Internet EmailExtension, multi-functional Internet mail expands service) type:
<!--
application/vnd.omads-file+xml?V?1.2?Document?Type?Definition
http://www.openmobilealliance.org/tech/DTD/OMA-DS-DataObjFile-DTD-V1?2.dtd
Copyright?Open?Mobile?Alliance?Ltd.,2002-2003
All?rights?reserved
Terms?and?conditions?of?use?are?available?from?the
Open?Mobile?Alliance?Ltd.web?site?at
http://www.openmobilealliance.org/useterms.html-->
<?xml?version=″1.0″encoding=″UTF-8″?>
<!--Root?Element-->
<!ELEMENT?File(name?,created?,modifed?,accessed?,attributes?,
cttype?,body?,size?,Ext*)>
<!-:The?supporters?MUST?support?this?property.The?name?does?not?include
any?location?information(URL,path,etc.).-->
<!ELEMENT?name(#PCDATA)>
<!ELEMENT?created(#PCDATA)>
<!ELEMENT?modified(#PCDATA)>
<!ELEMENT?accessed(#PCDATA)>
<! ELEMENT attributes (h?, s?, a?, d?, w?, r?, x?, t?)--increase attribute t herein, representation file MIME
Type
<!ELEMENT?h(#PCDATA)>
<!ELEMENT?s(#PCDATA)>
<!ELEMENT?a(#PCDATA)>
<!ELEMENT?d(#PCDATA)>
<!ELEMENT?w(#PCDATA)>
<!ELEMENT?r(#PCDATA)>
<!ELEMENT?x(#PCDATA)>
<! ELEMENT t (#PCDATA)〉--newly-increased attribute, the mime type of expression file
<!ELEMENT?cttype(#PCDATA)>
<!ELEMENT?body(#PCDATA)>
<!ATTLIST?body?enc?CDATA#IMPLIED>
<!ELEMENT?size(#PCDATA)>
<!ELEMENT?Ext(XNam,XVal*)>
<!ELEMENT?XNam(#PCDATA)>
<!ELEMENT?XVal(#PCDATA)>
<!--End?of?DTD?Definition-->
In the superincumbent agreement, expanded the mime type attribute of file, the mobile device side is after receiving the synchronous documents that server side issues like this, can directly call relevant playing program according to the mime type attribute, as browser, the picture reader, media player etc. have been saved the time that resolution file is judged.
The method of the mobile device receiving advertisement business that the embodiment of the invention provides, by the judgement of mobile device to self idle condition, especially to using the analysis and judgement of idle condition in service, make that propaganda is utilized mobile device by advertising business in the non-core function time, effectively utilized the free time of mobile device to carry out the advertising business propaganda; When mobile device is in idle condition, initiatively send the request message of receiving advertisement business, and reception server has been revised traditional C/S structure according to the advertising business file that request message issues to server, mobile device promptly is a service requester, also is the ISP; And, employing is carried out transfer of data by the OMA SyncML agreement of the one-sided method of synchronization of server of cutting between mobile device and the server, accelerated the speed of synchronous reception, saved data traffic, and the advertising business mobile device that receives is directly called relevant playing program according to its mime type attribute, save the time that resolution file is judged, perhaps the advertising business that receives has been placed on not under the catalogue of user's modification, prevented user's retouching operation.Like this, the method of using the embodiment of the invention to provide, can effectively utilize free time of mobile device to carry out the advertising business propaganda, the advertising business that receives is realized directly calling synchronously relevant playing program, for operator and mobile device terminal client provide bigger information interchange platform.
On the method basis that the embodiment of the invention provides, the embodiment of the invention provides a kind of mobile device, as shown in Figure 2, comprising:
Idle condition judging unit 201 is used to judge whether mobile device is in idle condition;
Advertising business request unit 202 is used for when mobile device is in idle condition, and to the request message of server transmission receiving advertisement business, but described request message comprises the receiving advertisement business type;
Advertising business receiving element 203 is used for the advertising business that reception server issues according to request message.
Wherein, as shown in Figure 3, described idle condition judging unit 201 comprises:
Resource collection acquisition module 2011, but be used to obtain the receiving advertisement business type the resource collection of corresponding work item;
Distribution factor acquisition module 2012, but be used for the availability according to each resource of described resource collection itself, the allocation probability of work item, the urgency level of execution work item and the degree of observing constraints, but obtain the distribution factor of the corresponding work item of mobile device receiving advertisement business type;
Threshold values is judge module 2013 relatively, be used for but the threshold values of described distribution factor and the setting of described receiving advertisement business type is compared, if greater than the threshold values of setting, judge that then mobile device is in idle condition, if be less than or equal to the threshold values of setting, judge that then mobile device is in busy state.
Described distribution factor acquisition module 2012 comprises a following submodule at least:
The absolute factor is obtained submodule 2012A, but be used for the availability according to each resource of described resource collection itself, the allocation probability of work item, the urgency level of execution work item and the product of observing the degree of constraints, obtain the absolute distribution factor of each resource in the described resource collection; But get the distribution factor of the maximum of the absolute distribution factor of each resource in the described resource collection as the corresponding work item of described mobile device receiving advertisement business type;
The factor is obtained submodule 2012B relatively, but be used for the availability according to each resource of described resource collection itself, the allocation probability of work item, the urgency level of execution work item and the product of observing the degree of constraints, obtain the absolute distribution factor of each resource in the described resource collection; According to the absolute distribution factor of the absolute distribution factor of each resource in the described resource collection and each resource in the described resource collection add up and ratio, obtain the relative distribution factor of each resource in the described resource collection; But the maximum of the relative distribution factor of getting each resource in the described resource collection is as the distribution factor of the corresponding work item of described mobile device receiving advertisement business type;
Multi-stress obtains submodule 2012C, but be used for the availability according to each resource of described resource collection itself, the allocation probability of work item, the urgency level of execution work item and the product of observing the degree of constraints, obtain the absolute distribution factor of each resource in the described resource collection; According to the absolute distribution factor of the absolute distribution factor of each resource in the described resource collection and each resource in the described resource collection add up and ratio, obtain the relative distribution factor of each resource in the described resource collection; According to the ratio of the 1 absolute distribution factor that deducts each resource in the peaked difference of absolute distribution factor of each resource in the described resource collection and the described resource collection, obtain the relative distribution coefficient of described resource collection greater than zero number; The relative distribution factor and the described relative distribution coefficient that add each resource in the above resource collection according to the absolute distribution factor of each resource in the described resource collection are long-pending, obtain the comprehensive distribution factor of each resource in the described resource collection; But get the distribution factor of the maximum of the comprehensive distribution factor of each resource in the described resource collection as the corresponding work item of described mobile device receiving advertisement business type.
But the urgency level of the allocation probability of the availability of each resource itself, work item, execution work item and the notion of observing the degree of constraints are same as the description in the embodiment of the invention method in the described resource collection, do not repeat them here.
After mobile device is judged as idle condition, can send the relevant advertisement information request that receives to server.Because each mobile platform difference, can promptly transmit in the command format of message in application layer for this reason, the OMA SyncML Data Transport Protocol that uses a kind of portable terminal all to support carries out the transmission of advertising business content.
When receiving advertisement business, owing to be that server side issues synchronizing content, and the mobile device side is not upward sent out, therefore need carry out cutting to OMA SyncML agreement, only keep the one-sided method of synchronization of server (One-Way Sync from Server only) in seven kinds of methods of synchronization of SyncML, promptly in OMA SyncML synchronous protocol, do not send with file increase, deletion, revise relevant information, can accelerate synchronous speed so greatly and save data traffic to server.
Therefore, the mobile device of the embodiment of the invention is seen shown in Figure 2ly, can also comprise:
Synchronous transmission unit 204 is used to adopt the OMA SyncML agreement of the one-sided method of synchronization of server to carry out transfer of data between mobile device and the server.
Mobile device can be placed under the special catalogue of mobile device the advertising business that the server that receives issues according to request message, is not user's finding, prevents user's retouching operation.
For the convenient control of mobile device synchronous documents content, also can by expansion OMA SyncML agreement mode realize the synchronous reception of mobile device to advertising business, for example, can in OMA SyncML agreement, add an attribute, indicate the synchronous documents mime type, mobile device is after receiving the synchronous documents that server issues like this, can directly call relevant playing program according to the mime type attribute, as browser, the picture reader, media players etc. have been saved the time that resolution file is judged.
Therefore, after the advertising business receiving element, see shown in Figure 2ly, the mobile device of the embodiment of the invention also comprises a following unit at least:
Broadcast unit 205 is used for the advertising business that receives is directly called relevant playing program according to the mime type attribute;
Download unit 206, the advertising business that is used for receiving are placed on not under the catalogue of user's modification.
The mobile device of the receiving advertisement business that the embodiment of the invention provides, realize the judgement of mobile devices by idle condition judging unit 201 to self idle condition, especially to using the analysis and judgement of idle condition in service, make that propaganda is utilized mobile device by advertising business in the non-core function time, effectively utilized the free time of mobile device to carry out the advertising business propaganda; When mobile device is in idle condition, initiatively send the request message of receiving advertisement business to server by advertising business request unit 202, the advertising business file that advertising business receiving element 203 reception servers issue according to request message, revised traditional C/S structure, mobile device promptly is a service requester, also is the ISP; And, adopt the OMA SyncML agreement of the one-sided method of synchronization of servers to carry out transfer of data between mobile device and the server by synchronous transmission unit 204, accelerated the speed that mobile device receives synchronously, saved data traffic, and can directly call relevant playing program according to its mime type attribute by broadcast unit 205 to the advertising business file that receives, saved the time that resolution file is judged, perhaps the advertising business that receives is placed on not under the catalogue of user's modification, prevents user's retouching operation by download unit 206.Like this, the mobile device that the embodiment of the invention provides, can effectively utilize free time of mobile device to carry out the advertising business propaganda, the advertising business that receives is realized directly calling synchronously relevant playing program, for operator and mobile device terminal client provide bigger information interchange platform.
On the method basis that the embodiment of the invention provides, still as shown in Figure 2, the embodiment of the invention also provides a kind of system of receiving advertisement business, and this system comprises:
Mobile device 200 is used to judge whether mobile device is in idle condition, and when mobile device was in idle condition, to the request message of server transmission receiving advertisement business, but described request message comprised the type of receiving advertisement business; And the advertising business that issues according to request message of reception server;
Server 300, the request message that is used for the receiving advertisement business that sends according to mobile device issues advertising business to mobile device.
Wherein, mobile device 200 judges that whether the method that idle condition can adopt the embodiment of the invention to provide self is provided is carried out, and does not repeat them here.
And described mobile device 200 also is used to adopt the OMA SyncML agreement of the one-sided method of synchronization of server to carry out transfer of data between mobile device and the server.
Described mobile device 200, also being used for the advertising business that receives is directly called relevant playing program and/or the advertising business that receives is placed on according to the mime type attribute is not under the catalogue of user's modification.
The system of the receiving advertisement business that provides in the embodiment of the invention, by of the judgement of 200 pairs of mobile devices of mobile device to self idle condition, especially to using the analysis and judgement of idle condition in service, make that propaganda is utilized mobile device by advertising business in the non-core function time, effectively utilized the free time of mobile device to carry out the advertising business propaganda; When mobile device is in idle condition, by the request message of active to server 300 transmission receiving advertisement business, and reception server has been revised traditional C/S structure according to the advertising business file that request message issues, mobile device 200 promptly is a service requester, also is the ISP; And, mobile device 200 carries out transfer of data between mobile device 200 and the server 300 by the OMA SyncML agreement that adopts the one-sided method of synchronization of server, accelerated the speed that mobile device 200 receives synchronously, saved data traffic, and can directly call relevant playing program according to its mime type attribute to the advertising business file mobile device 200 that receives, saved the time that resolution file is judged, perhaps the advertising business that receives is placed on, prevents user's retouching operation not under the catalogue of user's modification.Like this, the system that the embodiment of the invention provides, can effectively utilize free time of mobile device 200 to carry out the advertising business propaganda, the advertising business that receives is realized directly calling synchronously relevant playing program, for operator and mobile device terminal client provide bigger information interchange platform.
By the description of above embodiment, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better execution mode under a lot of situation.Based on such understanding, the part that the technical scheme of the embodiment of the invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium, comprise that some instructions are with so that mobile device (can be a mobile phone, personal computer, media player etc.) the described method of execution each embodiment of the present invention.Here alleged storage medium, as: ROM/RAM, disk, CD etc.
More than method, mobile device and the system of the mobile device receiving advertisement business that the embodiment of the invention provided is described in detail, the explanation of embodiment just is used for helping to understand method of the present invention and thought thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.