CN102882849A - Multi-medium communication device and method - Google Patents

Multi-medium communication device and method Download PDF

Info

Publication number
CN102882849A
CN102882849A CN2012103138974A CN201210313897A CN102882849A CN 102882849 A CN102882849 A CN 102882849A CN 2012103138974 A CN2012103138974 A CN 2012103138974A CN 201210313897 A CN201210313897 A CN 201210313897A CN 102882849 A CN102882849 A CN 102882849A
Authority
CN
China
Prior art keywords
data
medium
module
multimedium
protocol
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012103138974A
Other languages
Chinese (zh)
Other versions
CN102882849B (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.)
Vtron Group Co Ltd
Original Assignee
Vtron Technologies 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 Vtron Technologies Ltd filed Critical Vtron Technologies Ltd
Priority to CN201210313897.4A priority Critical patent/CN102882849B/en
Publication of CN102882849A publication Critical patent/CN102882849A/en
Application granted granted Critical
Publication of CN102882849B publication Critical patent/CN102882849B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a multi-medium communication device. The device comprises medium interface communication modules and a protocol converting module, wherein the quantity of the medium interface communication modules is equal to the quantity of kinds of transmission media; each medium interface communication module respectively receives data from different media at one time according to corresponding medium protocols, resolves the data to message data, and transmits the message data to the protocol converting module; the protocol converting module receives the message data, reconstitutes the message data to protocol data, and transmits the protocol data to a main board service module; the protocol converting module receives the protocol data which are returned by the main board service module, and resolves the protocol data to the message data, and transmits the message data to the medium interface communication modules; and the medium interface communication modules resolve the message data, and return the resolved message data to media according to the medium protocols, and a whole multi-medium communication process is completed. In addition, the invention also provides a method corresponding to the device. By the device and the method, the data can be received and resolved aiming at different media at the same time, and the transmission time is saved.

Description

