CN100478899C - Object transmitting method, device and system - Google Patents

Object transmitting method, device and system Download PDF

Info

Publication number
CN100478899C
CN100478899C CNB2007100867577A CN200710086757A CN100478899C CN 100478899 C CN100478899 C CN 100478899C CN B2007100867577 A CNB2007100867577 A CN B2007100867577A CN 200710086757 A CN200710086757 A CN 200710086757A CN 100478899 C CN100478899 C CN 100478899C
Authority
CN
China
Prior art keywords
assembly
module
data stream
transmission
message
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.)
Expired - Fee Related
Application number
CNB2007100867577A
Other languages
Chinese (zh)
Other versions
CN101021805A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2007100867577A priority Critical patent/CN100478899C/en
Publication of CN101021805A publication Critical patent/CN101021805A/en
Application granted granted Critical
Publication of CN100478899C publication Critical patent/CN100478899C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for transmission of objects including: it configures files according to the process and transmits objects. The described transmission of objects is referred to outputting the referred objects by the first component or receiving the referred objects by the second component. The described configured files are preset in the device of the described first component and / or the second component, and device of the first components and the second component are the same physical entities or different physical entities.

Description

Object transmission method, device and system
Technical field
The present invention relates to object and transmit technical field, be specifically related to a kind of object transmission method, device and system.
Background technology
Between the different assemblies of system, need to transmit object.System with the C Plus Plus exploitation is an example, and is existing in the system that adopts the C Plus Plus exploitation, and the method for transmitting object between the different assemblies comprises the use proxy class, uses third party library and hard coded.
When using proxy class to transmit object, need special interface description language and be equipped with special compiler, compiling generates proxy class, transmits object by proxy class.As seen, the method for this transmission object need provide the cost and the complexity of system to increase special compiler in original system.In addition, the method for using proxy class to transmit object needing to be mainly used in the system of far call, does not need the system of far call function and the method for inapplicable this transmission object.
Use third party library also can between different assemblies, transmit object.But, in order to use third party library, system need provide complex interface for third party library, and the difficulty of transmitting object is provided, and the transmission object is the very little part in the third party library function, adopts third party library to realize that the serializing mechanism of system can cause the waste of resource.
In existing part system, adopt the method for hard coded usually, realize the transmission of object between different assemblies.Below to realizing that by the hard coded mode method of object transmission describes.Adopt the hard coded method, before transmitting object between two different assemblies, the object on two assemblies necessary identical.The system that sends the assembly place of object is converted into the data stream that can transmit with object, passes to the system at the assembly place that receives object.The system that receives the assembly place of object receives after the data stream, and data stream is reduced into object, thereby realizes the transmission of object between different assemblies.
But owing to adopted the mode of hard coded, before object transmitted, object and all be fixed as the assembly of the transmitting terminal of object with as the assembly of object receiving end can't change.Change object if desired or need to change as the assembly of object transmitting terminal or change assembly as the object receiving end, then must encode once more, increased workload, what caused that object transmits is dumb.
Summary of the invention
In view of this, propose on the one hand a kind of object transmission method, the flow process of can configuration object transmitting is transmitted object neatly between different assemblies.
Another aspect proposes a kind of object transfer device, and the flow process of can configuration object transmitting is transmitted object neatly between different assemblies.
Propose a kind of object transmission system on the other hand, the flow process of can configuration object transmitting is transmitted object neatly between different assemblies.
A kind of object transmission method comprises step: registry object in the device at the first assembly place, formation object log-on message; Registry object in the device at the second assembly place, the formation object log-on message; The device at the described first assembly place is converted into data stream according to described object log-on message with described object; The device at the described first assembly place sends to described data stream in the device at the second assembly place according to the procedure configuration files that sets in advance; The device at the described second assembly place receives the data stream from the device at the first assembly place;
The device at the described second assembly place is reduced into object according to described object log-on message with described data stream;
The device at the described second assembly place passes to described second assembly according to the procedure configuration files that sets in advance with described object.
A kind of object transfer device, this device comprises the object Registering modules, memory module, process control module, conversion module, network delivery module and first assembly and/or second assembly; Wherein,
Described object Registering modules is used for registry object, the formation object log-on message;
Described first assembly is used for the object of output of self is sent to described process control module;
Described second assembly is used to receive the object from described process control module;
Described memory module is used to store the procedure configuration files that sets in advance;
Described network delivery module is used for according to the transmission flow configuration file, sends the data stream that comes from described conversion module, and/or the data stream that receives is sent to described conversion module;
Described conversion module is used for the object log-on message according to described object Registering modules, and the object that will come from described network delivery module is converted into data stream, and/or the data stream that will come from described network delivery module is converted into object;
Described process control module is used for according to described procedure configuration files, will send to described network delivery module from the object of described first assembly, and/or will send to second assembly from the object of described network delivery module.
A kind of object transmission system is characterized in that, this system comprises first device and second device; Wherein,
Described first device is used for registry object, the formation object log-on message; According to described object log-on message, described object is converted into data stream; According to the transmission flow configuration file, described data stream is sent to second device; And,
Described second device is used to register described object, generates described object log-on message; Reception is from the data stream of the device at the first assembly place; According to described object log-on message, described data stream is reduced into object; According to receiving procedure configuration files, receive described object.
As can be seen, the embodiment of the invention has following advantage from such scheme:
According to actual needs, use procedure configuration files that the different flow processs that object transmits are set, when needs change the object conveying flow, need not encode once more, the conveying flow that only needs to revise object in procedure configuration files gets final product, thereby object can be transmitted between different assemblies neatly, and the transmission of object is more transparent.
Object is registered on device in advance, changes object if desired, only need be in device the log-on message of upgating object, do not need to encode once more, thereby make the object transmission more flexible, effectively improved the efficient that object transmits.
Because the method that the embodiment of the invention provides need not to increase special compiler, can be applied in the different operating platforms, thereby object can be transmitted in the device of different operating platforms, be applicable to the different compilers under the different operating platform, thereby effectively utilized existing resources, enlarged and carried out the scope that object transmits.
Description of drawings
Fig. 1 is the overall flow figure of object transmission method in the embodiment of the invention;
Fig. 2 is the detail flowchart of object transmission method in the embodiment of the invention;
Fig. 3 is the synoptic diagram of the structure of object transfer device embodiment in the embodiment of the invention.
Embodiment
Fig. 1 shows the overall flow of object transmission method in the embodiment of the invention.The object transmission method comprises:
Step 11: the function of assembly is set, and with object and component register auto levelizer.
Assembly that is provided with in device and object exist in the mode of dynamic base.During with object and component register auto levelizer, use template class that object and assembly are registered, the formation object log-on message, and establishments is provided in the object log-on message, calls and the interface of attribute setting.When registry object and assembly, for each object and assembly are all stated a global variable, by constructed fuction and destructor function registration with destroy object.Because global variable will be loaded, thereby realize the registration of object and assembly when the device initialization.
Using the method for template class registry object and assembly is to well known to a person skilled in the art technology, does not repeat them here.
In embodiments of the present invention, device can be registered a plurality of different objects, also can be provided with and register a plurality of assemblies with difference in functionality, because each assembly is under identical functions, may have different input objects and object output, so when assembly function is set, also need to be provided with the title of the object output of the title of input object of function name, assembly of assembly and assembly.
Be positioned at identical device if transmit the assembly of object, then the step of registry object can be omitted in the step 11.If registered assembly and object in device, then step 11 can be omitted.
In embodiments of the present invention, first assembly refers to the current assembly that object need be passed, and the second assembly finger is received the assembly of the object that first component passes goes out.In embodiments of the present invention, first assembly and second assembly are not used for limiting the number of the assembly that is used to transmit object.
In the conveying flow of object, object may transmit between a plurality of assemblies, and same assembly promptly can be that first assembly also can be second assembly.After object is delivered to second assembly, second assembly is carried out the function of second assembly self with the object that the receives input object as self, obtains the object of second assembly output, and then second assembly can be considered as the first new assembly, proceed the transmission of object.
Step 12: procedure configuration files is set.
Flow process according to object transmits is provided with procedure configuration files respectively in the device at first assembly and the second assembly place.In procedure configuration files, comprise the function of the assembly of flow process that object transmits and flow process correspondence.Wherein, the function of assembly comprises the input function of assembly.
Carrying out object when transmitting, first assembly and second assembly can be in devices, also can be at different device.If first assembly is positioned at identical device with second assembly, then the procedure configuration files in the device directly is provided with the next procedure of flow process, and the assembly of specifying next procedure to use is second assembly.Wherein, the concrete operations in the next procedure are finished by second assembly, and the subsequent step that need carry out in procedure configuration files middle finger constant current journey gets final product.
If first assembly and second assembly are positioned at different device, then in the procedure configuration files in the device at the first assembly place, the next procedure that flow process is set is the current step of the second assembly place device, in the procedure configuration files in the device at the second assembly place, the current step that flow process is set is the next procedure of the first assembly place device, and the assembly of specifying current step to use is second assembly.
Wherein, the current step ground concrete operations of the next procedure of the first assembly place device and the second assembly place device are finished by first assembly and second assembly respectively, and the step that need carry out in procedure configuration files middle finger constant current journey gets final product.
In addition, because assembly may have different functions in device, and assembly may have different input objects under identical functions.When procedure configuration files is set, in the procedure configuration files of the second assembly place device, also to specify the title of the input object of the function name of second assembly and this function, thereby make second assembly can carry out the function of self, obtain the object output of second assembly.
Step 13:, in different assemblies, transmit object according to procedure configuration files.
If first assembly is positioned at identical device with second assembly, then the device at the first assembly place passes to second assembly with the object of first assembly output, thereby object is transmitted between the different assembly of same apparatus.
If first assembly is positioned at different devices with second assembly, then the device at the first assembly place is converted into data stream with the object of first assembly output, and, data stream is sent to the device at the described second assembly place according to the next procedure in the procedure configuration files.After the device at the second assembly place receives data stream, data stream is reduced to object, and, object is passed to second assembly, thereby object is transmitted between the assembly at different device according to procedure configuration files.
After second assembly receives object, continue if desired to transmit object, then second assembly in the present embodiment is considered as first assembly, the object output of second assembly is proceeded to transmit, repeat above-mentioned steps 11~step 13 and get final product, do not repeat them here.
In the present embodiment, different devices may be positioned at same operating platform or different operating platforms.In different operating platforms, the object log-on message is not quite similar, and in embodiments of the present invention, when being converted into object when object is converted into data stream or with data stream, adopts unified coding.
As seen, when application is of the present invention, according to actual needs, use procedure configuration files that the different flow processs that object transmits are set, when needs change the object conveying flow, need not encode once more, the conveying flow that only needs to revise object in procedure configuration files gets final product, thereby object can be transmitted between different assemblies neatly, and the transmission of object is more transparent.
Object is registered on device in advance, changes object if desired, only need be in device the registration of upgating object, do not need to encode once more, thereby make the object transmission more flexible, effectively improved the efficient that object transmits.
In addition, when using the method that the embodiment of the invention provides, need not to increase special compiler, can be applied in the different operating platforms, thereby object can be transmitted in the device of different operating platforms, be applicable to the different compilers under the different operating platform, thereby effectively utilized existing resources, enlarged and carried out the scope that object transmits.
Be example with system of intermediary (Mediation) below, object transmission method in the embodiment of the invention is described.
Fig. 2 shows the flow process of object transmission method embodiment in the embodiment of the invention.In the present embodiment, the device of supposing the assembly place is realized by the Mediation system.As shown in Figure 2, the object transmission method comprises in the embodiment of the invention:
Step 21: the function of assembly is set, and ticket object and component object are registered to device.
For convenience of description, in the present embodiment, abbreviate the Mediation system as system.Suppose in the present embodiment, system A and the B of system are positioned at the identical operations platform, the operating platform at the operating platform at system A and system B place and system C place is two physical entities that are distributed in diverse geographic location, the function of different assemblies is set in the A of system, system B and the C of system respectively, and component registration and ticket object.
In the A of system, system B and the C of system, the ticket object is set, and the function that the bill record collection assembly is set is in the A of system: Information Monitoring and adding in the ticket object from the ticket catalogue that records the ticket content.Suppose that the information in the ticket object comprises: calling number, called number, call start time and end of conversation time.The bill record collection assembly is gathered above-mentioned information from the ticket catalogue, and above-mentioned information is added in the ticket object.According to the function of bill record collection assembly, the input object of bill record collection assembly is the ticket catalogue, and object output is the ticket object, and the object output name is set is called M, and the function Fa by name of this assembly above-mentioned functions is set.
The function that the ticket computation module is set in the B of system is: the end of conversation time in the calculating ticket object and the mistiming of call start time, obtain the duration of call, and the duration of call is added in the ticket object.The function Fb1 by name of this assembly above-mentioned functions is set, and input object is called M, and object output is called M.
The function that ticket verification assembly also is set in the B of system is: whether call start time and the form of end of conversation time in the verification ticket object be correct, if incorrect, it is 0 that check field is set, if correct, it is 1 that check field is set, and check field is added in the ticket object.The function Fb2 by name of this assembly above-mentioned functions is set, and input object is called M, and object output is called M.
The function that ticket preservation assembly is set in the C of system is: the ticket object is saved in storage medium, is last assembly of object conveying flow in the present embodiment because ticket is preserved assembly, so there is not object output.The function Fc by name of this assembly above-mentioned functions is set, and input object is called M.
In the A of system, system B and the C of system, the assembly with other function can also be set according to actual needs, for example have the assembly of ticket analytic function etc., not repeat them here.
Use the template class registry object, the formation object log-on message provides the interface that Object Creation and attribute are provided with in the object log-on message.When using the template class registry object, be global variable of object statement, by constructed fuction and destructor function registration and destruction ticket object.
The method of component registration is similar to the method for registry object in system, the interface that need provide establishment and attribute to be provided with, and need accredited members' method.Use the known technology of the method for template class registry object, do not repeat them here as this area.
Step 22: procedure configuration files is set.
Suppose in the present embodiment, the flow process of object transmission is to transmit ticket object M between the ticket computation module of the bill record collection assembly of the A of system and the B of system, between the ticket computation module of the B of system and ticket verification assembly, transmit ticket object M, preserve at the ticket of the ticket verification assembly of the B of system and the C of system and transmit ticket object M between the assembly.
Needs according to above-mentioned ticket transmits are provided with procedure configuration files in the A of system, system B and C system of system.
In the procedure configuration files of the A of system, the bill record collection assembly is considered as first assembly, next procedure be set be the ticket treatment step among the B of system.
In the procedure configuration files in the B of system, the ticket processing components is considered as second assembly, and the current step that system flow is set is the ticket treatment step, specifies the ticket treatment step to use the ticket processing components, and the function of specifying ticket processing components Fb1 by name, input object is M.
Behind ticket processing components object output M, the ticket processing components is considered as first assembly, the ticket object transmits between the different assemblies of identical systems, in the procedure configuration files of the B of system, the next procedure that flow process directly is set is the ticket checking procedure, specify the ticket checking procedure to use ticket verification assembly, and specify the function Fb2 by name of ticket verification assembly, input object is M.
Behind ticket verification assembly object output M, ticket verification assembly is considered as first assembly, deciding next procedure at the procedure configuration files middle finger is ticket storing step among the C of system.
In the procedure configuration files in the C of system, the ticket memory module is considered as second assembly, and the current step that system flow is set is the ticket storing step, specifies the ticket storing step to use the ticket memory module, and the function of specifying ticket memory module Fc by name, input object M.
Step 23:, in assembly, transmit the ticket object according to procedure configuration files.
At first, system A calls the bill record collection assembly, obtains the ticket object M of bill record collection assembly output, according to ticket object log-on message, the ticket object is converted into data stream.According to the next procedure in the procedure configuration files of self, data stream is passed to the system B at ticket processing components place.
After system B receives data stream, data stream is reduced to the preceding ticket object M of transmission, according to procedure configuration files, M passes to the ticket processing components with the ticket object.Ticket processing components dialogue single object M handles, output ticket object M.According to the next procedure in the procedure configuration files, the ticket object M that the ticket processing components is exported passes to ticket verification assembly.Ticket verification assembly dialogue single object M carries out verification, output ticket object M.According to ticket object log-on message, the ticket object M that ticket verification assembly is exported is converted into data stream, and according to the next procedure in the procedure configuration files, ticket object M is passed to the system C that ticket is preserved the assembly place.
After system C receives data stream, data stream is reduced to the preceding ticket object M of transmission, according to procedure configuration files, M passes to the ticket memory module with the ticket object, and the ticket object is saved in storage medium.
Supposing that in the present embodiment system A, B are different with the operating platform at C place, is example with A of system and the C of system, and the operating platform at supposing the system A place is the operating platform first, and the operating platform at system C place is an operating platform second.Under different operating platforms, the storage format difference of object log-on message.For example, under the operating platform first, the form of object name is:: class name:: NameSpace, and under operating platform second, the form of object name is a class name:: NameSpace.It is to well known to a person skilled in the art technology that the object log-on message is distinguished under the different operating platform, does not repeat them here.
Using the present invention when carrying out conversion between object and the data stream, adopt unified object log-on message coded format.As adopt the standard name of high-end byte mode coding, definition basic data type and length definition, with the coded system of volumetric standard in the data type title unified Definition in basic data type and standard (std) storehouse, the definition java standard library and the naming method of definition object etc.Suppose in the present embodiment, when object being converted into data stream or data stream being converted into object, the unified object information form that adopts under the operating platform first.
As seen, use the embodiment of the invention, can be according to actual needs, use procedure configuration files that the different flow processs that object transmits are set, when needs change the object conveying flow, need not encode once more, the conveying flow that only needs to revise object in procedure configuration files gets final product, thereby object can be transmitted between different assemblies neatly, and the transmission of object is more transparent.
Object is registered on device in advance, changes object if desired, only need be in device the log-on message of upgating object, do not need to encode once more, thereby make the object transmission more flexible, effectively improved the efficient that object transmits.
Because the method that the embodiment of the invention provides need not to increase special compiler, can be applied in the different operating platforms, thereby object can be transmitted in the device of different operating platforms, be applicable to the different compilers under the different operating platform, thereby effectively utilized existing resources, enlarged and carried out the scope that object transmits.
Above-mentioned method of carrying out the object transmission in the Mediation system only is preferred embodiment of the present invention, it is not restriction, the present invention can be applied in other system that need carry out the object transmission, and can also be applied in as the present invention needs to transmit in the e-commerce system of order object.
Based on the above-mentioned method of between different assemblies, transmitting object, the object transfer device in the embodiment of the invention is done detailed explanation below.
Fig. 3 shows the structure of object transfer device embodiment in the embodiment of the invention.As shown in Figure 3, comprise two object transfer devices in the embodiment of the invention, first device, 31 and second device 32, first assembly 313 and second assembly 323 that transmit object lay respectively at first device, 31 and second device 32.
In first device 31, comprise object Registering modules 311, conversion module 312, first assembly 313, transmission flow control module 314, network delivery module 315 and transmission flow memory module 316.Wherein,
Object Registering modules 311 is used to use the template class registry object, by template mechanism formation object log-on message.
Conversion module 312 is used for according to the object log-on message from the object Registering modules, and the object of the module of automatic network transmission in the future is converted into data stream.
First assembly 313 is used for the object of output of self is sent to transmission flow control module 314.
Transmission flow control module 314 is used for according to the transmission flow configuration file object being sent to the network delivery module.
Transmission flow memory module 316 is used to store the transmission flow configuration file.In embodiments of the present invention, the flow process of transmission object comprises execution first assembly next procedure afterwards.
Suppose that in the present embodiment the function of first assembly is an acquisition target, carry out after first assembly that the next procedure of promptly finishing after the collection of object is a storage object.Suppose that the assembly of finishing the storage object function is positioned at second device, then the next procedure after transmission object flow process comprises execution first assembly is the storing step in second device.
In embodiments of the present invention, if first assembly is positioned at identical device with second assembly, then process control module directly sends to object second assembly according to the object conveying flow.If first assembly is positioned at different devices with second assembly, as in the present embodiment, first assembly and second assembly lay respectively at first device and second device, then process control module is according to the flow process of object transmission, object is sent to the network delivery module, object is passed to second assembly by the network delivery module in the different device.
In the present embodiment, process control module comprises the transmission flow control module that lays respectively at first device and second device and receives process control module.Be positioned at identical device if transmit the assembly of object, then the transmission flow control module is arranged in identical device with the reception process control module with the assembly that transmits object.
Network delivery module 315 is used for according to the transmission flow configuration file, will pass to second device 32 from the data stream that transforms module.
Comprise object Registering modules 321, conversion module 322, second assembly 323 in second device 32, receive process control module 324, network delivery module 325 and receive flow storage module 326.
Object Registering modules 321 is used to use the template class registry object, by template mechanism formation object log-on message.
Conversion module 322 is used for the object log-on message according to object Registering modules 321, and the data stream of the module 325 of automatic network transmission in the future is converted into object.
Second assembly 323 is used to receive the object from receiving process control module 324.
Receive process control module 324, be used for according to receiving procedure configuration files, the object of the module 325 of automatic network transmission in the future sends to second assembly 323.
Receive flow storage module 326, be used for storage and receive procedure configuration files.In the present embodiment, the flow process that receives object comprises that the assembly that current step is used is second assembly, and specifies the title of input object of function name, second assembly of second assembly.
Suppose in the present embodiment, reception object flow process comprises that the current step of second device 32 is object storage steps, the assembly of carrying out the object storage step is second assembly, promptly second installs after 32 objects that receive from first device 31, is carried out the step of storage object by second assembly.Because second assembly can also be carried out a plurality of different function except that the storage object function, memory function can corresponding a plurality of different objects, also specify the title of input object of function name, second assembly of second assembly in receiving the object flow process.
Network delivery module 325 is used to receive the data stream from first device 31, will pass to from the object that transforms module 322 and receive process control module 324.
Can also comprise other assembly module in the present embodiment first device 31 and second device 32.
When using the embodiment of the invention, dispensing device and receiving trap can be realized by the Mediation system, wherein to liking the ticket object.
If object need further be delivered to other device from second device, then second assembly module or other assembly module in second device is used to send object, and the process that object transmits is similar to present embodiment, does not repeat them here.
As seen, when needs change the object conveying flow, need not encode once more, only need in the transmission flow memory module and receive the conveying flow of revising object in the flow storage module to get final product, thereby object can be transmitted between different assemblies neatly, and the transmission of object is more transparent.
Object is registered on device in advance, changes object if desired, only need the object Registering modules in device in the log-on message of upgating object, do not need to encode once more, thereby make the object transmission more flexible, effectively improved the efficient that object transmits.
Owing to need not to increase special compiler in the device that the embodiment of the invention provides, can be applied in the different operating platforms, thereby object can be transmitted in the device of different operating platforms, be applicable to the different compilers under the different operating platform, thereby effectively utilized existing resources, enlarged and carried out the scope that object transmits.
In embodiments of the present invention, first install and second install identically among the structure of first device and second device and the embodiment as shown in Figure 3 in the object transmission system, be not described in detail in this.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (16)

