CN105204829A - Plug-in socket resource control method based on middleware plug-in framework and client side - Google Patents

Plug-in socket resource control method based on middleware plug-in framework and client side Download PDF

Info

Publication number
CN105204829A
CN105204829A CN201410286907.9A CN201410286907A CN105204829A CN 105204829 A CN105204829 A CN 105204829A CN 201410286907 A CN201410286907 A CN 201410286907A CN 105204829 A CN105204829 A CN 105204829A
Authority
CN
China
Prior art keywords
plug
unit
socket
middleware
card cage
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.)
Granted
Application number
CN201410286907.9A
Other languages
Chinese (zh)
Other versions
CN105204829B (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.)
Shenzhen Ipanel TV Inc
Original Assignee
Shenzhen Ipanel TV Inc
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 Shenzhen Ipanel TV Inc filed Critical Shenzhen Ipanel TV Inc
Priority to CN201410286907.9A priority Critical patent/CN105204829B/en
Publication of CN105204829A publication Critical patent/CN105204829A/en
Application granted granted Critical
Publication of CN105204829B publication Critical patent/CN105204829B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a plug-in socket resource control method based on a middleware plug-in framework and a client side. The method includes the steps that the middleware plug-in framework in the client side is set; when one plug-in of the client side is started, a plug-in manager verifies the plug-in; when the plug-in passes verification, the plug-in manager distributes one plug-in instance identifier to the plug-in randomly; in the operating process of the plug-in, the plug-in instance identifier is registered into a plug-in interface of a plug-in framework module through the plug-in framework module in a plug-in unit; when the plug-in executes socket operation, the plug-in framework module monitors the socket operation of the plug-in according to preset socket operation conditions and the plug-in instance identifier of the plug-in; if the socket operation of the plug-in meets the preset socket operation conditions, the socket operation is controlled to be executed. By means of the plug-in socket resource control method based on the middleware plug-in framework and the client side, the socket resource use condition of the plug-in can be controlled through the established middleware plug-in framework.

Description