Multimedium communicator and method
Technical field
The present invention relates to the medium communication technical field, particularly relate to multimedium communicator and method.
Background technology
General, client (is perhaps passed through other media by medium transmission, such as network, serial ports, USB mouth etc.) send to mainboard business module data, the mainboard business module passes through agreement reading out data resolution data finishing service, and the result is returned to medium.
Although this mode has solved the mode that the different communication medium is resolved, owing to be serial, can't receive simultaneously hypermedia data like this, transmission speed is slow, loses time.
Summary of the invention
Based on this, be necessary can't process simultaneously for general medium communication the data of a plurality of media, the slow problem of transmission speed proposes a kind of multimedium communicator and method thereof, saves the transmission time.
A kind of multimedium communicator comprises: Media Interface Connector communication module and protocol conversion module;
Described Media Interface Connector communication module: be used for receiving the data from medium, convert the message data that to be processed by described protocol conversion module to, send to described protocol conversion module, and receive the message data of returning according to messaging protocol from described protocol conversion module, return to medium after the parsing;
Described protocol conversion module: be used for receiving the message data from described Media Interface Connector communication module, with its parsing, reformulate the protocol data of communicating by letter with mainboard, send to the mainboard business module, and reception is from the protocol data of mainboard business module, reassemble into message data after the parsing, send to described Media Interface Connector communication module;
Described Media Interface Connector communication module number is identical with the medium species number, and each described Media Interface Connector communication module is processed respectively the data from a kind of medium simultaneously;
Described message data is the data of transmitting between described Media Interface Connector communication module and the described protocol conversion module; Described protocol data is the data of transmitting between described protocol conversion module and the described mainboard business module.
A kind of multimedium communication means comprises step:
To receive simultaneously from the data of each medium according to corresponding medium agreement, afterwards the data that receive are resolved;
Previous step is resolved the data recombination that obtains, and the data after will recombinating send to the mainboard business module;
Receive data and parsing that the mainboard business module returns;
According to the respective media agreement previous step is resolved the data that obtain and send to medium.
Multimedium communicator of the present invention, Media Interface Connector communication module number is identical with the medium kind, each Media Interface Connector communication module is processed respectively the data from a kind of medium, different medium interface communication module is different according to the receive data mode of medium, to receive simultaneously from the data of different medium respectively according to the medium agreement with the different medium coupling, afterwards the Data Analysis that receives is become message data, and send to protocol conversion module, protocol conversion module receipt message data become protocol data to send to the mainboard business module this data recombination.Protocol conversion module receives the protocol data that returns from the mainboard business module, and it is resolved to message data, send to different medium interface communication module, a plurality of Media Interface Connector communication modules are resolved message data simultaneously, and return to medium according to the medium agreement with medium coupling, finish whole multimedium communication process.Obvious multimedium communicator of the present invention can be for different medium, and reception, deal with data are saved the transmission time simultaneously.
Description of drawings
Fig. 1 is the structural representation of multimedium communicator of the present invention;
Fig. 2 is one of them embodiment schematic flow sheet of multimedium communication means of the present invention;
Fig. 3 is one of them embodiment schematic flow sheet of multimedium communication means of the present invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below reach with reference to the accompanying drawings embodiment, the present invention is further elaborated.Should be appreciated that implementation described herein only in order to explain the present invention, does not limit the present invention.
As shown in Figure 1, a kind of multimedium communicator comprises: Media Interface Connector communication module A and protocol conversion module B;
Media Interface Connector communication module A: be used for receiving the data from medium, convert the message data that to be processed by protocol conversion module B to, send to protocol conversion module B, and receive the message data of returning according to messaging protocol from protocol conversion module B, return to medium after the parsing;
Described protocol conversion module B: be used for receiving the message data from Media Interface Connector communication module A, with its parsing, reformulate the protocol data of communicating by letter with mainboard, send to mainboard business module C, and reception is from the protocol data that returns of mainboard business module C, reassemble into the message data of returning after the parsing, send to Media Interface Connector communication module A;
Media Interface Connector communication module A number is identical with the medium kind, and each Media Interface Connector communication module A processes respectively the data from a kind of medium;
Message data is the data of transmitting between Media Interface Connector communication module A and the protocol conversion module B; Protocol data is the data of transmitting between protocol conversion module B and the mainboard business module C.
Medium kind described here has a variety of, can be the N kind, for example common are wireless network, cable network, USB, serial ports etc. are when supposing transmission medium for these 4 kinds, Media Interface Connector communication module in the multimedium communicator of the present invention just has 4, and 4 Media Interface Connector communication modules are according to the data of 4 kinds of different medium agreements difference while reception ﹠ disposals from 4 kinds of different mediums.
Multimedium communicator of the present invention, Media Interface Connector communication module number is identical with the medium kind, each Media Interface Connector communication module is processed respectively the data from a kind of medium, different medium interface communication module is different according to the receive data mode of medium, to receive simultaneously from the data of different medium respectively according to the medium agreement with the different medium coupling, afterwards the Data Analysis that receives is become message data, and send to protocol conversion module, protocol conversion module receipt message data become protocol data to send to the mainboard business module this data recombination.Protocol conversion module receives the protocol data that returns from the mainboard business module, and it is resolved to message data, sends to different medium interface communication module.A plurality of Media Interface Connector communication modules are resolved message data simultaneously, and return to medium according to the medium agreement with the medium coupling, finish whole medium transmission process.Obvious multimedium communicator of the present invention can be for different medium, and the reception ﹠ disposal data are saved the transmission time simultaneously.
In addition, as shown in Figure 1, increased protocol conversion module in the multimedium communicator of the present invention, although be to have done protocol conversion apparently more, as if lose time, but the time of this conversion calculates take millisecond as unit, and with respect to the upper time of saving of communication, the time of this waste is negligible.Increase protocol conversion module, when increasing a medium communication newly, because protocol conversion module works with mainboard is professional before, introduce unnecessary problem trouble so needn't worry newly-increased medium communication to this system, namely only needing to increase a Media Interface Connector communication module in multimedium communicator of the present invention gets final product, if there is not protocol conversion module, increase new medium communication, All Media all with the mainboard service communication, and agreement is identical, so when new medium communication has problem, can be because the related communication problem be introduced in other medium communications, have influence on the stability of whole system communication, can affect what is more the processing of mainboard business, lose more than gain.In addition, increase this protocol conversion module, can make this module and mainboard service communication, isolated Media Interface Connector communication module and mainboard service communication, the benefit of doing like this is: the mainboard business is affected, also can have handled each medium communication data well within the as far as possible short time.When the mainboard business module changes, only need the protocol data of change protocol conversion module all right, do not need to change each Media Interface Connector communication module content.
Therefore in the multimedium communicator of the present invention, add protocol conversion apparatus and can bring following beneficial effect:
First: when increasing new different medium, the code that only needs to increase the Media Interface Connector communication module gets final product, and need not to revise the mainboard service code, reduces the introducing rate of problem, has also saved the transmission time to a certain extent.Second: when mainboard business module code need to be revised, only need to revise the protocol conversion module code, do not need to change each Media Interface Connector communication module, save time minimizing problem introducing rate.The the 3rd: be beneficial to the maintenance of whole system code, can reduce so unnecessary problem and occur.
As shown in Figure 1, multimedium communicator of the present invention and mainboard business module C are separated, and are placed in the same memory with the mainboard service code.
Multimedium communicator of the present invention and mainboard business module C are separated, can keep in the communication process independence between each device, namely guarantee not can be because the multimedium communicator need to revise the mainboard business module also need corresponding revise or the mainboard business module need to be revised and the multimedium communicator also needs the corresponding problem of revising; Be placed in the same memory with the mainboard service code, can further promote the speed of transmission so that data storage, read and transmit, save time.
Among embodiment, multimedium communicator of the present invention also comprises: initialization unit therein: be used for the difference according to the medium kind, respectively different Media Interface Connector communication module A carried out initialization.
Here initialization is just carried out when multimedium communicator of the present invention starts, purpose is to guarantee that each medium communication interface module keeps preparing transmitting constantly, the state of deal with data, when having data to transmit, multimedium communication module of the present invention can be carried out data transfer and processing at once, thereby further promote data transmission bauds, save the transmission time.In addition, initialization unit is carried out respectively initialization according to the difference of medium, and the task of each medium is independently carried out, and guarantees the independence that each medium is resolved, and guarantees simultaneously the concurrency of different medium data.
In order better to understand the present invention program, the below will be take the optimum embodiment of multimedium communicator of the present invention as example, explains in detail the beneficial effect that the course of work of multimedium communicator of the present invention is brought with it.
The multimedium communicator separates with the mainboard business module, as the part of module of mainboard business, is placed in the same memory with the mainboard service code.During work, initialization unit is according to the difference of medium, corresponding Media Interface Connector communication module is carried out initialization respectively, initialized purpose is to guarantee that each medium communication interface module keeps preparing transmitting constantly, the state of deal with data, when having data to transmit, multimedium communication module of the present invention can be carried out data transfer and processing at once, thereby further promotes data transmission bauds, saves the transmission time.Initialization unit can also make the task of each medium independently carry out in addition, guarantees the independence that each medium is resolved, and guarantees simultaneously the concurrency of different medium data.After the initialization different medium interface communication module according to the medium protocol processes of different medium coupling from the data of medium separately, here because the receive data mode of different medium is different, the protocol data that the Media Interface Connector communication module only need to be resolved separately is just passable, according to the medium protocol analysis data of different medium coupling, and convert respectively message data to and send to protocol conversion module.For example the data protocol of certain medium is AA+ data length+data+check digit, and resolution data converts message data to so, and protocol format is that BB+ data length+data get final product.Protocol conversion module receipt message data become protocol data to send to the mainboard business module this data recombination.Protocol conversion module receives the protocol data that returns from the mainboard business module, and it is resolved to message data, sends to different medium interface communication module.Different medium interface communication module basis is resolved respectively message data with the medium agreement of different medium coupling, and returns to different medium according to the medium agreement with the different medium coupling.
Obviously, in optimum embodiment, multimedium communicator of the present invention, for different medium, while receive data and resolution data, the time of minimizing the transmission of data; When increasing new medium, do not affect the stability of whole system, can not bring for medium transmission before new problem; Accomplish that medium communication and mainboard business module keep apart, guarantee the security reliability of mainboard business module; When the mainboard business module has change, only need to revise a module and get final product simultaneously, can not affect the medium communication related content.
As shown in Figure 2, a kind of multimedium communication means comprises step:
S101 will receive from the data of each medium simultaneously according to corresponding medium agreement, afterwards the data that receive is resolved.Here, different transmission mediums has different transmission medium agreements corresponding, when having data to pass through a plurality of medium transmission, comes simultaneously receive data according to corresponding medium agreement, afterwards the data that receive is resolved.
S102 previous step is resolved the data recombination that obtains, and the data after will recombinating sends to the mainboard business module.Here recombinating is the data that obtain by the different medium protocol analysis in order to integrate, and the data recombination after these are resolved sends to the mainboard business module together.
S103 receives data and parsing that described mainboard business module returns.Can return one after the data of mainboard business module after receiving restructuring and confirm the complete information that receives data, receive this information again with its parsing.
S104 resolves the data that obtain according to the respective media agreement with previous step and sends to medium.Because different media has corresponding medium agreement, so in order to guarantee that different media can both receive the data that the mainboard business module returns, send to medium behind the Data Analysis that just need to the mainboard business module be returned according to the respective media agreement, finish the process of whole multimedium communication.
Implement multimedium communication means of the present invention, device will be resolved from the data of each medium simultaneously according to corresponding medium agreement, obtain resolution data, afterwards resolution data is recombinated, and the data after the transmission restructuring are to the mainboard business module, device receives the data that the mainboard business module returns again and resolves to the affirmation data, and final unit sends to medium according to the respective media agreement with described affirmation data, finishes the process of whole multimedium communication.Obviously implement multimedium communication means of the present invention, can be for different medium, the reception ﹠ disposal data are saved the transmission time simultaneously.
As shown in Figure 2, in the multimedium communication means of the present invention, S100 in steps before step S101 according to the difference of medium kind, carries out respectively initialization.
Step S100, difference according to the medium kind, carry out respectively initialization, here carry out initialization and can make that device keeps preparing transmitting constantly, the state of deal with data, when have data need to transmit, when processing, device can transmit data at once, thereby further promotes data transmission bauds, saves the transmission time.The other difference of medium kind, carrying out respectively initialization can also make the task of each medium independently carry out, guarantee the independence that each medium is resolved, guarantee simultaneously the concurrency of different medium data, determine the number of the process of setting up here according to the species number of medium.
The above embodiment has only expressed several execution mode of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to claim of the present invention.Should be pointed out that for the person of ordinary skill of the art without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.