1, a kind of object transmission method comprises step:
Registry object in the device at the first assembly place, the formation object log-on message; Registry object in the device at the second assembly place, the formation object log-on message;
The device at the described first assembly place is converted into data stream according to described object log-on message with described object;
The device at the described first assembly place sends to described data stream in the device at the second assembly place according to the procedure configuration files that sets in advance;
The device at the described second assembly place receives the data stream from the device at the first assembly place;
The device at the described second assembly place is reduced into object according to described object log-on message with described data stream;
The device at the described second assembly place passes to described second assembly according to the procedure configuration files that sets in advance with described object.
2, method according to claim 1 is characterized in that, described procedure configuration files comprises the function of the assembly of flow process that described object transmits and described flow process correspondence;
The function of the assembly of described flow process correspondence comprises the input information of assembly.
3, object transmission method according to claim 1 is characterized in that, further comprises: in the device at the described second assembly place, the title of input object of function name, second assembly of function, second assembly of second assembly is set.
4, object transmission method according to claim 1 is characterized in that, further comprises step after described second assembly receives described object: with the input object of described object as second assembly, carry out the function of described second assembly.
5, object transmission method according to claim 1 is characterized in that, the described method that procedure configuration files is set is: in the procedure configuration files in the device at the described first assembly place, the next procedure of flow process is set;
In the procedure configuration files in the device at the described second assembly place, the current step that flow process is set is the next procedure that described first assembly is provided with, the assembly of specifying current step to use is second assembly, and specifies the title of input object of function name, second assembly of second assembly.
6, object transmission method according to claim 1 is characterized in that, the described object of described registration is specially and uses template class to register.
7, object transmission method according to claim 1 is characterized in that, and is described when object is converted into data stream, adopts unified coded format.
8, according to any described object transmission method of claim 1~7, it is characterized in that described device is the device that contains Mediation system of intermediary, described to liking the ticket object.
9, a kind of object transfer device is characterized in that, this device comprises the object Registering modules, memory module, process control module, conversion module, network delivery module and first assembly and/or second assembly; Wherein,
Described object Registering modules is used for registry object, the formation object log-on message;
Described first assembly is used for the object of output of self is sent to described process control module;
Described second assembly is used to receive the object from described process control module;
Described memory module is used to store the procedure configuration files that sets in advance;
Described network delivery module is used for according to the transmission flow configuration file, sends the data stream that comes from described conversion module, and/or the data stream that receives is sent to described conversion module;
Described conversion module is used for the object log-on message according to described object Registering modules, and the object that will come from described network delivery module is converted into data stream, and/or the data stream that will come from described network delivery module is converted into object;
Described process control module is used for according to described procedure configuration files, will send to described network delivery module from the object of described first assembly, and/or will send to second assembly from the object of described network delivery module.
10, object transfer device according to claim 9 is characterized in that, the flow process of described object transmission comprises:
Be provided with that to carry out the next procedure after described first assembly and/or be provided with current step be the next procedure that described first assembly is provided with, the assembly of specifying current step to use is described second assembly, and specifies the title of input object of function name, second assembly of second assembly.
11, object transfer device according to claim 9 is characterized in that, described process control module further comprises the transmission flow control module and/or receives process control module; Described memory module further comprises the transmission flow memory module and/or receives the flow storage module;
Described transmission flow memory module is used to store the transmission flow configuration file;
Described reception flow storage module is used for storage and receives procedure configuration files;
Described transmission flow control module is used for according to described transmission flow configuration file, will send to the network delivery module from the object of described first assembly;
Described reception process control module is used for according to described reception procedure configuration files, and the object of the module of automatic network transmission in the future sends to second assembly;
12, object transfer device according to claim 9 is characterized in that, described device is the device that contains the Mediation system, and is described to liking the ticket object.
13, a kind of object transmission system is characterized in that, this system comprises first device and second device; Wherein,
Described first device is used for registry object, the formation object log-on message; According to described object log-on message, described object is converted into data stream; According to the transmission flow configuration file, described data stream is sent to second device; And,
Described second device is used to register described object, generates described object log-on message; Reception is from the data stream of the device at the first assembly place; According to described object log-on message, described data stream is reduced into object; According to receiving procedure configuration files, receive described object.
According to the described object transmission system of claim 13, it is characterized in that 14, described first device comprises first assembly, transmission flow memory module, transmission flow control module, the first object Registering modules, first conversion module and the first network delivery module; Wherein,
Described first assembly is used for the object of output of self is sent to described transmission flow control module;
Described transmission flow memory module is used to store the transmission flow configuration file;
Described transmission flow control module is used for according to described transmission flow configuration file described object being sent to the first network delivery module;
The described first object Registering modules is used to use template class to register described object, and described template class comprises and utilizes template mechanism formation object log-on message;
Described first conversion module is used for will being converted into data stream from the object of the described first network delivery module according to the object log-on message from the described first object Registering modules;
The described first network delivery module is used for according to described transmission flow configuration file, will pass to described second device from the data stream of described first conversion module.
According to the described object transmission system of claim 13, it is characterized in that 15, described second device comprises second assembly, receives the flow storage module, receives process control module, the second object Registering modules, second conversion module and the second network delivery module; Wherein,
Described second assembly is used to receive the object from receiving process control module;
Described reception flow storage module is used for storage and receives procedure configuration files;
The described second object Registering modules is used to use template class to register described object, and described template class comprises and utilizes template mechanism formation object log-on message;
Described second conversion module is used for the object log-on message according to the described second object Registering modules, will be converted into object from the data stream of the second network delivery module;
The described second network delivery module is used to receive the data stream from described first device, will pass to described reception process control module from the object of described second conversion module;
Described reception process control module is used for according to described reception procedure configuration files, will send to described second assembly from the object of the described second network delivery module.
According to any described object transmission system of claim 13~15, it is characterized in that 16, described first device and second device are the devices that contains the Mediation system, described to liking the ticket object.
CNB2007100867577A 2007-03-13 2007-03-13 Object transmitting method, device and system Expired - Fee Related CN100478899C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2007100867577A CN100478899C (en) 2007-03-13 2007-03-13 Object transmitting method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2007100867577A CN100478899C (en) 2007-03-13 2007-03-13 Object transmitting method, device and system

