CN103595822A - Method and device for receiving and sending data and communication device - Google Patents

Method and device for receiving and sending data and communication device Download PDF

Info

Publication number
CN103595822A
CN103595822A CN201310611593.0A CN201310611593A CN103595822A CN 103595822 A CN103595822 A CN 103595822A CN 201310611593 A CN201310611593 A CN 201310611593A CN 103595822 A CN103595822 A CN 103595822A
Authority
CN
China
Prior art keywords
data
communication interface
resource information
interface resource
data identification
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
CN201310611593.0A
Other languages
Chinese (zh)
Other versions
CN103595822B (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.)
Beijing Runke General Technology Co Ltd
Original Assignee
Beijing Jingwei Hirain Tech 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 Beijing Jingwei Hirain Tech Co Ltd filed Critical Beijing Jingwei Hirain Tech Co Ltd
Priority to CN201310611593.0A priority Critical patent/CN103595822B/en
Publication of CN103595822A publication Critical patent/CN103595822A/en
Application granted granted Critical
Publication of CN103595822B publication Critical patent/CN103595822B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a method and device for receiving and sending data and a communication device. The method comprises the steps that the corresponding relation between data identification and communication interface resource information is established in advanced and first storage space is configured for data to be sent; when the data are sent, the data to be sent and the data identification corresponding to the data to be sent are extracted from the first storage space; based on the corresponding relation between the data identification and the communication interface resource information, the communication interface resource information corresponding to the extracted data identification is determined; the extracted data to be sent are sent through a determined communication interface resource identified by the communication interface resource information. According to the method and device for receiving and sending the data and the communication device, the communication interface resource information does not need to be cured in an application program for receiving and sending the data. When the definition of a butt joint device changes, only the corresponding relation between the data identification and the communication interface resource information needs to be updated, the application program for receiving and sending the data does not need to be changed, achievement is simple, and maintenance is easy.

Description