Based on plug-in unit socket resource control method and the client of middleware card cage
Technical field
The present invention relates to a kind of Design of Middleware system and method, particularly relate to a kind of plug-in unit socket resource control method based on middleware card cage and client.
Background technology
Traditional developing plug needs a large amount of technician to come, and the coupling of the plug-in unit developed and middleware (as iPanel middleware) is too high, and security is on the low side, cannot be controlled by plug-in unit to corresponding underlying device.Meanwhile, existing middleware cannot control board state and resource service condition.
From present development trend, the Function Extension of middleware is very complicated, safeguard and get up to need a large amount of resources, and the special substantial maintenance time of middleware itself is relatively less, has a strong impact on product each side quality.Meanwhile, existing middleware lacks necessary dirigibility, and function expansibility is poor, brings very large burden to exploitation and maintainer.
Especially, existing middleware is to Socket (socket) resources control just by presetting a larger threshold values, and be no more than this threshold values and then allow plug-in unit to operate, this control method may bring risk to middleware.In addition, existing middleware just controls for a certain fixing application program (example) Socket resource management, when plug-in component operation is triggered by the page, may occur the Multi-instance of same plug-in unit, existing middleware cannot control many examples.
Summary of the invention
In view of above content, be necessary to provide a kind of plug-in unit socket resource control method based on middleware card cage and client, it is by the middleware card cage of establishment, fast Development goes out self-defining feature card, and run on middleware, utilize middleware to control the socket resource service condition of plug-in unit.
A kind of plug-in unit socket resource control method based on middleware card cage, run on client, the method comprises: arrange the middleware card cage in client, this middleware card cage comprises middleware unit and bound cell, described middleware unit comprises plugin manager, Web engine and application programming interfaces API module, described bound cell comprises a plugin library and a card cage module, and described card cage module comprises card i/f and framework interface; When a plug-in unit of client starts, plugin manager is verified this plug-in unit; When this plug-in unit is by checking, plugin manager gives this plug-in unit Random assignment plug-in unit Provisioning Instance Identifier; In the process of this plug-in component operation, this plug-in unit Provisioning Instance Identifier is registered in the card i/f of card cage module by the card cage module in bound cell; When this plug-in unit carries out socket operation, card cage module, according to the plug-in unit Provisioning Instance Identifier of the socket operation condition pre-set with this plug-in unit, monitors the socket operation of this plug-in unit; If the socket operation of this plug-in unit meets the socket operation condition pre-set, then card cage module returns the successful information of socket operation to plugin manager, then continues to perform socket operation; If the socket operation of this plug-in unit does not meet the socket operation condition pre-set, then stop this socket operation, then return the information of socket operation failure to plugin manager.
A kind of client based on middleware card cage, this client comprises: middleware card cage, this middleware card cage comprises middleware unit and bound cell, described middleware unit comprises plugin manager, Web engine and application programming interfaces API module, described bound cell comprises a plugin library and a card cage module, and described card cage module comprises card i/f and framework interface; Described plugin manager is used for, and when a plug-in unit of client starts, verifies this plug-in unit; Described plugin manager also for, when this plug-in unit by checking time, to this plug-in unit Random assignment plug-in unit Provisioning Instance Identifier; Described card cage module is used for, and in the process of this plug-in component operation, is registered in the card i/f of card cage module by this plug-in unit Provisioning Instance Identifier; Described card cage module also for, when this plug-in unit carries out socket operation, according to the plug-in unit Provisioning Instance Identifier of the socket operation condition pre-set and this plug-in unit, monitor the socket operation of this plug-in unit; Described card cage module also for, if the socket operation of this plug-in unit meets the socket operation condition pre-set, then return the successful information of socket operation to plugin manager, then continue perform socket operation; Described card cage module also for, if the socket operation of this plug-in unit does not meet the socket operation condition pre-set, then stop this socket operation, then return the information of socket operation failure to plugin manager.
Compared to prior art, the above-mentioned plug-in unit socket resource control method based on middleware card cage and client, by the middleware card cage created, fast Development goes out self-defining feature card, and run on middleware, utilize middleware to control the socket resource service condition of plug-in unit.
The present invention is provided with Socket (socket) resource control part in plugin manager, reads xml description document during plug-in download after plug-in unit is verified, comprising the number of resources needed when anterior plug-in.Socket resource control part is being recorded while the number of resources of anterior plug-in needs, can be registered in the resource relevant interface that plug-in unit uses according to identifier classid stochastic generation plug-in unit Provisioning Instance Identifier pluginid of this plug-in unit, this plug-in unit Provisioning Instance Identifier pluginid when plug-in component operation and Socket resource is controlled.If there is the example of this plug-in unit to produce again, regeneration pluginid is to control the Socket resource of this plug-in unit.In the present invention, Socket resource control part can be recorded by this pluginid when plug-in component operation and judge whether the Socket resource of each plug-in unit example uses proper.
The present invention can prevent from third party's plug-in unit from taking too many Socket resource causing middleware to run slowly the generation of the situations such as deadlock even.Rational Socket resource management effectively can limit the operating right of third party's plug-in unit, simultaneously the subsidiary condition (as: self-defined header information) of part acquiescence also by the performance constraint of third party's plug-in unit in a controlled range, thus ensure the trouble-free operation of middleware.
The present invention meets the user individual business demand increased fast, the card i/f fast Development that third party developer can provide according to middleware card cage goes out personalized plug-in applications, then controlling run is carried out by middleware, thus reduce the difficulty of third party's pin function exploitation, improve the extensibility of middleware, decrease middleware Technology personnel and third party's add-in developer in loaded down with trivial details clerical times such as communication exchange confirmations.
Accompanying drawing explanation
Fig. 1 is the main body schematic diagram of middleware card cage design system of the present invention.
Fig. 2 is the applied environment schematic diagram of middleware card cage design system of the present invention.
Fig. 3 is the main process figure of middleware card cage method for designing of the present invention.
Fig. 4 is the associated diagram of the card cage module in bound cell and the API module in middleware unit.
Fig. 5 is the main process figure of the board state control method that the present invention is based on middleware card cage.
Fig. 6 is that plug-in unit packs and makes schematic flow sheet.
Fig. 7 is to the explanation of field in the first plug-in unit list and the second plug-in unit list.
Fig. 8 is the main process figure of the plug-in unit memory source control method that the present invention is based on middleware card cage.
Fig. 9 is the main process figure of the plug-in unit document resources control method that the present invention is based on middleware card cage.
Figure 10 is the main process figure of the plug-in unit Socket resource control method that the present invention is based on middleware card cage.
Figure 11 is that in the plug-in security control method that the present invention is based on middleware card cage, plug-in security issues process flow diagram.
Figure 12 is plug-in download checking process figure in the plug-in security control method that the present invention is based on middleware card cage.
Figure 13 is plug-in component operation checking process figure in the plug-in security control method that the present invention is based on middleware card cage.
Embodiment
As shown in Figure 1, be the main body schematic diagram of middleware card cage design system of the present invention.In the present invention, described middleware card cage design system 20 comprises middleware unit 21 and bound cell 22.Wherein, described middleware unit 21 comprises plugin manager (PluginManager) 210, Web engine (i.e. Web Engine) 211 and API (ApplicationProgramInterface, application programming interfaces) module 213.Such as, described middleware unit 21 can be iPanel middleware.
In the present embodiment, described Web engine 211 is WebCore engine, described API module 213 comprises multiple middleware basic function function, as Timer (clock) related function, Socket (socket) process function, thread process function, graph and image processing function, file manipulation function, event handling function, privately owned java script object registration function, font handling function and (Graphics) related function etc. of drawing.
Described bound cell 22 comprises a plugin library 220 and card cage (FrameWork) module 221.Described plugin library 220 comprises one or more plug-in applications (plug-in unit App, hereinafter referred to as " plug-in unit "), and described card cage module 221 comprises card i/f 2210 and framework interface 2212 further.
Described framework interface 2212 is realized calling for the plug-in unit in plugin library 220 by middleware (as middleware unit 21), reach the one-way communication object of bound cell 22 to middleware unit 21, bound cell 22 obtains such as by this framework interface 2212: the system resource of the middleware unit 21 such as clock, thread, socket, graphics, file management, as memory source, document resources (as text, picture, sound, video etc.), and Socket resource etc.Described card i/f 2210 is realized calling for middleware unit 21 by plug-in unit, reaches the one-way communication object of middleware unit 21 to bound cell 22, and middleware unit 21 calls the function that plug-in unit realizes, as read plug-in unit process data etc. by card i/f 2210.
In the present embodiment, described plugin manager 210 is connected with the card i/f 2210 of bound cell 22, for controlling verification, the operation such as installation (comprising download, loading etc.) and unloading of plug-in unit.Described Web engine 211 is connected with the framework interface 2212 of bound cell 22, for after plug-in unit is by the verification of plugin manager 210, starts this plug-in unit.Described card i/f 2210 comprises one or more api routine interface, described framework interface 2212 provides a plug-in unit basic framework, this plug-in unit basic framework can be NP (Netscape, Netscape) card cage, comprises plug-in unit from being loaded into the framework destroying whole life cycle.
The example of a plug-in unit basic framework is as follows:
In the example of above-mentioned plug-in unit basic framework, what its function pointer defined comprised an all executable program of plug-in unit substantially should have interface.Based on above-mentioned plug-in unit basic framework, one or more card i/f 2210 (as api routine interface) can be constructed.
As follows according to the example of drawing application programming interfaces of above-mentioned plug-in unit basic framework structure:
When the api routine interface in described card i/f 2210 is called by plug-in unit, api routine interface mappings corresponding API basic function function in the API module 213 in middleware unit 21 that plugin manager 210 will be called, call this corresponding API basic function function, as related function etc. of drawing, to complete corresponding pin function.Card cage module 221 is consulted shown in Fig. 4 with the incidence relation of the API module 213 in middleware unit 21.When the API basic function function that a plug-in unit needs the API module 213 in middleware unit 21 to provide, api routine interface corresponding in card i/f 2210 is filled into described framework interface 2212 by plugin manager 210.When the api routine interface in described card i/f 2210 is called by this plug-in unit, by the api routine interface mappings corresponding API basic function function in the API module 213 in middleware unit 21 called, call this corresponding API basic function function, to complete the function of this plug-in unit.
Such as, when a plug-in unit needs to Show Picture, the picture processing function (as picture decode function) needing the API module 213 in middleware unit 21 to provide provides support, then the graphic program interface in card i/f 2210 is filled into framework interface 2212 by plugin manager 210, and by graphic program interface mappings to the picture processing function in API module 213, call this picture processing function and Show Picture.
Consult shown in Fig. 2, described middleware card cage design system 20 is applied to client 2, and described client 2 can be the electronic installations such as top box of digital machine.One or more api routine interfaces that third party developer can provide according to card i/f 2210, develop corresponding plug-in unit, and by packaging ciphering instrument 10, the plug-in unit developed being uploaded to service end 1, this packaging ciphering instrument 10 can be provided by client 2.Plugin manager 210 is connected with service end 1 communication, HTTP (HypertextTransferProtocol can be passed through, HTML (Hypertext Markup Language)) or other network transmission protocol from the encrypted packets of service end 1 download plug-in, and the plug-in unit of download is stored in the plugin library 220 of bound cell 22.
It should be noted that, above-mentioned service end 1 and client 2 also comprise hardware resource and the software systems of other necessity, as display screen, input equipment, storer, processor and operating system etc.Described service end 1 and client 2 can provide one or more module, and described one or more module to be stored in the storer of described service end 1 and client 2 and to be configured to be performed, to complete the present invention by the processor of service end 1 and client 2.Module alleged by the present invention has been the computer program code segments of a specific function, is more suitable for describing the implementation of software in service end 1 and client 2 than program.
When client 2 starts, described plugin manager 210 can detect the legitimacy of plug-in unit in plugin library 220, such as, whether the plug-in version detected in plugin library 220 is consistent with the plug-in version in service end 1, and whether the plug-in content in detection plugin library 220 and the plug-in content in service end 1 be consistent.
Described plugin manager 210 also for controlling the operations such as the installation of plug-in unit, renewal and unloading, specifically describes the explanation of consulting Fig. 5 to Fig. 7.
The operation workflow of middleware card cage design system 20 (hereinafter referred to as " middleware card cage 20 ") is further described below in conjunction with Fig. 3.
As shown in Figure 3, be the main process figure of middleware card cage method for designing of the present invention.
Step S101, arranges the middleware card cage 20 in client 2, comprises middleware unit 21 and bound cell 22.
Step S102, when client 2 receives a plug-in request, the plugin manager 210 of middleware unit 21 searches corresponding plug-in unit according to the plug-in unit identifier (being designated as " classid ") in this plug-in request.In the present embodiment, described plug-in unit identifier is a character string, the plug-in unit identifier that a plug-in unit is corresponding unique.Consult shown in Fig. 2, a plug-in unit can pass through HTML (HypertextMarkupLanguage, HTML) page triggers a plug-in request (page triggering) to client 2, and this plug-in request comprises the unique identifier classid of this plug-in unit.Plugin manager 210 carries out unified management according to this plug-in unit identifier classid to this plug-in unit.
Step S103, after finding corresponding plug-in unit, the framework interface 2212 in the card cage module 221 of bound cell 22 is registered to the Web engine 211 of middleware unit 21 by plugin manager 210, to start this plug-in unit.In other embodiments, this plug-in unit also can start from backstage automatically after client 2 is started shooting, and triggers management by plugin manager 210.
Step S104, plugin manager 210 gives this plug-in unit Random assignment plug-in unit Provisioning Instance Identifier (being designated as " pluginid "), and sets up associating of above-mentioned plug-in unit identifier classid and this plug-in unit Provisioning Instance Identifier pluginid.The operation of plug-in unit needs establishment plug-in unit example, the operation of corresponding plug-in unit is completed by this plug-in unit example, such as, if plug-in unit is Flash player, then plug-in unit example can be the Flash player play, many examples are exactly open multiple Flash player to play simultaneously simultaneously, and the Flash player that each is being play is a plug-in unit example.In the present embodiment, described plug-in unit Provisioning Instance Identifier can be random integers, the plug-in unit Provisioning Instance Identifier that a plug-in unit example is corresponding unique.
Step S105, in the process of this plug-in component operation, the card cage module 221 in bound cell 22 controls the resource service condition of this plug-in unit according to above-mentioned plug-in unit Provisioning Instance Identifier.In the present embodiment, the control of resource service condition includes, but not limited to memory source and uses controlling mechanism, document resources to use controlling mechanism, Socket resource to use controlling mechanism, specifically describes the description of consulting Fig. 8 to Figure 10.
Further, described middleware card cage design system 20 is provided with plug-in security mechanism, for encrypting and verify the plug-in unit of third party's exploitation, whole encryption system comprises the flow process of three aspects, safety is issued flow process, is downloaded checking process and run checking process, specifically describes the explanation of consulting Figure 11 to Figure 13.
In the present embodiment, described middleware card cage design system 20 has following characteristic:
(1) reliability and security
Middleware card cage design system 20 takes into full account the security mechanism of plug-in unit: carry out signing and encryption in plug-in unit bag manufacturing process, carry out multilayer verification at issue, download, operation three phases, guarantee that the safety of software program in the whole life cycle of plug-in unit is controlled.
(2) with the low coupling of middleware
The download of plug-in unit, load and managed by plugin manager 210, run and controlled by card cage module 221, and both is all be stripped out the module that can independently form from middleware, have independently flow data behavior, unique exchange channels of both and middleware is exactly that framework interface 2212 is supplied to the interface that external module uses in Web engine 211.Plug-in unit, as independent functional module, each other independent operating, is communicated with middleware unit 21, without direct correlation by unified interface.
(3) high efficiency of exploitation realization
According to the general utility functions sexual demand of plug-in unit, middleware card cage design system 20 incorporates middleware software structure, build developing plug basic framework, one or more api routine interfaces that third party developer only need provide according to card i/f 2210, develop corresponding plug-in unit, a legal plug-in unit that can be identified by middleware unit 21 can be realized.
Each functional module (as temporary location 21, bound cell 22) can concurrent development, effectively shortens the construction cycle.Because concrete function refine to plug-in unit, after separating function, whole middleware unit 21 structure is more clear, reduces system design complexity, reduces the risk that changes of function is brought simultaneously, realizes " plug and play " of middleware functional module.
(4) plug-in component operation controllability
In view of middleware unit 21 is in the leading role of client 2, in the present embodiment, by the control of the School Affairs plug-in resource service condition of plug-in unit, the behavior of plug-in unit is suitably retrained, comprise the system resource etc. forbidding loading illegal undelegated plug-in unit, the operation behavior monitoring legal plug-in unit, the application of conservative control plug-in unit and using middleware unit 21, prevent middleware unit 21 traffic overload and cannot normally run.
Installation, the operation such as renewal and unloading that described plugin manager 210 controls plug-in unit is specifically introduced in description below in conjunction with Fig. 5 to Fig. 7.
Consulting shown in Fig. 5, is the main process figure of the board state control method that the present invention is based on middleware card cage.The method is based on above-mentioned middleware card cage.
Step S201, when client 2 is started shooting, the plugin manager 210 in middleware unit 21 obtains the plug-in unit installed in client 2, generates the first plug-in unit list.In the present embodiment, described first plug-in unit list is XML (ExtensibleMarkupLanguage, extend markup language) formatted file.The information such as the plug-in unit identifier obtaining plug-in unit to some extent and version number are stored in described first plug-in unit list.
Consult shown in Fig. 6, in the present embodiment, a plug-in unit is after exploitation completes, need the packaging ciphering instrument 10 using client 2 to provide, packing generation encryption plug-in unit bag (* .zip) is encrypted to plug-in applications (* .so file) and plug-in unit descriptor (* .json file) and is uploaded to service end 1.The essential information such as identifier (classid), version (Version), encryption parameter (key, MD5) of plug-in unit is contained in the plug-in unit descriptor of wherein * .json form.Terminal Middleware, before this plug-in unit of installation, needs to use above-mentioned plug-in unit descriptor to verify its legitimacy.
Step S202, this first plug-in unit list and state obtain and ask together to be sent to service end 1 by plugin manager 210, and receive the second plug-in unit list corresponding with this first plug-in unit list that service end 1 returns.In the present embodiment, described second plug-in unit list is XML format file, stores the plug-in unit identifier of the plug-in unit verified by service end 1 and the status information of each plug-in unit by verification in described second plug-in unit list.Described status information includes, but not limited to installment state, more new state and unloaded state.Such as, if version number up-to-date in the plug-in version in the first plug-in unit list number and service end 1 is inconsistent, then judge that plug-in unit needs to upgrade (more new state).
In the present embodiment, described plugin manager 210 sends state by HTTPPOST mode to service end 1 and obtains request.When service end 1 receives this state acquisition request, first the plug-in unit identifier stored in the first plug-in unit list is verified.Such as, described verification comprises: verify that whether the plug-in unit identifier stored in the first plug-in unit list is consistent with the plug-in unit identifier that service end 1 stores.
If the plug-in unit identifier stored in the first plug-in unit list is consistent with the plug-in unit identifier that service end 1 stores, then judge that verification is passed through.If the plug-in unit identifier that the plug-in unit identifier stored in the first plug-in unit list and service end 1 store inconsistent (as do not existed in service end 1 in the plug-in unit identifier that stores in the first plug-in unit list), then judge that verification is not passed through.
When the plug-in unit identifier stored in the first plug-in unit list is by checking, service end 1 obtains the status information of the plug-in unit by verification, and the status information of the plug-in unit identifier of the plug-in unit by verification and each plug-in unit by verification is write the second plug-in unit list, return the second plug-in unit list of response first plug-in unit list to client 1, namely this second plug-in unit list generates according to the first plug-in unit list.
For example, suppose that the first plug-in unit list of client 2 comprises the content of following XML format:
The second plug-in unit list that what then service end 1 returned comprise board state information comprises the content of following XML format:
<?xmlversion="1.0"encoding="gb2312"?>
<PLUGINS_RESPOND>
<ITEM>
<ID>e050f85d58cd047b</ID>
<STATUS>install</STATUS>
</ITEM>
<ITEM>
<ID>d165a44405d7f99c</ID>
<STATUS>uninstall</STATUS>
</ITEM>
<ITEM>
<ID>11bb9bc710cc8bc6</ID>
<STATUS>update</STATUS>
</ITEM>
</PLUGINS_RESPOND>
The description of Fig. 7 is consulted about the explanation of each field in the first plug-in unit list in above-mentioned citing and the second plug-in unit list.Such as, " install " represents installation, and " uninstall " represents unloading, and " update " represents renewal.Wherein, the plug-in unit identifier in <ID> field references first plug-in unit list and the second plug-in unit list.In the present embodiment, described <ID> field is plug-in unit identifier classid, and in other embodiments, described <ID> field also can be plug-in unit Provisioning Instance Identifier pluginid.
Step S203, after client 1 receives the second plug-in unit list, plugin manager 210 in client 1 reads the status information of each plug-in unit by verification successively from the second plug-in unit list, and controlling according to plug-in unit identifier the state that this passes through the plug-in unit of verification, idiographic flow comprises step S204 to step S206.
Step S204, if should be the first preset characters (as " install ") by the status information of plug-in unit of verification, then plugin manager 210 be controlled this according to plug-in unit identifier and was installed by the plug-in unit verified.
Step S205, if should be the second preset characters (as " update ") by the status information of the plug-in unit of verification, then plugin manager 210 controls to be upgraded by the plug-in unit of verification according to plug-in unit identifier.Specifically, plugin manager 210 first deletes the plug-in unit of the local legacy version of client 1, then downloads the plug-in unit of redaction from service end 1, and the plug-in unit verification of redaction, by rear, is installed on client 1 local.
Step S206, if should be the 3rd preset characters (as " uninstall ") by the status information of the plug-in unit of verification, then plugin manager 210 controls to be unloaded by the plug-in unit of verification according to plug-in unit identifier.
In other embodiments, plugin manager 210 also every preset interval time (as 24 hours), can send state to service end 1 and obtains request, obtain the status information that plug-in unit is up-to-date, to reach the object of real-time update board state.
Description below in conjunction with Fig. 8 to Figure 10 card cage module 221 specifically introduced in described bound cell 22 controls the resource service condition of plug-in unit operation according to plug-in unit Provisioning Instance Identifier, comprise internal memory operation, document function and Socket (socket) operation etc.
Consulting shown in Fig. 8, is the main process figure of the plug-in unit memory source control method that the present invention is based on middleware card cage.The method is based on above-mentioned middleware card cage.
Step S301, when a plug-in unit of client 2 starts, plugin manager 210 is verified this plug-in unit.Such as, verify whether the plug-in unit identifier classid of this plug-in unit exists in plugin library 220, if existed, is then verified, performs step S302.
Step S302, when this plug-in unit is by checking, plugin manager 210 gives this plug-in unit Random assignment plug-in unit Provisioning Instance Identifier pluginid, and sets up the plug-in unit identifier classid of this plug-in unit and associating of this plug-in unit Provisioning Instance Identifier pluginid.
In the present embodiment, described plug-in unit Provisioning Instance Identifier pluginid represents a concrete plug-in unit example, and this plug-in unit example is started from bound cell 22 by Web engine 211.The calling of each API application program during plug-in component operation is all needed to carry pluginid and is mapped in the API module 213 of middleware unit 21 by plugin manager 210.
Step S303, in the process of this plug-in component operation, this plug-in unit Provisioning Instance Identifier pluginid is registered in the card i/f 2210 of card cage module 221 by the card cage module 221 in bound cell 22.
When this plug-in unit carries out internal memory operation (as memory read-write), the internal memory operation condition pre-set being subject to registering based on pluginid place plug-in unit example controls by the application of its resource, the card i/f meeting the internal memory operation condition pre-set successfully can apply for the system resource of middleware unit 21, otherwise resource bid will failure.It should be noted that, plug-in unit Provisioning Instance Identifier pluginid will be destroyed while plug-in unit is destroyed.
Step S304, when this plug-in unit carries out internal memory operation, card cage module 221, according to the plug-in unit Provisioning Instance Identifier of the internal memory operation condition pre-set with this plug-in unit, monitors the internal memory operation of this plug-in unit.
For example, suppose that the plug-in unit Provisioning Instance Identifier pluginid of step S302 Random assignment is 9527, then card cage module 221 monitors pluginid is whether the internal memory operation of the plug-in unit example of 9527 meets the internal memory operation condition pre-set.
Step S305, card cage module 221 judges whether the internal memory operation of this plug-in unit meets the internal memory operation condition pre-set.If meet the internal memory operation condition pre-set, then perform step S306; If do not meet the internal memory operation condition pre-set, then perform step S307.
For example, in the present embodiment, the internal memory operation condition pre-set described in comprises: internal memory application maxsize value is the first preset value.Suppose that described first preset value is 3M, if the internal memory application size of this plug-in unit is less than or equal to 3M, then card cage module 221 judges that the internal memory operation of this plug-in unit meets the internal memory operation condition pre-set, and namely the internal memory operation of this plug-in unit is legal.If the internal memory application size of this plug-in unit is greater than 3M, then card cage module 221 judges that the internal memory operation of this plug-in unit does not meet the internal memory operation condition pre-set, and namely the internal memory operation of this plug-in unit is illegal.In other embodiments, described internal memory operation condition can also comprise the subsidiary condition (as: Dynamic System path) of acquiescence, so that by the performance constraint of third party's plug-in unit in a controlled range, thus ensures the trouble-free operation of middleware unit 21.
It should be noted that, the described internal memory operation condition pre-set can be followed pluginid in step S303 and is registered in the card i/f 2210 of card cage module 221, also can be built in (without the need to registration) in the descriptor of plug-in unit, even a part of condition can be built in (the changeless condition changed voluntarily if do not allowed user) in the descriptor of plug-in unit, another part condition is registered to (condition as allowed user to change voluntarily) in the card i/f 2210 of card cage module 221.
Step S306, card cage module 221 returns the successful information of internal memory operation to plugin manager 210, then continues to perform internal memory operation.
Step S307, card cage module 221 stops this internal memory operation, then returns the information of internal memory operation failure to plugin manager 210.
Consulting shown in Fig. 9, is the main process figure of the plug-in unit document resources control method that the present invention is based on middleware card cage.The method is based on above-mentioned middleware card cage.
Step S311, when a plug-in unit of client 2 starts, plugin manager 210 is verified this plug-in unit.Such as, verify whether the plug-in unit identifier classid of this plug-in unit exists in plugin library 220, if existed, is then verified, performs step S312.
Step S312, when this plug-in unit is by checking, plugin manager 210 gives this plug-in unit Random assignment plug-in unit Provisioning Instance Identifier pluginid, and sets up the plug-in unit identifier classid of this plug-in unit and associating of this plug-in unit Provisioning Instance Identifier pluginid.
In the present embodiment, described plug-in unit Provisioning Instance Identifier pluginid represents a concrete plug-in unit example, and this plug-in unit example is started from bound cell 22 by Web engine 211.The calling of each API application program during plug-in component operation is all needed to carry pluginid and is mapped in the API module 213 of middleware unit 21 by plugin manager 210.
Step S313, in the process of this plug-in component operation, this plug-in unit Provisioning Instance Identifier pluginid is registered in the card i/f 2210 of card cage module 221 by the card cage module 221 in bound cell 22.
When this plug-in unit carries out document function (as opening document), the document function condition pre-set being subject to registering based on pluginid place plug-in unit example controls by the application of its resource, the card i/f meeting the document function condition pre-set successfully can apply for the system resource of middleware unit 21, otherwise resource bid will failure.It should be noted that, plug-in unit Provisioning Instance Identifier pluginid will be destroyed while plug-in unit is destroyed.
Step S314, when this plug-in unit carries out document function, card cage module 221, according to the plug-in unit Provisioning Instance Identifier of the document function condition pre-set with this plug-in unit, monitors the document function of this plug-in unit.
For example, suppose that the plug-in unit Provisioning Instance Identifier pluginid of step S312 Random assignment is 12138, then card cage module 221 monitors pluginid is whether the document function of the plug-in unit example of 12138 meets the document function condition pre-set.
Step S315, card cage module 221 judges whether the document function of this plug-in unit meets the document function condition pre-set.If meet the document function condition pre-set, then perform step S316; If do not meet the document function condition pre-set, then perform step S317.
For example, in the present embodiment, the document function condition pre-set described in comprises: the courses of action of (2.1) each plug-in unit are preset path (as/root/ipanel/FS_ROOT); (2.2) each plug-in unit can not operate the system file of middleware unit 21; (2.3) the number of documents higher limit of simultaneously opening is the second preset value etc.
Suppose that described second preset value is 5, if the number of documents that the document function of this plug-in unit is opened is less than or equal to 5 simultaneously, and meet (2.1) condition and (2.2) condition, then card cage module 221 judges that the document function of this plug-in unit meets the document function condition pre-set, and namely the document function of this plug-in unit is legal.If above-mentioned three conditions have one not meet (number of documents as opened simultaneously is greater than 5), then card cage module 221 judges that the document function of this plug-in unit does not meet the document function condition pre-set, and namely the document function of this plug-in unit is illegal.
In the present embodiment, the number of documents simultaneously can opened by the quantitative determination of the file handle opened.Such as, if the file handle quantity opened is 5 simultaneously, then judge that the quantity of documents simultaneously opened is as 5.
It should be noted that, the described document function condition pre-set can be followed pluginid in step S313 and is registered in the card i/f 2210 of card cage module 221, also can be built in (without the need to registration) in the descriptor of plug-in unit, even can a part of condition be built in the descriptor of plug-in unit, the changeless condition (as above-mentioned condition 2.1 and 2.2) changed voluntarily if do not allowed user, another part condition is registered in the card i/f 2210 of card cage module 221, as the condition (as above-mentioned condition 2.3) allowing user to change voluntarily.
Step S316, card cage module 221 returns to document to plugin manager 210 information of successful operation, then continues perform document operation.
Step S317, card cage module 221 stops the document to operate, the information of the operation failure that then returns to document to plugin manager 210.
Consulting shown in Figure 10, is the main process figure of the plug-in unit Socket resource control method that the present invention is based on middleware card cage.The method is based on above-mentioned middleware card cage.
Step S321, when a plug-in unit of client 2 starts, plugin manager 210 is verified this plug-in unit.Such as, verify whether the plug-in unit identifier classid of this plug-in unit exists in plugin library 220, if existed, is then verified, performs step S322.
Step S322, when this plug-in unit is by checking, plugin manager 210 gives this plug-in unit Random assignment plug-in unit Provisioning Instance Identifier pluginid, and sets up the plug-in unit identifier classid of this plug-in unit and associating of this plug-in unit Provisioning Instance Identifier pluginid.
In the present embodiment, described plug-in unit Provisioning Instance Identifier pluginid represents a concrete plug-in unit example, and this plug-in unit example is started from bound cell 22 by Web engine 211.The calling of each API application program during plug-in component operation is all needed to carry pluginid and is mapped in the API module 213 of middleware unit 21 by plugin manager 210.
Step S323, in the process of this plug-in component operation, this plug-in unit Provisioning Instance Identifier pluginid is registered in the card i/f 2210 of card cage module 221 by the card cage module 221 in bound cell 22.
When this plug-in unit carries out Socket operation (as attended operation), the Socket operating conditions pre-set being subject to registering based on pluginid place plug-in unit example controls by the application of its resource, the card i/f meeting the Socket operating conditions pre-set successfully can apply for the system resource of middleware unit 21, otherwise resource bid will failure.It should be noted that, plug-in unit Provisioning Instance Identifier pluginid will be destroyed while plug-in unit is destroyed.
Step S324, when this plug-in unit carries out Socket operation, card cage module 221, according to the plug-in unit Provisioning Instance Identifier of the Socket operating conditions pre-set with this plug-in unit, monitors the Socket operation of this plug-in unit.
For example, suppose that the plug-in unit Provisioning Instance Identifier pluginid of step S322 Random assignment is 1314, then card cage module 221 monitor pluginid be the plug-in unit example of 1314 Socket operation whether meet the Socket operating conditions pre-set.
Step S325, card cage module 221 judges whether the Socket operation of this plug-in unit meets the Socket operating conditions pre-set.If meet the Socket operating conditions pre-set, then perform step S326; If do not meet the Socket operating conditions pre-set, then perform step S327.
For example, in the present embodiment, the Socket operating conditions pre-set described in comprises: the destination address that the packet that (3.1) Socket connects first time transmission connects containing self-defined header information (3.2) Socket is a plurality of IP addresses (the IP address as carrier server) of specifying; (3.3) it is the 3rd preset value etc. that the Socket simultaneously opened connects higher limit.
Suppose that described 3rd preset value is 3, if the Socket of this plug-in unit operates the Socket connection of opening be less than or equal to 3 simultaneously, and meet (3.1) condition and (3.2) condition, then card cage module 221 judges that the Socket operation of this plug-in unit meets the Socket operating conditions pre-set, and namely the Socket operation of this plug-in unit is legal.If above-mentioned three conditions have one not meet (Socket as opened simultaneously connects and is greater than 3), then card cage module 221 judges that the Socket operation of this plug-in unit does not meet the Socket operating conditions pre-set, and namely the Socket operation of this plug-in unit is illegal.
It should be noted that, the described Socket operating conditions pre-set can be followed pluginid in step S323 and is registered in the card i/f 2210 of card cage module 221, also can be built in (without the need to registration) in the descriptor of plug-in unit, even can a part of condition be built in the descriptor of plug-in unit, the changeless condition (as above-mentioned condition 3.1) changed voluntarily if do not allowed user, another part condition is registered in the card i/f 2210 of card cage module 221, the condition (as above-mentioned condition 3.2 and 3.3) changed voluntarily as allowed user.
Step S326, card cage module 221 returns the information of Socket successful operation to plugin manager 210, then continues to perform Socket operation.
Step S327, card cage module 221 stops this Socket to operate, and then returns the information of Socket operation failure to plugin manager 210.
The description of above Fig. 8 to Figure 10 specifically describes card cage module 221 in bound cell 22 controls plug-in unit internal memory operation, document function and Socket operation resource control method according to plug-in unit Provisioning Instance Identifier, be understandable that, the operation of other plug-in units also can with reference to above-mentioned resource control method, method is: pre-set corresponding plug-in unit operating conditions, and according to the plug-in unit operating conditions pre-set, the corresponding operating of monitoring plug-in unit.
The plug-in security mechanism of described middleware card cage design system 20 is specifically introduced in description below in conjunction with Figure 11 to Figure 13, comprising: safety is issued flow process, downloaded checking process and run checking process.
Consulting shown in Figure 11, is that in the plug-in security control method that the present invention is based on middleware card cage, plug-in security issues process flow diagram.The method is based on above-mentioned middleware card cage.
Step S401, service end 1 generates a random key, and utilizes this random key to be encrypted add-on file, obtains the add-on file (as * .so file) after encrypting.
Such as, 3DES (TripleDataEncryptionAlgorithm, triple data encryption algorithm) is utilized to be encrypted add-on file.In the present embodiment, an add-on file represents a plug-in unit.
Step S402, the initial clip Text of service end 1 to this add-on file is encrypted the digital signature obtaining this add-on file, and utilizes the private key of service end to be encrypted this digital signature, obtains the digital signature after encrypting.
Specifically, first service end 1 utilizes default summarization generation algorithm to calculate this add-on file, as utilized hash algorithm to carry out Hash operation to this add-on file, obtain the initial clip Text (i.e. the initial clip Text in this locality of service end 1) of this add-on file.Then, service end 1 utilizes the cryptographic algorithm preset, and as MD5 (MessageDigestAlgorithm5, Message Digest 5 the 5th edition) cryptographic algorithm, is encrypted to this initial clip Text the digital signature obtaining this add-on file.
Step S403, utilizes the configuration parameter of the private key of service end 1 to this add-on file to be encrypted, and obtains the configuration parameter after encrypting.In the present embodiment, described configuration parameter includes, but not limited to interface input parameter or the command line parameters such as plug-in unit identifier classid and version number.
Step S404, utilizes the private key of service end 1 to be encrypted above-mentioned random key, obtains the random key after encrypting.
Step S405, using the configuration parameter after the random key after encryption, encryption and digital signature after above-mentioned encryption as plug-in unit descriptor (as * .json file), in attached add-on file after encryption (as * .so file), generate a plug-in unit compressed package (as * .zip file).
Consulting shown in Figure 12, is plug-in download checking process figure in the plug-in security control method that the present invention is based on middleware card cage.The method is based on above-mentioned middleware card cage.
Step S411, when client 2 downloads a plug-in unit compressed package from service end 1, the plugin manager 210 in client 2 starts the checking process to this plug-in unit compressed package.
As mentioned above, this plug-in unit compressed package comprises: the add-on file after encryption and plug-in unit descriptor, described plug-in unit descriptor comprises: the configuration parameter after the random key after encryption, encryption, the digital signature after encryption, and the configuration parameter after described encryption comprises: the information such as the version number after the plug-in unit identifier classid after encryption, encryption.
Step S412, the plugin manager 210 in client 2 utilizes the PKI of client 2 to be decrypted the random key after encryption, obtains the random key after deciphering, i.e. the random key of service end 1 generation.
Step S413, plugin manager 210 utilizes this random key to be decrypted the add-on file after this encryption, obtains the add-on file after deciphering.
Step S414, plugin manager 210 utilizes the summarization generation algorithm (i.e. above-mentioned default summarization generation algorithm) identical with service end 1 once to calculate the add-on file after this deciphering again, as utilized identical hash algorithm to carry out a Hash operation again to the add-on file after this deciphering, obtain a new clip Text (i.e. the clip Text of client).
Step S415, plugin manager 210 utilizes the PKI of client 2 to be decrypted the digital signature after this encryption, obtains the clip Text of the add-on file after deciphering.
Step S416, plugin manager 210 judges that whether new clip Text is consistent with the clip Text decrypted.
Step S417, if new clip Text is consistent with the clip Text decrypted, then plugin manager 210 judges that verification is passed through, and controls this add-on file and installs.
Step S418, if new clip Text is inconsistent with the clip Text decrypted, plugin manager 210 judges to verify unsuccessfully, stops the installation of this add-on file.
In the present embodiment, described plug-in download verification is executed in client 2, namely performs and downloads verification for the first time.In other embodiments, described plug-in download verification can also be executed in service end 1, namely performs twice plug-in download verification, improves the security of plug-in unit verification further.If plug-in download verification is executed in service end 1, download verification hereinafter referred to as second time.
Second time is downloaded verification and is comprised: the clip Text that client 2 decrypts is sent to service end 1 by plugin manager 210, the initial clip Text of the clip Text that service end 1 utilizes this to decrypt and this locality carry out verification also back-checking result to client 2.If this clip Text decrypted is consistent with the initial clip Text in this locality, then service end 1 judges that verification is passed through; If the initial clip Text of this clip Text decrypted and this locality is inconsistent, then service end 1 judges to verify unsuccessfully.If the check results that first time downloads verification (client checking process) and downloads for the second time verification (service end checking process) is all passed through, then execution step S417.If first time downloads the check results failure of verification or second time download verification, then perform step S418.
Consulting shown in Figure 13, is plug-in component operation checking process figure in the plug-in security control method that the present invention is based on middleware card cage.The method is based on above-mentioned middleware card cage.
Step S421, when a plug-in unit of client 2 starts, plugin manager 210 starts the checking process to this plug-in unit.In the present embodiment, an add-on file represents a plug-in unit.
Step S422, plugin manager 210 obtains the local plug-in unit identifier of this plug-in unit from the card i/f 2210 of bound cell 22.
As previously mentioned, each plug-in unit uniquely distributes a plug-in unit identifier, is designated as classid, respectively by: pack in the plug-in unit descriptor of plug-in unit compressed package and add-in developer realize api interface (card i/f 2210) in.Add-in developer needs in api interface is correlated with by plug-in unit, correctly to quote this classid, because will contrast based on this classid in plug-in component operation process, to verify the legitimacy of plug-in unit.
Step S423, plugin manager 210 utilizes the PKI of client 2 being decrypted the plug-in unit identifier after encryption in plug-in unit compressed package, obtains the plug-in unit identifier after the deciphering of this plug-in unit.
Step S424, plugin manager 210 judges that whether the plug-in unit identifier after deciphering is consistent with local plug-in unit identifier.
Step S425, if the plug-in unit identifier after deciphering is consistent with local plug-in unit identifier, then plugin manager 210 judges that verification is passed through, and controls this plug-in unit and normally runs.
Step S426, if plug-in unit identifier and local plug-in unit identifier after deciphering are inconsistent, then plugin manager 210 judgement verifies unsuccessfully, stops the operation of this plug-in unit.
In other embodiments, described plug-in component operation checking process in plug-in component operation process, can also perform once every the interval time (as 10 minutes) of presetting.
In sum, these are only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1., based on a plug-in unit socket resource control method for middleware card cage, run on client, it is characterized in that, the method comprises:
Middleware card cage in client is set, this middleware card cage comprises middleware unit and bound cell, described middleware unit comprises plugin manager, Web Engine and application programming interfaces API module, described bound cell comprises a plugin library and a card cage module, and described card cage module comprises card i/f and framework interface;
When a plug-in unit of client starts, plugin manager is verified this plug-in unit;
When this plug-in unit is by checking, plugin manager gives this plug-in unit Random assignment plug-in unit Provisioning Instance Identifier;
In the process of this plug-in component operation, this plug-in unit Provisioning Instance Identifier is registered in the card i/f of card cage module by the card cage module in bound cell;
When this plug-in unit carries out socket operation, card cage module, according to the plug-in unit Provisioning Instance Identifier of the socket operation condition pre-set with this plug-in unit, monitors the socket operation of this plug-in unit;
If the socket operation of this plug-in unit meets the socket operation condition pre-set, then card cage module returns the successful information of socket operation to plugin manager, then continues to perform socket operation; And
If the socket operation of this plug-in unit does not meet the socket operation condition pre-set, then stop this socket operation, then return the information of socket operation failure to plugin manager.
2. as claimed in claim 1 based on the plug-in unit socket resource control method of middleware card cage, it is characterized in that, described plugin manager is connected with the card i/f of bound cell, also for controlling the verification of plug-in unit, installation and unloading, described Web Engine is connected with the framework interface of bound cell, for starting this plug-in unit.
3., as claimed in claim 1 based on the plug-in unit socket resource control method of middleware card cage, it is characterized in that, the method also comprises step:
When the api routine interface in described card i/f is called by this plug-in unit, api routine interface mappings corresponding API basic function function in the API module in middleware unit that described plugin manager will be called, calls this corresponding API basic function function.
4., as claimed in claim 1 based on the plug-in unit socket resource control method of middleware card cage, it is characterized in that, described in the socket operation condition that pre-sets comprise: condition 1, socket connects packet that first time sends containing self-defined header information; Condition 2, the destination address that socket connects is a plurality of IP addresses of specifying; Condition 3, it is the 3rd preset value that the socket simultaneously opened connects higher limit;
1 to the condition 3 if socket operation of this plug-in unit satisfies condition simultaneously, then card cage module judges that the socket operation of this plug-in unit meets the socket operation condition pre-set;
If the socket operation of this plug-in unit does not satisfy condition any one in 1 to condition 3, then card cage module judges that the socket operation of this plug-in unit does not meet the socket operation condition pre-set.
5. as claimed in claim 1 based on the plug-in unit socket resource control method of middleware card cage, it is characterized in that, in the described socket operation condition pre-set, changeless condition is built in the descriptor of this plug-in unit, allows the condition of change to be registered in the card i/f of card cage module.
6. based on a client for middleware card cage, it is characterized in that, this client comprises:
Middleware card cage, this middleware card cage comprises middleware unit and bound cell, described middleware unit comprises plugin manager, Web Engine and application programming interfaces API module, described bound cell comprises a plugin library and a card cage module, and described card cage module comprises card i/f and framework interface;
Described plugin manager is used for, and when a plug-in unit of client starts, verifies this plug-in unit;
Described plugin manager also for, when this plug-in unit by checking time, to this plug-in unit Random assignment plug-in unit Provisioning Instance Identifier;
Described card cage module is used for, and in the process of this plug-in component operation, is registered in the card i/f of card cage module by this plug-in unit Provisioning Instance Identifier;
Described card cage module also for, when this plug-in unit carries out socket operation, according to the plug-in unit Provisioning Instance Identifier of the socket operation condition pre-set and this plug-in unit, monitor the socket operation of this plug-in unit;
Described card cage module also for, if the socket operation of this plug-in unit meets the socket operation condition pre-set, then return the successful information of socket operation to plugin manager, then continue perform socket operation; And
Described card cage module also for, if the socket operation of this plug-in unit does not meet the socket operation condition pre-set, then stop this socket operation, then return the information of socket operation failure to plugin manager.
7. as claimed in claim 6 based on the client of middleware card cage, it is characterized in that, described plugin manager is connected with the card i/f of bound cell, also for controlling the verification of plug-in unit, installation and unloading, described Web Engine is connected with the framework interface of bound cell, for starting this plug-in unit.
8., as claimed in claim 6 based on the client of middleware card cage, it is characterized in that, described plugin manager also for:
When the api routine interface in described card i/f is called by this plug-in unit, by the api routine interface mappings corresponding API basic function function in the API module in middleware unit called, call this corresponding API basic function function.
9., as claimed in claim 6 based on the client of middleware card cage, it is characterized in that, described in the socket operation condition that pre-sets comprise: condition 1, socket connects packet that first time sends containing self-defined header information; Condition 2, the destination address that socket connects is a plurality of IP addresses of specifying; Condition 3, it is the 3rd preset value that the socket simultaneously opened connects higher limit;
1 to the condition 3 if socket operation of this plug-in unit satisfies condition simultaneously, then card cage module judges that the socket operation of this plug-in unit meets the socket operation condition pre-set;
If the socket operation of this plug-in unit does not satisfy condition any one in 1 to condition 3, then card cage module judges that the socket operation of this plug-in unit does not meet the socket operation condition pre-set.
10. as claimed in claim 6 based on the client of middleware card cage, it is characterized in that, in the described socket operation condition pre-set, changeless condition is built in the descriptor of this plug-in unit, allows the condition of change to be registered in the card i/f of card cage module.
CN201410286907.9A 2014-06-24 2014-06-24 Plug-in unit socket resource control method and client based on middleware card cage Active CN105204829B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410286907.9A CN105204829B (en) 2014-06-24 2014-06-24 Plug-in unit socket resource control method and client based on middleware card cage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410286907.9A CN105204829B (en) 2014-06-24 2014-06-24 Plug-in unit socket resource control method and client based on middleware card cage