Publications (2)

Publication Number Publication Date
CN101021805A CN101021805A (en) 2007-08-22
CN100478899C true CN100478899C (en) 2009-04-15

Family

ID=38709579

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007100867577A Expired - Fee Related CN100478899C (en) 2007-03-13 2007-03-13 Object transmitting method, device and system

Country Status (1)

Country Link
CN (1) CN100478899C (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018219452A1 (en) * 2017-05-31 2018-12-06 Huawei Technologies Co., Ltd. Cross platform stream dataflows

Also Published As

Publication number Publication date
CN101021805A (en) 2007-08-22

Similar Documents

Publication Publication Date Title
CN103841134B (en) Based on API transmission, the method for receive information, apparatus and system
CN100527080C (en) Method for software program synchronization
CN102075409B (en) Method and system for processing request message as well as load balancer equipment
CN107087033A (en) Information push method, device, storage medium and computer equipment
CN101807205B (en) Processing module, device, and method for processing of xml data
CN102902537B (en) Based on the embedded type WEB MVC Development Framework of FastCGI and html template
WO2002079984A8 (en) Integration platform and provisioning server communication systems
US20060234730A1 (en) System and method for accessing multiple data sources by mobile applications
US9456017B2 (en) System and method for a connector being able to adapt to newer features introduced to a messaging provider with only configuration changes
KR102426381B1 (en) Api request processing system
CN110134528A (en) Interface message storage call method, device and the terminal device of micro services frame
CN110233881A (en) Service request processing method, device, equipment and storage medium
CN102098330A (en) Method, device and system for asynchronous transmission based on json data format
CN103812937A (en) Access and adaption system of equipment for Internet of Things
CN105808763A (en) Data processing method and apparatus
CN102065570A (en) Industrial radio device with unified programming interface and methods
CN110750206B (en) Data processing method, device and system
CN100478899C (en) Object transmitting method, device and system
CN106936937B (en) Method and device for realizing universal interface for internet service interaction
CN101834894A (en) Method, device and system for remote processing
CN106453494A (en) Plug-in updating method, plug-in updating system, client and server side
CN113296987B (en) Interface calling method and device for calling module, computer equipment and storage medium
CN106790341B (en) The self-adaption deployment method of mobile web service application
KR20080039081A (en) Contents back-up method for mobile communication terminal, mobile communication terminal and contents back-up server for the same
JP3887263B2 (en) IC card system and IC card communication control application

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090415

Termination date: 20130313