A kind of data receiving-transmitting method, device and communication equipment
Technical field
The present invention relates to communication technical field, relate in particular to a kind of data receiving-transmitting method, device and communication equipment.
Background technology
Data transmit-receive function is the basic function of various types of communication interface.The data content that various types of communication interface should be received and dispatched is relevant with the interface definition of the service of connection devices, and for example, the passage 1 of communication interface sends altitude information and longitude and latitude data, and passage 3 receives self check information and status data.That is, communication interface resource need to be distributed according to the interface definition of the service of connection devices.
In prior art, the mode that sends data by communication interface is: according to the interface definition custom application of the service of connection devices, communication interface resource information is solidificated in application program, and application program sends data by the communication interface resource corresponding with this communication interface resource information.
Inventor finds in realizing the process of the invention: owing to sending the application program of data, be to customize according to the interface definition of the service of connection devices, therefore, when the interface definition of the service of connection devices changes, in order successfully to send data, need to be solidificated in the communication interface resource information in application program according to the interface definition adjustment after changing, need to remodify a whole set of application program, therefore, operate more loaded down with trivial details, maintainable poor.
Summary of the invention
In view of this, the invention provides a kind of data receiving-transmitting method, device and communication equipment, in order to solve in prior art when sending data, when if the interface definition of the service of connection devices changes, need to be solidificated in the communication interface resource information in application program according to the interface definition adjustment after changing, operate more loaded down with trivial details, maintainable poor problem, its technical scheme is as follows:
First aspect, a kind of data transmission method for uplink, set up in advance the corresponding relation of Data Identification and communication interface resource information, and be data configuration the first memory space to be sent, to send the application program of data, data to be sent and the Data Identification corresponding with described data to be sent are stored to described the first memory space, described communication interface resource information comprises plate card number and the channel number of communication interface, and described Data Identification is for the type of identification data, and described method comprises:
From described the first memory space, extract the first data and first Data Identification corresponding with described the first data;
Based on described Data Identification, determine the communication interface resource information corresponding with described the first Data Identification with the corresponding relation of communication interface resource information;
The communication interface resource identifying by communication interface resource information corresponding to described and described the first Data Identification sends described the first data.
Wherein, the corresponding relation of described Data Identification and communication interface resource information is safeguarded with the form of mapping table;
Based on described Data Identification, determine the communication interface resource information corresponding with described the first Data Identification with the corresponding relation of communication interface resource information, comprising:
In described mapping table, search the Data Identification identical with described the first Data Identification;
Determine that communication interface resource information corresponding to the Data Identification identical with described the first Data Identification finding is the communication interface resource information corresponding with described the first Data Identification.
Wherein, described Data Identification is numeral, letter or character string.
Second aspect, a kind of data receive method, is data allocations second memory space of reception in advance, described method comprises:
When receiving the second data, determine the communication interface resource information that receives described the second data, and using the communication interface resource information of determining as second communication interface resource information;
Based on Data Identification, determine second Data Identification corresponding with described second communication interface resource information with the corresponding relation of communication interface resource information,
Described the second data that receive and described the second Data Identification of determining are stored in described the second memory space, to receive application program reading out data from described the second memory space of data, process or show.
Wherein, the corresponding relation of described Data Identification and communication interface resource information is safeguarded with the form of mapping table;
, based on Data Identification, determine second Data Identification corresponding with described second communication interface resource information with the corresponding relation of communication interface resource information, comprising:
In described mapping table, search the communication interface resource information identical with described second communication interface resource information;
Determine that Data Identification corresponding to the communication interface resource information identical with described second communication interface resource information finding is second Data Identification corresponding with described second communication interface resource information.
The third aspect, a kind of data sending device, comprising:
Corresponding relation building module, for setting up in advance the corresponding relation of Data Identification and communication interface resource information, described communication interface resource information comprises plate card number and the channel number of communication interface;
The first configuration module, be used to data configuration the first memory space to be sent, to send the application program of data, data to be sent and the Data Identification corresponding with described data to be sent are stored to described the first memory space, wherein, described Data Identification is for the type of identification data;
Data extraction module, for extracting the first data and first Data Identification corresponding with described the first data from described first memory space of described the first configuration module configuration;
The first determination module, determines communication interface resource information corresponding to described the first Data Identification of extracting with described data extraction module for described Data Identification and the corresponding relation of communication interface resource information set up based on described corresponding relation building module;
Data transmission blocks, the communication interface resource identifying for that determine by described the first determination module, corresponding with described the first Data Identification communication interface resource information sends described the first data that described data extraction module is extracted.
Wherein, the corresponding relation of described Data Identification and communication interface resource information is safeguarded with the form of mapping table;
Described the first determination module comprises:
First searches submodule, for search the Data Identification identical with described the first Data Identification at described mapping table;
First determines submodule, and for definite described first, searching the communication interface resource information that submodule finds, identical with described the first Data Identification Data Identification is corresponding is the communication interface resource information corresponding with described the first Data Identification.
Fourth aspect, a kind of data sink, comprising:
The second configuration module, for data allocations the second memory space for receiving in advance;
The second determination module, for when receiving the second data, determines the communication interface resource information that receives described the second data, and using the communication interface resource information of determining as second communication interface resource information;
The 3rd determination module, for determining the second Data Identification corresponding to described second communication interface resource information of determining with described the second determination module based on Data Identification and the corresponding relation of communication interface resource information;
Data memory module, for described the second Data Identification that described the second data that receive and described the 3rd determination module are determined, be stored to described the second memory space, to receive application program reading out data from described the second memory space of data, process or show.
Wherein, the corresponding relation of described Data Identification and communication interface resource information is safeguarded with the form of mapping table;
Described the 3rd determination module comprises:
Second searches submodule, for search the communication interface resource information identical with described second communication interface resource information at described mapping table;
Second determines submodule, and for definite described second, searching Data Identification corresponding to that submodule finds, identical with described second communication interface resource information communication interface resource information is second Data Identification corresponding with described second communication interface resource information.
The 5th aspect, a kind of communication equipment, comprises above-mentioned data sending device, and, above-mentioned data sink.
Technique scheme has following beneficial effect:
Data receiving-transmitting method provided by the invention, device and communication equipment, can determine from the communication interface resource information of the data to be sent of the first memory space extraction by the corresponding relation based on Data Identification and communication interface resource information, thereby the communication interface resource identifying by the communication interface resource information with determining sends the data to be sent of extracting, and, can determine the Data Identification corresponding with the communication interface resource information that receives data with the corresponding relation of communication interface resource information based on Data Identification, then the data of reception and the Data Identification of determining are stored in the second memory space, so that receiving the application program of data can process or show by reading out data from the second memory space.Data receiving-transmitting method provided by the invention, device and communication equipment, make communication interface resource information to be solidificated in the application program of transceiving data, when the interface definition of the service of connection devices changes, only need upgrade the corresponding relation of Data Identification and communication interface resource information, and need not change the application program of transceiving data, realize simply, be easy to safeguard.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only embodiments of the invention, for those of ordinary skills, do not paying under the prerequisite of creative work, other accompanying drawing can also be provided according to the accompanying drawing providing.
The schematic flow sheet of a kind of data transmission method for uplink that Fig. 1 provides for the embodiment of the present invention;
The schematic flow sheet of a kind of data receive method that Fig. 2 provides for the embodiment of the present invention;
The structural representation of a kind of data sending device 30 that Fig. 3 provides for the embodiment of the present invention;
The structural representation of a kind of data sink 40 that Fig. 4 provides for the embodiment of the present invention;
The structural representation of a kind of communication equipment 50 that Fig. 5 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
Refer to Fig. 1, the schematic flow sheet of a kind of data transmission method for uplink providing for the embodiment of the present invention, set up in advance the corresponding relation of Data Identification and communication interface resource information, and be data configuration the first memory space to be sent, to send the application program of data, data to be sent and the Data Identification corresponding with data to be sent are stored to the first memory space, the method that the embodiment of the present invention provides can comprise:
Step S101: extract the first data and first Data Identification corresponding with the first data from the first memory space.
Be understandable that, for the first data are corresponding with the first Data Identification, send the application program of data when storage the first data and the first Data Identification, the first data and first Data Identification corresponding with the first data can be packaged together and be stored in the first memory space of transmission buffering area as data.Accordingly, while sending data, from the first memory space, extract data, from the data of extracting, parse the first data and first Data Identification corresponding with the first data.
Step S102: determine the communication interface resource information corresponding with the first Data Identification with the corresponding relation of communication interface resource information based on Data Identification.
Wherein, Data Identification is for the type of identification data, and Data Identification can be numeral, letter or character string.Exemplary, the Data Identification of altitude information and longitude and latitude data is 1, the Data Identification of self check data and status data is 2.
Wherein, communication interface resource information comprises plate card number and the channel number of communication interface.Concrete, a communication equipment may have polylith board, and a board has a plurality of passages, determines communication interface resource information, determines with which passage of which piece board and sends data.
In a kind of possible implementation, the corresponding relation of Data Identification and communication interface resource information is safeguarded with the form of mapping table, as shown in the table:
Table 1
Data Identification Communication interface resource information
1 Plate card number 3, channel number 1
2 Plate card number 3, channel number 3
Based on Data Identification and the corresponding relation of communication interface resource information, determine that the communication interface resource information corresponding with the first Data Identification is specially: in mapping table, search the Data Identification identical with the first Data Identification; Determine that communication interface resource information corresponding to the Data Identification identical with the first Data Identification finding is the communication interface resource information corresponding with the first Data Identification.
In addition, it should be noted that, when the interface definition of the service of connection devices changes, corresponding, the information in mapping table also can correspondingly be upgraded.Exemplary, plate card number is 3, and the type of the data that the communication interface resource that channel number is 3 sends changes, and Data Identification changes to 3 by 2, and the mapping table after upgrading is:
Table 2
Data Identification Communication interface resource information
1 Plate card number 3, channel number 1
3 Plate card number 3, channel number 3
Step S103: the communication interface resource identifying by the communication interface resource information corresponding with the first Data Identification sends the first data.
Exemplary, the first Data Identification extracting from the first memory space is 2, in mapping table (table 1), search Data Identification 2, after finding Data Identification 2, determine that the communication interface resource information corresponding with Data Identification 2 is: plate card number is 3, channel number is 3, by No. 3 passages on No. 3 boards, sends the first data of extracting.
The data transmission method for uplink that the embodiment of the present invention provides, can determine the communication interface resource information that sends data by the corresponding relation based on Data Identification and communication interface resource information, thereby the communication interface resource identifying by the communication interface resource information of determining sends data.The data transmission method for uplink that the embodiment of the present invention provides makes, communication interface resource information need not be solidificated in the application program that sends data, the application program that sends data only need be stored to as sending in the first memory space of buffering area through data to be sent and the Data Identification corresponding with data to be sent.When the interface definition of the service of connection devices changes, only need upgrade the corresponding relation of Data Identification and communication interface resource information, and need not change the application program that sends data, realize simply, be easy to safeguard.
Corresponding with above-mentioned data transmission method for uplink, the embodiment of the present invention also provides a kind of data receive method.Refer to Fig. 2, the schematic flow sheet of a kind of data receive method providing for the embodiment of the present invention, data allocations the second memory space for receiving in advance, the method can comprise:
Step S201: when receiving the second data, determine the communication interface resource information that receives the second data, and using the communication interface resource information of determining as second communication interface resource information.
Wherein, the communication interface resource information that receives the second data is for receiving the communication interface resource information of the communication interface of the second data.
Step S202: determine second Data Identification corresponding with second communication interface resource information with the corresponding relation of communication interface resource information based on Data Identification.
The corresponding relation of Data Identification and communication interface resource information is safeguarded with the form of mapping table, based on Data Identification and the corresponding relation of communication interface resource information, determines that second Data Identification corresponding with second communication interface resource information is specially: in mapping table, search the communication interface resource information identical with second communication interface resource information; Determine that Data Identification corresponding to communication interface resource information that find, identical with second communication interface resource information is second Data Identification corresponding with second communication interface resource information.
Exemplary, second communication interface resource information is: plate card number is 3, channel number is 1, at mapping table (table 1), search the communication interface resource information that plate card number is 3, channel number is 1, search after the communication interface resource information that plate card number is 3, channel number is 1 finding, determine that the Data Identification corresponding with this communication interface resource information is 2, second Data Identification corresponding with second communication interface resource information is 2.
Step S203: the second data that receive and the second Data Identification of determining are stored in the second memory space, process or show to receive application program reading out data from the second memory space of data.
Preferably, for the second data and the second Data Identification is corresponding, the second data and the second Data Identification can be packaged together and be stored in the second memory space of reception buffer zone as data.Optionally, also can, by second interface resource information and the timestamp corresponding with the second Data Identification, with the second data and the second Data Identification, be packaged together.The application program that receives data is extracted data from the second memory space, the data of extracting are resolved, just can obtain the second data and the second Data Identification corresponding with the second data, optional, also can obtain second interface resource information and the timestamp corresponding with the second Data Identification.
The data receive method that the embodiment of the present invention provides, can determine the Data Identification corresponding with the communication interface resource information that receives data with the corresponding relation of communication interface resource information based on Data Identification, then the data of reception and the Data Identification of determining are stored in the second memory space of reception buffer zone, to receive the application program of data, can from the second memory space, process or show by reading out data.The data receive method that the embodiment of the present invention provides makes, and communication interface resource information need not be solidificated in the application program that receives data, the application program that receives data only need be from the second memory space as reception buffer zone reading out data.When the interface definition of the service of connection devices changes, only need upgrade the corresponding relation of Data Identification and communication interface resource information, and need not more relocate the receiving the application program of data, realize simply, be easy to maintenance.
The data transmission method for uplink providing with above-described embodiment is corresponding, and the embodiment of the present invention provides a kind of data sending device.Refer to Fig. 3, the structural representation of a kind of data sending device 30 providing for the embodiment of the present invention, this device can comprise: corresponding relation building module 301, the first configuration module 302, data extraction module 303, the first determination module 304 and data transmission blocks 305.Wherein:
Corresponding relation building module 301, for setting up in advance the corresponding relation of Data Identification and communication interface resource information.
Wherein, Data Identification is for the type of identification data.Communication interface resource information comprises: plate card number and the channel number of communication interface.
The first configuration module 302, is used to data configuration the first memory space to be sent.
Wherein, the first memory space, as sending buffering area, makes the application program that sends data that data to be sent and the Data Identification corresponding with data to be sent are stored to the first memory space.
Data extraction module 303, for extracting the first data and first Data Identification corresponding with the first data from the first memory space of the first configuration module 302 configurations.
The first determination module 304, determines communication interface resource information corresponding to the first Data Identification of extracting with data extraction module 303 for Data Identification and the corresponding relation of communication interface resource information set up based on corresponding relation building module 301.
In a kind of possible implementation, the corresponding relation of Data Identification and communication interface resource information is safeguarded with the form of mapping table.The first determination module 304 can comprise: first searches submodule and first determines submodule.Wherein:
First searches submodule, for search the Data Identification identical with the first Data Identification at mapping table.
First determines submodule, and for definite first, searching the communication interface resource information that submodule finds, identical with the first Data Identification Data Identification is corresponding is the communication interface resource information corresponding with the first Data Identification.
Data transmission blocks 305, sends for the communication interface resource identifying by the first determination module 304 communication interface resource information corresponding with the first Data Identification that determine the first data that data extraction module 303 is extracted.
The data sending device that the embodiment of the present invention provides, the first determination module can be determined the communication interface resource information that sends data by the corresponding relation based on Data Identification and communication interface resource information, thereby makes the communication interface resource that data transmission blocks can identify by the communication interface resource information with determining send data.The data sending device that the embodiment of the present invention provides makes, communication interface resource information need not be solidificated in the application program that sends data, the application program that sends data only need be stored to as sending in the first memory space of buffering through data to be sent and the Data Identification corresponding with data to be sent.When the interface definition of the service of connection devices changes, only need upgrade the corresponding relation of Data Identification and communication interface resource information, and need not change the application program that sends data, realize simply, be easy to safeguard.
Corresponding with above-mentioned data receive method, the embodiment of the present invention also provides a kind of data sink.Refer to Fig. 4, the structural representation of a kind of data sink providing for the embodiment of the present invention, this data sink 40 can comprise: the second configuration module 401, the second determination module 402, the 3rd determination module 403 and data memory module 404.Wherein:
The second configuration module 401, for data allocations the second memory space for receiving in advance.
The second determination module 402, for when receiving the second data, determines the communication interface resource information that receives the second data, and using the communication interface resource information of determining as second communication interface resource information.
The 3rd determination module 403, for the second Data Identification corresponding to second communication interface resource information of determining that based on Data Identification and the corresponding relation of communication interface resource information the second determination module 402 is determined.
The corresponding relation of Data Identification and communication interface resource information is with the form maintenance of mapping table, and the 3rd determination module 403 comprises: second searches submodule and second determines submodule.Wherein:
Second searches submodule, for search the communication interface resource information identical with second communication interface resource information at mapping table.
Second determines submodule, and for definite second, searching Data Identification corresponding to that submodule finds, identical with second communication interface resource information communication interface resource information is second Data Identification corresponding with second communication interface resource information.
Data memory module 404, is stored to the second memory space of the second configuration module 401 configurations for the second Data Identification that the second data that receive and the 3rd determination module 403 are determined.
Wherein, the second memory space, as reception buffer zone, makes the application program that receives data from the second memory space as reception buffer zone, process or to show by reading out data.
The data sink that the embodiment of the present invention provides, the 3rd determination module can be determined the Data Identification corresponding with the communication interface resource information that receives data with the corresponding relation of communication interface resource information based on Data Identification, then by data memory module, the data of reception and the Data Identification of determining are stored in the second memory space of reception buffer zone, to receive the application program of data, can from the second memory space, process or show by reading out data.The data sink that the embodiment of the present invention provides makes, and communication interface resource information need not be solidificated in the application program that receives data, the application program that receives data only need be from the first memory space as reception buffer zone reading out data.When the interface definition of the service of connection devices changes, only need upgrade the corresponding relation of Data Identification and communication interface resource information, and need not more relocate the receiving the application program of data, realize simply, be easy to maintenance.
The embodiment of the present invention also provides a kind of communication equipment, refers to Fig. 5, the structural representation of a kind of communication equipment providing for the embodiment of the present invention, and this communication equipment 50 can comprise: the data sending device 30 that above-described embodiment provides and data sink 40.The concrete structure of data sending device 30 and data sink 40 refers to above-described embodiment, and therefore not to repeat here.
The communication equipment that the embodiment of the present invention provides can the corresponding relation based on Data Identification and communication interface resource be realized the sending and receiving of data, this makes communication interface resource information to be solidificated in the application program of transceiving data, when the interface definition of the service of connection devices changes, only need upgrade the corresponding relation of Data Identification and communication interface resource information, and need not change the application program of transceiving data, realize simply, be easy to safeguard.
In this specification, each embodiment adopts the mode of going forward one by one to describe, and each embodiment stresses is the difference with other embodiment, between each embodiment identical similar part mutually referring to.For the disclosed device of embodiment, because it corresponds to the method disclosed in Example, so description is fairly simple, relevant part partly illustrates referring to method.
Finally, also it should be noted that, in this article, relational terms such as the first and second grades is only used for an entity or operation to separate with another entity or operating space, and not necessarily requires or imply and between these entities or operation, have the relation of any this reality or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby the process, method, article or the equipment that make to comprise a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or be also included as the intrinsic key element of this process, method, article or equipment.The in the situation that of more restrictions not, the key element being limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
While for convenience of description, describing above device, with function, being divided into various unit describes respectively.Certainly, when implementing the application, the function of each unit can be realized in same or a plurality of software and/or hardware.As seen through the above description of the embodiments, those skilled in the art can be well understood to the mode that the application can add essential general hardware platform by software and realizes.Understanding based on such, the part that the application's technical scheme contributes to prior art in essence in other words can embody with the form of software product, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be personal computer, server, or the network equipment etc.) carry out the method described in some part of each embodiment of the application or embodiment.
Above-mentioned explanation to the disclosed embodiments, makes professional and technical personnel in the field can realize or use the present invention.To the multiple modification of these embodiment, will be apparent for those skilled in the art, General Principle as defined herein can, in the situation that not departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention will can not be restricted to these embodiment shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (10)

1. a data transmission method for uplink, it is characterized in that, set up in advance the corresponding relation of Data Identification and communication interface resource information, and be data configuration the first memory space to be sent, to send the application program of data, data to be sent and the Data Identification corresponding with described data to be sent are stored to described the first memory space, described communication interface resource information comprises plate card number and the channel number of communication interface, and described Data Identification is for the type of identification data, and described method comprises:
From described the first memory space, extract the first data and first Data Identification corresponding with described the first data;
Based on described Data Identification, determine the communication interface resource information corresponding with described the first Data Identification with the corresponding relation of communication interface resource information;
The communication interface resource identifying by communication interface resource information corresponding to described and described the first Data Identification sends described the first data.
2. method according to claim 1, is characterized in that, the corresponding relation of described Data Identification and communication interface resource information is safeguarded with the form of mapping table;
Based on described Data Identification, determine the communication interface resource information corresponding with described the first Data Identification with the corresponding relation of communication interface resource information, comprising:
In described mapping table, search the Data Identification identical with described the first Data Identification;
Determine that communication interface resource information corresponding to the Data Identification identical with described the first Data Identification finding is the communication interface resource information corresponding with described the first Data Identification.
3. method according to claim 1 and 2, is characterized in that, described Data Identification is numeral, letter or character string.
4. a data receive method, is characterized in that, is data allocations second memory space of reception in advance, and described method comprises:
When receiving the second data, determine the communication interface resource information that receives described the second data, and using the communication interface resource information of determining as second communication interface resource information;
Based on Data Identification, determine second Data Identification corresponding with described second communication interface resource information with the corresponding relation of communication interface resource information,
Described the second data that receive and described the second Data Identification of determining are stored in described the second memory space, to receive application program reading out data from described the second memory space of data, process or show.
5. method according to claim 4, is characterized in that, the corresponding relation of described Data Identification and communication interface resource information is safeguarded with the form of mapping table;
, based on Data Identification, determine second Data Identification corresponding with described second communication interface resource information with the corresponding relation of communication interface resource information, comprising:
In described mapping table, search the communication interface resource information identical with described second communication interface resource information;
Determine that Data Identification corresponding to the communication interface resource information identical with described second communication interface resource information finding is second Data Identification corresponding with described second communication interface resource information.
6. a data sending device, is characterized in that, comprising:
Corresponding relation building module, for setting up in advance the corresponding relation of Data Identification and communication interface resource information, described communication interface resource information comprises plate card number and the channel number of communication interface;
The first configuration module, be used to data configuration the first memory space to be sent, to send the application program of data, data to be sent and the Data Identification corresponding with described data to be sent are stored to described the first memory space, wherein, described Data Identification is for the type of identification data;
Data extraction module, for extracting the first data and first Data Identification corresponding with described the first data from described first memory space of described the first configuration module configuration;
The first determination module, determines communication interface resource information corresponding to described the first Data Identification of extracting with described data extraction module for described Data Identification and the corresponding relation of communication interface resource information set up based on described corresponding relation building module;
Data transmission blocks, the communication interface resource identifying for that determine by described the first determination module, corresponding with described the first Data Identification communication interface resource information sends described the first data that described data extraction module is extracted.
7. device according to claim 6, is characterized in that, the corresponding relation of described Data Identification and communication interface resource information is safeguarded with the form of mapping table;
Described the first determination module comprises:
First searches submodule, for search the Data Identification identical with described the first Data Identification at described mapping table;
First determines submodule, and for definite described first, searching the communication interface resource information that submodule finds, identical with described the first Data Identification Data Identification is corresponding is the communication interface resource information corresponding with described the first Data Identification.
8. a data sink, is characterized in that, comprising:
The second configuration module, for data allocations the second memory space for receiving in advance;
The second determination module, for when receiving the second data, determines the communication interface resource information that receives described the second data, and using the communication interface resource information of determining as second communication interface resource information;
The 3rd determination module, for determining the second Data Identification corresponding to described second communication interface resource information of determining with described the second determination module based on Data Identification and the corresponding relation of communication interface resource information;
Data memory module, for described the second Data Identification that described the second data that receive and described the 3rd determination module are determined, be stored to described the second memory space, to receive application program reading out data from described the second memory space of data, process or show.
9. device according to claim 8, is characterized in that, the corresponding relation of described Data Identification and communication interface resource information is safeguarded with the form of mapping table;
Described the 3rd determination module comprises:
Second searches submodule, for search the communication interface resource information identical with described second communication interface resource information at described mapping table;
Second determines submodule, and for definite described second, searching Data Identification corresponding to that submodule finds, identical with described second communication interface resource information communication interface resource information is second Data Identification corresponding with described second communication interface resource information.
10. a communication equipment, is characterized in that, comprising: the data sending device as described in claim 6 or 7, and, data sink as claimed in claim 8 or 9.
CN201310611593.0A 2013-11-26 2013-11-26 A kind of data receiving-transmitting method, device and communication equipment Active CN103595822B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310611593.0A CN103595822B (en) 2013-11-26 2013-11-26 A kind of data receiving-transmitting method, device and communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310611593.0A CN103595822B (en) 2013-11-26 2013-11-26 A kind of data receiving-transmitting method, device and communication equipment

