CN104915185B - Program assembly coupled processing method and relevant apparatus - Google Patents

Program assembly coupled processing method and relevant apparatus Download PDF

Info

Publication number
CN104915185B
CN104915185B CN201410088732.0A CN201410088732A CN104915185B CN 104915185 B CN104915185 B CN 104915185B CN 201410088732 A CN201410088732 A CN 201410088732A CN 104915185 B CN104915185 B CN 104915185B
Authority
CN
China
Prior art keywords
component
assembly
container
mentioned
instantiation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410088732.0A
Other languages
Chinese (zh)
Other versions
CN104915185A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410088732.0A priority Critical patent/CN104915185B/en
Priority to PCT/CN2015/073730 priority patent/WO2015135437A1/en
Publication of CN104915185A publication Critical patent/CN104915185A/en
Application granted granted Critical
Publication of CN104915185B publication Critical patent/CN104915185B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4488Object-oriented
    • G06F9/449Object-oriented method invocation or resolution

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention discloses program assembly coupled processing method and relevant apparatus.A kind of program assembly coupled processing method, it may include: assembly container and N number of component are instantiated;Among the assembly container after N number of component register after instantiation to instantiation;Component call logic among first assembly is triggered, then by whether registering with the second component among first assembly enquiring component container, wherein has mapping relations between the second component of component call logical AND;The second component is registered among assembly container if inquiring, and the pointer of the second component is obtained by assembly container, and call the second component to execute corresponding operation based on the pointer of the second component.The technical solution of the embodiment of the present invention is conducive to improve the controllability and trackability of coupled relation between program assembly, and then simplifies the complexity of program code.

Description

