CN103136350B - Method for allowing a plurality of applications to run on system platform and device thereof - Google Patents

Method for allowing a plurality of applications to run on system platform and device thereof Download PDF

Info

Publication number
CN103136350B
CN103136350B CN201310057931.0A CN201310057931A CN103136350B CN 103136350 B CN103136350 B CN 103136350B CN 201310057931 A CN201310057931 A CN 201310057931A CN 103136350 B CN103136350 B CN 103136350B
Authority
CN
China
Prior art keywords
application
entity
data
service
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310057931.0A
Other languages
Chinese (zh)
Other versions
CN103136350A (en
Inventor
平原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
JIANGSU EHE DACHENG NETWORK TECHNOLOGY Co Ltd
Original Assignee
JIANGSU EHE DACHENG NETWORK TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by JIANGSU EHE DACHENG NETWORK TECHNOLOGY Co Ltd filed Critical JIANGSU EHE DACHENG NETWORK TECHNOLOGY Co Ltd
Priority to CN201310057931.0A priority Critical patent/CN103136350B/en
Publication of CN103136350A publication Critical patent/CN103136350A/en
Application granted granted Critical
Publication of CN103136350B publication Critical patent/CN103136350B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to a method for allowing a plurality of applications to run on a system platform and includes the steps of running a first process on the system platform to create delegate objects and open the delegate objects to a plurality of applications registered on the first process, deploying a plurality of applications on the running first process for the first process to obtain data-type definition files from file collection of each application to create database tables of each application, running each application, querying and obtaining database or data from the other user through the delegate objects during the running of each application, and enabling each application to access memory through descriptive references. The invention further relates to a device implementing the above method. The method for allowing a plurality of applications to run on a system platform and the device thereof have the advantages of low cost and shareable data.

Description

A kind of method and device that multiple applications are run on system platform
Technical field
A kind of the present invention relates to computer realm, more particularly, it relates to side that multiple applications are run on system platform Method and device.
Background technology
With the raising of whole society's every profession and trade level of informatization, the popularization of the Internet and cloud computing is big in work letter fusion Under the main trend of direction, the IT application in management market demand of enterprise is increasingly vigorous, and particularly vast medium and small, little micro- enterprise market will be fast Rapid-result long.The IT budget of little Wei enterprise is few, but the demand for application is equally vigorous.And in the prior art, various applications(Should Use program)It is to be provided separately within independent physical equipment mostly.For little Wei enterprise, if various application is individually pacified Dress is deployed on independent physical equipment, and cost is beyond affordability.A kind of solution is, by Intel Virtualization Technology, little micro- enterprise Industry can affix one's name to multiple virtual machines in Same Physical its upper side, and application is respectively mounted deployment on a virtual machine.This side Although method to some extent solves above-mentioned Cost Problems.But, because each virtual machine runs independent OS(Operation system System), on the one hand still expend substantial amounts of computing resource, on the other hand, between application and the data of application management substantially Remain isolation.And for enterprise, information is realized shared but very necessary between each application(Such as customer information, Should exist in CRM, also should exist in ERP, should also be as in OA obtaining).Therefore, one kind can solve above-mentioned one-tenth This problem, the method running multiple applications in system platform of the data sharing between again enabling to apply just becomes to have very much must Will.
Content of the invention
The technical problem to be solved in the present invention is, for lacking that the above-mentioned high cost of prior art, application data are isolated Fall into, the method and device running multiple applications in system platform that a kind of low cost, application data can be shared is provided.
The technical solution adopted for the present invention to solve the technical problems is:Construction one kind runs multiple answering in system platform Method, comprises the steps:
A)First process is run on system platform, described first process creation is appointed object and opened to being registered in Multiple applications in described first process;
B)Dispose multiple applications in the first process run, each is applied and is respectively provided with described first process individually Registration code and file set;Described file set include by described first process specify system specified location deposit this should Position with data;
C)Described first process obtains the dtd--data type definition file in the file set of each application, creates the number of this application According to storehouse table;
D)Run described each application;Wherein, described each application is in operation and is appointed Object Query and counted by described The data used according to storehouse or other side;Described each application quotes access internal memory by description formula.
Further, described step D)Further include:
D1)The data model of its operation of described each application definition, wherein, by described database table access for commonly real Body, needing across application access is view entity.
Further, described step D)In still further comprise:
D2)Application starts a query at, and judges that this inquiry needs whether the entity of operation is this application entity, in this way, execution Step D3);Otherwise, return query failure message;
D3)Judge described entity whether common solid, in this way, execution step D4);Otherwise, execution step D5);
D4)Object is appointed to generate query statement, data base's execution returning result described in calling;Described appoint object encapsulation Result simultaneously returns;
D5)Described entity is view entity, judges whether described view entity obtains other side's application and authorize, in this way, execution Step D4);Otherwise, execution step D6);
D6)Authorize to other side's application application, and judge whether authorized, in this way, execution step D4);Otherwise, return is looked into Ask failure information.
Further, described step B)In, by equally operating in the controlling interface in described first process, to described Multiple applications are disposed.
Further, in described step B)In, described first process is that the application distribution registered thereon is single, with it The file directory of registration code difference;Each application described can only access the catalogue of their own;Described first process provides a literary composition Part manager object, each application described is managed to its file by described file manager object.
Further, also comprise the steps:
E)Described application encapsulates its service logic and services as one, defines described service according to the form setting and describes Described information on services, and it is sent to described first process issue, it is easy to other application and call this service.
Further, the service definition that described first process receives according to it, finds the realization of described service, checking After issue;The service-Engine that described other application is created when being run by described first process calls described service.
The invention still further relates to a kind of device realizing said method, including:
First process runs module:For running the first process in system platform, it is right that described first process creation is appointed As and opened to the multiple applications being registered in described first process;
Application deployment module:For disposing multiple applications in the first process run, each is applied and enters described first Single registration code and file set are respectively provided with journey;Described file set include by described first process specify in system Specified location deposits the position of this application data;
Tables of data sets up module:Obtain the dtd--data type definition literary composition in the file set of each application for described first process Part, creates the database table of this application;
Application runs module:Appoint Object Query and obtain data base by described for being in operation in described each application Or the data that other side uses;Described each application quotes access internal memory by description formula.
With further, described application runs module and further includes:
Substantial definition unit:Data model for its operation of described each application definition(Data type?), wherein, pass through Described database table access for common solid, need to access across application is view entity;
Inquiry judging unit:Whether the entity for when application starts a query at, judging this inquiry needs operation is this Application entity;
Entity judging unit:For judging described entity whether common solid;
Query unit:For appointing described in calling object to generate query statement, data base's execution returning result;And make institute State and appoint object encapsulation result and return;
Authorize judging unit:For when described entity is view entity, judging whether described view entity obtains other side Application authorizes;
Authorize acquisition unit:It is same as authorizing to other side's application application, and judge whether authorized.
Further, also include:
Service forms module:Service as one for making described application encapsulate its service logic, according to the form setting Define described service and describe described information on services, and be sent to described first process and issue, be easy to other application and call this clothes Business.
Implement the method and device that multiple applications are run on system platform of the present invention, have the advantages that:By In each application is run on the first process, and the file of each application, data are deposited respectively it is possible to realize in a hardware Multiple applications are run on platform;Simultaneously as use appointing object(delegate)The data of inquiry other application, so, can To realize the data sharing between different application.To sum up, its cost is relatively low, data can be shared.
Brief description
Fig. 1 is the method flow diagram that the present invention runs in the method and device embodiment of multiple applications in system platform;
Fig. 2 is the particular flow sheet of data sharing step in described embodiment;
Fig. 3 is the apparatus structure schematic diagram in described embodiment.
Specific embodiment
Below in conjunction with accompanying drawing, embodiments of the present invention is further illustrated.
As shown in figure 1, in the method and device embodiment that the present invention runs multiple applications in system platform, including such as Lower step:
Step S11 runs the first process:In this step, due to needing to run multiple applications on a hardware platform (Or application program), and multiple application is all to operate in the first process(Or referred to as apply sandbox)On, so it is necessary first to First process is run on system platform, after the first process brings into operation, object is appointed in its establishment(delegate), and will create That builds appoints object open to the multiple applications being registered in the first process.If this system platform is to run first for the first time to enter Journey, then also may not apply registration in this first process, now, appoints object will be created as opening to subsequent registration Quote.In a word, no matter apply above-mentioned first process registers time whether above-mentioned appoint Object Creation before, as long as In one process, the application of registration, above-mentioned appoints object all it will be opened;It is right that namely these applications all can call this to appoint As.In the present embodiment, appoint to liking a kind of medium object, caller and callee can be decoupled;Using committee Party, as this pattern, is packaged to the access process and control logic of data base, thus apply sandbox to only need to handle appointing Object is supplied to each application it is possible to realizing data access, isolation and sharing.For example, application call Accessing data, wherein first parameter is entity to delegate.execute (" example1 ", condition, option) Or view entity name, condition is conditional object, and option such as sorts for other query arguments, duplicate removal etc..Always It, appoint object to provide to background data base and access required interface, and achieves data isolation and limited sharing.
Step S12 disposes multiple applications in the first process:In this step, on the first process top of above-mentioned operation Administration(Including registration)Multiple applications.Wherein, each is applied and is respectively provided with single registration code and file set in the first process; This document set includes the position depositing this application data in system specified location specified by the first process.Generally, application File includes data model definitions file, the pragmatic existing script file of service statement file kimonos;Represent layer template file and representing Layer controls script file;These files are storage that above-mentioned first process marks, specifying by the first process system of being stored in In region.Only the first process can directly read these files.For system, these files(Including data)It is first File or data that process obtains in running are it is understood that be one of the first process thread file or the literary composition of an operation Part.
Step S13 obtains the data type files of each application, creates the database table of corresponding each application:In this step, First process obtains the dtd--data type definition file in the file set of each application, creates the database table of this application;In this reality Apply in example, each application all has a database table, and this application is conducted interviews to data base by this database table, that is, Say, this application can not directly conduct interviews to data base, and have to be by the first process database table and data base is carried out Access.
Step S14 runs each application:In this step, each application in above-mentioned first process registers brings into operation;Its In, each application is in operation and is appointed Object Query and obtained data base or other side's application by described(Other applications)Number According to;And each application quotes access internal memory by description formula.In the present embodiment, the access internal memory of quoting of foregoing description formula is interior Deposit management, a kind of mechanism reclaiming, it allows object to call the method for other objects, to access other by describing quoting of formula The data of object, but forbid the addressing of the pointer mode of similar C language, thus prevent object data to be subject to intentionally or unintentionally Destroy.Certainly, in the present embodiment, this step can be decomposed into multiple specific steps.
In the present embodiment, above-mentioned steps S14 can be further broken into step as shown in Figure 2, including:
Step S21 judges whether the entity of this inquiry is this application entity:In the present embodiment, when an application needs Data base to be inquired about or when needing the data obtaining other application, can not directly access this data, but need execution certain Step obtain its needs data.For on the whole, when an application brings into operation it will usually obtain the operation of this application Data model.In the present embodiment, each application needs the data model of operation to be referred to as entity;Wherein, should by this Database table accesses data block and to obtain the data model of data be common solid, and needs to access the number of data across application It is view entity according to model.The definition of these entities just defines when application brings into operation.And when application needs take Data when it is necessary to judgement in this step, judge that this needs whether the entity obtaining involved by data step is this application Entity, specific judgment mode is title by this entity and parameter is carried out.If the entity that this application is related to, then Execution next step;Otherwise, jump directly to step S27.
Step S22 judges this entity whether common solid:In this step, judge whether above-mentioned entity is common solid, It judges to carry out again by the title of this entity and parameter.If common solid, execute next step;Otherwise, It is view entity, jump to the execution of step S24.
Step S23 is called and appoints object to generate query statement, and data base executes and returns Query Result:In this step, Application is supplied to the object of appointing of this application by calling the first process, generates query statement, data base is inquired about, thus Obtain the data of needs;Equally, these data are not to be directly returned to this application yet, but appoint object by above-mentioned, Regenerate related object after the data inquiring is encapsulated, return to this application.In a word, the acquirement of above-mentioned data is not meant to Modification to initial data, but by certain step by other side with or data base allow the data copy accessing to should With in, thus will not to other side with or the data of data base impact.
Step S24 judges whether that obtaining other side's application authorizes:In this step, because current entity is view entity, That is, the data needing the data of inquiry to be other application, need for this to obtain the mandate of other side, that is, want other side to transport Row could obtain these data.For this reason, in this step, judge whether this view entity obtains other side and authorize, in this way, execute step Rapid S23;Otherwise, execute next step.
Step S25 authorizes to other side's application application:In this step, this application passes through the first process to the correlation being related to Application application authorizes.
Step S26 judges whether that obtaining other side's application authorizes:In this step, judge whether above-mentioned authorized application is criticized Standard, in this way, jumps to the execution of step S23;Otherwise, execution step S27.
Step S27 returns query failure message:In this step, return query failure message.That is, not inquiring about To data.
Additionally, in above-mentioned steps S12, by equally operating in the controlling interface in the first process, to the plurality of application Disposed.During application registration, the first process is that the application distribution registered thereon is single, with the file mesh of its registration code difference Record;Each application can only access the catalogue of their own;First process provides a file manager object, and each application described is logical Cross described file manager object its file is managed.
In the present embodiment, if an application needs to provide service for other application, this application encapsulates its industry first Business logic services as one, and the form according to setting defines this service and describes this information on services, and is sent to the first process Issue, be easy to other application and call this service.And the service definition that the first process receives according to it, find the reality of described service Existing, issue after checking;When other application calls this service it is necessary first to inform the definition of first its required service of process, its The service-Engine that his application is created when being run by described first process calls this service.Therefore, the first process is bringing into operation At the beginning of to create a service-Engine.
In the present embodiment, said method can be embodied on the platform of retrievable at present various frameworks, for example:Hardware Platform:Including but not limited to x86, ARM framework;Operating system:Including but not limited to Linux, Windows, Mac OS X operation System;Virtual machine host:Including but not limited to KVM, XEN, VMWare.
In the present embodiment, from the property of application, if an application is considered as a node, application can To be divided into management node and application node, management node is run independent of application node, provides the monitoring to application node;Pass through The interface of application runtime environment is intervened to each application, data and configuration that automated back-up is applied;In addition moreover it is possible to By control station(Or referred to as controlling interface)Carry out above-mentioned management operation it is possible to the deployment applied and unloading, apply number According to or configuration recovery;
First process(Application sandbox)It is an independent operating system process, be the container of other enterprises application simultaneously, Application sandbox is responsible for thread scheduling, con current control and transaction controlling, model is responsible in application, service logic is realized, Represent;Persistence resource database in platform when applying operation and file system are packaged, then by application sandbox It is supplied to application to use, isolation is guaranteed by the visiting mechanism and file access mechanism applying sandbox;Application sandbox The programming language being supplied to application must not pass through pointer direct addressin internal memory.On the contrary, application must be next by describing quoting of formula Access internal memory, application can not obtain quoting to the object in other application from application sandbox, so that it is guaranteed that in a process Being independent of each other of object;(Java has similar characteristic with most of scripts, and application sandbox can support these language Programming language as application)In addition application sandbox provides more loose coupling between application by a kind of mechanism of service-Engine Interactive mode.
In the present embodiment, each application includes the set of unique " an application ID " and a file, including following File:The pragmatic existing script file of data model definitions file, service statement file kimonos;Represent layer template file and represent layer control Script file processed;The deployment of application includes procedure below:Application sandbox registration " application ID ", file system is distributed/ The position that runtime/appdata/ application ID stores as this application file;Application sandbox reads data model definitions file, Create required database table;Application sandbox registration service, the service of each application carries out area with " application ID "+Service name Point;Alternative document is saved in by application sandbox/the corresponding catalogue of deployment/ application ID under.
In the present embodiment, the data model that each application will be determined to need operation with it is referred to as " entity ", applies sandbox Include two class entities:Common solid:It is mapped as the table of data base;View entity:Application sandbox will be realized by view entity Access across application data.
Application sandbox creates one on startup and appoints object (delegate), and quoting of object will be appointed to be exposed to respectively Individual application uses.Appoint object to provide and required interface is accessed to background data base, and achieve data isolation and limited Shared.Entity access mandate between application can have multiple implementations, is such as realized based on the certificate granting mode of PKI. Each application can define the strategy of mandate, judges whether to authorize according to strategy by application sandbox.Under any circumstance, appoint guarantor Card application can not change the entity of another application, can only be created and close by way of associated entity in the schema of this application Connection table is increasing the information field of entity, and is inquired about by view entity.If an application must increase another and answer (CRM applies a client will to be increased in the application of data row, such as ERP), then need the service mechanism by describing below To realize.Application sandbox is each application one catalogue of distribution.Catalogue is entitled/runtime/appdata/ application ID.Each should With the catalogue of oneself can only be accessed.Application sandbox is supplied to one file manager object of application(fileManager), application is only Can be by fileManager under the catalogue of oneself:Create/delete subdirectory, establishment/update/read/delete file.Application Sandbox provides the con current control to file access.
If application needs to access the file of other application, only when other application has issued the service of correlation, Ke Yitong Cross service call to realize.If necessary to further shared data, file between application, or application is wished the business of oneself It is supplied to other application using it is possible to use service-Engine mechanism after logical wrapper is good;Service definition and be embodied as apply By unified form definition service and description information on services, and realized by the programming language applying sandbox to support.For example:Clothes The issue of business:Application sandbox according to service definition, realize, and is issued after checking by the service that searches out.Service after issue can To be called by other application.Service calls.
Application sandbox creates service-Engine on startup, and the access controller (dispatcher) of service-Engine is provided To each application use, each application can by similar to dispatcher.run (" createParty ", " crm ", { name=testname, date=now }) mode call certain application issue service.
The invention still further relates to a kind of device realizing said method, as shown in figure 3, this device includes:First process is run Module 31, application deployment module 32, tables of data set up module 33, application runs module 34 and service forms module 35;Wherein, First process is run module 31 and is used for running the first process in system platform, and the first process creation is appointed object and opened To the multiple applications being registered in described first process;Application deployment module 32 is multiple for disposing in the first process run Application, each is applied and is respectively provided with single registration code and file set in the first process;File set includes being entered by first The position depositing this application data in system specified location of Cheng Zhiding;Tables of data is set up module 33 and is used for making the first process obtain Dtd--data type definition file in the file set of each application, creates the database table of this application;Application runs module 34 and is used for It is in operation in described each application and appoint Object Query and obtain the data that data base or other side use by described;Described respectively should With by describe formula quote access internal memory;Service forms module 35 and is used for making application encapsulate its service logic as clothes Business, services and the described information on services of description according to the form definition setting is described, and is sent to described first process and issue, be easy to Other application calls this service.
In the present embodiment, application runs module 34 and further includes:Substantial definition unit 341, for described each application Define the data model of its operation, by described database table access for common solid, need to access across application is view Entity;Inquiry judging unit 342, whether the entity for when application starts a query at, judging this inquiry needs operation is this Application entity;Entity judging unit 343, for judging described entity whether common solid;Query unit 344, is used for calling institute State and appoint object to generate query statement, data base's execution returning result;And appoint object encapsulation result described in making and return;Award Power judging unit 345, awards for when described entity is view entity, judging whether described view entity obtains other side's application Power;Authorize acquisition unit 346, be same as authorizing to other side's application application, and judge whether authorized.
In general, the method and device in the individual application platform and the present embodiment with iOS as representative has following showing The difference writing:IOS is that operationally each is an independent operating system for the application of the individual application platform management of representative Process, iOS application platform itself does not provide request to distribute, con current control and transaction controlling(Certainly these are for individual application Speech is unimportant), and one group of file that in this device, the application of application sandbox management is simply managed, it is responsible for by sandbox during operation Request process, thread scheduling, call applied business logical sum transaction controlling;IOS is that the individual application of representative passes through as application wound Build the differentiation to carry out authority for the different operating system users, if application is calculated by some or cracked root by forgery The certificate of user, then can obtain the authority of root user by operating system, thus whole platform is just held as a hostage(Such as set Standby escapes from prison);For this device, application can not call other interfaces outside application sandbox offer, and applies touching of logic Send out and also controlled by application sandbox completely, safety is higher.
Similarly, the enterprise's application platform with J2EE as representative is it is also possible to provide to multiple applications in a process Management, and the support of multithreading and transaction management is provided.Method and device in the present embodiment and J2EE are that the enterprise of representative should With differing from of platform:This device is capable of the isolation between applications of persistence resource, and the application energy of J2EE Enough directly file and database resource are accessed it is impossible to realize the isolation between application with the user identity of container process and authority. And apply between isolation for manage multiple third-party application coexisting for, be very important a characteristic;This device By special mechanism of data access, not only can guarantee that isolation, more can support necessary data information sharing, and J2EE platform This mechanism is not provided
Tri- applications of OA, CRM, ERP are disposed with the method in independent VM deployment way and the present embodiment respectively, It is below the required hardware index of typical deployed and the average transaction response time recording:
It can be seen that by device described in the invention the way to manage to application, it is possible to achieve many third-party application are one Run while on individual low cost, the inexpensive hardware of low-power consumption, and support shared information between these applications.And remain able to Support the user's request scale of medium-sized and small enterprises scale well.
Embodiment described above only have expressed the several embodiments of the present invention, and its description is more concrete and detailed, but simultaneously Therefore the restriction to the scope of the claims of the present invention can not be interpreted as.It should be pointed out that for those of ordinary skill in the art For, without departing from the inventive concept of the premise, some deformation can also be made and improve, these broadly fall into the guarantor of the present invention Shield scope.Therefore, the protection domain of patent of the present invention should be defined by claims.