Publications (2)

Publication Number Publication Date
CN103595822A true CN103595822A (en) 2014-02-19
CN103595822B CN103595822B (en) 2019-04-26

Family

ID=50085800

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310611593.0A Active CN103595822B (en) 2013-11-26 2013-11-26 A kind of data receiving-transmitting method, device and communication equipment

Country Status (1)

Country Link
CN (1) CN103595822B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018019009A1 (en) * 2016-07-25 2018-02-01 中兴通讯股份有限公司 Data processing method and system, peripheral component interconnect express device and host

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101424941A (en) * 2007-10-31 2009-05-06 北京北方微电子基地设备工艺研究中心有限责任公司 Control implementing method and system
US20100017497A1 (en) * 2008-07-15 2010-01-21 International Business Machines Corporation Network System with Initiator SubNetwork Communication to Target Subnetwork Communication Including Fibre Channel Over Ethernet to Fibre Channel Over Internet Protocol Conversion
CN102006223A (en) * 2010-11-17 2011-04-06 福建星网锐捷网络有限公司 Data transmission method, device and system between cards, board card and distributed system
CN102622444A (en) * 2012-03-15 2012-08-01 深圳市同洲视讯传媒有限公司 XML (extensible markup language) message processing method and XML message processing device
CN102714614A (en) * 2012-02-17 2012-10-03 华为技术有限公司 Method for transmitting data in passive optical network, user-side equipment, and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101424941A (en) * 2007-10-31 2009-05-06 北京北方微电子基地设备工艺研究中心有限责任公司 Control implementing method and system
US20100017497A1 (en) * 2008-07-15 2010-01-21 International Business Machines Corporation Network System with Initiator SubNetwork Communication to Target Subnetwork Communication Including Fibre Channel Over Ethernet to Fibre Channel Over Internet Protocol Conversion
CN102006223A (en) * 2010-11-17 2011-04-06 福建星网锐捷网络有限公司 Data transmission method, device and system between cards, board card and distributed system
CN102714614A (en) * 2012-02-17 2012-10-03 华为技术有限公司 Method for transmitting data in passive optical network, user-side equipment, and system
CN102622444A (en) * 2012-03-15 2012-08-01 深圳市同洲视讯传媒有限公司 XML (extensible markup language) message processing method and XML message processing device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018019009A1 (en) * 2016-07-25 2018-02-01 中兴通讯股份有限公司 Data processing method and system, peripheral component interconnect express device and host

