CN101739254A - Method and device for realizing multiplexing of multi-platform communication assemblies - Google Patents

Method and device for realizing multiplexing of multi-platform communication assemblies Download PDF

Info

Publication number
CN101739254A
CN101739254A CN200910216840A CN200910216840A CN101739254A CN 101739254 A CN101739254 A CN 101739254A CN 200910216840 A CN200910216840 A CN 200910216840A CN 200910216840 A CN200910216840 A CN 200910216840A CN 101739254 A CN101739254 A CN 101739254A
Authority
CN
China
Prior art keywords
assembly
compatible
unit
code
general purpose
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
CN200910216840A
Other languages
Chinese (zh)
Other versions
CN101739254B (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.)
CVIC Software Engineering Co Ltd
Original Assignee
CVIC Software Engineering 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 CVIC Software Engineering Co Ltd filed Critical CVIC Software Engineering Co Ltd
Priority to CN 200910216840 priority Critical patent/CN101739254B/en
Publication of CN101739254A publication Critical patent/CN101739254A/en
Application granted granted Critical
Publication of CN101739254B publication Critical patent/CN101739254B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The embodiment of the invention discloses a method and a device for realizing the multiplexing of multi-platform communication assemblies. The method comprises the following steps: splitting an assembly containing an application program according to a predefined rule, and encapsulating a common code to obtain a common assembly; constructing a compatible assembly, and respectively encapsulating the non-common codes in the compatible assembly or assembly segments; establishing an optional dependency relationship between the compatible assembly and a target platform assembly; establishing a dependency relationship between the common assembly and the compatible assembly; allocating the common assembly and the compatible assembly to the target platform; allocating the segments of the compatible assembly to the corresponding target platform; analyzing the dependency relationship between the assemblies in the target platform; and when all the necessary dependency relationships among all the assemblies, contained in the application program, are satisfied, invoking the codes of the compatible assembly by the common assembly. By constructing the common assembly and the compatible assembly, the invention enables the common assembly to be commonly used by multiple platforms and simultaneously improves the speed of the assembly development.

Description

A kind of method and device of realizing multiplexing of multi-platform communication assemblies
Technical field
The present invention relates to communication technical field, particularly a kind of method and device of realizing multiplexing of multi-platform communication assemblies.
Background technology
In current instant messaging field, internet, XMPP (Extensible Messaging andPresence Protocol, scalable message with have agreement) and relevant protocol extension thereof are important protocol suites.XMPP is a kind of agreement based on XML (Extensible Markup Language, extend markup language), because it has inherited the self-defined property of XML and be easy to characteristic such as embedding, therefore, has very strong extensibility based on the application of XMPP.At present the instant messaging assembly based on XMPP or other instant messaging agreement can be divided into two kinds: a kind ofly be the client component based on desktop, main function comprises resolves the message packet of receiving and generates and sends new message; A kind of is server-side component, has also comprised functions such as forwards, message stores and user conversation management on client component function basis in addition.Two kinds of assemblies have great similarity in essence with on constituting.
But in the design and performance history of instant communications component, the means that often adopt client component and server-side component to develop respectively and test, this method exploitation speed is low, and the multiplexing of code also is restricted, simultaneously owing to provide the assembly of certain function need adapt to different working environments, be difficult to be applied in the client based on the assembly of server end and go, so the extensibility of assembly is also relatively poor.In addition in the instant messaging field clients entities and server end entity this on the functional requirement and protocol specification on asymmetry also hindered the multiplexing of server end and client communication component.
Summary of the invention
In view of this, the invention provides a kind of method and device of realizing multiplexing of multi-platform communication assemblies, restricted to solve in the prior art code reuse, can't realize the problem of component reusing technology.Its concrete scheme is:
A kind of method that realizes multiplexing of multi-platform communication assemblies comprises:
According to default rule the assembly that comprises application program is split, encapsulate wherein general code, obtain general purpose module;
Make up compatible assembly, above-mentioned non-general code is encapsulated into respectively in compatible assembly or the assembly fragment;
Set up the optional dependence of described compatible assembly and target platform inter-module;
Set up the dependence of described general purpose module and described compatible assembly;
Dispose described general purpose module and described compatible assembly to target platform;
Dispose described compatible assembly fragment in its corresponding target platform;
Resolve the dependence of application component in the described target platform;
When the dependence of all application components in the described target platform was satisfied, described general purpose module called the code in the described compatible assembly.
Preferably, the compatible assembly of described foundation, the process that above-mentioned non-general code is encapsulated into respectively in compatible assembly or the assembly fragment is specially:
Set up compatible assembly;
The interface of invoke code is provided in compatible component;
According to above-mentioned interface non-versatility code is encapsulated in the corresponding compatible assembly fragment.
Preferably, described general purpose module calls the process of compatible assembly and is:
The interface of described general purpose module by described invoke code utilizes Classloader to call code in the described compatible assembly fragment.
Preferably, the described process that splits the assembly that comprises application program according to default rule is: the function according to assembly is realized splits the assembly that comprises application program.
A kind of device of realizing multiplexing of multi-platform communication assemblies comprises: split cells, first construction unit, second construction unit, first are provided with unit, second unit, deployment unit, resolution unit, judging unit and call unit are set, wherein:
Described split cells is used for, and splits the assembly that comprises application program according to default rule;
Described first construction unit is used for, and general code in the assembly of described split cells fractionation is encapsulated, and constructs general purpose module;
Described second construction unit is used for, and makes up compatible assembly, and non-general code in the assembly of described split cells fractionation is encapsulated in described compatible assembly or the fragment;
Described first is provided with the unit is used for, and the compatible assembly of described second construction unit structure and the optional dependence of target platform inter-module are set;
Described second is provided with the unit is used for, and the dependence between described compatible assembly and described general purpose module is set;
Described deployment unit is used for, and described general purpose module, compatible deployment of components to target platform, are deployed to its corresponding target platform with the assembly fragment of described compatible assembly;
Described resolution unit is used for, and resolves whole dependences of application component in the target platform;
Described judging unit is used for, and judges whether the dependence that described resolution unit is resolved all is satisfied;
Described call unit is used for, and when described judgment unit judges went out described dependence and all is satisfied, general purpose module called the code in the compatible assembly.
Preferably, described second construction unit comprises: set up the unit, interface is provided with unit and encapsulation unit, wherein:
The described unit of setting up is used for, and sets up compatible assembly;
Described interface is provided with the unit and is used for, and the interface of invoke code is set in compatible component;
Described encapsulation unit is used for, and according to described interface the interface that the unit is provided with is set, and non-versatility code is encapsulated in the corresponding compatible assembly fragment.
From above-mentioned technical scheme as can be seen, the embodiment of the invention is by making up general purpose module and compatible assembly, realized that general purpose module adopts the purpose of calling different assembly fragments in a like fashion, realized that general purpose module is common to the purpose of a plurality of platforms.Owing to the mode that adopts unitized overall development to dispose respectively, improved the tempo of development of assembly simultaneously.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the typical application structural representation that operates on the Eclipse RCP platform;
Fig. 2 is the typical application structural representation that operates on the Eclipse RAP platform;
Fig. 3 is the process flow diagram of the method for realization multiplexing of multi-platform communication assemblies disclosed by the invention;
Fig. 4 is the process flow diagram of the method for the embodiment of the invention 1 disclosed realization multiplexing of multi-platform communication assemblies;
Fig. 5 is the process flow diagram of the method for the embodiment of the invention 2 disclosed realization multiplexing of multi-platform communication assemblies;
Fig. 6 is the structural representation of the device of realization multiplexing of multi-platform communication assemblies disclosed by the invention;
Fig. 7 is the structural scheme of mechanism of second construction unit in the device of realization multiplexing of multi-platform communication assemblies disclosed by the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
The embodiment of the invention discloses a kind of method that realizes multiplexing of multi-platform communication assemblies, communications component can not be multi-platform multiplexing problem in the prior art to solve.
The applied technology of the present invention is based on the Eclipse various rich client platforms that community provided of increasing income.Increase income several target platforms of the support rich client applications that community provided of Eclipse have good portability, technical characteristics such as upgradability and extensibility.Operate on the Eclipse RCP (Rich ClientPlatform, rich client platform) the typical application structure as shown in Figure 1.
Approximate with Eclipse RCP platform, Eclipse RAP (Rich Ajax Platform, rich Ajax platform) is based on the rich client platform of WEB.Eclipse RAP platform is under the mode of operation of server/browser, and the platform of rich client user experience is provided, operate on the Eclipse RAP platform the typical application structure as shown in Figure 2.
By the structure of two platforms of comparison and the interactive relation of application program and corresponding platform, can obtain following conclusion: though the fabric of two platforms and inequality, be structured in respectively on operating system and the Servlet container, but the superstructure of two platforms is identical, that is to say that the code between two platforms has general part.
The method of realization multiplexing of multi-platform communication assemblies disclosed by the invention, at the demand on the platform portability, segment according to certain rule in design and development phase application programs assembly, general code is encapsulated, form general purpose module, it is deployed in the corresponding target platform again, non-general code is encapsulated in the compatible assembly, by dependence, general purpose module calls the code in the compatible assembly, thus the corresponding function of implementation platform.
Suppose that application component constitutes the union U of dependence to all dependences of all platforms.And at the dependence of an a certain target platform subclass as above-mentioned union, can carry out and computing, the union of gained is exactly a general subclass.The dependence of this general subclass is added in the general purpose module along with the encapsulation of general purpose module, the remainder of union U, and just the dependence of non-versatility code will be set up in compatible assembly.For example program is U1={d1 in the dependence of platform 1, d2, d3}, the dependence of platform 2 is U2={d1, d2, d4}, these two subclass and after set U be d1, d2, d3, d4}, these are exactly all dependences.Above-mentioned two set U1, U2 are carried out union operation obtain U3={d1, d2} is exactly the general subclass of U.Dependence d1 and d2 that U3 comprises set up in general purpose module.Remaining dependence: d3 and d4 will set up in compatible assembly among the U, and will be appointed as optional dependence, because d3, d4 can not be satisfied simultaneously, and its corresponding assembly can not obtain in identical platform.
The flow process of the method for realization multiplexing of multi-platform communication assemblies disclosed by the invention comprises as shown in Figure 3: step S31, according to default rule the assembly that comprises application program is split, encapsulate wherein general code, obtain general purpose module;
Versatility code described in the above-mentioned steps is generally, programmed logic, service end and client on agreement the logic (such as entity finds that entity state is synchronous or the like) of general agreement, the GUI assembly of the overwhelming majority.
Step S32, set up compatible assembly, above-mentioned non-general code is encapsulated into respectively in compatible assembly or the assembly fragment;
Non-general code described in the above-mentioned steps, the just part of platform differences: support on the agreement as WEB/RAP version needs, and the difference of supporting on desktop/RCP release protocol; Such as the difference of access mode, browser still is the operating system local program; Such as support/do not support to pull, support/do not support the forward-reverse operation.These codes are encapsulated in the assembly fragment.Above-mentioned two processes also are the processes to the unitized overall development of platform.
Step S33, set up the optional dependence of compatible assembly and target platform inter-module;
Because be packaged with in the assembly of non-versatility code and be applicable to that the assembly of different target platform can not be called simultaneously, so be set at its dependence optional, can specify the assembly of needs dependence according to actual conditions, when its dependence is satisfied, according to the match information of above-mentioned dependence, call the corresponding code that platform assembly provided and realize its function corresponding.
Step S34, set up the dependence of general purpose module and compatible assembly;
Setting this related purpose is to do the basis for the code that general purpose module calls in the compatible assembly, set up dependence between the two, by general purpose module being relied on compatible assembly, realize that general purpose module calls the purpose of the platform assembly code that code and compatible assembly are relied in the compatible assembly.
Step S35, the described general purpose module of deployment and compatible assembly are to target platform;
Step S36, the described compatible assembly fragment of deployment are in its corresponding target platform;
Resource in the assembly fragment and corresponding code are fused in the class.path of compatible assembly automatically simultaneously.
The dependence of application component in step S37, the parsing target platform;
Step S38, judge whether whole dependences of described all application components of target platform are satisfied, if be satisfied then execution in step S39, if do not satisfy, execution in step S310 then;
The precondition of general purpose module operate as normal is that its all dependence all is satisfied and is placed in its specified runtime environment.If whole dependences of general purpose module are satisfied, then general purpose module is in " beginning " state, and beginning externally provides the function of its appointment.Have any dependence not to be satisfied else if, then general purpose module can not normally provide its function.
Step S39, general purpose module call the code in the compatible assembly fragment;
General purpose module calls required platform correlative code after being in initial state, and then the function of implementation platform.
Step S310, process finish.
In said process, because compatible assembly fragment is resolved in deployment automatically, become the part of compatible assembly after the parsing, compatible assembly is carried out certain setting such as these codes are come out, and general purpose module can directly be visited the code in the fragment of compatible assembly.Equally, also can be when making up compatible assembly, the setting program interface makes general purpose module by interface calling compatible component code.
Call the mode difference of code in the compatible assembly below according to general purpose module, be described respectively.
Embodiment one
In the method for the embodiment of the invention 1 disclosed realization multiplexing of multi-platform communication assemblies, compatible assembly is arranged in the general purpose module, the flow process of this method comprises as shown in Figure 4:
Step S41, the assembly that comprises application program is split, encapsulate wherein general code, obtain general purpose module according to default rule;
Step S42, set up compatible assembly, above-mentioned non-general code is encapsulated into respectively in compatible assembly or the assembly fragment;
By compatible assembly is provided with, the code in the assembly fragment is exposed to the assembly that other depends on compatible assembly, as general purpose module.
Step S43, set up the optional dependence of compatible assembly and target platform inter-module;
Step S44, set up the dependence between compatible assembly and general purpose module;
Step S45, with described general purpose module and described compatible deployment of components in target platform;
Step S46, the compatible assembly fragment of deployment are to its corresponding target platform, and its resource and code are fused in the class.path of compatible component automatically;
This moment, the fragment code was fused in the compatible assembly, became the part of assembly, simultaneously code was come out, and was convenient to calling of general purpose module.
Step S47, the dependence of all application components is resolved;
Dependence in the above-mentioned steps: comprise the dependence of application component and target platform inter-module and the dependence between application component etc.
Step S48, judge whether the dependence of all application components all is satisfied, if satisfy then execution in step S49, if do not satisfy, execution in step S410 then;
Information such as the title of other assemblies that the judgement general purpose module relies on, version number are consistent with the dependence information that general purpose module pre-establishes, whether the optional dependence in the compatible assembly is satisfied, if all dependences all are satisfied, then general purpose module is in " beginning " state, and beginning externally provides the function of its appointment.If exist inconsistently, illustrate that then dependence is not all satisfied, the mistake of code call can appear during program run, so its function can't normally be provided.
Step S49, general purpose module by dependence directly call dynamically with compatible assembly in code;
Step S410, process finish.
In sum as can be seen, the disclosed a kind of method of multiplexing of multi-platform communication assemblies that realizes of the embodiment of the invention can realize that general purpose module is multiplexed into the purpose of a plurality of platforms, has solved the code reuse difficulty, the problem that can't realize.
Embodiment two
Though the method among the embodiment 1 has solved the problem of code reuse difficulty, but because compatible assembly can have a plurality of, have no idea to guarantee that same function offers general purpose module in the same way, because different compatible assemblies may use different class names or may need different parameters.General purpose module is directly visited these codes and may be caused and sneak into non-general logic or code in its code, has influenced the versatility of general purpose module.In addition, must make extra setting to compatible assembly during the method for employing embodiment 1, and the change of these settings can make also general purpose module be affected.Code in the compatible assembly fragment also may be modified, if this section code is modified, the code of general purpose module will inevitably be affected.
In the method for the embodiment of the invention 2 disclosed realization multiplexing of multi-platform communication assemblies, general purpose module calls code in the compatible assembly by the form of routine interface, and the flow process of this method comprises as shown in Figure 5:
Step S51, the assembly that comprises application program is split, encapsulate wherein general code, obtain general purpose module according to default rule;
Step S52 sets up compatible assembly, and the interface of invokes application is provided in compatible component, according to above-mentioned interface non-versatility code is encapsulated in the corresponding compatible assembly fragment.
Step S53, set up the optional dependence of compatible assembly to the target platform assembly.
Step S54, set up the dependence of described general purpose module and described compatible assembly;
Step S55, with general purpose module, compatible deployment of components to target platform;
Step S56, the fragment of compatible assembly is deployed to its corresponding target platform;
Step S57, the dependence of all application components is resolved;
Dependence in the above-mentioned steps is the dependence of all application components in the target platform.
Step S58, judge whether the dependence of all application components all is satisfied, if satisfy then execution in step S59, if do not satisfy, execution in step S510 then;
Step S59, general purpose module are by the code in the compatible assembly of interface interchange;
Step S510, process finish.
In sum as can be seen, the disclosed a kind of method of multiplexing of multi-platform communication assemblies that realizes of the embodiment of the invention is when realizing that general purpose module is multiplexed into the purpose of a plurality of platforms, owing in compatible assembly, be provided with the interface of invoke code, make general purpose module pass through the code in the compatible assembly of interface interchange, solved the problem that the mode of directly calling influences the code versatility.
The invention also discloses a kind of device of realizing multiplexing of multi-platform communication assemblies, its structure as shown in Figure 6, comprise: split cells 61, first construction unit 62, second construction unit 63, first are provided with unit 64, second unit 65, deployment unit 66, resolution unit 67, judging unit 68 and call unit 69 are set, wherein:
Described split cells 61 is used for, and splits the assembly that comprises application program according to default rule; Described first makes up single 62 yuan is used for, and general code in the assembly of described split cells 61 fractionations is encapsulated, and constructs general purpose module; Described second construction unit 63 is used for, and makes up compatible assembly, and non-general code in the assembly of described split cells 61 fractionations is encapsulated in described compatible assembly or its fragment; Described first is provided with unit 64 is used for, and the compatible assembly of described second construction unit, 63 structures and the optional dependence of target platform inter-module are set; Described second is provided with unit 65 is used for, and the dependence between described compatible assembly and described general purpose module is set; Described deployment unit 66 is used for, and described general purpose module, compatible deployment of components to target platform, are deployed to its corresponding target platform with the assembly fragment of described compatible assembly; Described resolution unit 67 is used for, and resolves whole dependences of application component in the target platform; Described judging unit 68 is used for, and judges whether the dependence that described resolution unit is resolved all is satisfied; Described call unit 69 is used for, and when described judging unit 68 was judged described dependence and all is satisfied, general purpose module called the code in the compatible assembly.
In addition, the structure of described second construction unit 63 comprises as shown in Figure 7: set up unit 631, interface is provided with unit 632 and encapsulation unit 633, wherein: the described unit 631 of setting up is used for, and sets up compatible assembly; Described interface is provided with unit 632 and is used for, and the interface of invoke code is set in compatible component; Described encapsulation unit 633 is used for, and according to described interface the interface that unit 632 is provided with is set, and non-versatility code is encapsulated in the corresponding compatible assembly fragment.
Each embodiment adopts the mode of going forward one by one to describe in this instructions, and each embodiment stresses
Figure G2009102168400D00091
Figure G2009102168400D00092
With the difference of other embodiment, identical similar part is mutually referring to getting final product between each embodiment.For the disclosed device of embodiment, because it is corresponding with the embodiment disclosed method, so description is fairly simple, relevant part partly illustrates referring to method and gets final product.
It will be understood by those skilled in the art that and to use many different technologies and in the technology any one to come expression information, message and signal.For example, the message of mentioning in the above-mentioned explanation, information can be expressed as voltage, electric current, electromagnetic wave, magnetic field or magnetic particle, light field or above combination in any.
The professional can also further recognize, the unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein, can realize with electronic hardware, computer software or the combination of the two, for the interchangeability of hardware and software clearly is described, the composition and the step of each example described prevailingly according to function in the above description.These functions still are that software mode is carried out with hardware actually, depend on the application-specific and the design constraint of technical scheme.The professional and technical personnel can use distinct methods to realize described function to each specific should being used for, but this realization should not thought and exceeds scope of the present invention.
The method of describing in conjunction with embodiment disclosed herein or the step of algorithm can directly use the software module of hardware, processor execution, and perhaps the combination of the two is implemented.Software module can place the storage medium of any other form known in random access memory (RAM), internal memory, ROM (read-only memory) (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or the technical field.
To the above-mentioned explanation of the disclosed embodiments, make this area professional and technical personnel can realize or use the present invention.Multiple modification to these embodiment will be conspicuous concerning those skilled in the art, and defined herein General Principle can realize under the situation that does not break away from the spirit or scope of the present invention in other embodiments.Therefore, the present invention will can not be restricted to these embodiment shown in this article, but will meet and principle disclosed herein and features of novelty the wideest corresponding to scope.

Claims (6)

1. a method that realizes multiplexing of multi-platform communication assemblies is characterized in that, comprising:
According to default rule the assembly that comprises application program is split, encapsulate wherein general code, obtain general purpose module;
Make up compatible assembly, above-mentioned non-general code is encapsulated into respectively in compatible assembly or the assembly fragment;
Set up the optional dependence of described compatible assembly and target platform inter-module;
Set up the dependence of described general purpose module and described compatible assembly;
Dispose described general purpose module and described compatible assembly to target platform;
Dispose described compatible assembly fragment in its corresponding target platform;
Resolve the dependence of application component in the described target platform;
After the dependence of all application components in the described target platform was satisfied, described general purpose module called the code in the described compatible assembly.
2. method according to claim 1 is characterized in that, the compatible assembly of described foundation, and the process that above-mentioned non-general code is encapsulated into respectively in compatible assembly or the assembly fragment is specially:
Set up compatible assembly;
The interface of invoke code is provided in compatible component;
According to above-mentioned interface non-versatility code is encapsulated in the corresponding compatible assembly fragment.
3. method according to claim 2 is characterized in that, the process that described general purpose module calls compatible assembly is:
The interface of described general purpose module by described invoke code utilizes Classloader to call code in the described compatible assembly fragment.
4. method according to claim 3 is characterized in that, the described process that splits the assembly that comprises application program according to default rule is: the function according to assembly is realized splits the assembly that comprises application program.
5. device of realizing multiplexing of multi-platform communication assemblies, it is characterized in that, comprise: split cells, first construction unit, second construction unit, first are provided with unit, second unit, deployment unit, resolution unit, judging unit and call unit are set, wherein:
Described split cells is used for, and splits the assembly that comprises application program according to default rule;
Described first construction unit is used for, and general code in the assembly of described split cells fractionation is encapsulated, and constructs general purpose module;
Described second construction unit is used for, and makes up compatible assembly, and non-general code in the assembly of described split cells fractionation is encapsulated in described compatible assembly or the fragment;
Described first is provided with the unit is used for, and the compatible assembly of described second construction unit structure and the optional dependence of target platform inter-module are set;
Described second is provided with the unit is used for, and the dependence between described compatible assembly and described general purpose module is set;
Described deployment unit is used for, and described general purpose module, compatible deployment of components to target platform, are deployed to its corresponding target platform with the assembly fragment of described compatible assembly;
Described resolution unit is used for, and resolves whole dependences of application component in the target platform;
Described judging unit is used for, and judges whether the dependence that described resolution unit is resolved all is satisfied;
Described call unit is used for, and when described judgment unit judges went out described dependence and all is satisfied, general purpose module called the code in the compatible assembly.
6. device according to claim 5 is characterized in that, described second construction unit comprises: set up the unit, interface is provided with unit and encapsulation unit, wherein:
The described unit of setting up is used for, and sets up compatible assembly;
Described interface is provided with the unit and is used for, and the interface of invoke code is set in compatible component;
Described encapsulation unit is used for, and according to described interface the interface that the unit is provided with is set, and non-versatility code is encapsulated in the corresponding compatible assembly fragment.
CN 200910216840 2009-12-31 2009-12-31 Method and device for realizing multiplexing of multi-platform communication assemblies Active CN101739254B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910216840 CN101739254B (en) 2009-12-31 2009-12-31 Method and device for realizing multiplexing of multi-platform communication assemblies

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910216840 CN101739254B (en) 2009-12-31 2009-12-31 Method and device for realizing multiplexing of multi-platform communication assemblies

Publications (2)

Publication Number Publication Date
CN101739254A true CN101739254A (en) 2010-06-16
CN101739254B CN101739254B (en) 2013-04-03

Family

ID=42462780

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910216840 Active CN101739254B (en) 2009-12-31 2009-12-31 Method and device for realizing multiplexing of multi-platform communication assemblies

Country Status (1)

Country Link
CN (1) CN101739254B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102567044A (en) * 2010-11-19 2012-07-11 微软公司 Code deployment assistance
CN102594848A (en) * 2011-01-06 2012-07-18 中兴通讯股份有限公司 Open type developing method and system for application of internet of things
CN102841780A (en) * 2011-06-23 2012-12-26 阿里巴巴集团控股有限公司 Method and equipment for creating and calling universal components
CN103500102A (en) * 2013-10-16 2014-01-08 迈普通信技术股份有限公司 Service calling method and device for providing service calling
CN103532959A (en) * 2013-10-21 2014-01-22 济南政和科技有限公司 Cross-platform network communication method
CN104252339A (en) * 2013-06-25 2014-12-31 腾讯科技(深圳)有限公司 Method and device for developing interface layers and realizing data interaction of interface layers
CN105391784B (en) * 2015-11-24 2018-06-26 无锡江南计算技术研究所 Peer-to-peer communications method based on Eclipse
CN109582303A (en) * 2018-10-31 2019-04-05 平安科技(深圳)有限公司 General purpose module call method, device, computer equipment and storage medium
CN110221824A (en) * 2019-06-03 2019-09-10 精硕科技(北京)股份有限公司 The generation method and device of component
CN112256247A (en) * 2020-10-09 2021-01-22 北京字跳网络技术有限公司 Dependency processing method and device for module assembly, computer equipment and storage medium
CN114443294A (en) * 2022-01-20 2022-05-06 苏州浪潮智能科技有限公司 Big data service component deployment method, system, terminal and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100525302C (en) * 2005-02-06 2009-08-05 华为技术有限公司 Script generating device based on assembly multiplexing, and method therefor
CN100414498C (en) * 2006-10-26 2008-08-27 山东浪潮齐鲁软件产业股份有限公司 SERVER edition code generation system capable of realizing code reutilizization
CN100495332C (en) * 2007-12-26 2009-06-03 上海科泰世纪科技有限公司 Method for implementing component shell construction in component software system
CN101241435A (en) * 2008-03-07 2008-08-13 浪潮集团山东通用软件有限公司 Method for transplanting the former business into platform
CN101295247B (en) * 2008-06-24 2011-01-26 杭州义益自动化有限公司 Method for generating built-in graphical interface across CPU platform

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102567044A (en) * 2010-11-19 2012-07-11 微软公司 Code deployment assistance
US9959103B2 (en) 2010-11-19 2018-05-01 Microsoft Technology Licensing, Llc Code deployment assistance
CN102594848A (en) * 2011-01-06 2012-07-18 中兴通讯股份有限公司 Open type developing method and system for application of internet of things
CN102594848B (en) * 2011-01-06 2015-09-16 中兴通讯股份有限公司 A kind of method and system of Internet of Things application being carried out to open type developing
CN102841780A (en) * 2011-06-23 2012-12-26 阿里巴巴集团控股有限公司 Method and equipment for creating and calling universal components
CN102841780B (en) * 2011-06-23 2015-10-14 阿里巴巴集团控股有限公司 A kind ofly create and call the method and apparatus of general purpose module
CN104252339B (en) * 2013-06-25 2018-07-06 腾讯科技(深圳)有限公司 The method and apparatus that interface layer exploitation, interface layer realize data interaction
CN104252339A (en) * 2013-06-25 2014-12-31 腾讯科技(深圳)有限公司 Method and device for developing interface layers and realizing data interaction of interface layers
CN103500102A (en) * 2013-10-16 2014-01-08 迈普通信技术股份有限公司 Service calling method and device for providing service calling
CN103532959A (en) * 2013-10-21 2014-01-22 济南政和科技有限公司 Cross-platform network communication method
CN105391784B (en) * 2015-11-24 2018-06-26 无锡江南计算技术研究所 Peer-to-peer communications method based on Eclipse
CN109582303A (en) * 2018-10-31 2019-04-05 平安科技(深圳)有限公司 General purpose module call method, device, computer equipment and storage medium
CN109582303B (en) * 2018-10-31 2024-05-03 平安科技(深圳)有限公司 General component calling method, device, computer equipment and storage medium
CN110221824A (en) * 2019-06-03 2019-09-10 精硕科技(北京)股份有限公司 The generation method and device of component
CN110221824B (en) * 2019-06-03 2024-03-22 北京秒针人工智能科技有限公司 Method and device for generating component
CN112256247A (en) * 2020-10-09 2021-01-22 北京字跳网络技术有限公司 Dependency processing method and device for module assembly, computer equipment and storage medium
CN114443294A (en) * 2022-01-20 2022-05-06 苏州浪潮智能科技有限公司 Big data service component deployment method, system, terminal and storage medium
CN114443294B (en) * 2022-01-20 2023-11-07 苏州浪潮智能科技有限公司 Big data service component deployment method, system, terminal and storage medium

Also Published As

Publication number Publication date
CN101739254B (en) 2013-04-03

Similar Documents

Publication Publication Date Title
CN101739254B (en) Method and device for realizing multiplexing of multi-platform communication assemblies
Banavar et al. Challenges: an application model for pervasive computing
US7779408B1 (en) Method and system for downloading and managing portable applications on a mobile device
CN103283209B (en) A kind of application service platform system and its implementation
US8250458B2 (en) Method, system, and software tool for emulating a portal application
US7471947B1 (en) Method and system for accessing a universal message handler on a mobile device
CN102413022B (en) Application debugging method and system
US7188163B2 (en) Dynamic reconfiguration of applications on a server
Leitner et al. End-to-end versioning support for web services
CN101106578B (en) A method and system for changing interface subject
US20110238851A1 (en) Soap Client Protocol Encapsulation Based on TCP
WO2011044692A1 (en) System and method for managing applications for multiple computing endpoints and multiple endpoint types
US20090187836A1 (en) Apparatus and method for aggregating web services
US20080046882A1 (en) Deploying j2ee web applications in an osgi environment
CA2498375C (en) An apparatus and method for aggregating web services
CN112486547A (en) Application program updating method and device under multi-tenant scene and electronic equipment
Fang et al. A version-aware approach for web service directory
US20070022154A1 (en) Generating one or more clients for generating one or more synthetic transactions with one or more web service operations
CN101277221A (en) Method for disposition and application of network management application program
Frank et al. Using an interface proxy to host versioned web services
CN116107590A (en) Implementation method and system for compatible micro-service and monomer architecture in software product development and deployment
CN114579904A (en) Page cache implementation method based on anchor route distribution type micro front end
EP1569136A1 (en) An apparatus and method for processing web service descriptions
Fjellheim Over-the-air deployment of applications in multi-platform environments
CN109522038A (en) A kind of client side upgrading method and device of CS framework

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