Claims (7)

1. a kind of method running multiple applications in system platform is it is characterised in that comprise the steps:
A)First process is run on system platform, described first process creation is appointed object and opened described to being registered in Multiple applications in first process;
B)Dispose multiple applications in the first process run, each is applied and is respectively provided with single note in described first process Volume code and file set;Described file set includes depositing this application by what described first process was specified in system specified location The position of data;
C)Described first process obtains the dtd--data type definition file in the file set of each application, creates the data base of this application Table;
D)Run described each application;Wherein, described each application accesses data base by respective database table respectively, and is running In appoint Object Query and obtain itself data base or the data of other side's application by described, description formula is passed through in described each application Quote access internal memory;
Wherein, described first process is application sandbox, and described application sandbox is an independent operating system process, is institute simultaneously State the container of application;Described application sandbox is responsible for thread scheduling, con current control and transaction controlling;
Described step D)Further include:
D1)The data model of its operation of described each application definition, wherein, by described database table access for common solid, Needing across application access is view entity;
D2)Application starts a query at, and judges that this inquiry needs whether the entity of operation is this application entity, in this way, execution step D3);Otherwise, return query failure message;
D3)Judge described entity whether common solid, in this way, execution step D4);Otherwise, execution step D5);
D4)Object is appointed to generate query statement, data base's execution returning result described in calling;Described appoint object encapsulation result And return;
D5)Described entity is view entity, judges whether described view entity obtains other side's application and authorize, in this way, execution step D4);Otherwise, execution step D6)
D6)Authorize to other side's application application, and judge whether authorized, in this way, execution step D4);Otherwise, return inquiry to lose Lose information.
2. the method running multiple applications in system platform according to claim 1 is it is characterised in that described step B) In, by equally operating in the controlling interface in described first process, the plurality of application is disposed.
3. the method running multiple applications in system platform according to claim 2 is it is characterised in that in described step B)In, described first process is that the application distribution registered thereon is single, with the file directory of its registration code difference;Described each Application can only access the catalogue of their own;Described first process provides a file manager object, and each application described is passed through Described file manager object is managed to its file.
4. the method running multiple applications in system platform according to claim 3 is it is characterised in that also include as follows Step:
E)Described application encapsulates its service logic and services as one, defines described service according to the form setting and description is described Information on services, and be sent to described first process and issued, it is easy to other application and call this service.
5. the method running multiple applications in system platform according to claim 4 is it is characterised in that described first enters The service definition that journey receives according to it, finds the realization of described service, issues after checking;Described other application passes through described the The service-Engine that one process creates when running calls described service.
6. a kind of device realizing method as claimed in claim 1 is it is characterised in that include:
First process runs module:For running the first process in system platform, described first process creation appoints object simultaneously Opened to the multiple applications being registered in described first process;
Application deployment module:For disposing multiple applications in the first process run, each is applied in described first process It is respectively provided with single registration code and file set;Described file set includes being specified in system by what described first process was specified The position of the data of this application is deposited in position;
Tables of data sets up module:Obtain the dtd--data type definition file in the file set of each application for described first process, Create the database table of this application;
Application runs module:For making described each application access data base by respective database table respectively, and it is in operation Appoint Object Query and obtain the data base of itself or the data of other side's application by described;Description formula is passed through in described each application Quote access internal memory;
Wherein, described first process is application sandbox, and described application sandbox is an independent operating system process, is institute simultaneously State the container of application;Described application sandbox is responsible for thread scheduling, con current control and transaction controlling;
Described application runs module and further includes:
Substantial definition unit:For the data model of its operation of described each application definition, wherein, accessed by described database table For common solid, need to access across application is view entity;
Inquiry judging unit:Whether the entity for when application starts a query at, judging this inquiry needs operation is this application Entity;
Entity judging unit:For judging described entity whether common solid;
Query unit:For appointing described in calling object to generate query statement, data base's execution returning result;And make described committee Party as encapsulated result and returns;
Authorize judging unit:For when described entity is view entity, judging whether described view entity obtains other side's application Authorize;
Authorize acquisition unit:It is same as authorizing to other side's application application, and judge whether authorized.
7. device according to claim 6 is it is characterised in that also include:
Service forms module:Service as one for making described application encapsulate its service logic, according to the form definition setting Described service and describe described information on services, and be sent to described first process and issued, it is easy to other application and call this clothes Business.
CN201310057931.0A 2013-02-01 2013-02-25 Method for allowing a plurality of applications to run on system platform and device thereof Active CN103136350B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310057931.0A CN103136350B (en) 2013-02-01 2013-02-25 Method for allowing a plurality of applications to run on system platform and device thereof

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201310040709.X 2013-02-01
CN201310040709X 2013-02-01
CN201310040709 2013-02-01
CN201310057931.0A CN103136350B (en) 2013-02-01 2013-02-25 Method for allowing a plurality of applications to run on system platform and device thereof