Also Published As

Publication number Publication date
CN103595822B (en) 2019-04-26

Similar Documents

Publication Publication Date Title
CN105354314B (en) Data migration method and device
CN102694861B (en) A kind of terminal application software sorting technique, Apparatus and system based on cloud
CN108345512A (en) Data verification method, server and storage medium
CN103544074A (en) Method and device for verifying service
WO2008155721A3 (en) Signaling of ack/nack resources
CN104978258A (en) Software automation test method and system
CN105260404A (en) Time sequence data storage method and apparatus
CN103064757A (en) Method and system for backing up data
CN104301428B (en) A kind of method of data synchronization and server
CN104750872A (en) Method and device for searching service object
EP3131081A3 (en) Methods, systems, and computer readable media for managing aircraft radiofrequency communications
CN103377406A (en) System and method for managing test files
CN103491071A (en) Wireless communication system
CN102637211B (en) Method, device and system for updating terminal adapted database
CN105872635A (en) Video resource distribution method and device
CN102695278A (en) Method and device for allocating resource
CN103595822A (en) Method and device for receiving and sending data and communication device
CN103647661A (en) Topological view generating method and apparatus
CN103888550A (en) Plug-in deployment method, device and system based on server cluster system
CN105743952A (en) Business processing method, server and ERP client
CN107948226A (en) A kind of license management method and system
CN104023056B (en) The method and relevant device updated the data
CN109697166A (en) A kind of test data preparation method and relevant apparatus
CN103746870A (en) CDN delivery network analysis method, file delivery control center and system
CN104486720A (en) Positioning method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 4 / F, building 1, No.14 Jiuxianqiao Road, Chaoyang District, Beijing 100020

Patentee after: Beijing Jingwei Hengrun Technology Co.,Ltd.

Address before: 8 / F, block B, No. 11, Anxiang Beili, Chaoyang District, Beijing 100101

Patentee before: Beijing Jingwei HiRain Technologies Co.,Ltd.

CP03 Change of name, title or address
TR01 Transfer of patent right

Effective date of registration: 20231225

Address after: 7/F, Block D, Zhizhen Building, No. 7 Zhichun Road, Haidian District, Beijing, 100192

Patentee after: BEIJING RUNKE GENERAL TECHNOLOGY Co.,Ltd.

Address before: 4 / F, building 1, No.14 Jiuxianqiao Road, Chaoyang District, Beijing 100020

Patentee before: Beijing Jingwei Hengrun Technology Co.,Ltd.

TR01 Transfer of patent right