Background technology
In the prior art, along with popularizing and network technology day by day ripe of computer, by PC (Personal Computer, PC) accesses network is very universal, people can not only in time recognize the most comprehensive up-to-date news information, inquiry pertinent literature information; Can also be by the friend real-time interaction information (Instant Message, IM, as msn, QQ etc.) of network with different places or areas; More can realize interactive activity such as network office, shopping at network from network.
Network is inseparable with people's life, and network has brought great variety for people's life.But (Personal Computer PC) can only be placed on specific place to PC, and is to link to each other with network by wired or in-plant wireless transmission, and the mode of so this accesses network must limit the scene of network application.
Along with the development of mobile radio communication network technology and embedded system, the application of combined with radio communication network technology in intelligent embedded device; So-called intelligent embedded device refers to the embedded device that deletion software can be installed; Realize general-purpose web browser (IEBrowser) by intelligent embedded device, thereby realized the demand of partially embedded system accesses network.
But for some particular network service and network application, but be that general-purpose web browser can't realize, (the Instant Message of the instant messaging on embedded platform for example, IM) software, normally each Internet Service Provider develops corresponding embedded platform access to netwoks terminal software voluntarily, for example msn mobile need be installed on the intelligent embedded device terminal, connects by network and realizes communication.
For common band communication function embedded platform, the embedded platform of deletion software promptly can not be installed, the regular handset of non intelligent mobile phone for example, generally be to use WAP (wireless application protocol) (WirelessApplication Protocol, WAP) the browser browse network is used, but the realization function of radio application protocol browser is very limited, and the network application that radio application protocol browser is supported requires content more single, layout is very simple, and can not realize bipartite mutual.
The present special network application terminal software of customized development independently of one another for most of network application, and this class network application can only install corresponding ad-hoc networks application terminal software before equipment dispatches from the factory, the user in use can not realize upgrading and upgrading, and any new software that can not just may occur is accomplished direct application.
Therefore, limited the network application of present embedded platform, prior art has yet to be improved and developed.
Summary of the invention
The object of the present invention is to provide a kind of network application browsing system and method for embedded platform, be implemented on the mobile communication built-in terminal by browsing general-purpose system and the method for using with accesses network, make network application provider must not do the exploitation of terminal software on the one hand, realize upgrading and renewal that network application is instant on the other hand in the face of various embedding platform.
Technical scheme of the present invention comprises:
A kind of network application browsing system of embedded platform, it comprises a network application server at least; Wherein, also comprise a plurality of terminal embedded communications, be used to move the terminal browser, connect by existing network communication modes and described network application server;
Described network application server setting comprises UI resource, functional configuration file and uses processing logic, the terminal browser that is used for certain network application of connected reference, by described terminal browser downloads corresponding script and related data data, and carry out logical process, directly with described terminal browser interactive information.
Described system, wherein, described terminal embedded communication also communication connects a webserver; On the described webserver, also store network application tabulation and network application configuration file, wherein,
Described network application tabulation is used to write down the service name and the numbering of network application that this webserver provides, and described terminal browser obtains the network application configuration file by application numbers from the described webserver;
Described network application configuration file comprises the definition of communications protocol, and described communication protocol description carries out the mutual of data-message follow-up in mutual in which way.
Described system, wherein, the described webserver also communication is connected with at least one network application server; Described network application configuration file also comprises the sensing match information, and described sensing match information is used to describe described terminal browser and selects the network application server relative address information mutual with it after a certain network application.
Described system, wherein, the related data data of described terminal browser downloads comprises literal, picture, audio frequency and/or video data; Described communication modes adopts wireless communication networks or wire communication network.
A kind of network application browsing method of embedded platform, it may further comprise the steps:
A, initialization network application: the user selects certain network application on the main interface of terminal browser, and this terminal browser is carried out the operation that inserts this webserver;
B, browse network are used: described terminal browser is according to the script executing corresponding operating of network application server, and the request network application server provides certain service, and execution result is presented at its main interface.
Described method wherein, also comprises before the described steps A:
A0, the initialization of terminal browser: when moving this terminal browser, the terminal browser is downloaded the all-network list of application from the webserver, and is presented at the main interface of terminal browser;
Described method, wherein, described steps A 0 also comprises: described terminal browser is tabulated with local network application and is compared, if any increasing or reduce network application, then down loading updating interface resources and corresponding scripts from the described webserver upgrade the local network list of application.
Described method, wherein, described steps A also comprises: the performed every kind of network application access operation of initialization of described terminal browser comprises: operation is upgraded in directly visit, upgrading.
Described method, wherein, if operation is upgraded in upgrading, described steps A also comprises: download the script and the interface resources of this network application from described network application server, upgrade local corresponding data.
Described method, wherein, described step B also comprises local operation, is used for call of local function, comprise file management, Show Picture, shows music videos, videotape, the close range wireless communication operation.
The network application browsing system of a kind of embedded platform provided by the present invention and method, owing to adopted the terminal browser of the embedded communicating terminal of general procotol realization, cooperate the webserver, conveniently realized any various network application access network, increase the number of users and the occupation mode of network application greatly, formed abundanter more flexible net application model.
Embodiment
Below in conjunction with accompanying drawing, will be described in more detail each preferred embodiment of the present invention.
The network application browsing system of embedded platform of the present invention comprises three parts:
The one, be embedded in the network application browsing terminal software in the mobile communication embedded device, be designated hereinafter simply as the terminal browser, be used to the functions such as Network Transmission that realize local interface display, message response, network application content displaying, obtain local data and data.
Terminal browser of the present invention is mainly used in needs and does not possess internet browsing function (Internet Explorer, IE, the catenet browser, usually adopt the network data transmission agreement to connect, ICP/IP protocol for example, and need be installed on the very high intelligent terminal of configuration), but in the embedded system of band network data transmission ability (for example present common mobile communication terminal).Adopt the built-in terminal platform of the present invention can be with can only be at PC (Personal Computer, PC) and intelligent embedded system (Smart Phone, SP) network application that could use in is brought in the more built-in terminal environment, increase the number of users and the occupation mode of network application greatly, form abundanter more flexible net application model.
The 2nd, the webserver of native system, as shown in Figure 1, it is mainly used in provides diverse network application message storehouse, upgrading to upgrade resource requirement and corresponding scripts etc., in the webserver, store network application tabulation and network application configuration file, enumerate in the described network application tabulation and stored service name and numbering (actual network application service is provided by network application server) that the current network server can provide, when the terminal browser starts, can carry out synchronously to obtain up-to-date list of application with the webserver.Described terminal browser is mutual with corresponding network application server generation by the network application configuration file of certain network application correspondence.
Described network application configuration file comprises the definition of pointing to match information and communications protocol, and described sensing match information is used to describe after the user selects a certain application of terminal browser, the network application server relative address information mutual with it; Described communications protocol is used for being described in follow-up the mutual of message that carry out in which way alternately.
Get final product framework model with this, the behavior of the behavior of content supplier and actual terminal embedded communication is isolated, realize the unification of various hardware environment.
The 3rd, network application service provider's network application server is used to provide various concrete network application services, and described network application server includes a plurality of, comprising UI resource, functional configuration file and application processing logic etc.
The user is by certain network application of terminal browser access the time, at first obtain the information of network of relation application service from the webserver, download corresponding script and related data data such as picture, audio frequency, video etc., carry out necessary logical process, afterwards at terminal browser display respective graphical interface and show the network application content, and on request user's operation and local data are sent to the network application server or the webserver of correspondence.
After consulting to finish, described network application server can be directly and terminal browser interactive information, and such classification processing mode has reduced the load for the webserver, has improved the performance of total system greatly.
Network application browsing system of the present invention and method can also only keep user terminal and network application server in realization, with by terminal browser directly down load application program listing and application program from the network application server.
The network application browsing method of embedded platform of the present invention as shown in Figure 2, may further comprise the steps:
At first, to the initialization of terminal browser: the user is when starting and moving terminal browser of the present invention, the terminal browser is downloaded the all-network list of application from the webserver, and can compare with synchronously with its local network list of application, if any increasing or reduce network application, the then interface resources and the corresponding scripts of down loading updating from the described webserver, upgrade the local network list of application, and, comprise direct visit according to the new script display terminal browser master interface and the access operation of every kind of network application of initialization, upgrading is upgraded or other operation.
Secondly, initialization network application: the user is after selecting certain network application on the main interface of described terminal browser, and described terminal browser is carried out corresponding access operation.If operation is upgraded in upgrading, then download the script and the interface resources of this network application from the webserver, upgrade local corresponding data; Described terminal browser is according to script display interface and initialization corresponding operating.
Then, be that browse network is used: described terminal browser receives user's selection input, and related data, and according to network application script executing corresponding operating.
This generic operation has local operation that application server operation is also arranged: local operation is meant call of local function, as file management, Show Picture, shows music videos, videotape, operation such as close range wireless communication; The application server operation is meant that terminal browse request network application server provides certain service, and the terminal browser obtains execution result and shows user's operation.
The network application browsing system of embedded platform of the present invention and method are with the combination of embedded system and network application, utilize server/customer end constitution and auxiliary script file, under the prerequisite of the existing framework of not change system, realize the versatility and the maintainability of software in embedded device of all kinds, made things convenient for using and promoting of user and network application service provider.
Be the flowchart process of the specific embodiment of the inventive method as shown in Figure 2, it comprises:
A, startup browser: the user starts the terminal browser;
B, check to upgrade local list of application and resource: the terminal browser connects the webserver, checks and upgrades local list of application configuration file and interface resources;
C, described terminal browser carry out interface display and accept user's operation;
D, initialization network application: configuration file and the resource of checking and upgrade network application;
User's operation is also accepted in E, described terminal browser display network application interface;
F, user interactions and application are showed: according to user's operation, described terminal browser is carried out local function, perhaps carries out network far-end logic function to the network application server request.
Below with the specific implementation of the example explanation system and method for the present invention of realizing regular handset network canaster, with and beneficial effect.
In online game, canaster has vast user group, and more well-known games system is just like Chinese game center and Tencent QQ recreation etc.But this type systematic all is to move in common computer usually, can't run directly on the regular handset of non intelligent system, and what these regular handsets adopted all is embedded platform.
By following steps, system and method for the present invention can be realized network canaster in the common computer is operated on the regular handset.
At first, at the terminal browser software that (burned before dispatching from the factory) client is installed on the regular handset terminal, demonstration afterwards all will be related with the client by this browser interface with interactive operation.Client is coupled to each other with Internet by the GPRS service of operator, but obviously is not limited to the connected mode of GPRS, can adopt other communication modes to comprise wireless communication networks, as CDMA 1X, 3G, bluetooth, WIFI, or WAPI etc., also can be the wire communication network.
Secondly, registered network canaster in the webserver is promptly used interpolation network canaster in the configuration file in network application tabulation and corresponding network, increases the resource of network canaster on terminal browser master interface simultaneously.Server can upgrade the respective application tabulation of client in time so that the client can obtain up-to-date application service information.
Then, generate the concrete script and the resource of canaster, canaster is generated a script to each interface as requested, and script and interface resources are added in the network application service.Can carry out corresponding logical process and return execution result after providing the network application server of canaster to receive user's input information to the terminal browser.
At last, the user uses the network canaster by the terminal browser.The user moves this terminal browser at regular handset, described terminal browser respective resources on webserver down loading updating network application tabulation, corresponding scripts and the main interface.
The user selects canaster, if use for the first time, can carry out upgrading and upgrade operation, the described terminal browse request webserver, the webserver can be located corresponding network application server according to the sensing match information in the network application configuration file, this network application server is to the concrete script and the interface resources of described terminal browser downloads canaster, and the demonstration respective interface.
Described terminal browser requires to send to the network application server of network canaster with the operations such as input of user in game process according to the concrete script of this recreation, and the execution result of network canaster network application server is showed the user.
The network that can realize canaster thus connects application, and above-mentioned realization is to realize at the embedded platform of regular handset, it is low that it realizes that hardware configuration requires, and has wide range of applications, and service convenient for users to use and the network application service provider is promoted.
In a word, provided by the present invention is a kind of general network application browsing system and implementation method, only can not browse literal and pictorial information as the IE browser, can realize the interactive operation that diverse network is used equally.System and method of the present invention can produce how new application in conjunction with other technology simultaneously, thereby as realizing the digital map navigation terminal in conjunction with electronic chart and airmanship; In conjunction with the mobile office technology, form new mobile oa platform.
Adopt systems approach of the present invention, compared with prior art, simplified the work of network application provider, make it not need to develop special embedded platform terminal software; Realize the increase and the minimizing of network application in the embedded device flexibly, enriched the function of embedded device; The upgrading and the renewal of network application in the embedded platform have been realized; By sharing of some function or resource on the terminal browser realization embedded device.
Should be understood that above-mentioned description to preferred embodiment of the present invention is comparatively concrete, its description all is exemplary, must not be interpreted as the restriction to scope of patent protection of the present invention; For those of ordinary skills, can be improved according to the above description or conversion, and all these improvement and conversion all should belong to the protection range of claims of the present invention.