Publications (2)

Publication Number Publication Date
CN103136350A CN103136350A (en) 2013-06-05
CN103136350B true CN103136350B (en) 2017-02-08

Family

ID=48496176

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310057931.0A Active CN103136350B (en) 2013-02-01 2013-02-25 Method for allowing a plurality of applications to run on system platform and device thereof

Country Status (1)

Country Link
CN (1) CN103136350B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103957238A (en) * 2014-04-04 2014-07-30 北京金山网络科技有限公司 Information updating method and device
JP6832292B2 (en) 2015-10-23 2021-02-24 オラクル・インターナショナル・コーポレイション Systems and methods for providing sandbox support for multidimensional database environments
CN106775608B (en) * 2015-11-24 2020-09-04 腾讯科技(深圳)有限公司 Method and device for realizing independent system process
CN109271409B (en) * 2018-11-08 2021-11-02 成都索贝数码科技股份有限公司 Database fragmentation execution method based on container resource allocation

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009055492A1 (en) * 2007-10-23 2009-04-30 Microsoft Corporation Model-based composite application platform
CN102231116A (en) * 2011-07-04 2011-11-02 成都市华为赛门铁克科技有限公司 Application program virtualization installing and loading method and device
CN102323879A (en) * 2011-06-07 2012-01-18 北京大学 Complete network middleware operation support platform and integration method of heterogeneous middleware

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8635673B2 (en) * 2011-06-17 2014-01-21 International Business Machines Corporation Dynamic application adaptation in software-as-a-service platform

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009055492A1 (en) * 2007-10-23 2009-04-30 Microsoft Corporation Model-based composite application platform
CN102323879A (en) * 2011-06-07 2012-01-18 北京大学 Complete network middleware operation support platform and integration method of heterogeneous middleware
CN102231116A (en) * 2011-07-04 2011-11-02 成都市华为赛门铁克科技有限公司 Application program virtualization installing and loading method and device