Publications (2)

Publication Number Publication Date
CN105204829A true CN105204829A (en) 2015-12-30
CN105204829B CN105204829B (en) 2018-08-07

Family

ID=54952539

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410286907.9A Active CN105204829B (en) 2014-06-24 2014-06-24 Plug-in unit socket resource control method and client based on middleware card cage

Country Status (1)

Country Link
CN (1) CN105204829B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111026735A (en) * 2019-12-10 2020-04-17 腾讯科技(深圳)有限公司 Data transmission method, device, equipment and medium
CN111294556A (en) * 2020-02-07 2020-06-16 山东浪潮通软信息科技有限公司 Video front-end processing method based on GB/T28181
CN117093639A (en) * 2023-10-18 2023-11-21 北京安华金和科技有限公司 Socket connection processing method and system based on audit service

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101110700A (en) * 2007-06-14 2008-01-23 上海众恒信息产业有限公司 Explorer in resource management platform
US20080235710A1 (en) * 2007-03-21 2008-09-25 International Business Machines Corporation Distributed Pluggable Middleware Services
CN101277212A (en) * 2007-03-30 2008-10-01 上海众恒信息产业有限公司 Resource management platform and resource management method
CN101276269A (en) * 2007-03-30 2008-10-01 上海众恒信息产业有限公司 Expandable resource management platform

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080235710A1 (en) * 2007-03-21 2008-09-25 International Business Machines Corporation Distributed Pluggable Middleware Services
CN101277212A (en) * 2007-03-30 2008-10-01 上海众恒信息产业有限公司 Resource management platform and resource management method
CN101276269A (en) * 2007-03-30 2008-10-01 上海众恒信息产业有限公司 Expandable resource management platform
CN101110700A (en) * 2007-06-14 2008-01-23 上海众恒信息产业有限公司 Explorer in resource management platform

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张维勇 等: "插件式方面组件的反射中间件模型设计", 《中国水运》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111026735A (en) * 2019-12-10 2020-04-17 腾讯科技(深圳)有限公司 Data transmission method, device, equipment and medium
CN111026735B (en) * 2019-12-10 2023-03-21 腾讯科技(深圳)有限公司 Data transmission method, device, equipment and medium
CN111294556A (en) * 2020-02-07 2020-06-16 山东浪潮通软信息科技有限公司 Video front-end processing method based on GB/T28181
CN117093639A (en) * 2023-10-18 2023-11-21 北京安华金和科技有限公司 Socket connection processing method and system based on audit service
CN117093639B (en) * 2023-10-18 2024-01-26 北京安华金和科技有限公司 Socket connection processing method and system based on audit service