Claims (5)

1. a multimedium communicator is characterized in that, comprising: Media Interface Connector communication module and protocol conversion module;
Described Media Interface Connector communication module: be used for receiving the data from medium, convert the message data that to be processed by described protocol conversion module to, send to described protocol conversion module, and receive the message data of returning according to messaging protocol from described protocol conversion module, return to medium after the parsing;
Described protocol conversion module: be used for receiving the message data from described Media Interface Connector communication module, with its parsing, reformulate the protocol data of communicating by letter with mainboard, send to the mainboard business module, and reception is from the protocol data of mainboard business module, reassemble into message data after the parsing, send to described Media Interface Connector communication module;
Described Media Interface Connector communication module number is identical with the medium species number, and each described Media Interface Connector communication module is processed respectively the data from a kind of medium simultaneously;
Described message data is the data of transmitting between described Media Interface Connector communication module and the described protocol conversion module; Described protocol data is the data of transmitting between described protocol conversion module and the described mainboard business module.
2. described multimedium communicator according to claim 1 is characterized in that described multimedium communicator and mainboard business module are separated, and described multimedium communicator and mainboard service code are placed in the same memory.
3. described multimedium communicator according to claim 1 and 2 also comprises:
Initialization unit: be used for the difference according to the medium kind, respectively different described Media Interface Connector communication modules carried out initialization.
4. a multimedium communication means is characterized in that, comprises step:
To receive simultaneously from the data of each medium according to corresponding medium agreement, afterwards the data that receive are resolved;
Previous step is resolved the data recombination that obtains, and the data after will recombinating send to the mainboard business module;
Receive data and parsing that the mainboard business module returns;
According to the respective media agreement previous step is resolved the data that obtain and send to medium.
5. multimedium communication means according to claim 4 is characterized in that, described step will receive from the data of each medium simultaneously according to corresponding medium agreement, afterwards the data that receive is resolved before also in steps:
According to the difference of medium kind, carry out respectively initialization.
CN201210313897.4A 2012-08-29 2012-08-29 Multi-medium communication device and method Expired - Fee Related CN102882849B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210313897.4A CN102882849B (en) 2012-08-29 2012-08-29 Multi-medium communication device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210313897.4A CN102882849B (en) 2012-08-29 2012-08-29 Multi-medium communication device and method

Publications (2)

Publication Number Publication Date
CN102882849A true CN102882849A (en) 2013-01-16
CN102882849B CN102882849B (en) 2016-06-29

Family

ID=47483993

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210313897.4A Expired - Fee Related CN102882849B (en) 2012-08-29 2012-08-29 Multi-medium communication device and method

Country Status (1)

Country Link
CN (1) CN102882849B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108205553A (en) * 2016-12-19 2018-06-26 深圳联友科技有限公司 A kind of interface processing system and method based on text file

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1976288A (en) * 2005-12-02 2007-06-06 Ls产电株式会社 Network system
CN101202632A (en) * 2006-12-13 2008-06-18 英业达股份有限公司 System and method for data transmission of dual controller system and method of communication path selection
CN101807200A (en) * 2009-02-13 2010-08-18 索尼公司 Signal conditioning package, information processing method and program
CN102195984A (en) * 2011-05-18 2011-09-21 广州市飞元信息科技有限公司 Secure transmission device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1976288A (en) * 2005-12-02 2007-06-06 Ls产电株式会社 Network system
CN101202632A (en) * 2006-12-13 2008-06-18 英业达股份有限公司 System and method for data transmission of dual controller system and method of communication path selection
CN101807200A (en) * 2009-02-13 2010-08-18 索尼公司 Signal conditioning package, information processing method and program
CN102195984A (en) * 2011-05-18 2011-09-21 广州市飞元信息科技有限公司 Secure transmission device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108205553A (en) * 2016-12-19 2018-06-26 深圳联友科技有限公司 A kind of interface processing system and method based on text file
CN108205553B (en) * 2016-12-19 2021-12-28 深圳联友科技有限公司 Interface processing system and method based on text file