Also Published As

Publication number Publication date
CN103136350A (en) 2013-06-05

Similar Documents

Publication Publication Date Title
CN102103518B (en) System for managing resources in virtual environment and implementation method thereof
US9047462B2 (en) Computer account management system and realizing method thereof
Rimal et al. A taxonomy, survey, and issues of cloud computing ecosystems
CN110348202A (en) A kind of mutual role help system and method based on block chain intelligence contract
CN100410882C (en) System and method for centralized software management in virtual machines
US20060293967A1 (en) Gift registry management through business contexts in a service oriented architecture
CN105474210A (en) System for automating processes
CN109643251A (en) It is excessively subscribed to based on the resource using mode in computing system
US20130091547A1 (en) Method and System for Enabling Non-Intrusive Multi Tenancy Enablement
CN103136350B (en) Method for allowing a plurality of applications to run on system platform and device thereof
US20140090026A1 (en) System and Method for Managing Role Based Access Controls of Users
US8887241B2 (en) Virtual roles
Gao et al. A non-intrusive multi-tenant database software for large scale SaaS application
CN111651738A (en) Fine-grained role authority unified management method based on front-end and back-end separation framework and electronic device
CN109408196A (en) A kind of virtual management system, construction method and computer readable storage medium based on Xen
US10171370B1 (en) Distribution operating system
CN107438067A (en) A kind of multi-tenant construction method and system based on mesos container cloud platforms
CN102790788B (en) Grid resource management system
CN107562520A (en) The method and apparatus of the internal memory of dilatation virtual machine
KR20130049791A (en) Platform system of e-government with open data integration system of cloud computing
Saravanakumar et al. An Efficient Technique for Virtual Machine Clustering and Communications Using Task‐Based Scheduling in Cloud Computing
CN109241727B (en) Permission setting method and device
Data Cloud
US20050172149A1 (en) Method and system for management of information for access control
CN104318476B (en) A kind of information processing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant