CN103051426B - The sending method of a kind of data or signaling and device - Google Patents
The sending method of a kind of data or signaling and device Download PDFInfo
- Publication number
- CN103051426B CN103051426B CN201310022727.5A CN201310022727A CN103051426B CN 103051426 B CN103051426 B CN 103051426B CN 201310022727 A CN201310022727 A CN 201310022727A CN 103051426 B CN103051426 B CN 103051426B
- Authority
- CN
- China
- Prior art keywords
- processor
- signaling
- data
- sub
- target
- 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
Links
- 230000011664 signaling Effects 0.000 title claims abstract description 230
- 238000000034 method Methods 0.000 title claims abstract description 68
- 238000006243 chemical reaction Methods 0.000 claims abstract description 88
- 238000004891 communication Methods 0.000 claims abstract description 45
- 230000008569 process Effects 0.000 claims abstract description 30
- 238000012545 processing Methods 0.000 claims description 39
- 230000003993 interaction Effects 0.000 claims description 12
- 230000008447 perception Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 12
- 238000005516 engineering process Methods 0.000 description 12
- 238000010295 mobile communication Methods 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 4
- 238000013461 design Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 238000007792 addition Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/08—Protocols for interworking; Protocol conversion
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Communication Control (AREA)
- Computer And Data Communications (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention discloses sending method and the device of a kind of data or signaling.Wherein the method comprises: primary processor receives data or the signaling of current sub-processor, is data or the signaling of intermediate form by data or Signalling conversion; Primary processor processes the data of intermediate form or signaling, obtains data or the signaling result of intermediate form; Be target data or signaling by the data of intermediate form or signaling results conversion; Wherein target data or signaling follow the target protocol of target sub-processor; Target data or signaling are sent to target sub-processor by primary processor.Pass through the present invention, solve the problem of method for converting protocol process complexity in correlation technique, simply achieve fast the data between sensing network and conventional communication networks and various sensing network or Signalling conversion, and this conversion is by means of unified intermediate form, with shielding from the data of different sensing network and conventional communication networks or signaling format, there is lower process complexity and good autgmentability.
Description
Technical Field
The present invention relates to the field of communications, and in particular, to a method and an apparatus for transmitting data or signaling.
Background
The internet of things is one of the most prospective technologies at present, and a plurality of countries and enterprises in the world at the technical frontier sense a technological revolution and an economic surge to be caused by the internet of things, and develop standards, research new technologies and applications in a dispute so as to master market initiative. The definition of the internet of things (the internet technologies) is: any article is connected with the Internet through information sensing equipment such as a sensor, a Radio Frequency Identification (RFID), an infrared sensor, a global positioning system, a laser scanner and the like according to an agreed protocol to carry out information exchange and communication, so that a network for intelligent identification, positioning, tracking, monitoring and management is realized.
In the industry, the internet of things is generally recognized as having three layers, the bottom layer is a sensing layer for sensing data, the second layer is a network layer for data transmission, and the top layer is a content application layer. The sensing layer includes sensing networks such as a wireless sensor network based on various sensors, an RFID network based on radio frequency identification, and the like, for example, ZigBee (low power consumption personal area network protocol), Z-Wave, RUBEE (wireless networking protocol), WirelessHART (interoperable wireless communication standard), internet engineering task force (internet engineering task force, abbreviated as IETF), 6LowPAN, ANT (antenna interface)/ANT +, Wibree (ultra low power consumption bluetooth wireless technology), Insteon (two-way hybrid communication technology), and the like. The network layer includes conventional communication networks such as the internet, mobile communication networks, and the like, such as Code Division Multiple Access (CDMA), wireless fidelity (Wi-Fi), Asymmetric Digital Subscriber Line (ADSL), second generation mobile communication technology (2 d generation, abbreviated as 2G), third generation mobile communication technology (3 d generation, abbreviated as 3G), and the like.
The gateway is an important component of the Internet of things and is equipment for connecting a sensing layer and a network layer. In order to realize wide area interconnection, the gateway needs to realize protocol conversion between the sensing network and the traditional communication network. In order to realize local area interconnection, the gateway needs to realize protocol conversion between different types of perception networks.
In the existing multi-protocol gateway technology, a gateway only converts among a limited number of protocols, such as conversion between a field bus protocol and an industrial Ethernet protocol. The protocol conversion method is processed from bottom to top from the bottom layer of a protocol stack, is complex to process and has no good universality and expansibility. Various sensing networks and traditional communication networks exist in the internet of things, so that the protocol conversion task borne by the gateway is very heavy.
Aiming at the problem that the protocol conversion method in the related art is complex to process, an effective solution is not provided at present.
Disclosure of Invention
The invention provides a method and a device for sending data or signaling, aiming at solving the technical problem that a protocol conversion method in the related art is complex to process.
According to an aspect of the present invention, the present invention provides a method for transmitting data or signaling, wherein the method includes: the main processor receives the data or signaling of the current sub-processor and converts the data or signaling into the data or signaling with the intermediate format; the main processor processes the data or signaling in the intermediate format to obtain the data or signaling result in the intermediate format; converting the data or signaling result in the intermediate format into target data or signaling; wherein, the target data or signaling follows the target protocol of the target sub-processor; and the main processor sends the target data or the signaling to the target sub-processor.
Further, the converting the data or signaling into the data or signaling in the intermediate format by the host processor may include: and the main processor determines the protocol type of the current sub-processor, and converts the data or the signaling into the data or the signaling in the intermediate format by adopting a conversion mode corresponding to the protocol type.
Further, the step of converting the data or signaling result in the intermediate format into target data or signaling by the main processor may include: and the main processor determines the target protocol type of the target sub-processor and converts the data or signaling result in the intermediate format into the target data or signaling by adopting a conversion mode corresponding to the target protocol type.
Further, the current sub-processor may be a downward sub-processor, and the target sub-processor may be an upward sub-processor; or, the current sub-processor and the target sub-processor may be both downward sub-processors; or, the current sub-processor may be an upward sub-processor, and the target sub-processor may be a downward sub-processor; the downward sub-processor is a processor interacting with a sensing layer, and the upward sub-processor is a processor interacting with a network layer.
Further, the main processor can interact data or signaling with the downward subprocessor through a first interface; the main processor can interact data or signaling with the upper sub processor through a second interface; the first interface may be a serial communication interface or a USB interface; the second interface may be a serial communication interface or a bus interface.
According to another aspect of the present invention, the present invention further provides a data or signaling transmitting apparatus, wherein the apparatus includes: the first conversion module is used for receiving data or signaling of the current sub-processor and converting the data or signaling into data or signaling in an intermediate format; the processing module is used for processing the data or the signaling in the intermediate format to obtain a data or signaling result in the intermediate format; a second conversion module, configured to convert the data or signaling result in the intermediate format into target data or signaling; wherein, the target data or signaling follows the target protocol of the target sub-processor; and the sending module is used for sending the target data or the signaling to the target subprocessor.
Further, the first conversion module may include: a protocol type determining unit for determining the protocol type of the current sub-processor; a first conversion unit, configured to convert the data or the signaling into the data or the signaling in the intermediate format by using a conversion manner corresponding to the protocol type.
Further, the second conversion module may include: a target protocol type determining unit, configured to determine a target protocol type of the target sub-processor; a second conversion unit, configured to convert the data or signaling result in the intermediate format into the target data or signaling by using a conversion manner corresponding to the target protocol type.
Further, the current sub-processor may be a downward sub-processor, and the target sub-processor may be an upward sub-processor; or, the current sub-processor and the target sub-processor may be both downward sub-processors; or, the current sub-processor may be an upward sub-processor, and the target sub-processor may be a downward sub-processor; the downward sub-processor is a processor interacting with a sensing layer, and the upward sub-processor is a processor interacting with a network layer.
Further, the device can interact data or signaling with the downward subprocessor through a first interface; the device can interact data or signaling with the upper sub-processor through a second interface; the first interface may be a serial communication interface or a USB interface; the second interface may be a serial communication interface or a bus interface.
By the invention, after the main processor receives the data or signaling of the current sub-processor, the data or signaling is converted into the data or signaling with the intermediate format; then processing the data or signaling in the intermediate format to obtain the data or signaling result in the intermediate format; then converting the data or signaling result of the intermediate format into target data or signaling following a target protocol of a target sub-processor; and finally, the main processor sends the target data or signaling to the target sub-processor. The method solves the problem that the protocol conversion method in the related technology is complex to process, thereby quickly and simply realizing the data or signaling conversion between the sensing network and the traditional communication network and between various sensing networks, and the conversion shields the data or signaling formats from different sensing networks and the traditional communication network by means of a uniform intermediate format, and has lower processing complexity and good expansibility.
Drawings
Fig. 1 is a flowchart of a method of transmitting data or signaling according to an embodiment of the present invention;
FIG. 2 is a hardware body architecture diagram of a multi-protocol gateway according to an embodiment of the invention;
FIG. 3 is a software body architecture diagram of a multi-protocol gateway according to an embodiment of the invention;
FIG. 4 is a schematic diagram of protocol conversion according to an embodiment of the present invention;
FIG. 5 is a flow chart of data interaction from a downward sub-processor to an upward sub-processor according to an embodiment of the present invention;
fig. 6 is a block diagram of a transmitting apparatus of data or signaling according to an embodiment of the present invention;
fig. 7 is a first specific block diagram of a data or signaling transmission apparatus according to an embodiment of the present invention;
fig. 8 is a second specific block diagram of a data or signaling transmission apparatus according to an embodiment of the present invention.
Detailed Description
Because the processing procedure of the protocol conversion method in the related art is complex, how to design a simple and efficient protocol conversion method is a main problem in the design and application of the internet of things gateway. It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
The present embodiment provides a data or signaling sending method, which may be implemented on a device side, and fig. 1 is a flowchart of a data or signaling sending method according to an embodiment of the present invention, as shown in fig. 1, the method includes the following steps (step S102-step S106):
step S102, the main processor receives the data or signaling of the current sub-processor and converts the data or signaling into the data or signaling with the intermediate format;
step S104, the main processor processes the data or signaling in the intermediate format to obtain the data or signaling result in the intermediate format; converting the data or signaling result in the intermediate format into target data or signaling; wherein, the target data or signaling follows the target protocol of the target sub-processor;
and step S106, the main processor sends the target data or the signaling to the target sub-processor.
By the method, the problem that a protocol conversion method in the related technology is complex to process is solved, so that data or signaling conversion between the sensing network and the traditional communication network and among various sensing networks is quickly and simply realized, and the data or signaling formats from different sensing networks and the traditional communication network are shielded by means of a unified intermediate format, so that the method has low processing complexity and good expansibility.
In order to simply and efficiently realize data or signaling conversion between the sensing network and the traditional communication network, the current sub-processor in the embodiment can be a downward sub-processor, and the target sub-processor can be an upward sub-processor; alternatively, the current sub-processor is an upward sub-processor, and the target sub-processor is a downward sub-processor. In order to implement data or signaling conversion between various sensing networks simply and efficiently, both the current sub-processor and the target sub-processor in this embodiment may be downward sub-processors.
The following describes the lower sub-processor and the upper sub-processor, respectively.
And the downward sub-processor refers to a processor which interacts with various sensing layer network nodes. Due to the diversity of the layer-aware network, the gateway may have multiple sub-processors down, such as a radio frequency processor in communication with the wireless sensor network, an RFID receive processor in communication with the RFID node, and so on.
The upward sub-processor is a processor for connecting the gateway upward to the Internet (Internet) or a mobile communication network. The upward connection may be a wired network such as xDSL (which is a generic term for various types of Digital Subscriber Lines (DSLs)), or a wireless network such as General Packet Radio Service (GPRS) of a 2G network, a 3G network, a 4th generation (4G) network, or Wi-Fi. The gateway should configure one or several upward subprocessors corresponding to the network according to the network providing situation and upward transmission flow situation of the application. Such as an ethernet controller accessing the Internet, a GPRS module accessing a mobile communication network, etc.
The main processor in this embodiment is configured to complete conversion between two types of protocols supported by the upper sub-processor and the lower sub-processor, where the protocol conversion is mainly divided into two aspects, namely data conversion and signaling conversion. Protocol conversion refers to converting one party's data or signaling format into another party's recognizable data or signaling format, and transmitting to the other party completely and correctly.
The three-layer processors (the main processor, the downward processor and the upward processor) carry out information interaction through two types of interfaces: a class a interface and a class B interface. The following describes the class a interface and the class B interface, respectively.
The class a interface refers to a communication interface between the main processor and the lower sub-processor. The class a interface should have two characteristics: (1) the interface should have universality and standardization, including hardware and communication protocol, that is, various downward sub-processors can communicate with the main processor through the unified interface, and the sub-processors can communicate with each other directly or indirectly through the main processor; (2) the interface should be extensible, for example, a gateway with only sub-processor a can be externally connected with a module with sub-processor b, so that the gateway can allow the sub-processor b to support the access of the sensing network, thereby expanding the sensing access capability of the gateway. Assuming that the module with sub-processor b is referred to as an extension module, such extension module may still communicate with the main processor through the above-mentioned class a interface.
Therefore, the class a interface is actually a multi-processor or multi-chip communication interface, and the communication mode generally adopted is serial communication, a main processor and a downward sub-processor perform serial communication in a master-slave mode, and the communication speed/baud rate is defined by a user or a certain standard organization. In addition, an application requirement is possible, that is, the expansion module may be directly connected to a computer, and the expansion module and the computer together complete the function of the gateway of the Internet of things (that is, the computer serves as a main processor and an upward sub-processor of the gateway, and the upward access to the Internet is in an ethernet or Wi-Fi manner), so the expansion module should have a USB interface, and therefore, the type a interface may be considered to be a USB interface, or the type a interface may be converted into a USB interface in some manner.
The B-type interface is a communication interface between the main processor and the upward sub-processor. The interface technology is mature at present, and the types of the interfaces are more. For example, if the gateway uses xDSL wired access to the Internet, the upper processor may be an ethernet controller, and the interface between the main processor and the ethernet controller may use a high-speed bus (including data lines, address lines, and control lines), or may use a low-speed serial communication (including transmit lines, receive lines, and control lines). If the gateway adopts GPRS to access the Internet, the upper sub-processor is a GPRS module/processor, and the interface between the main processor and the GPRS module/processor adopts a serial communication mode. If the gateway accesses the Internet in a Wi-Fi mode, the upward sub-processor is a Wi-Fi module/processor, and an interface between the main processor and the Wi-Fi module/processor can be in a bus mode or a serial communication mode.
Based on the above description of the class a interface and the class B interface, this embodiment provides a preferred implementation manner to improve the practicability and the application range of the data or signaling sending method. Namely, the main processor carries out data or signaling interaction with the downward subprocessor through a first interface (namely, the A-type interface); the main processor carries out data or signaling interaction with the upper sub-processor through a second interface (namely the B-type interface); the first interface is a serial communication interface or a USB interface; the second interface is a serial communication interface or a bus interface.
Fig. 2 is a schematic diagram of a hardware main body architecture of a multi-protocol gateway according to an embodiment of the present invention, and as shown in fig. 2, hardware related to a protocol conversion function on the gateway mainly includes three layers: the system comprises a main processor, a downward sub-processor and an upward sub-processor. The main processor and the downward sub-processor carry out data or signaling interaction through an A-type interface, and the main processor and the upward sub-processor carry out data or signaling interaction through a B-type interface.
The main purpose of the method for sending data or signaling described in this embodiment is to convert data or signaling conforming to the protocol of the current sub-processor into data or signaling conforming to the intermediate format through protocol conversion, and then convert the data or signaling conforming to the protocol of the target sub-processor into data or signaling conforming to the protocol of the target sub-processor through protocol conversion. In short, it is the conversion of one party's data or signaling format into a data or signaling format that the other party can recognize.
Fig. 3 is a schematic diagram of a software main body architecture of a multi-protocol gateway according to an embodiment of the present invention, and as shown in fig. 3, there are three software main bodies related to protocol conversion on the gateway: a series protocol, B series protocol, intermediate format. In addition, two processes of protocol conversion 1 and protocol conversion 2 exist between the a-series protocol and the B-series protocol and the intermediate format respectively.
The A series of protocols refer to a sensing layer network protocol running/loaded on a downward sub-processor, such as a ZigBee protocol of a wireless sensor network or other custom protocols.
The B-series protocol refers to a conventional communication network protocol running/loaded on the upward sub-processor, such as an ethernet protocol stack on an ethernet controller, and a GPRS protocol stack on a GSM module.
The intermediate format is a standard signaling format and data format which are run/loaded on a main processor, and the A-series protocol and the B-series protocol are converted into the standard signaling format and data format before signaling and data interaction. This conversion process is the protocol conversion 1 and the protocol conversion 2 shown in fig. 3. The implementers of protocol conversion 1 and protocol conversion 2 are the host processors in the gateways.
Protocol conversion 1, which refers to a process in which, when each downward sub-processor sends its data or signaling following the a-series protocol to the main processor through the a-type interface, the main processor converts the data or signaling into an intermediate format, and a reverse process of the process.
Protocol conversion 2, which refers to a process in which when each upward sub-processor sends its data or signaling following the B-series protocol to the main processor through the B-type interface, the main processor converts the data or signaling into an intermediate format, and a reverse process of the process.
In this embodiment, the main processor includes a protocol processing module, which is used to convert data or signaling into data or signaling in an intermediate format and vice versa, and preferably, the protocol processing module includes a data processing unit or a signaling processing unit, and the two units respectively perform conversion operations on the data or signaling. Fig. 4 is a schematic diagram of protocol conversion according to an embodiment of the present invention, and as shown in fig. 4, three a-series protocols are listed in fig. 4: a1, a2, A3, and three B-series protocols B1, B2, B3. The protocol a1 and the conversion of the intermediate format will be explained. When the data or signaling of protocol a1 reaches the host processor through the class a interface, the host processor analyzes the protocol type of the data or signaling, and then transfers the data or signaling to the protocol processing module TA1 according to the protocol type, and the protocol processing module TA1 converts the data or signaling into the data or signaling in the intermediate format.
Then, the main processor processes the data or signaling in the intermediate format to obtain a result of the data or signaling in the intermediate format, and determines the protocol type of the target sub-processor (assuming that the protocol is the protocol B1), and the protocol processing module TB1 corresponding to the protocol type converts the result of the data or signaling in the intermediate format into data or signaling conforming to the protocol B1.
Similarly, the processing manner of the protocol a2 and the protocol A3 is the same as that of the protocol a1 described above, and is not described herein again.
Based on the protocol conversion flow described in fig. 4, this embodiment provides a preferred implementation manner, that is, the converting, by the host processor, data or signaling into data or signaling in an intermediate format includes: the main processor determines the protocol type of the current sub-processor, and converts the data or signaling into data or signaling in an intermediate format by adopting a conversion mode corresponding to the protocol type. The step of converting the intermediate format data or signaling result into target data or signaling by the main processor comprises the following steps: the main processor determines the target protocol type of the target sub-processor, and converts the data or signaling result in the intermediate format into target data or signaling by adopting a conversion mode corresponding to the target protocol type. By the method, the data or signaling conversion process is simplified, and the data or signaling conversion efficiency and accuracy are improved.
The method of implementing the invention will be further explained and illustrated with reference to the drawings and the preferred embodiments.
This embodiment describes a process of generating data or signaling for the downward sub-processor a1, processing the data by the main processor and sending the signaling to the upward sub-processor B1, and fig. 5 is a flow chart of data interaction from the downward sub-processor to the upward sub-processor according to an embodiment of the present invention, and as shown in fig. 5, the flow chart includes the following steps (step S502-step S514):
in step S502, the downward sub-processor a1 sends data or signaling to the main processor through the class a interface.
In step S504, the host processor analyzes the protocol type of the data or signaling (assuming that the data or signaling complies with protocol a 1), and transfers the data or signaling to the protocol processing module TA1 corresponding to protocol a 1.
Step S506, the protocol processing module TA1 in the main processor calls the corresponding data processing module/signaling processing module to convert the data or signaling into data or signaling in the intermediate format.
In this step, the protocol processing module TA1 determines whether the input is data or signaling, and if the input is data, calls the data processing module to process the data and converts the data into data in an intermediate format; if the signaling is the signaling, a signaling processing module is called to process the signaling and convert the signaling into the signaling with the intermediate format.
Step S508, the main processor processes the data or signaling in the intermediate format to generate a result of the data or signaling in the intermediate format.
In step S510, the main processor determines the protocol type (assumed to be protocol B1) of the target sub-processor (assumed to be the upper sub-processor B1), and transfers the data or signaling result in the intermediate format to the protocol processing module TB1 corresponding to protocol B1.
Step S512, the protocol processing module TB1 in the main processor calls the corresponding data processing module/signaling processing module to convert the data or signaling result in the intermediate format into data or signaling conforming to the protocol B1.
In the step, the protocol processing module TB1 determines whether the input is data or signaling, and if the input is data, calls the data processing module to process the input, and converts the data result in the intermediate format into target data conforming to the protocol B1; if the signaling is the signaling, the signaling processing module is called to process the input, and the signaling result in the intermediate format is converted into target signaling conforming to the protocol B1.
In step S514, the main processor transmits data or signaling conforming to the protocol B1 to the upper sub-processor B1 through the class B interface.
Corresponding to the method for sending data or signaling described in the foregoing embodiments, this embodiment provides a device for sending data or signaling, which may be disposed on a device side to implement the foregoing embodiments. Fig. 6 is a block diagram of a transmitting apparatus of data or signaling according to an embodiment of the present invention, as shown in fig. 6, the apparatus including: a first conversion module 10, a processing module 20, a second conversion module 30 and a sending module 40. This structure will be described in detail below.
A first conversion module 10, configured to receive data or signaling of a current sub-processor, and convert the data or signaling into data or signaling in an intermediate format;
a processing module 20, connected to the first conversion module 10, for processing the data or signaling in the intermediate format to obtain a result of the data or signaling in the intermediate format;
a second conversion module 30, connected to the processing module 20, for converting the data or signaling result in the intermediate format into target data or signaling; wherein, the target data or signaling follows the target protocol of the target sub-processor;
and a sending module 40 connected to the second converting module 30 for sending the target data or signaling to the target sub-processor.
By the device, the problem that a protocol conversion method in the related technology is complex to process is solved, so that data or signaling conversion between the sensing network and the traditional communication network and among various sensing networks is quickly and simply realized, and the data or signaling formats from different sensing networks and the traditional communication network are shielded by means of a uniform intermediate format, so that the device has low processing complexity and good expansibility.
In order to simply and efficiently realize data or signaling conversion between the sensing network and the traditional communication network, the current sub-processor in the embodiment can be a downward sub-processor, and the target sub-processor can be an upward sub-processor; alternatively, the current sub-processor is an upward sub-processor, and the target sub-processor is a downward sub-processor. In order to implement data or signaling conversion between various sensing networks simply and efficiently, both the current sub-processor and the target sub-processor in this embodiment may be downward sub-processors. The description of the downward sub-processor and the upward sub-processor has been made above separately and will not be repeated here.
The main processor in this embodiment is configured to complete conversion between two types of protocols supported by the upper sub-processor and the lower sub-processor, where the protocol conversion is mainly divided into two aspects, namely data conversion and signaling conversion. Protocol conversion refers to converting one party's data or signaling format into another party's recognizable data or signaling format, and transmitting to the other party completely and correctly.
The three layers of processors (a main processor, a downward processor and an upward processor) carry out information interaction through two types of interfaces. In view of this, the present embodiment provides a preferred implementation manner to improve the practicability and the application range of the data or signaling sending method. Namely, the main processor carries out data or signaling interaction with the downward subprocessor through a first interface (namely, the A-type interface); the main processor carries out data or signaling interaction with the upper sub-processor through a second interface (namely the B-type interface); the first interface is a serial communication interface or a USB interface; the second interface is a serial communication interface or a bus interface.
Fig. 7 is a first specific structural block diagram of a data or signaling sending apparatus according to an embodiment of the present invention, and as shown in fig. 7, the apparatus includes, in addition to the above modules in fig. 6, the first conversion module 10 further includes:
a protocol type determining unit 102, configured to determine a protocol type of the current sub-processor;
a first converting unit 104, connected to the protocol type determining unit 102, is configured to convert the data or the signaling into the data or the signaling in the intermediate format by using a conversion manner corresponding to the protocol type.
Fig. 8 is a second specific structural block diagram of a data or signaling sending apparatus according to an embodiment of the present invention, and as shown in fig. 8, the apparatus includes, in addition to the modules in fig. 7, the second converting module 30 further includes:
a target protocol type determining unit 302, configured to determine a target protocol type of the target sub-processor;
a second conversion unit 304, connected to the target protocol type determination unit 302, is configured to convert the data or signaling result in the intermediate format into the target data or signaling by using a conversion manner corresponding to the target protocol type.
As can be seen from the above description, in the specific implementation process of the embodiment of the present invention, the main processor of the gateway receives data or signaling to the lower sub-processor through the class a interface, or receives data or signaling to the upper sub-processor through the class B interface, the main processor converts the data or signaling into data or signaling in an intermediate format through the protocol processing module, and the main processor processes the data or signaling in the intermediate format to obtain a data or signaling result in the intermediate format. The main processor converts the data or signaling result of the intermediate format into data or signaling following the protocol of the target sub-processor through a protocol processing module, and then sends the data or signaling to the corresponding downward sub-processor through an A-type interface or sends the signaling to the corresponding upward sub-processor through a B-type interface. Therefore, protocol conversion between the sensing network and the traditional communication network and among various sensing networks is realized through the adaptation layer, and the protocol conversion shields data or signaling formats from different sensing networks and traditional communication networks by means of a uniform intermediate format, so that the method has lower processing complexity and good expansibility.
Although the preferred embodiments of the present invention have been disclosed for illustrative purposes, those skilled in the art will appreciate that various modifications, additions and substitutions are possible, and the scope of the invention should not be limited to the embodiments described above.
Claims (10)
1. A method for transmitting data or signaling, comprising:
the main processor receives the data or signaling of the current sub-processor and converts the data or signaling into the data or signaling with the intermediate format;
the main processor processes the data or signaling in the intermediate format to obtain a data or signaling result in the intermediate format; converting the data or signaling result in the intermediate format into target data or signaling; wherein the target data or signaling follows a target protocol of a target sub-processor;
and the main processor sends the target data or signaling to the target sub-processor.
2. The method of claim 1, wherein the host processor converting the data or signaling to data or signaling in an intermediate format comprises:
and the main processor determines the protocol type of the current sub-processor, and converts the data or the signaling into the data or the signaling in the intermediate format by adopting a conversion mode corresponding to the protocol type.
3. The method of claim 1, wherein the host processor converting the intermediate formatted data or signaling result to target data or signaling comprises:
and the main processor determines the target protocol type of the target sub-processor, and converts the data or signaling result in the intermediate format into the target data or signaling by adopting a conversion mode corresponding to the target protocol type.
4. The method of claim 1,
the current sub-processor is a downward sub-processor, and the target sub-processor is an upward sub-processor; or,
the current sub-processor and the target sub-processor are both downward sub-processors; or,
the current sub-processor is an upward sub-processor, and the target sub-processor is a downward sub-processor; wherein the downward sub-processor is a processor interacting with a perception layer, and the upward sub-processor is a processor interacting with a network layer.
5. The method of claim 4, wherein the main processor interacts with the downward sub-processor through a first interface for data or signaling; the main processor interacts data or signaling with the upper sub processor through a second interface; the first interface is a serial communication interface or a USB interface; the second interface is a serial communication interface or a bus interface.
6. An apparatus for transmitting data or signaling, comprising:
the first conversion module is used for receiving data or signaling of the current sub-processor and converting the data or signaling into data or signaling in an intermediate format;
the processing module is used for processing the data or the signaling in the intermediate format to obtain a data or signaling result in the intermediate format;
the second conversion module is used for converting the data or signaling result in the intermediate format into target data or signaling; wherein the target data or signaling follows a target protocol of a target sub-processor;
and the sending module is used for sending the target data or the signaling to the target sub-processor.
7. The apparatus of claim 6, wherein the first conversion module comprises:
a protocol type determining unit, configured to determine a protocol type of the current sub-processor;
and the first conversion unit is used for converting the data or the signaling into the data or the signaling in the intermediate format by adopting a conversion mode corresponding to the protocol type.
8. The apparatus of claim 6, wherein the second conversion module comprises:
a target protocol type determining unit, configured to determine a target protocol type of the target sub-processor;
and the second conversion unit is used for converting the data or signaling result in the intermediate format into the target data or signaling by adopting a conversion mode corresponding to the target protocol type.
9. The apparatus of claim 6,
the current sub-processor is a downward sub-processor, and the target sub-processor is an upward sub-processor; or,
the current sub-processor and the target sub-processor are both downward sub-processors; or,
the current sub-processor is an upward sub-processor, and the target sub-processor is a downward sub-processor; wherein the downward sub-processor is a processor interacting with a perception layer, and the upward sub-processor is a processor interacting with a network layer.
10. The apparatus of claim 9, wherein the apparatus interacts with the downward sub-processor for data or signaling through a first interface; the device carries out data or signaling interaction with the upper sub-processor through a second interface; the first interface is a serial communication interface or a USB interface; the second interface is a serial communication interface or a bus interface.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310022727.5A CN103051426B (en) | 2013-01-22 | 2013-01-22 | The sending method of a kind of data or signaling and device |
PCT/CN2013/081116 WO2013189326A1 (en) | 2013-01-22 | 2013-08-08 | Data or signalling sending method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310022727.5A CN103051426B (en) | 2013-01-22 | 2013-01-22 | The sending method of a kind of data or signaling and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103051426A CN103051426A (en) | 2013-04-17 |
CN103051426B true CN103051426B (en) | 2015-12-23 |
Family
ID=48063936
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310022727.5A Active CN103051426B (en) | 2013-01-22 | 2013-01-22 | The sending method of a kind of data or signaling and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103051426B (en) |
WO (1) | WO2013189326A1 (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103051426B (en) * | 2013-01-22 | 2015-12-23 | 中兴通讯股份有限公司 | The sending method of a kind of data or signaling and device |
CN103634947A (en) * | 2013-11-26 | 2014-03-12 | 安徽海聚信息科技有限责任公司 | Zigbee and Z-Wave technology-based wireless gateway |
CN103634949A (en) * | 2013-11-26 | 2014-03-12 | 安徽海聚信息科技有限责任公司 | Zigbee and Z-Wave technology-based wireless gateway |
CN105763435A (en) * | 2014-12-15 | 2016-07-13 | 镇江市星禾物联科技有限公司 | Multifunctional internet-of-thing gateway equipment |
CN105915500A (en) * | 2015-12-22 | 2016-08-31 | 美的集团股份有限公司 | Method, protocol conversion service end and Internet of things terminal for conversion of different Internet of things protocols |
CN106302499B (en) * | 2016-08-26 | 2019-08-27 | 迈普通信技术股份有限公司 | A kind of security log acquisition method, apparatus and system |
CN107888539A (en) * | 2016-09-29 | 2018-04-06 | 中兴通讯股份有限公司 | Internet-of-things terminal access device and method |
US10855367B2 (en) * | 2017-10-02 | 2020-12-01 | Fisher Controls International Llc | Methods and apparatus to bridge communications between devices using low-energy devices |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102355697A (en) * | 2010-08-12 | 2012-02-15 | 美商威睿电通公司 | Data processing method for processing machine type communication data, and device and system |
CN102378223A (en) * | 2010-08-24 | 2012-03-14 | 中国电信股份有限公司 | M2M (Machine-to-Machine) communication module, M2M terminal, and system and method for remote management on M2M terminal |
CN102790781A (en) * | 2011-05-17 | 2012-11-21 | 南京中兴新软件有限责任公司 | Middleware, M2M (machine-to-machine) system with industrial application middleware and application method of system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103051426B (en) * | 2013-01-22 | 2015-12-23 | 中兴通讯股份有限公司 | The sending method of a kind of data or signaling and device |
-
2013
- 2013-01-22 CN CN201310022727.5A patent/CN103051426B/en active Active
- 2013-08-08 WO PCT/CN2013/081116 patent/WO2013189326A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102355697A (en) * | 2010-08-12 | 2012-02-15 | 美商威睿电通公司 | Data processing method for processing machine type communication data, and device and system |
CN102378223A (en) * | 2010-08-24 | 2012-03-14 | 中国电信股份有限公司 | M2M (Machine-to-Machine) communication module, M2M terminal, and system and method for remote management on M2M terminal |
CN102790781A (en) * | 2011-05-17 | 2012-11-21 | 南京中兴新软件有限责任公司 | Middleware, M2M (machine-to-machine) system with industrial application middleware and application method of system |
Also Published As
Publication number | Publication date |
---|---|
WO2013189326A1 (en) | 2013-12-27 |
CN103051426A (en) | 2013-04-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103051426B (en) | The sending method of a kind of data or signaling and device | |
CN102202093B (en) | A kind of method and system realizing transducer adaptation | |
US11252786B2 (en) | IoT networking extension with bi-directional packet relay | |
CN106162528B (en) | LoRa signal and Bluetooth signal conversion module, conversion method and sender unit | |
CN101267376B (en) | Gateway data transmission method for Zigbee network extension | |
CN102223731A (en) | Interface equipment compatible with various terminals in internet of things and realization method thereof | |
WO2012152132A1 (en) | Method and system for realizing application platform adaptation | |
WO2019133199A1 (en) | Data block prioritization for internet of things payloads | |
CN203734848U (en) | Internet of Things gateway | |
CN101834913A (en) | Wireless sensor network, mobile terminal and interconnection method and system thereof | |
CN101977447A (en) | ZigBee intelligent gateway for large-scale networking and implementing method thereof | |
CN102789210A (en) | Configurable industrial bus interface supporting protocol | |
CN103944596A (en) | Software-definition-based communication device supporting multi-protocol transmission | |
CN101815041A (en) | Multiple play gateway | |
US8185050B2 (en) | Coexistance device communication between a Bluetooth device and a wireless local area network device | |
CN203827372U (en) | Multifunctional meteorological observation system wireless Mesh gateway device | |
CN106302767A (en) | A kind of Internet of Things application system based on WMMP agreement | |
CN202513948U (en) | Master-slave mode protocol conversion gateway from Ethernet to ProfiBus decentralized periphery (PROFIBUS-DP) | |
CN103199890B (en) | A kind of Ethernet radio network gateway based on many output ZigBee technology | |
CN103914281A (en) | Mobile software system application request parallel processing method and system | |
CN103685252A (en) | Multi-interface intelligent protocol conversion device | |
KR101346461B1 (en) | Network connecting apparatus and network connecting method for communication on heterogeneous networks | |
Mahlknecht | Virtual wired control networks: a wireless approach with Bluetooth | |
Chen | Design and Implementation of Wireless Sensor Cellular Network Based on Android Platform. | |
KR101384476B1 (en) | Wireless sensor network system for supporting voice communication |
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 |