Program assembly coupled processing method and relevant apparatus
Technical field
The present invention relates to field of computer technology, and in particular to a kind of program assembly coupled processing method and relevant apparatus.
Background technique
Object-oriented program development scheme is one of program development mode of current mainstream, its advantage is that module easy to accomplish Change, the disadvantage is that the interaction between module is relatively difficult.Because module can not be detached from global procedures and independent presence, module Between usually require mutually call, and call bring coupling.This coupling is a part of program essence complexity.
Many application programs itself are very huge, and the module being related to is usually more, and the interaction between modules becomes different It is often complicated.Much in the prior art, the coupled problem between the main each module for realizing application program using message.Citing comes It says, the modules A in application program gives out information outward, but modules A is not relevant for receiving the object of the message;In module B reception Message is stated, but module B is indifferent to the object for issuing above-mentioned message.
The present inventor has found that the prior art at least has following technical problem in research and practice process: Due to may often carry out the coupling of two-way communication, one-to-many communication etc. complex message between the modules in program, This keeps the ins and outs that must analyze flow chart of data processing extremely difficult, need to track a large amount of asynchronous message;And due to being difficult to obtain The coupled relation between module is known, so that it is extremely difficult to modify flow chart of data processing, it is very easy to occur some imaginary Less than flow chart branches, and be difficult to carry out positioning problems and reproduction.
Summary of the invention
The embodiment of the present invention provides program assembly coupled processing method and relevant apparatus, is coupled between program assembly with improving The controllability and trackability of relationship, and then simplify the complexity of program code.
In order to solve the above technical problems, the embodiment of the present invention the following technical schemes are provided:
On the one hand the embodiment of the present invention provides a kind of program assembly coupled processing method, it may include:
Assembly container and N number of component are instantiated;
Among the assembly container after N number of component register after instantiation to instantiation;
Component call logic among first assembly is triggered, then inquires the assembly container by the first assembly Among whether register with the second component, wherein between the second component described in the component call logical AND have mapping relations;If It inquires and registers with the second component among the assembly container, then obtain the finger of second component by the assembly container Needle, and call second component to execute corresponding operation based on the pointer of second component, wherein the N is positive integer, The first assembly is one of component among N number of component.
On the other hand the embodiment of the present invention provides a kind of program assembly coupling processing device, it may include:
Instantiating unit, for being instantiated to assembly container and N number of component;
Registering unit, for the assembly container after N number of component register after instantiating to instantiation Among;
Processing unit is triggered for the component call logic among first assembly, is then looked by the first assembly It askes and whether registers with the second component among the assembly container, wherein between the second component described in the component call logical AND With mapping relations;The second component is registered among the assembly container if inquiring, and institute is obtained by the assembly container The pointer of the second component is stated, and calls second component to execute corresponding operation based on the pointer of second component, wherein The N is positive integer, and the first assembly is one of component among N number of component.
Therefore the scheme of the embodiment of the present invention is by program module component, by several components after instantiation It is registered among the assembly container after instantiating, certain component tune among some component being registered among assembly container It is triggered with logic, it can be based on registration relationship by whether being registered with and certain above-mentioned group among some component enquiring component container Part calling logic has another component of mapping relations;Another component is registered among assembly container if inquiring, and passes through group Part container obtains the pointer of another component, and the pointer based on another component calls another component to execute corresponding behaviour Make.The message coupled relation between program assembly is decoupled by introducing assembly container, inter-module is not necessarily to couple by message;By Then corresponding assembly is called using the component pointer of acquisition, thus among component without include called component up and down Literary logic, and the calling coupled relation between component can readily be traced by assembly container, it is seen that above-mentioned mechanism is conducive to The controllability and trackability of coupled relation between program assembly are improved, and then simplifies the complexity of program code.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention without any creative labor, may be used also for those of ordinary skill in the art To obtain other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of program assembly coupled processing method provided in an embodiment of the present invention;
Fig. 2-a is the flow diagram of another program assembly coupled processing method provided in an embodiment of the present invention;
Fig. 2-b is a kind of component register schematic diagram provided in an embodiment of the present invention;
Fig. 2-c is another component register schematic diagram provided in an embodiment of the present invention;
Fig. 2-d is another component register schematic diagram provided in an embodiment of the present invention;
Fig. 2-e is another component register schematic diagram provided in an embodiment of the present invention;
A kind of Fig. 3 schematic diagram of program assembly coupling processing device provided in an embodiment of the present invention;
A kind of Fig. 4 schematic diagram of calculate node provided in an embodiment of the present invention.
Specific embodiment
The embodiment of the present invention provides program assembly coupled processing method and relevant apparatus, is coupled between program assembly with improving The controllability and trackability of relationship, and then simplify the complexity of program code.
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Description and claims of this specification and term " first ", " second ", " third " " in above-mentioned attached drawing Four " etc. are not use to describe a particular order for distinguishing different objects.In addition, term " includes " and " having " and Their any deformations, it is intended that cover and non-exclusive include.Such as contain a series of steps or units process, method, System, product or equipment are not limited to listed step or unit, but optionally further comprising the step of not listing or Unit, or optionally further comprising other step or units intrinsic for these process, methods, product or equipment.
A kind of a kind of one embodiment of program assembly coupled processing method of the present invention, wherein program assembly coupling processing Method may include: to instantiate to assembly container and N number of component;By above-mentioned N number of component register after instantiation in fact Among said modules container after exampleization;Component call logic among first assembly is triggered, then passes through above-mentioned first The second component whether is registered among component inquiry said modules container, wherein said modules calling logic and above-mentioned second group There are mapping relations between part;The second component is registered among said modules container if inquiring, and passes through said modules container The pointer of above-mentioned second component is obtained, and calls above-mentioned second component to execute corresponding behaviour based on the pointer of above-mentioned second component Make, above-mentioned N is positive integer, and above-mentioned first assembly is one of component among above-mentioned N number of component.
Referring to Figure 1, Fig. 1 is a kind of process for program assembly coupled processing method that one embodiment of the present of invention provides Schematic diagram.As shown in Figure 1, a kind of program assembly coupled processing method that one embodiment of the present of invention provides may include in following Hold:
101, assembly container and N number of component are instantiated.
102, said modules container of the above-mentioned N number of component register to after being instantiated after being instantiated it In.
In some embodiments of the invention, it is above-mentioned will be instantiated after above-mentioned N number of component register it is real to carrying out It may include: by the pointer and component type of above-mentioned N number of component after instantiation among said modules container after exampleization It is registered among the said modules container after instantiating, alternatively, by the pointer rope of above-mentioned N number of component after instantiation Draw and is registered among the said modules container after instantiation with component-type identification.
In other embodiments of the invention, it is above-mentioned will be instantiated after above-mentioned N number of component register to carry out It may include: by the pointer and component mark of above-mentioned N number of component after instantiation among said modules container after instantiation Know among the said modules container after being registered to instantiation, alternatively, by the indicator index of above-mentioned N number of component after instantiation It is registered to component among the said modules container after instantiation.
Wherein, the indicator index of component is the various information that can index the pointer of the component, such as can be component Pointer relative to the offset of some address or the information of other pointers that can index the component.
For example, above-mentioned be registered to instantiation for the pointer of above-mentioned N number of component after instantiation and component-type identification Among said modules container afterwards, it may include: N registration, above-mentioned N are saved in the said modules container after instantiation Registration and above-mentioned N number of component correspond, wherein registration corresponding with first assembly is remembered in above-mentioned N registration Record has the pointer and component-type identification of above-mentioned first assembly in record.That is: corresponding with each component in above-mentioned N registration Registration in record have the pointer and component-type identification of each component.
In another example above-mentioned be registered to reality for the indicator index of above-mentioned N number of component after instantiation and component-type identification Among said modules container after exampleization, comprising: N registration is saved in the said modules container after instantiation, Wherein, above-mentioned N registration and above-mentioned N number of component correspond, note corresponding with first assembly in above-mentioned N registration Record has the indicator index and component-type identification of above-mentioned first assembly in volume record.That is: in above-mentioned N registration and each Record has the indicator index and component-type identification of each component in the corresponding registration of component.
In another example above-mentioned be registered to the pointer of above-mentioned N number of component after instantiation and component after instantiation Said modules container among, it may include: in the said modules container after instantiation save N registration, wherein on It states N registration and above-mentioned N number of component corresponds, wherein registration corresponding with first assembly in above-mentioned N registration Record has the pointer and component mark of above-mentioned first assembly in record.That is: corresponding with each component in above-mentioned N registration Record has the pointer and component mark of each component in registration
In another example above-mentioned be registered to instantiation for the indicator index of above-mentioned N number of component after instantiation and component Among said modules container later, it may include: N registration is saved in the said modules container after instantiation, on It states N registration and above-mentioned N number of component corresponds, wherein registration corresponding with first assembly in above-mentioned N registration In record record have above-mentioned first assembly indicator index and component mark, it may be assumed that in above-mentioned N registration with each component pair Record has the indicator index and component mark of each component in the registration answered.
103, the component call logic among first assembly is triggered, then inquires said modules by above-mentioned first assembly The second component whether is registered among container, registers with the second component among said modules container if inquiring, by above-mentioned Assembly container obtains the pointer of above-mentioned second component, and calls above-mentioned second component to execute phase based on the pointer of above-mentioned second component The operation answered, above-mentioned N are positive integer, and above-mentioned first assembly is one of component among above-mentioned N number of component, wherein above-mentioned There are mapping relations between above-mentioned second component of component call logical AND.
In some embodiments of the invention, the mapping relations between said modules calling logic and above-mentioned second component can It is recorded among above-mentioned first assembly, certainly, the mapping relations between said modules calling logic and above-mentioned second component can also Record is elsewhere.
In some embodiments of the invention, it inquires among said modules container and whether infuses above by above-mentioned first assembly Volume has the second component, it may include: the second component-type identification is carried to the transmission of above-mentioned assembly container by above-mentioned first assembly Inquiry request message, with request inquiry said modules container among whether register with corresponding to above-mentioned second component-type identification The second component.
In some embodiment of the invention, different components can correspond to different component types, due to component and component class Type can correspond, and therefore, corresponding second component of the second component-type identification can be determined based on the second component-type identification.
In other embodiments of the invention, above by above-mentioned first assembly inquiry said modules container among whether The second component is registered with, may include: that the second component mark is carried to the transmission of above-mentioned assembly container by above-mentioned first assembly Inquiry request message, with request whether to register among inquiry said modules container above-mentioned second component mark it is represented the Two components.
It in some embodiments of the invention, can be with above by the pointer that said modules container obtains above-mentioned second component It include: the inquiry response for being used to respond above-mentioned inquiry request message that said modules container feedback is received by above-mentioned first assembly Message, wherein above-mentioned query response message carries the pointer of above-mentioned second component recorded in said modules container.
In some embodiment of the invention, different components can correspond to different component marks, due to component and component mark Knowledge can correspond, and therefore, the second component for determining that the second component mark is represented can be identified based on the second component.
It in some embodiments of the invention, can be with above by the pointer that said modules container obtains above-mentioned second component It include: the inquiry response for being used to respond above-mentioned inquiry request message that said modules container feedback is received by above-mentioned first assembly Message, wherein above-mentioned query response message carries the indicator index of above-mentioned second component recorded in said modules container;It is based on The indicator index of above-mentioned second component obtains the pointer of above-mentioned second component.
In addition, if inquire it is unregistered among said modules container have the second component, by said modules container it is upward State first assembly feedback null pointer (carrying null pointer in the query response message for responding above-mentioned inquiry request message).
In various embodiments of the present invention, component is the structural body with unified interface, and assembly container is also to have uniformly to connect The structural body of mouth.
Therefore the above scheme of the present embodiment is by program module component, by several components after instantiation It is registered among the assembly container after instantiating, certain component tune among some component being registered among assembly container It is triggered with logic, it can be based on registration relationship by whether being registered with and certain above-mentioned group among some component enquiring component container Part calling logic has another component of mapping relations;Another component is registered among assembly container if inquiring, and passes through group Part container obtains the pointer of another component, and the pointer based on another component calls another component to execute corresponding behaviour Make.The message coupled relation between program assembly is decoupled by introducing assembly container, inter-module is not necessarily to couple by message;By Then corresponding assembly is called using the component pointer of acquisition, thus among component without include called component up and down Literary logic, and the calling coupled relation between component can readily be traced by assembly container, it is seen that above-mentioned mechanism is conducive to The controllability and trackability of coupled relation between program assembly are improved, and then simplifies the complexity of program code.
In order to facilitate a better understanding and implementation of the above scheme of the embodiment of the present invention, it illustrates and some specifically applies below Scene is illustrated.
- a referring to fig. 2, Fig. 2-a be another embodiment of the present invention provides another program assembly coupled processing method Flow diagram.As shown in Fig. 2-a, another embodiment of the present invention provides another program assembly coupled processing method May include the following contents:
201, assembly container U and 3 components (component A, component B and component C) are instantiated.
202, said modules container U of above-mentioned 3 component registers to after being instantiated after being instantiated Among.
In some embodiments of the invention, it is above-mentioned will be instantiated after above-mentioned 3 component registers it is real to carrying out Among said modules container U after exampleization, it may include: by the pointer and component type of above-mentioned 3 components after instantiation It is registered among the said modules container U after instantiation, or by the indicator index of above-mentioned 3 components after instantiation It is registered to component-type identification among the said modules container U after instantiation.
Wherein, the indicator index of component is the various information that can index the pointer of the component, such as can be component Pointer relative to the offset of some address or the information of other pointers that can index the component.
For example, above-mentioned be registered to instantiation for the pointer of above-mentioned 3 components after instantiation and component-type identification Among said modules container U afterwards, it may include: 3 registrations are saved in the said modules container U after instantiation, In, above-mentioned 3 registrations and above-mentioned 3 components correspond, registration corresponding with each component in above-mentioned 3 registrations Record has the pointer and component-type identification of each component in record.Such as the assembly container shown in Fig. 2-b, after instantiating The corresponding registration of component A, the corresponding registration of component B and the corresponding registration of component C are had recorded in U.
In another example above-mentioned be registered to reality for the indicator index of above-mentioned 3 components after instantiation and component-type identification Among said modules container U after exampleization, it may include: 3 registration notes are saved in the said modules container U after instantiation Record, above-mentioned 3 registrations and above-mentioned 3 components correspond, registration corresponding with each component in above-mentioned 3 registrations Record has the indicator index and component-type identification of each component in record.Such as the component shown in Fig. 2-c, after instantiating The corresponding registration of component A, the corresponding registration of component B and the corresponding registration of component C are had recorded in container U.
203, the component call logic among component A is triggered, and is sent by said modules A to above-mentioned assembly container U The inquiry request for carrying the second component-type identification (component-type identification that the second component-type identification is, for example, component B) disappears Breath, whether to register with component B corresponding to above-mentioned second component-type identification among request inquiry said modules container U.
204, whether had recorded in the assembly container U after query case and the matched registration of the second component-type identification Record.Herein due to having recorded the corresponding registration of component B in the assembly container U after instantiation, it can inquire The matched registration of second component-type identification (the corresponding registration of component B).
205, by said modules A reception said modules container U feedback for responding looking into for above-mentioned inquiry request message Ask response message, wherein above-mentioned query response message carry the said modules B recorded in said modules container U pointer or Indicator index (wherein, the pointer of component B or indicator index are recorded in the corresponding registration of component B).
206, the pointer based on said modules B calls said modules B to execute corresponding operation.
Below by one more specifically scene be introduced.
Chatroom container U1 is instantiated.Data packet formation component, data packet sending assembly and data packet are encrypted Component is instantiated.Where it is assumed that the corresponding chatroom chatroom container U1 needs to carry out data encryption.Thus, for example figure Shown in 2-d, data packet formation component, data packet encrypted component and data packet sending assembly are registered to chatroom container U1.
Data packet encryption during data packet formation component executes data packet generation operation, in data packet formation component Component call logic will be triggered, then carry the second component class to above-mentioned assembly container U1 transmission by data packet formation component Type identifies the inquiry request message of (component-type identification that the second component-type identification is, for example, data packet encrypted component), to ask It asks and whether registers with data packet encrypted component among inquiry said modules container U1.Herein due to the assembly container after instantiation The corresponding registration of data packet encrypted component is had recorded in U1, therefore, it is matched can to inquire the second component-type identification Registration (i.e. the corresponding registration of data packet encrypted component).Said modules are received by above-mentioned data packet formation component to hold The query response message for being used to respond above-mentioned inquiry request message of device U1 feedback, wherein above-mentioned query response message carries The pointer or indicator index (wherein, the finger of data packet encrypted component of the data packet encrypted component recorded in said modules container U1 Needle or indicator index are recorded in the corresponding registration of data packet encrypted component).Finger based on above-mentioned data packet encrypted component Needle calls above-mentioned data packet encrypted component to execute data packet cryptographic operation.
For example, after data packet formation component calls data packet encryption to execute data packet cryptographic operation, data packet generation group Data packet sending assembly calling logic in part is triggered again, then is sent by data packet formation component to above-mentioned assembly container U1 Carry third component-type identification (component-type identification that third component-type identification is, for example, data packet sending assembly) Second inquiry request message, whether to register with data packet sending assembly among request inquiry said modules container U1.Herein, by The corresponding registration of data packet sending assembly is had recorded in assembly container U1 after instantiation, therefore can inquire The matched registration of three component-type identifications (i.e. the corresponding registration of data packet sending assembly).It is raw by above-mentioned data packet The second query response message for being used to respond above-mentioned second inquiry request message of said modules container U1 feedback is received at component, Wherein, above-mentioned second query response message carries the pointer of the data packet sending assembly recorded in said modules container U1 or refers to (wherein, the pointer of data packet sending assembly or indicator index are recorded in the corresponding registration of data packet sending assembly to needle index In).Pointer based on above-mentioned data packet sending assembly calls above-mentioned data packet sending assembly to execute data packet and sends operation.
Below by another, more specifically scene is introduced.
Chatroom container U2 is instantiated.Data packet formation component and data packet sending assembly are instantiated. Where it is assumed that the corresponding chatroom chatroom container U2 is without carrying out data encryption.Such as shown in Fig. 2-e, data packet is generated Component and data packet sending assembly are registered to chatroom container U2.
Data packet encryption during data packet formation component executes data packet generation operation, in data packet formation component Component call logic will be triggered, then carry the second component class to above-mentioned assembly container U2 transmission by data packet formation component Type identifies the inquiry request message of (component-type identification that the second component-type identification is, for example, data packet encrypted component), to ask It asks and whether registers with data packet encrypted component among inquiry said modules container U2.Herein due to the assembly container after instantiation The corresponding registration of data packet encrypted component is not recorded in U2, therefore can not be inquired matched with the second component-type identification Registration (i.e. the corresponding registration of data packet encrypted component).Said modules are received by above-mentioned data packet formation component to hold The query response message for being used to respond above-mentioned inquiry request message of device U2 feedback, wherein above-mentioned query response message carries Therefore null pointer can not call data packet encrypted component to execute data packet cryptographic operation based on null pointer at this time.
Such as after data packet formation component generates data packet, the data packet sending assembly in data packet formation component is called Logic is triggered again, then carries third component-type identification to above-mentioned assembly container U2 transmission by data packet formation component Second inquiry request message of (component-type identification that third component-type identification is, for example, data packet sending assembly), with request Data packet sending assembly whether is registered among inquiry said modules container U2.Herein, due to the assembly container after instantiation The corresponding registration of data packet sending assembly is had recorded in U2, therefore can inquire the matched note of third component-type identification Volume record (i.e. the corresponding registration of data packet sending assembly).Said modules container is received by above-mentioned data packet formation component The second query response message for being used to respond above-mentioned second inquiry request message of U2 feedback, wherein above-mentioned second inquiry response (wherein data packet is sent the pointer or indicator index that message carries the data packet sending assembly recorded in said modules container U2 The pointer or indicator index of component are recorded in the corresponding registration of data packet sending assembly).It is sent based on above-mentioned data packet The pointer of component calls above-mentioned data packet sending assembly to execute data packet and sends operation.
It is to be described by taking chat communication scene as an example in the example above, other data processing scenes can be with such It pushes away.
Therefore the above scheme of the present embodiment is by program module component, by several components after instantiation It is registered among the assembly container after instantiating, certain component tune among some component being registered among assembly container It is triggered with logic, it can be based on registration relationship by whether being registered with and certain above-mentioned group among some component enquiring component container Part calling logic has another component of mapping relations;Another component is registered among assembly container if inquiring, and passes through group Part container obtains the pointer of another component, and the pointer based on another component calls another component to execute corresponding behaviour Make.The message coupled relation between program assembly is decoupled by introducing assembly container, inter-module is not necessarily to couple by message;By Then corresponding assembly is called using the component pointer of acquisition, thus among component without include called component up and down Literary logic, and the calling coupled relation between component can readily be traced by assembly container, it is seen that above-mentioned mechanism is conducive to The controllability and trackability of coupled relation between program assembly are improved, and then simplifies the complexity of program code.
Referring to Fig. 3, the embodiment of the present invention also provides a kind of program assembly coupling processing device 300, may include instantiation Unit 310, registering unit 320 and processing unit 330.
Wherein, instantiating unit 310, for being instantiated to assembly container and N number of component.
Registering unit 320 is held for the said modules after above-mentioned N number of component register after instantiating to instantiation Among device.
Processing unit 330 is triggered for the component call logic among first assembly, then passes through above-mentioned first assembly Whether register with the second component among inquiry said modules container, wherein said modules calling logic and above-mentioned second component it Between have mapping relations;The second component is registered among said modules container if inquiring, and is obtained by said modules container The pointer of above-mentioned second component, and call above-mentioned second component to execute corresponding operation based on the pointer of above-mentioned second component, In, above-mentioned N is positive integer, and above-mentioned first assembly is one of component among above-mentioned N number of component.
In some embodiment of the invention, registering unit 320 can be specifically used for, by above-mentioned N number of component after instantiation Pointer and component-type identification be registered among the said modules container after instantiation, or will be above-mentioned after instantiation The indicator index and component-type identification of N number of component are registered among the said modules container after instantiation.
In other embodiments of the invention, registering unit 320 can be specifically used for, by above-mentioned N number of group after instantiation The pointer and component of part are registered among the said modules container after instantiation, or by the above-mentioned N after instantiation The indicator index and component of a component are registered among the said modules container after instantiation.
Wherein, the indicator index of component is the various information that can index the pointer of the component, such as can be component Pointer relative to the offset of some address or the information of other pointers that can index the component.
For example, the pointer of above-mentioned N number of component after instantiation and component-type identification are registered to instantiation above-mentioned The aspect among said modules container later, registering unit 320 can be specifically used for, the said modules container after instantiation Middle N registration of preservation, above-mentioned N registration and above-mentioned N number of component correspond, wherein in above-mentioned N registration Record has the pointer and component-type identification of above-mentioned first assembly in registration corresponding with first assembly.That is: above-mentioned N item note Record has the pointer and component-type identification of each component in registration corresponding with each component in volume record.
In another example the indicator index of above-mentioned N number of component after instantiation and component-type identification are registered to above-mentioned The aspect among said modules container after instantiation, registering unit 320 can be specifically used for, and above-mentioned group after instantiation N registration is saved in part container, wherein above-mentioned N registration and above-mentioned N number of component correspond, above-mentioned N item registration Record has the indicator index and component-type identification of above-mentioned first assembly in registration corresponding with first assembly in record. That is: record has the indicator index and group of each component in registration corresponding with each component in above-mentioned N registration Part type identification.
In another example the pointer of above-mentioned N number of component after instantiation and component are registered to instantiation above-mentioned The aspect among said modules container afterwards, registering unit 320 can be specifically used for, in the said modules container after instantiation Save N registration, wherein above-mentioned N registration and above-mentioned N number of component correspond, wherein above-mentioned N item registration note Record has the pointer and component mark of above-mentioned first assembly in registration corresponding with first assembly in record.That is: above-mentioned N item note Record has the pointer and component mark of each component in registration corresponding with each component in volume record
In another example above-mentioned be registered to instantiation for the indicator index of above-mentioned N number of component after instantiation and component The aspect among said modules container later, registering unit 320 can be specifically used for, the said modules container after instantiation Middle N registration of preservation, above-mentioned N registration and above-mentioned N number of component correspond, wherein in above-mentioned N registration Record has the indicator index and component mark of above-mentioned first assembly in registration corresponding with first assembly, it may be assumed that above-mentioned N item note Record has the indicator index and component mark of each component in registration corresponding with each component in volume record.
In some embodiment of the invention, whether infused among above by above-mentioned first assembly inquiry said modules container Volume has the aspect of the second component, and above-mentioned processing unit 330 is specifically used for, is sent by above-mentioned first assembly to above-mentioned assembly container The inquiry request message of the second component-type identification is carried, it is above-mentioned whether to be registered among request inquiry said modules container Second component corresponding to second component-type identification.
In some embodiment of the invention, in the side for the pointer for obtaining above-mentioned second component above by said modules container Face, processing unit 330 can be specifically used for, by above-mentioned first assembly reception said modules container feedback for responding above-mentioned look into Ask the query response message of request message, wherein above-mentioned query response message carries above-mentioned the recorded in said modules container The pointer of two components.
In some embodiment of the invention, different components can correspond to different component types, due to component and component class Type can correspond, and therefore, corresponding second component of the second component-type identification can be determined based on the second component-type identification.
In other embodiments of the invention, above by above-mentioned first assembly inquiry said modules container among whether The aspect of the second component is registered with, processing unit 330 can be specifically used for, and send by above-mentioned first assembly to above-mentioned assembly container The inquiry request message of the second component mark is carried, whether to register with above-mentioned second among request inquiry said modules container The second represented component of component mark.
In some embodiments of the invention, the side of the pointer of above-mentioned second component is obtained above by said modules container Face, processing unit 330 can be specifically used for, by above-mentioned first assembly reception said modules container feedback for responding above-mentioned look into Ask the query response message of request message, wherein above-mentioned query response message carries above-mentioned the recorded in said modules container The pointer of two components.
In some embodiment of the invention, different components can correspond to different component marks, due to component and component mark Knowledge can correspond, and therefore, the second component for determining that the second component mark is represented can be identified based on the second component.
In some embodiments of the invention, the side of the pointer of above-mentioned second component is obtained above by said modules container Face, processing unit 330 can be specifically used for, by above-mentioned first assembly reception said modules container feedback for responding above-mentioned look into Ask the query response message of request message, wherein above-mentioned query response message carries above-mentioned the recorded in said modules container The indicator index of two components;Indicator index based on above-mentioned second component obtains the pointer of above-mentioned second component.
In addition, processing unit 330 can be also used to, if inquire it is unregistered among said modules container have the second component, By said modules container, to above-mentioned first assembly feedback null pointer, (inquiry response for responding above-mentioned inquiry request message disappears Null pointer is carried in breath).
In various embodiments of the present invention, component is the structural body with unified interface, and assembly container is also to have uniformly to connect The structural body of mouth.
It is understood that the function of the program assembly coupling processing device 300 of the present embodiment can be according to above method reality The method specific implementation in example is applied, specific implementation process is referred to the associated description of above method embodiment, herein no longer It repeats.
Therefore the above scheme of the present embodiment, by program module component, program assembly coupling processing device 300 will Among assembly container after several component registers after instantiation to instantiation, when being registered among assembly container Certain component call logic among some component is triggered, can based on registration relationship by some component enquiring component container it In whether register with certain above-mentioned component call logic have mapping relations another component;It is infused among assembly container if inquiring Volume has another component, then the pointer of another component is obtained by assembly container, and calling based on the pointer of another component should Another component executes corresponding operation.The message coupled relation between program assembly, component have been decoupled by introducing assembly container Between without by message coupling;Due to being to call corresponding assembly using the component pointer of acquisition, among component without Context logic comprising called component, and the coupling of the calling between component can readily be traced by assembly container and closed System, it is seen that above-mentioned mechanism is conducive to improve the controllability and trackability of coupled relation between program assembly, and then simplifies program The complexity of code.
Referring to fig. 4, Fig. 4 be another embodiment of the present invention provides calculate node 400 structural block diagram.
Wherein, calculate node 400 may include: at least one processor 401, at least one network interface 404 or its Its user interface 403, memory 405, at least one communication bus 402.Communication bus 402 is for realizing between these components Connection communication.Wherein, the calculate node 400 optionally include user interface 403, including display (such as touch screen, LCD, CRT, holographic imaging (Holographic) or projection (Projector) etc.), pointing device is (for example, mouse, trace ball (trackball) touch-sensitive plate or touch screen etc.), camera and/or sound pick up equipment etc..
Wherein, memory 402 may include read-only memory and random access memory, and refer to the offer of processor 401 Order and data.A part of in memory 402 can also include nonvolatile RAM (NVRAM).
In some embodiments, memory 405 stores following element, executable modules or data structures, or Their subset of person or their superset:
Operating system 4051 includes various system programs, hardware based for realizing various basic businesses and processing Task;
Application program module 4052 includes various application programs, for realizing various applied business.
It include but is not limited to instantiating unit 310, registering unit 320 and processing unit 330 in application program module 4052 Deng.
In embodiments of the present invention, by the program or instruction of calling memory 405 to store, processor 401 is used for group Part container and N number of component are instantiated;By the said modules after above-mentioned N number of component register after instantiation to instantiation Among container;Component call logic among first assembly is triggered, then inquires said modules by above-mentioned first assembly and hold Whether second component is registered among device, wherein there are mapping relations between said modules calling logic and above-mentioned second component; The second component is registered among said modules container if inquiring, and the finger of above-mentioned second component is obtained by said modules container Needle, and call above-mentioned second component to execute corresponding operation based on the pointer of above-mentioned second component, above-mentioned N is positive integer, above-mentioned First assembly is one of component among above-mentioned N number of component.
In some embodiments of the invention, it is above-mentioned will be instantiated after above-mentioned N number of component register it is real to carrying out It may include: by the pointer and component type of above-mentioned N number of component after instantiation among said modules container after exampleization It is registered among the said modules container after instantiating, alternatively, by the pointer rope of above-mentioned N number of component after instantiation Draw and is registered among the said modules container after instantiation with component-type identification.
In other embodiments of the invention, above-mentioned N number of component register after processor 401 will be instantiated is arrived It may include: processor 401 by above-mentioned N number of component after instantiation among said modules container after being instantiated Pointer and component be registered to instantiation after said modules container among, alternatively, processor 401 will instantiate after Above-mentioned N number of component indicator index and component be registered to instantiation after said modules container among.
Wherein, the indicator index of component is the various information that can index the pointer of the component, such as can be component Pointer relative to the offset of some address or the information of other pointers that can index the component.
For example, the pointer of above-mentioned N number of component after instantiation and component-type identification are registered to example by processor 401 It include: that processor 401 saves the registration of N item in the said modules container after instantiation among said modules container after change Record, above-mentioned N registration and above-mentioned N number of component correspond, wherein in above-mentioned N registration with first assembly pair Record has the pointer and component-type identification of above-mentioned first assembly in the registration answered.That is: in above-mentioned N registration and often Record has the pointer and component-type identification of each component in the corresponding registration of a component.
In another example processor 401 registers the indicator index of above-mentioned N number of component after instantiation and component-type identification It include: that processor 401 saves N in the said modules container after instantiation among said modules container after to instantiation Registration, wherein above-mentioned N registration and above-mentioned N number of component correspond, with first in above-mentioned N registration Record has the indicator index and component-type identification of above-mentioned first assembly in the corresponding registration of component.That is: above-mentioned N item registration Record has the indicator index and component-type identification of each component in registration corresponding with each component in record.
In another example the pointer of above-mentioned N number of component after instantiation and component are registered to instantiation by processor 401 Among said modules container later, it may include: processor 401 saves N item note in the said modules container after instantiation Volume record, wherein above-mentioned N registration and above-mentioned N number of component correspond, wherein with first in above-mentioned N registration Record has the pointer and component mark of above-mentioned first assembly in the corresponding registration of component.That is: in above-mentioned N registration with Record has the pointer and component mark of each component in the corresponding registration of each component.
In another example the indicator index of above-mentioned N number of component after instantiation and component are registered to reality by processor 401 Among said modules container after exampleization, it may include: processor 401 saves N in the said modules container after instantiation Registration, above-mentioned N registration and above-mentioned N number of component correspond, wherein with first in above-mentioned N registration Record has the indicator index and component mark of above-mentioned first assembly in the corresponding registration of component, it may be assumed that above-mentioned N registration In in registration corresponding with each component record have the indicator index and component mark of each component.
In some embodiments of the invention, the mapping relations between said modules calling logic and above-mentioned second component can It is recorded among above-mentioned first assembly, certainly, the mapping relations between said modules calling logic and above-mentioned second component can also Record is elsewhere.
In some embodiments of the invention, processor 401 is inquired among said modules container by above-mentioned first assembly Whether second component is registered with, it may include: processor 401 carries the to the transmission of above-mentioned assembly container by above-mentioned first assembly The inquiry request message of two component-type identifications, whether to register with above-mentioned second component among request inquiry said modules container Second component corresponding to type identification.
In some embodiment of the invention, different components can correspond to different component types, due to component and component class Type can correspond, and therefore, corresponding second component of the second component-type identification can be determined based on the second component-type identification.
In other embodiments of the invention, processor 401 by above-mentioned first assembly inquire said modules container it In whether register with the second component, to may include: processor 401, which sent by above-mentioned first assembly to above-mentioned assembly container, carries The inquiry request message for thering is the second component to identify, whether to register with above-mentioned second component among request inquiry said modules container The second represented component of mark.
In some embodiments of the invention, processor 401 obtains the finger of above-mentioned second component by said modules container Needle may include: the asking for responding above-mentioned inquiry by above-mentioned first assembly reception said modules container feedback of processor 401 Seek the query response message of message, wherein above-mentioned query response message carries above-mentioned second group recorded in said modules container The pointer of part.
In some embodiment of the invention, different components can correspond to different component marks, due to component and component mark Knowledge can correspond, and therefore, the second component for determining that the second component mark is represented can be identified based on the second component.
In some embodiments of the invention, processor 401 obtains the finger of above-mentioned second component by said modules container Needle may include: the asking for responding above-mentioned inquiry by above-mentioned first assembly reception said modules container feedback of processor 401 Seek the query response message of message, wherein above-mentioned query response message carries above-mentioned second group recorded in said modules container The indicator index of part;Indicator index based on above-mentioned second component obtains the pointer of above-mentioned second component.
If in addition, processor 401 inquire it is unregistered among said modules container have the second component, pass through said modules Container (carries sky to refer to above-mentioned first assembly feedback null pointer in the query response message for responding above-mentioned inquiry request message Needle).
In various embodiments of the present invention, component is the structural body with unified interface, and assembly container is also to have uniformly to connect The structural body of mouth.
It is understood that the function of the calculate node 400 of the present embodiment can be according to the method in above method embodiment Specific implementation, specific implementation process are referred to the associated description of above method embodiment, and details are not described herein again.Calculate node 400 can be server, PC, mobile phone or other can run the electronic equipment of program.
Therefore the above scheme of the present embodiment, by program module component, calculate node 400 will be after instantiation Among assembly container after several component registers to instantiation, among some component being registered among assembly container Certain component call logic be triggered, can be based on registration relationship by whether registering among some component enquiring component container There is another component of mapping relations with certain above-mentioned component call logic;Another group is registered among assembly container if inquiring Part then obtains the pointer of another component by assembly container, and the pointer based on another component calls another component to execute Corresponding operation.By the message coupled relation introduced between assembly container decoupling program assembly, inter-module is without passing through message Coupling;Due to being to call corresponding assembly using the component pointer of acquisition, without including called component in component Context logic, and the calling coupled relation of inter-module can readily be traced by assembly container, it is seen that above-mentioned mechanism has Conducive to the controllability and trackability for improving coupled relation between program assembly, and then simplify the complexity of program code.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, certain steps can use other sequences or carry out simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of the unit, it is only a kind of Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit, It can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can for personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or Part steps.And storage medium above-mentioned includes: that USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. be various to can store program code Medium.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to before Stating embodiment, invention is explained in detail, those skilled in the art should understand that: it still can be to preceding Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these It modifies or replaces, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.

Claims (8)

1. a kind of program assembly coupled processing method characterized by comprising
Assembly container and N number of component are instantiated;
Among the assembly container after N number of component register after instantiation to instantiation;
Component call logic among first assembly is triggered, then is inquired among the assembly container by the first assembly Whether second component is registered with, wherein there are mapping relations between the second component described in the component call logical AND;If inquiry To the second component is registered among the assembly container, then the pointer of second component is obtained by the assembly container, and Pointer based on second component calls second component to execute corresponding operation, wherein the N is positive integer, described First assembly is one of component among N number of component;
It include: by reality among the assembly container after N number of component register by after instantiation to instantiation The pointer and component-type identification of N number of component after exampleization are registered among the assembly container after instantiation, Alternatively, by the indicator index of N number of component after instantiation and component-type identification be registered to instantiation after described in Among assembly container.
2. the method according to claim 1, wherein
The described group pointer of N number of component after instantiation and component-type identification are registered to after instantiation Among part container, comprising: save N registration in the assembly container after instantiation, wherein the N item registration Record and N number of component correspond, wherein remember in registration corresponding with first assembly in the N registration Record has the pointer and component-type identification of the first assembly.
3. the method according to claim 1, wherein described inquire the assembly container by the first assembly Among whether register with the second component, comprising:
The inquiry request message for carrying the second component-type identification is sent to the assembly container by the first assembly, with Request inquires among the assembly container whether register with the second component corresponding to second component-type identification.
4. according to the method described in claim 3, it is characterized in that, described obtain second component by the assembly container Pointer, comprising:
The inquiry response for being used to respond the inquiry request message of the assembly container feedback is received by the first assembly Message, wherein the query response message carries the pointer of second component recorded in the assembly container.
5. method according to any one of claims 1 to 4, which is characterized in that second described in the component call logical AND Mapping relations between component are recorded among the first assembly.
6. a kind of program assembly coupling processing device characterized by comprising
Instantiating unit, for being instantiated to assembly container and N number of component;
Registering unit, among the assembly container after N number of component register after instantiating to instantiation;
Processing unit is triggered for the component call logic among first assembly, then inquires institute by the first assembly It states and whether registers with the second component among assembly container, wherein have between the second component described in the component call logical AND Mapping relations;The second component is registered among the assembly container if inquiring, and obtains described the by the assembly container The pointer of two components, and call second component to execute corresponding operation based on the pointer of second component, wherein it is described N is positive integer, and the first assembly is one of component among N number of component;
The registering unit is specifically used for, and the pointer of N number of component after instantiation and component-type identification are registered to Among the assembly container after instantiation, alternatively, by the indicator index and component class of N number of component after instantiation Type is registered among the assembly container after instantiation.
7. device according to claim 6, which is characterized in that inquire the component appearance by the first assembly described Whether the aspect of second component is registered among device,
The processing unit is specifically used for, and carries the second component type to assembly container transmission by the first assembly The inquiry request message of mark inquires among the assembly container whether register with the second component-type identification institute with request Corresponding second component.
8. device according to claim 6, which is characterized in that obtain described second group by the assembly container described The aspect of the pointer of part,
The processing unit is specifically used for, by the first assembly receive assembly container feedback for responding described look into Ask the query response message of request message, wherein the query response message carries described the recorded in the assembly container The pointer of two components.
CN201410088732.0A 2014-03-11 2014-03-11 Program assembly coupled processing method and relevant apparatus Active CN104915185B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410088732.0A CN104915185B (en) 2014-03-11 2014-03-11 Program assembly coupled processing method and relevant apparatus
PCT/CN2015/073730 WO2015135437A1 (en) 2014-03-11 2015-03-06 Method for processing program component coupling, and related apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410088732.0A CN104915185B (en) 2014-03-11 2014-03-11 Program assembly coupled processing method and relevant apparatus

Publications (2)

Publication Number Publication Date
CN104915185A CN104915185A (en) 2015-09-16
CN104915185B true CN104915185B (en) 2019-04-02

Family

ID=54070925

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410088732.0A Active CN104915185B (en) 2014-03-11 2014-03-11 Program assembly coupled processing method and relevant apparatus

Country Status (2)

Country Link
CN (1) CN104915185B (en)
WO (1) WO2015135437A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110244990A (en) * 2019-04-29 2019-09-17 五八有限公司 Application component call method, device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101789938A (en) * 2010-01-12 2010-07-28 清华大学 Agent-based component generation method in reconfigurable software
CN102360308A (en) * 2011-09-29 2012-02-22 用友软件股份有限公司 Distributed deployment system and method of components
CN102572783A (en) * 2007-05-11 2012-07-11 华为技术有限公司 Registration processing method, system and device
CN102841780A (en) * 2011-06-23 2012-12-26 阿里巴巴集团控股有限公司 Method and equipment for creating and calling universal components

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100407154C (en) * 2004-04-29 2008-07-30 国际商业机器公司 A system and method for modeling and dynamically deploying services into a distributed networking architecture
US7805730B2 (en) * 2006-09-21 2010-09-28 Reuters America, Llc Common component framework
US8365206B1 (en) * 2008-12-05 2013-01-29 Symantec Corporation Methods and systems for handling component-object-model communications

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102572783A (en) * 2007-05-11 2012-07-11 华为技术有限公司 Registration processing method, system and device
CN102572783B (en) * 2007-05-11 2014-12-10 华为技术有限公司 Registration processing method, system and device
CN101789938A (en) * 2010-01-12 2010-07-28 清华大学 Agent-based component generation method in reconfigurable software
CN102841780A (en) * 2011-06-23 2012-12-26 阿里巴巴集团控股有限公司 Method and equipment for creating and calling universal components
CN102360308A (en) * 2011-09-29 2012-02-22 用友软件股份有限公司 Distributed deployment system and method of components