Also Published As

Publication number Publication date
CN105204829B (en) 2018-08-07

Similar Documents

Publication Publication Date Title
CN105224874A (en) Based on plug-in security control method and the client of middleware card cage
US10673638B2 (en) Unified programming environment for programmable devices
CN105320503A (en) Middleware and plug-in frame designing system and method
US7480907B1 (en) Mobile services network for update of firmware/software in mobile handsets
WO2017193640A1 (en) Application updating method and device
US9081596B2 (en) Information processing device, virtual machine creation method, and application distribution system
US20110040960A1 (en) Method and System for Securely Updating Field Upgradeable Units
CN105242910A (en) Middleware plug-in frame based plug-in state control method and client
CN103677877A (en) Method and device for updating local advertisement software development kit
CN102830992A (en) Plug-in loading method and system
CN108845812A (en) Update of plug-in method, apparatus, computer equipment and storage medium
CN104023154A (en) Debug system
KR101411181B1 (en) Schema packaging, distribution and availability
CN110018841A (en) A kind of UEFI BIOS upgrade method, system and relevant apparatus
US10409588B2 (en) Method for managing objects in a secure element
CN104077160A (en) Android software upgrading method, device and system
CN106170763A (en) A kind of software check method and apparatus
US9652223B2 (en) Method and apparatus for executing integrated application program
CN105144085B (en) For the software frame of storage device
CN106056000A (en) System authority-based mobile device storage partition configuration method and apparatus
CN107396188A (en) The upgrade method and system of a kind of set top box
CN106933625A (en) A kind of method and system of multi-source software upgrading
CN105204829A (en) Plug-in socket resource control method based on middleware plug-in framework and client side
CN105224297A (en) Based on plug-in unit memory source control method and the client of middleware card cage
WO2023198056A1 (en) Firmware update method for embedded device, and embedded 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
GR01 Patent grant
GR01 Patent grant