Summary of the invention
Technical problem to be solved by this invention is to provide the implementation method of micro-application platform of a kind of open mobile terminal, can solve existing Widget application platform the problem of service can only be provided for a kind of or limited several specific terminal platform.
The present invention also provides micro-application platform of a kind of open mobile terminal and micro-application platform server of open mobile terminal, to guarantee said method application in practice.
In order to address the above problem, the invention discloses the implementation method of micro-application platform of a kind of open mobile terminal, comprising: micro-application platform server receives micro-client software download request; The classification information that comprises the mobile-terminal platform that sends this download request in this download request; The classification information of the mobile-terminal platform comprising according to described download request, chooses and sends micro-client software of corresponding such other mobile-terminal platform; Receive the user's registration information sending by described micro-client software; This log-on message comprises the version number of the mobile-terminal platform that mobile terminal is used; Receive micro-the application software download request that described micro-client software sends; The application type that comprises required download software in this micro-application software download request; Judge that whether Download Server preserves micro-application software of this application type that the version number of this mobile-terminal platform comprising with described user's registration information conforms to, and if so, sends this micro-application software; If described Download Server is not preserved micro-corresponding application software of the version number of the mobile-terminal platform comprising with described user's registration information, according to the version number of described mobile-terminal platform, and micro-application software of this application type of other versions of this mobile-terminal platform or other mobile-terminal platform, micro-the application software that the version of generation and this mobile-terminal platform matches.
Preferably, before micro-application software step of described transmission, also comprise: judge whether described micro-application software needs to order; If so, by described micro-client software, show charging prompting information, and the feedback information according to user, records order relations.
Preferably, said method also comprises: micro-the application code that described micro-application platform server reception user or application developers are uploaded, and detect by default rule; Micro-the application software by detecting is published on described Download Server.
Preferably, described, micro-the application software by test also comprised before being published on described Download Server: to carrying out digital signature by micro-application software of test.
Preferably, said method also comprises: described micro-client software judges whether described Download Server has micro-application software of redaction, if so, asks to download and install micro-application software of redaction.
According to another preferred embodiment of the present invention, micro-application platform of a kind of open mobile terminal also disclosed, comprise micro-application platform server, Download Server and mobile terminal, wherein: described micro-application platform server specifically comprises micro-client software administrative unit, user's registration information administrative unit and micro-application software administrative unit; Described micro-client software administrative unit is used for receiving micro-client software download request, and the mobile-terminal platform classification information comprising according to described download request is chosen and sent corresponding micro-client software to described mobile terminal; Described user's registration information administrative unit is used for receiving the user's registration information from described mobile terminal, and these information are managed; Described micro-application software administrative unit is for receiving micro-the application software download request that user sends by described mobile terminal, judge whether described Download Server preserves micro-application software of the mobile-terminal platform version of corresponding described user's registration information, if so, control described Download Server and send this micro-application software; Described mobile terminal is for downloading and install described micro-client software and micro-application software; Described Download Server is used for sending described micro-application software; Above-mentioned micro-application platform server also comprises micro-application software generation unit, be used for according to the version number of described mobile-terminal platform, and micro-application software of this application type of other versions of this mobile-terminal platform or other mobile-terminal platform, generate micro-the application software matching with this mobile-terminal platform version.
Preferably, above-mentioned micro-application platform server also comprises: order relations administrative unit, for judging whether described micro-application software needs to order; If so, by described micro-client software, show charging prompting information, and the feedback information according to user, records order relations.
Preferably, above-mentioned micro-application platform server also comprises: micro-application software release unit, and micro-the application code of uploading for receiving user or application developers, and detect by default rule; And, micro-the application software by detecting is published on described Download Server.
Preferably, above-mentioned micro-application platform server also comprises: digital signature unit, for to by test micro-application software carry out digital signature.
Preferably, above-mentioned micro-application platform server also comprises: version management unit, for judging whether described Download Server has micro-application software of redaction, if so, according to user's request, to described mobile terminal, issue micro-application software of redaction.
Preferably, above-mentioned micro-application platform server and Download Server are deployed on same physical server, or are deployed on different physical servers.
According to an also preferred embodiment of the present invention, micro-application platform server of a kind of open mobile terminal disclosed, comprise micro-client software administrative unit, user's registration information administrative unit and micro-application software administrative unit, wherein: described micro-client software administrative unit is for receiving the software download request of micro-client, and the mobile-terminal platform classification information comprising according to described download request is chosen and sent corresponding micro-client software to mobile terminal; Described user's registration information administrative unit is used for receiving the user's registration information from described mobile terminal, and these information are managed; This user's registration information at least includes mobile-terminal platform version number; Described micro-application software administrative unit is for receiving micro-the application software download request that user sends by described mobile terminal; judge whether described Download Server preserves micro-the application software that the mobile-terminal platform version of described user's registration information matches; if so, send this micro-application software; Described micro-application platform server also comprises micro-application software generation unit, be used for according to the version number of described mobile-terminal platform, and micro-application software of this application type of other versions of this mobile-terminal platform or other mobile-terminal platform, generate micro-the application software matching with this mobile-terminal platform version.
Compared with prior art, the present invention has the following advantages:
In embodiments of the present invention, micro-client software of corresponding platform can select and send according to the registration parameter of user's submission to micro-application platform server, the type of terminal and operating system platform are not all had to restriction, can solve existing Widget application platform the problem of service can only be provided for a kind of or limited several specific terminal platform; In addition, also can solve under prior art condition when user downloads application program of mobile phone needs Mutiple Choice (as first selected application program, select again manufacturer, then select model and software platform), and each selection all need to be from tens, even up to a hundred options, select, thereby cause user to experience non-constant, apply very difficult problem.
In the further preferred embodiment of the present invention, before micro-the application software by test is published on Download Server, first to carrying out digital signature by micro-application software of test, can guarantee to be published to fail safe and the trackability of micro-application software on Download Server, avoid occurring stealing the problem of micro-application software user information.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
With reference to Fig. 1, show the flow process of implementation method one embodiment of micro-application platform of open mobile terminal of the present invention, specifically comprise the following steps:
S101: micro-client software downloaded and installed to mobile terminal from micro-application platform server;
Specifically comprise: mobile terminal sends micro-client software download request (the identification marking information of the classification information that comprises the mobile-terminal platform that sends this download request in this download request, mobile terminal etc.) to micro-application platform server, the classification information of the mobile-terminal platform that micro-application platform server comprises according to this download request, chooses and sends micro-client software of corresponding such other mobile-terminal platform.
In this preferred embodiment, micro-client software designs respectively for each mobile terminal operating system platform, such as for each operating system platforms such as Symbian, Mac OS, Android, windows mobile, design respectively a micro-client software.Mobile terminal operating system is different, and micro-client software may be different, but for the different editions of same mobile-terminal platform (as Android), can share a client software.
S102: user is by above-mentioned micro-client software input user's registration information;
In above-mentioned user's registration information, at least include the version number of the mobile-terminal platform that mobile terminal uses; As Windows Mobile5.0 etc.
S103: user downloads micro-application software by micro-client software request, server receives micro-the application software download request that this micro-client software sends;
In above-mentioned micro-application software download request, the application type that comprises required download software, as calendar software, video jukebox software or car race game software etc.
S104: judge that whether Download Server preserves micro-the application software that the mobile-terminal platform version that comprises with above-mentioned user's registration information matches, and if so, goes to step S106; Otherwise, go to step S105;
S105: according to mobile-terminal platform version number, generate micro-the application software matching with this mobile-terminal platform version;
Concrete grammar can adopt following two kinds of modes: the one, and micro-the application software based on this corresponding application type of other mobile-terminal platform, the code section that platform to concrete is relevant is modified, generate micro-application program of applicable this mobile-terminal platform version; The 2nd, first judge whether to exist identical with this mobile-terminal platform, but if so, micro-application software of different this application type of version modify based on this immediate micro-application program; Otherwise micro-application software of this application type based on other mobile-terminal platforms modified.It should be noted that, dynamically generating widget application software is not that this preferred embodiment is necessary.
S106: this corresponding micro-application software is downloaded and installed to micro-client software.
In the further preferred embodiment of this method embodiment, method for down loading for micro-client software, user can obtain micro-client software list by accessing micro-application platform server, and selects corresponding micro-client software according to the version number of mobile-terminal platform (as Windows Mobile5.0); Also can provide mobile-terminal platform version number by user Xiang Wei part application platform server, and, by server, select and micro-the client software matching is with it provided, as shown in Figure 3, specifically comprise:
S301: user is by micro-application platform server of mobile terminal accessing;
S302: micro-application platform server provides micro-client software download list or address;
S303: micro-the client software that selection and corresponding platform version match;
S304: corresponding micro-client software bag downloaded and installed to mobile terminal.
Wherein, micro-client software can be mounted in the Web program running environment plug-in unit on browser of mobile terminal.
For the user registering method of micro-application software, as shown in Figure 4, specifically comprise:
S401: user starts micro-the client software being arranged on mobile terminal first;
S402: micro-client software shows user's register interface;
S403: user is by above-mentioned interface input user's registration information, this log-on message comprises the information such as the platform release number (as Windows Mobile5.0), user name, account of mobile terminal;
S404: micro-client software is passed to micro-application platform server by above-mentioned user's registration information;
S405: after micro-this associated user's log-on message of application platform server record, return to confirmation;
S406: micro-client software prompting succeeded in registration, the part client software interface in a subtle way of going forward side by side.
The method of downloading for micro-application software, as shown in Figure 5, specifically comprises:
S501 user initiates the download request of micro-application software to micro-application platform server by micro-client software;
S502: micro-application platform server judges whether this micro-application needs to order, orders if do not need, or user orders, goes to step S507; Otherwise, go to step 503;
S503: if user does not order, point out user to order;
S504: user submits " agreement is paid the fees " information to;
S505: micro-client software initiated subscription request to micro-application platform server;
S506: micro-application platform server generates the order relations of this user and this micro-application software;
S507: micro-application platform server returns to the download address of this micro-application program to mobile terminal;
S508: micro-application software package downloaded and installed to micro-client software by above-mentioned download address.
The user anthority identifying method relating in downloading for micro-application software, as shown in Figure 6, specifically comprises:
S601: user initiates the download request of micro-application software to micro-application platform server by micro-client software;
S602: micro-application platform server forwards this download request to Download Server;
S603: Download Server judges whether user has ordered this micro-application software, if so, process ends; Otherwise, go to step 604;
S604: Download Server returns to charging prompting;
S605: micro-application platform server returns to above-mentioned charging prompting to micro-client software;
S606: user confirms above-mentioned order relations (agreeing to pay the fees);
S607: micro-client software initiated subscription request to micro-application platform server;
S608: micro-application platform server sends authenticating and charging request to AUC's (can be completed by Download Server);
S609: AUC returns to authenticating and charging to micro-application platform server and replys;
S610: micro-application platform server forwards charging result to Download Server;
S611: Download Server records above-mentioned order relations;
S612: Download Server returns to order successful information to micro-application platform server;
S613: micro-application platform server returns to order successful information to micro-client software.
In addition, in implementation method above-described embodiment of micro-application platform of open mobile terminal of the present invention, making and the issue flow process that can also comprise micro-application software, wherein, the making of micro-application software can be regarded the little application that utilizes the Internet programming mode to realize by XML and JavaScript etc. as, and mobile terminal Widget application program can adopt following programming mode:
(1) adopting XML/CSS to carry out content presents
(2) by DOM, undertaken that dynamic content represents and data interactive
(3) by XML or JSON, carry out exchanges data
(4) there is the function of the asynchronous data communication of similar XMLHttpRequest
(5) by JavaScript or Java programming language, content and data are combined
By the api interface of Widget desktop, Widget application software can also be called mobile terminal local function, comprising:
(1) make a phone call, send short messages, the mobile phone standard configuration function such as photograph
(2) inquire about the query function of the local datas such as phone directory
(3) the mobile phone hardware function such as mobile phone location, mobile TV, inductor, bluetooth calls; And the expansion of adding hardware function is supported etc.
The issue flow process of micro-application software as shown in Figure 2, specifically comprises:
S201: micro-user or application developers (AP) send application code preliminery application to micro-application platform server;
S202: micro-application platform server is user/AP dispensing applications code;
S203: user/AP submits micro-application code to micro-application platform server;
S204: micro-application platform server tested micro-application software by default rule;
S205: go out satisfactory micro-application software by default Rules Filtering;
S206: micro-the application software filtering out carried out to digital signature;
S207: micro-application software product after signature is published to Download Server, realizes added management;
S208: micro-application platform server returns to micro-the application software of having signed to user/AP, and informs the added result of product.
As shown in Figure 7, said method embodiment can also comprise software upgrading flow process, specifically comprises:
S701: micro-client software detects micro-the application software whether micro-application platform server (Download Server) has redaction;
S702: if having, return to the result of new version software;
S703: whether micro-client software prompting user needs upgrading;
S704: if user selects upgrading, go to step 705; Otherwise, finish upgrading flow process;
S705: micro-client software sends the request of downloading new version software;
S706: micro-client software downloaded new version software;
S707: micro-client software installed new version software;
The customer upgrade of micro-client software notice of S708 completes.
For software upgrading flow process, above preferred embodiment is that client software is initiated the mode detecting, the mode that can also adopt server end proactive notification client to upgrade, and the present invention is not restricted this.
For aforesaid each embodiment of the method, simple in order to describe, therefore it is all expressed as to a series of combination of actions, but those skilled in the art should know, the present invention is not subject to the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, said method embodiment all belongs to preferred embodiment, and related action and module might not be that the present invention is necessary.
With reference to Fig. 8, show the structured flowchart of micro-application platform of open mobile terminal of the present invention one embodiment, comprise micro-application platform server 81, Download Server 82, mobile terminal 83He AUC 84, wherein:
Micro-application platform server 81 specifically comprises micro-client software administrative unit 81-1, user's registration information administrative unit 81-2, micro-application software administrative unit 81-3, micro-application software generation unit 81-4, order relations administrative unit 81-5, micro-application software release unit 81-6, digital signature unit 81-7 and version management unit 81-8.
Micro-client software administrative unit 81-1 is for receiving the download request from micro-client software on mobile terminal 83, the mobile-terminal platform type information comprising according to this download request (as Windows Mobile platform, symbian platform etc.) is chosen and is sent corresponding micro-client software to mobile terminal 83;
User's registration information administrative unit 81-2 is for receiving and manage the user's registration information from mobile terminal 83;
Micro-application software administrative unit 81-3 is for receiving micro-the application software download request that user sends by mobile terminal 83, judge whether Download Server 82 preserves micro-the application software that the mobile-terminal platform version (as Windows Mobile5.0) that comprises with this user's registration information matches, if so, send this micro-application software;
Micro-application software generation unit 81-4 is used for according to the platform release number of mobile terminal 83, and micro-application software of this application type of other versions of this mobile-terminal platform or other mobile-terminal platform, generate and preserve and micro-application software that this mobile-terminal platform version matches;
Order relations administrative unit 81-5 is used for judging whether micro-application software needs to order; If so, by micro-client software, show charging prompting information, and the feedback information according to user, records order relations;
Micro-application software release unit 81-6 is used for receiving micro-the application software code that user or application developers (AP) are uploaded, and detects by default rule; And, micro-the application software by above-mentioned detection is published on Download Server 82;
Digital signature unit 81-7 is for carrying out digital signature to micro-the application software of testing by micro-application software release unit 81-6; To carrying out digital signature by micro-application software of test, can guarantee to be published to fail safe and the trackability of micro-application software on Download Server, avoid occurring stealing the problem of micro-application software user information;
Version management unit 81-8, for judging whether Download Server 82 has micro-application software of redaction, if so, issues micro-application software of redaction to mobile terminal 83 according to user's request.
Mobile terminal 83 is for downloading and install micro-client software and micro-application software from micro-application platform server 81;
Micro-the application software that Download Server 82 receives for issuing micro-application platform server 81, and, for mobile terminal 83 provides the download support of micro-application software;
AUC 84 is for according to the request of order relations administrative unit 81-5, confirms the order relations between micro-application software in the user of mobile terminal 82 and Download Server 82.
It should be noted that, in actual implementation process, AUC 84, micro-application platform server 81 and Download Server 82 can be same physical server, can be also server independently separately, can also be any two and share station servers.
With reference to Fig. 9, show the structured flowchart of micro-application platform server one embodiment of open mobile terminal of the present invention, specifically comprise: micro-client software administrative unit 81-1, user's registration information administrative unit 81-2 and micro-application software administrative unit 81-3, wherein:
Micro-client software administrative unit 81-1 is for receiving the download request from micro-client software on mobile terminal, and the mobile-terminal platform type information comprising according to this download request is chosen and sent corresponding micro-client software to mobile terminal;
User's registration information administrative unit 81-2 is for receiving and manage the user's registration information from mobile terminal;
Micro-application software administrative unit 81-3 is for receiving micro-the application software download request that user sends by mobile terminal, judge whether Download Server preserves micro-the application software that the mobile-terminal platform version that comprises with this user's registration information matches, if so, send this micro-application software.
In the further preferred embodiment of the present embodiment, micro-application platform server can also comprise the functional units such as micro-application software generation unit, order relations administrative unit, micro-application software release unit, digital signature unit and version management unit.
It should be noted that, said system embodiment belongs to preferred embodiment, and related unit and module might not be that the present invention is necessary.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, and each embodiment stresses is the difference with other embodiment, between each embodiment identical similar part mutually referring to.For platform embodiment of the present invention, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part is referring to the part explanation of embodiment of the method.
Above to micro-application platform of a kind of open mobile terminal provided by the present invention and its implementation, and, micro-application platform server of a kind of open mobile terminal is described in detail, applied specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; , 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 meanwhile.