Summary of the invention
The objective of the invention is to solve the problems of the technologies described above, a kind of on-line operation system based on cloud computing is proposed, the online program running environment based on international standard of a unification is provided for each Terminal Type in the simple and high-efficient mode, for all kinds of online services and content provide an express passway that arrives the user, and can carry out between different hardware terminals that content is shared and interactive.
According to specific embodiment provided by the invention, the present invention has announced following technical scheme:
A kind of on-line operation system based on cloud computing comprises:
The cloud terminal is shared kernel module, is used to provide the infrastructure service back-up environment, comprises user account authentication module, application management module, distributed storage module;
Terminal on-line operation system module operates on the terminal equipment, and being used to provides the run time infrastructure that is fit to terminal equipment, comprising:
Application module is used to the application providing system api interface, and the access of maintenance application and management function;
The on-line loaded module is used for the on-line loaded application program;
The runtime environment module is used to provide program running interface and system level that function is set;
The terminal adaptation module is used to different terminals to provide peripheral hardware and function adaptive.
Further, above-mentioned user account authentication module is used to provide the single-sign-on services of user account, separate, stored user's account information, and same user's account information can be applied in different terminals, can realize the data sharing of same number of the account at different terminals.
Further, above-mentioned application management module is used for all application programs are managed; For application provider, provide the application access service; For terminal equipment, load correct application version as required.
Further, above-mentioned distributed storage module provides the service of distributed cloud storage agent, provides online storage support for the third party uses.
Further, above-mentioned terminal adaptation module also comprises a device A PI module, is used for adaptive different terminal equipment fast.
Further, when all application programs are moved in terminal on-line operation system, all be to load in the Web mode, move in the mode of independent process.
Further, above-mentioned on-line loaded module can detect whether whether application program has renewal when starting; When terminal equipment can't be networked, system allowed online application to move in the mode of off line, and after networking data is carried out synchronously.
Compared with prior art, the present invention has following advantage:
At first, the present invention can satisfy the access demand of different terminals for each Terminal Type provides the online program running environment based on international standard of a unification.The present invention includes a terminal adaptation module, be used to different terminals that adaptive port is provided.By adjusting the device A PI module in the terminal adaptation module, can quick adaptive different terminal equipment.
Secondly, a kind of on-line operation system based on cloud computing of the present invention can be implemented in and carries out between different hardware terminals that content is shared and interactive.The realization that different hardware terminal room content is shared, mainly by following some realize: (1) user account authentication module of the present invention provides unified single-node login system, different terminal equipments can be got up by account relating; (2) pattern of the on-line loaded of using on the terminal has guaranteed and can load different contents according to different numbers of the account; Above-mentioned two promises " have the user of authority could load application ", and " loaded the user who uses have the authority access application for content service ".Based on this, application person can directly use the supplier from the third party and obtain content service.
Once more, with respect to existing multipad, the online application program that runs in the native system has had deployment and update mode more flexibly.Guarantee in territory safe in utilization on the basis of online safety operation of applied program, after online application program need be passed through system audit, but the alternative installation procedure of the system that enters, whether the user selects to install according to the hobby of oneself; Whether have renewal, all be up-to-date version forever with what guarantee that the user uses if can detect when online application starts at every turn; When terminal equipment temporarily can't be networked, system allowed online application to move in the mode of off line, and after networking data is carried out synchronously.
At last, the present invention guarantees online safety operation of applied program by territory safe in utilization.The safety of whole system comprises three aspects: data security, number of the account legal power safety, online application program run mode safety.The fire compartment wall that data security is shared kernel by high in the clouds ensures; Legal power safety ensures by the single-sign-on mechanism of high in the clouds kernel; The safety of online application program then ensures by the security domain mechanism of on-line operation system kernel.When all application programs are moved in WebOS, all be to load, move in the mode of independent process in the Web mode.Independence and fail safe between Web load mode, the sandbox mechanism by the browser aspect have guaranteed to use; Move in the independent process mode, make can not influence each other between each application program,, also can not have influence on other application program even one of them application program goes wrong.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage are become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
The present invention specifically is made up of two parts: kernel, terminal WebOS (on-line operation system) are shared in high in the clouds.As shown in Figure 1.
Wherein, kernel is shared in high in the clouds provides infrastructure service back-up environment flexibly, as data sharing in number of the account, security mechanism, system's on-line loaded, system's real-time upgrading, the number of the account etc.; Terminal WebOS (on-line operation system) provides the run time infrastructure that is fit to terminal hardware, comprises exploitation API, running environment, security update, off line use etc.Specifically as shown in Figure 2.
" kernel is shared in high in the clouds " mainly comprises following three modules: user account authentication module, application management module, distributed storage service.As shown in Figure 3.
The user account authentication module is used to provide the single-sign-on services of user account.Number of the account, terminal, application three are linked together.After the user creates number of the account, promptly had the pass that can on each terminal, use with a service; By this pass, can with the user in the use of each terminal, share in data and two aspects of application.For example, the user has added a new associated person information at mobile phone terminal, and the user is when next time, use had the panel computer equipment of identical number of the account, and the information of address list is upgraded automatically, that associated person information of editing on mobile phone before can directly using.
Application management module is used for all application programs are managed.For using the supplier, provide the application access service; For terminal equipment, load correct application version as required.Using the supplier is application developers, the exploitation that the API development interface that can using system provides is used; Be submitted to the system applies administration module after exploitation is finished, after safety and relevant audit, can be presented at the application program management tabulation of operating system, be similar to online application shop, select as required to install for the user.
The distributed storage module is used to provide the service of distributed cloud storage agent, and using towards the third party provides online storage support.For the operating system user, can use the distributed storage service by built-in " file system " this application of system.The user can carry out sharing between the storage of file and user in allowed by law scope.For application developer, can use this module to carry out the storage of the peculiar data of application program (as transaction file, use data are set) and read.
Kernel is shared in high in the clouds provides infrastructure service back-up environment flexibly, as data sharing in number of the account, security mechanism, system's on-line loaded, system's real-time upgrading, the number of the account etc.
Wherein, security mechanism is to verify the loading authority that guarantees between user and application by number of the account; Fire compartment wall by the rear end guarantees security of storage data.
Kernel is shared in high in the clouds can also realize system's on-line loaded and real-time upgrading.When user terminal was networked, whether system can automatic detection have up-to-date system upgrade, then can remind the user to load renewal if having, otherwise continued the original version of operation, and the user also can select not upgrade.
Kernel is shared in high in the clouds can also realize data sharing in the number of the account.By the general mechanism in number of the account multiple terminals and use the characteristic of on-line loaded, guarantee of the data sharing of same number of the account at different terminals.
With respect to original multipad, the online application program that runs in the native system has had deployment and update mode more flexibly.Guarantee in territory safe in utilization on the basis of online safety operation of applied program that online application program need be by behind the system audit, what the system that enters was alternative can " install " program, and whether the user selects to install according to the hobby of oneself; Can detect whether renewal is arranged during online application each " startups ", with guarantee that the user uses eternal all be up-to-date version; When terminal equipment temporarily can't be networked, system allowed online application to move in the mode of off line, and after networking data is carried out synchronously.
Building blocks high in the clouds kernel only is in charge of application, can not monitor the service content that is provided with agent application, and all service content are directly by realizing alternately between the provider of terminal and application service.Specifically as shown in Figure 4.
Terminal WebOS is undertaking important effect as all kinds of services and the user oriented outlet of content in whole system, also be the most crucial technology point of whole system.He makes the application on upper strata need not be concerned about the difference of bottom hardware as much as possible, only needs to get final product according to the adaptive different UI Component Gallery of different terminals.
Terminal on-line operation system module operates on the terminal equipment, and being used to provides the run time infrastructure that is fit to terminal equipment, mainly comprises:
Application module is used to the application providing system api interface, and the access of maintenance application and management function;
The on-line loaded module is used for the on-line loaded application program;
The runtime environment module is used to provide program running interface and system level that function is set;
The terminal adaptation module is used to different terminals to provide peripheral hardware and function adaptive.
Wherein, application module is used to the application providing system api interface, and the access of maintenance application and management function; The API and the system that can use this module to provide in the application of application developer exploitation carry out alternately with other application programs; After exploitation is finished, by this module application is registered in this on-line operation system, by the application management module (similar application program shop) that joins system behind the system audit; After the user enters system, can retrieve these in application management module and use, and add as required in these systems that are applied to oneself according to oneself needs and to use;
Application module is direct user oriented part, also is the main expansion of system.The user can be as using the PC computer, and the types of applications that provides according to own needs installation " application management " module satisfies different application scenarios demands.As, the user needs a recreation terminal, and that user promptly can be by installing application such as all kinds of music, video, recreation; Need carry out routine office work as the user, then be installed in on-line documentation and mailing system gets final product; According to the different application scene demand of different terminals, develop customized demand with the different levels that satisfy the user;
The on-line loaded module is used for the on-line loaded application program; It comprises on-line loaded and two function points of off-line working.When the user opened an application program for the first time, system loaded online application program from network, and by the built-in caching mechanism of system application cache was retained in the local system.When re-using this application program later on, only detect whether version updating is arranged.If there is version updating then to point out refresh routine, otherwise just use local buffer memory program.Guaranteed that like this user behind first time loading application programs, can off line not use these application even do not network yet.
The WebOS system module is responsible for the desktop and the application program running environment that provide unified.With application module, belong to steady component, can not limited by terminal equipment, be common to various terminals.
The runtime environment module is used to provide program running interface and system level that function is set; After the user enters system, promptly enter main interface--desktop environment; It provides start menu, and desktop shortcuts, status bar, desktop such as are provided with at function, and the user recklessly can be by carrying out each generic operation of on-line operation system here.
The terminal adaptation module is used to different terminals to provide peripheral hardware and function adaptive.For different terminal equipments, as mobile phone (power management, conversation, note), dull and stereotyped (touch-screen, function button), TV (remote controller, signal processing) etc., they have own distinctive input and output and special functional requirement; At these " difference " parts, on the expansion interface basis of this module, it is adaptive to drive exploitation and function, so that be that operating system and developer provide interface with unified specification.
The terminal adaptation module be responsible for to be eliminated the difference of different terminal equipment, makes application on it not be subjected to the influence of terminal equipment.Different terminal equipments all has its distinctive input and output and functional part, for this reason, need carry out adaptively at these peripheral hardwares and parts, is converted into the api interface that system module can directly use.This part transformation, major part is the device drives proxy interfaces, simultaneously, at specific demand, also can expand the multimedia plug-in unit, plays as audio frequency and video such as Flash and supports plug-in unit.
The terminal equipment module is fully according to demand and self-existent terminal equipment hardware.To implant the general (SuSE) Linux OS kernel of increasing income on it, need drive adaptive at unit type.
Generally, application module and on-line operation system module can not change according to the variation of terminal and equipment.Because it is needed only to be one and to satisfy the HTML5 standard browser, this promise the versatility of whole system.
Terminal adaptation module and terminal equipment module then are the adaptive expansions of carrying out at the demand of different levels.For example, the fundamental operation system is being had specific (special) requirements as using Windows, Linux under the situation of Mac etc., can directly promptly may operate at line operating system by " terminal adaptation module " is installed thereon;
Having only under the condition of terminal hardware, then can use total solution, install according to terminal hardware configuration carrying out system fast.
With respect to traditional operating system, on-line operation of the present invention system seems more light and handy and flexible.Its running environment adopts supports the HTML5 standard browser, and its exploitation, test are more prone to, and application program is also more general.
The on-line operation system module is mainly realized the work of two aspects: 1, resources such as storage of the cloud of high in the clouds kernel and cloud computing are carried out unified management and scheduling, the API of platform resource by encapsulation offered third party developer use; 2, terminal resource and equipment are carried out adaptive management, platform running environment is provided,, add as required and delete the third party and use for the user provides the program control management function.
Is that example illustrates each functions of modules with the lower part with PC version terminal.The function class of other-end seemingly, the interface avatar can be adjusted to some extent according to the difference of terminal display size.
1, window management module
System provides start menu, and desktop and window show and management function.The user can carry out the demonstration control of window and the handover operation between window by the status bar of desktop below.
2, system is provided with module
The user can is configured and manage system information for system's setting.Comprise that the userspersonal information sets, desktop background is changed, and system's theme switches, functions such as system language switching and account password management.
3, development module
System also by control of authority, uses issuing function for the developer provides easily when being third party developer's opening API.System can be by third party developer, and all kinds of demands of user are satisfied in constantly extension application set.
The developer can issue setting and management from following several aspects to the application of oneself:
Releasing position: can be in the service-domain of building blocks WebOS, also can be on developer's oneself server;
Content type: can be the online application of flash, also can be that traditional html page is used;
Form types: according to the real characteristics of using, can show, also can select the fenestella body display mode of low weight magnitude for common window;
File association: the file of designated suffix in can the associated with system.When the user attempts to open the file of designated suffix in file system, system will call this application program and handle.File as the em1 suffix is opened demonstration with " mail " application.
Security domain control:, online application is carried out the security control of different stage according to the demand for security of using.
Service Management: can delete, suspend, issue this application.The developer can carry out issuing application again after enough tests.
In when the application of all issues will run on the operation of system, and be subjected to the management and the constraint of runtime environment.
4, add program module
It is open to the user that the application of system and third party developer issue all pass through to add program module, optionally installs according to the concrete needs of oneself and use for the user.The user can all systems that issued of Tabbed browsing and third party's program and small tool in " interpolation program " module, and can see the title of this program, developer, function declaration, information such as creation-time.For the application program of having added, " installation " button is in not operable state, otherwise can click " installation " button this application is installed.
5, program management module
Program management is to be the user provides mounted program is managed, the functional module of control and deletion.Except the essential information of the tabulation that can see installation procedure and each program, the user can also set user's shortcut and operational mode.
6, relation management module
System provides the customer relationship management function.Comprise and search, add the good friend, the good friend invites, and friend's network such as checks at function.
7, system message module
The system message module is a system broadcasts, provides a message channel alternately between application.When new message arrives, the flash for prompting that the message icon of the bottom-right taskbar of system can not stopped.
In the cloud computing field, one of emphasis that everybody pays close attention to is if guarantee the safety of data and system.The present invention guarantees online safety operation of applied program by territory safe in utilization.
The safety of whole system comprises three aspects: data security, number of the account legal power safety, online application program run mode safety.
The fire compartment wall that data security is shared kernel by high in the clouds ensures.The user is the ability access system data after login, and in addition, any access request all can be refused by system.On this basis, for other illegal or malicious requests, the fire compartment wall of system is directly tackled.
Legal power safety ensures by the single-sign-on mechanism of high in the clouds kernel; Resource that the user is all and application permission are with user's the unique binding of number of the account, must be could use in logging status.And the enter system of user on all terminals finishes by the single-sign-on function of high in the clouds kernel.
The safety of online application program then ensures by the security domain mechanism of on-line operation system kernel.All online application programs after the user initiatively selects to add, can be loaded into buffer memory in user's the terminal equipment.Do not start under the default situations.When the user opened this and uses, system kernel started an independent process and gives this online application program, and loaded this with the ur1 address format of web and use, and the safe interface that he can only be by system and system and other carry out alternately between using.The system of that is to say provides a convenience and safe interaction mechanism, when guaranteeing application safety, also has powerful interactive function.
When all application programs are moved in WebOS, all be to load, move in the mode of independent process in the Web mode.Independence and fail safe between Web load mode, the sandbox mechanism by the browser aspect have guaranteed to use; Move in the independent process mode, make can not influence each other between each application program,, also can not have influence on other application program even one of them application program goes wrong.