Also Published As

Publication number Publication date
CN104915185A (en) 2015-09-16
WO2015135437A1 (en) 2015-09-17

Similar Documents

Publication Publication Date Title
CN106301829B (en) A kind of method and apparatus of network service dilatation
US8788580B2 (en) Event broker for an improved application server platform for telecom-based applications
CN107172169A (en) Method of data synchronization, device, server and storage medium
CN105677561B (en) The multi-platform test method of mobile product and system
CN106789432A (en) Test system based on autonomous controllable cloud platform technology
CN109739890A (en) Data processing method, device and equipment
CN108833578B (en) Method and related equipment for duplex communication based on FIFO named pipeline
CN107396199A (en) Barrage method for exhibiting data and device, computer-readable recording medium
CN108830093A (en) Management method, server and the terminal device of terminal device operating right
CN110083468A (en) A kind of data transmission method, electronic device and storage medium
CN114090483A (en) Protocol-based RDMA (remote direct memory Access) communication method and device and storage medium
CN109819023A (en) Distributed transaction processing method and Related product
CN112910995A (en) Resource allocation method and device based on multi-cloud environment, electronic equipment and medium
CN104580183B (en) A kind of method of data synchronization and device across cluster
CN106446289B (en) Information query method and device based on Pinpoint
CN113645251B (en) Data transmission method and device suitable for cross-regional service
CN104915185B (en) Program assembly coupled processing method and relevant apparatus
CN108171185A (en) The method, apparatus and system of identification
Frølund et al. Abstracting interactions based on message sets
KR20100040062A (en) Method for offering service in pervasive computing environement and apparatus thereof
CN106202456B (en) Send the method and device of picture
CN109213565A (en) Management method, relevant device and the storage medium of isomery virtual computing resource
CN106464605B (en) The method and relevant device of processing message applied to the network equipment
CN113064531B (en) Virtual resource interaction method and device, storage medium and electronic equipment
CN110471751A (en) A kind of terminal device exchange method, device, readable storage medium storing program for executing and terminal 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