Also Published As

Publication number Publication date
CN102882849B (en) 2016-06-29

Similar Documents

Publication Publication Date Title
CN105260250A (en) Linux system and Android system dual-system communication device
CN105071906A (en) Method and access point capable of realizing co-frequency co-time full duplex communication in WLAN system
CN104954096A (en) One-master multi-slave high-speed synchronous serial communication data transmission method
CN105101370B (en) Data connection method and device and WIFI module
CN104994590A (en) Data transmission method and device
WO2009148639A3 (en) Onboard network system network architecture
CN102983884A (en) A method for transmitting data via a magnetic channel
CN105610953A (en) Distributed data synchronizing system and method
CN103996276A (en) Remote transmission system and method for data of power plant
CN105243039A (en) Serial port communication system and method
CN106130856A (en) A kind of self adaptation baud rate RS485 communications protocol
CN102882849A (en) Multi-medium communication device and method
CN101308480A (en) Method for host serial simultaneously connecting multiple asynchronous serial equipment
CN103139291B (en) A kind of location application server obtains the method for terminal gps data
CN103716329A (en) Method for achieving master-slave multiple communication protocols
CN202035051U (en) Connection module for data exchange between common log format (CLF) and multiple searching engines (SE) of mobile communication terminal
CN101741597A (en) Server system for automatically correcting time and method thereof
CN101325467B (en) Method and equipment for transmitting and receiving Ethernet data
CN102970778A (en) Internet of things converged communication gateway for supporting ubiquitous machine to machine protocol (UMMP)
CN101650872A (en) System and method for collecting power utilization information
CN104038477A (en) Service network system-based file transfer method
CN106375077A (en) Method of SI4463 chip for realizing data transmission by adopting GPIO mode
CN104202124A (en) Erp (enterprise resource planning) data package communication method
CN102075376B (en) Multi-communication protocol detection method
CN104917704A (en) Method and system for multiplexing 10GBase-R PCSs and 40GBase-R PCSs in the same architecture

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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 510670 Guangdong Province, Guangzhou high tech Industrial Development Zone Kezhu Road No. 233

Patentee after: VTRON GROUP Co.,Ltd.

Address before: 510663 Guangzhou province high tech Industrial Development Zone, Guangdong, Cai road, No. 6, No.

Patentee before: VTRON TECHNOLOGIES Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160629

Termination date: 20210829