CN111800498A - Data transmission method and device - Google Patents

Data transmission method and device Download PDF

Info

Publication number
CN111800498A
CN111800498A CN202010621068.7A CN202010621068A CN111800498A CN 111800498 A CN111800498 A CN 111800498A CN 202010621068 A CN202010621068 A CN 202010621068A CN 111800498 A CN111800498 A CN 111800498A
Authority
CN
China
Prior art keywords
interactive terminal
data
information
network address
identification information
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.)
Pending
Application number
CN202010621068.7A
Other languages
Chinese (zh)
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202010621068.7A priority Critical patent/CN111800498A/en
Publication of CN111800498A publication Critical patent/CN111800498A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application discloses a data transmission method and device. The method comprises the following steps: acquiring a data packet sent by a first interactive terminal; the data packet comprises first data information which does not need to be analyzed and second data information which needs to be analyzed; acquiring identification information of a second interactive terminal based on the first data information; determining the network address of the second interactive terminal based on the identification information of the second interactive terminal and the pre-established corresponding relationship between the identification information of the terminal and the network address; and sending the second data information needing to be analyzed to the second interactive terminal based on the network address of the second interactive terminal. According to the data exchange center, when the device type of the second interactive terminal is obtained, the device type is directly obtained from the first data information, the data packet does not need to be analyzed by the data exchange center of the Internet of things, and then the data message does not need to be known, the data encryption mode and the key do not need to be obtained, so that the safety of data can be guaranteed, and data leakage is prevented.

Description

Data transmission method and device
Technical Field
The present application relates to the field of communications technologies, and in particular, to a data transmission method and apparatus.
Background
Cloud platforms have become an indispensable important link in Internet of Things (IOT) architecture, and current cloud solution providers provide Platform As A Service (PAAS) or software as a Service (SaaS) to help IOT enterprises realize device ecology, so as to complete information interaction between terminal devices in the same enterprise.
However, both PAAS and SAAS have potential safety hazards for ecological enterprises, such as SAAS platforms, ecological enterprises must follow the data message definition of platform solution providers, report the data of equipment, and are transparent to platform solution provider data; although an enterprise can define data messages by itself, the PAAS platform has the risks of code leakage, analysis of the data messages, data storage and the like because the code and the function are executed in the cloud, and therefore the problem of data leakage easily occurs when terminal equipment in the prior art performs information interaction through an Internet of things data exchange center.
Disclosure of Invention
An object of an embodiment of the present application is to provide a data transmission method and apparatus, where the embodiment of the present application adopts the following technical solutions: a method of data transmission, comprising:
acquiring a data packet sent by a first interactive terminal; the data packet comprises first data information which does not need to be analyzed and second data information which needs to be analyzed;
acquiring identification information of a second interactive terminal based on the first data information;
determining the network address of the second interactive terminal based on the identification information of the second interactive terminal and the pre-established corresponding relationship between the identification information of the terminal and the network address;
and sending the second data information needing to be analyzed to the second interactive terminal based on the network address of the second interactive terminal.
Optionally, in a case that the identification information of the second interactive terminal cannot be obtained from the first data information, the method further includes:
analyzing the second data information to obtain a network address of the second interactive terminal;
and sending the second data information to the second interactive terminal based on the network address of the second interactive terminal.
Optionally, the method further includes:
obtaining identity information of the first interactive terminal from the first data information;
determining identity information of the second interactive terminal based on the identification information of the second interactive terminal;
determining whether the identity information of the first interactive terminal and the identity information of the second interactive terminal meet a matching relationship;
and under the condition that the identity information of the first interactive terminal is determined to be matched with the identity information of the second interactive terminal, sending the second data information to the second interactive terminal based on the network address.
Optionally, the identification information includes a device type, and the determining the network address of the second interactive terminal based on the identification information of the second terminal and a pre-established correspondence between the identification information of the terminal and the network address specifically includes:
and searching a pre-established mapping table storing the corresponding relation between the equipment type and the network address based on the equipment type of the second interactive terminal so as to determine that the network address corresponding to the equipment type of the second terminal is the network address of the second interactive terminal.
Optionally, the identification information includes a device type, and determining the identity information of the second interactive terminal based on the identification information of the second interactive terminal specifically includes:
and searching a mapping table which is established in advance and stores the corresponding relation between the equipment type and the identity information based on the equipment type so as to determine that the identity information corresponding to the equipment type is the identity information of the second interactive terminal.
Optionally, the method further includes:
acquiring corresponding relation among identity information, equipment types and network addresses of the terminal;
and constructing the mapping table based on the corresponding relation.
Optionally, the method further includes:
establishing a communication relation between the first interactive terminal and the second interactive terminal;
and receiving the identity information, the equipment type and the network address reported by the first interactive terminal and the second interactive terminal to obtain the corresponding relationship.
In order to solve the above problem, the present application provides a data transmission method, including the following steps:
establishing a communication relation with an Internet of things data center;
and sending a data packet to the data center of the internet of things, so that second data information needing to be analyzed in the data packet is forwarded to a second interactive terminal based on the identification information in the first data information needing not to be analyzed in the data packet by the data center of the internet of things.
In order to solve the above problem, the present application provides a data transmission apparatus, including:
the first obtaining module is used for obtaining a data packet sent by the first interactive terminal; the data packet comprises first data information which does not need to be analyzed and second data information which needs to be analyzed;
a second obtaining module, configured to obtain identification information of a second interactive terminal based on the first data information;
a first determining module, configured to determine a network address of the second interactive terminal based on the identification information of the second interactive terminal and a correspondence between the identification information of the terminal and the network address that is established in advance;
and the sending module is used for sending the second data information to be analyzed to the second interactive terminal based on the network address of the second interactive terminal.
In order to solve the above problem, the present application provides a data transmission apparatus, including:
the establishing module is used for establishing a communication relation with the data center of the Internet of things;
the sending module is used for sending a data packet to the internet of things data center so as to forward second data information needing to be analyzed in the data packet to a second interactive terminal based on the identification information in the first data information needing not to be analyzed in the data packet by the internet of things data center.
According to the method and the device, in the process of forwarding the second data information sent by the first interactive terminal to the second interactive terminal, the network address of the second interactive terminal is obtained from the first data information without permission verification, and then the second data information is forwarded to the second interactive terminal without analyzing the second data information with permission, so that the safety of the second data information can be ensured, and data leakage is prevented.
Drawings
Fig. 1 is a flowchart of a data transmission method according to an embodiment of the present application;
FIG. 2 is a flow chart of a data transmission method according to another embodiment of the present application;
FIG. 3 is a flow chart of a data transmission method according to another embodiment of the present application;
FIG. 4 is a flowchart of a data transmission method according to another embodiment of the present application;
fig. 5 is a schematic diagram illustrating a communication relationship between an interaction device and an internet of things data exchange center according to another embodiment of the present application;
FIG. 6 is a diagram illustrating a format of a data packet according to another embodiment of the present application;
fig. 7 is a block diagram of a data transmission apparatus according to another embodiment of the present application;
fig. 8 is a block diagram of a data transmission device according to another embodiment of the present application.
Detailed Description
Various aspects and features of the present application are described herein with reference to the drawings.
It will be understood that various modifications may be made to the embodiments of the present application. Accordingly, the foregoing description should not be construed as limiting, but merely as exemplifications of embodiments. Those skilled in the art will envision other modifications within the scope and spirit of the application.
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the application and, together with a general description of the application given above and the detailed description of the embodiments given below, serve to explain the principles of the application.
These and other characteristics of the present application will become apparent from the following description of preferred forms of embodiment, given as non-limiting examples, with reference to the attached drawings.
It should also be understood that, although the present application has been described with reference to some specific examples, a person of skill in the art shall certainly be able to achieve many other equivalent forms of application, having the characteristics as set forth in the claims and hence all coming within the field of protection defined thereby.
The above and other aspects, features and advantages of the present application will become more apparent in view of the following detailed description when taken in conjunction with the accompanying drawings.
Specific embodiments of the present application are described hereinafter with reference to the accompanying drawings; however, it is to be understood that the disclosed embodiments are merely exemplary of the application, which can be embodied in various forms. Well-known and/or repeated functions and constructions are not described in detail to avoid obscuring the application of unnecessary or unnecessary detail. Therefore, specific structural and functional details disclosed herein are not to be interpreted as limiting, but merely as a basis for the claims and as a representative basis for teaching one skilled in the art to variously employ the present application in virtually any appropriately detailed structure.
The specification may use the phrases "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," which may each refer to one or more of the same or different embodiments in accordance with the application.
An embodiment of the present application provides a data transmission method, which is applied to a data switching center. In this embodiment, each interactive terminal is in communication connection with the data switching center, and forwards the data packet to the target interactive terminal through the data switching center. In a specific implementation process of the data transmission method of this embodiment, as shown in fig. 1, the method includes the following steps:
step S101, obtaining a data packet sent by a first interactive terminal; the data packet comprises first data information which does not need to be analyzed and second data information which needs to be analyzed;
in the implementation process of the step, at least first data information which does not need to be analyzed is included in the data packet, namely the first data information exists in a plaintext form and does not relate to sensitive and private information, so that the first data information can be acquired by a data exchange center without worrying about being leaked. In this step, the second data information exists in a non-plaintext form, that is, the second data information needs to be analyzed to obtain specific data content in the second data information, which may be information related to sensitivity and privacy that only needs to be obtained by the target interactive terminal, and only the target interactive terminal having an analysis mode can analyze the second data information.
Step S102, obtaining identification information of a second interactive terminal based on the first data information;
the identification information in this step is used for uniquely identifying the interactive terminal. The identification information in this step may be generated in advance based on the characteristic information of the interactive terminal itself, or may be allocated to the interactive terminal in advance based on a predetermined rule.
Step S103, determining the network address of the second interactive terminal based on the identification information of the second interactive terminal and the corresponding relation between the pre-established identification information of the terminal and the network address;
in this step, the correspondence between the identification information of the terminal and the network address is established in advance, and the specific data exchange center can obtain the identification information and the network address of each interactive terminal in advance, so as to establish the correspondence. In this embodiment, the network Address is specifically an IP Address (Internet Protocol Address).
Step S104, the second data information needing to be analyzed is sent to the second interactive terminal based on the network address of the second interactive terminal.
In this embodiment, after the network address of the second interactive terminal is obtained, the second data information may be sent to the second interactive terminal based on the network address, or the entire data packet may be sent to the second interactive terminal, so that the second interactive terminal analyzes the second data information to obtain the target data content.
In this embodiment, the identification information of the second interactive terminal is set in the first data information that does not need to be analyzed, so that after the data packet is obtained by the data exchange center of the internet of things, the identification information of the second interactive terminal can be directly obtained from the first data information in the data packet without analyzing the data packet, and then the corresponding IP address is found according to the identification information, and then the data packet is forwarded to the corresponding interactive terminal. Because the data exchange center of the internet of things does not need to analyze the data packet sent by the interactive terminal, the data exchange center of the internet of things does not need to know the data message, obtain a data encryption mode and a key, and store the data, so that the safety of the data can be ensured, and the data leakage can be prevented.
In a specific implementation process of this embodiment, if the identification information of the second interactive terminal cannot be obtained from the first data information, the second data information may also be analyzed to obtain a network address of the second interactive terminal; and sending the second data information to the second interactive terminal based on the network address of the second interactive terminal. In this embodiment, the IP address of the second interactive terminal is obtained by directly analyzing the second data information, which can ensure that the data packet is forwarded in time, so that the second interactive terminal can obtain the corresponding data information in time to complete data transmission. Or, in this embodiment, under the condition that the identification information of the second interactive terminal cannot be obtained from the first data information, a prompt message may be fed back to the first interactive terminal, so that the first interactive terminal retransmits the data packet containing the identification information of the second interactive terminal, thereby ensuring normal transmission of data.
Another embodiment of the present application provides a data transmission method, as shown in fig. 2, including the following steps:
step S201, obtaining a data packet sent by a first interactive terminal; the data packet comprises first data information which does not need to be analyzed and second data information which needs to be analyzed;
step S202, obtaining identification information of a second interactive terminal based on the first data information;
the identification information in this step may include one or more of the following: the device type of the interactive terminal, the identification code of the interactive terminal, the two-dimensional code and the like. The identification information in this step may be generated in advance based on the characteristic information of the interactive terminal itself, or may be allocated to the interactive terminal in advance based on a predetermined rule.
Step S203, obtaining the identity information of the first interactive terminal from the first data information;
in this step, the Identity information is used to uniquely identify the Identity of the interactive terminal, and may specifically be an Identity document (Identity identification number) of the interactive terminal. In a specific implementation process, the embodiment may allocate a corresponding enterprise ID to each enterprise in advance based on a preset rule, and then generate a device ID of the interactive terminal based on the enterprise ID to which each terminal device belongs and feature information of the interactive terminal itself, or allocate a corresponding device ID to each interactive device of each enterprise according to a preset matching relationship of device IDs under the same enterprise.
Step S204, determining the identity information of the second interactive terminal based on the identification information of the second interactive terminal;
in the specific implementation process in this step, after obtaining the identification information of the second interactive terminal, it may be specifically determined that the identity information corresponding to the identification information is the identity information of the second interactive terminal based on a correspondence relationship between the identification information of the terminal and the identity information that is established in advance.
Step S205, determining the network address of the second interactive terminal based on the identification information of the second interactive terminal and the pre-established corresponding relationship between the identification information of the terminal and the network address;
step S206, determining whether the identity information of the first interactive terminal and the identity information of the second interactive terminal meet a matching relationship;
in the specific implementation process of this step, after the IP address of the second interactive terminal, the identity information of the second interactive terminal, and the identity information of the first interactive terminal are obtained, it may be determined whether the first interactive terminal and the second interactive terminal have a preset matching relationship based on the identity information of the first interactive terminal and the identity information of the second interactive terminal, that is, whether the first interactive terminal and the second interactive terminal belong to terminals in the same enterprise, specifically, whether the first interactive terminal and the second interactive terminal belong to the same enterprise may be determined according to device IDs of the first interactive terminal and the second interactive terminal, and then it may be determined whether the first interactive terminal and.
Step S207, under the condition that it is determined that the identity information of the first interactive terminal matches the identity information of the second interactive terminal, sending the second data information to the second interactive terminal based on the network address.
In this step, when it is determined that the identity information of the first interactive terminal and the identity information of the second interactive terminal match, it is determined that the first interactive terminal and the second interactive terminal belong to the same enterprise and satisfy the data transmission condition, and then the second data information can be sent to the second interactive terminal based on the IP address of the second interactive terminal, and certainly, the whole data packet can also be sent to the second interactive terminal.
In this embodiment, before sending the second data information, it is determined whether the first interactive terminal and the second interactive terminal belong to the same enterprise, and data sending is performed under the condition that the first interactive terminal and the second interactive terminal belong to the same enterprise, so as to ensure the security of the data information.
Another embodiment of the present application provides a data transmission method, as shown in fig. 3, including the following steps:
step S301, acquiring the corresponding relation among the identity information, the equipment type and the network address of the terminal; and constructing a mapping table based on the corresponding relation.
In the specific implementation process of this step, a communication relationship between the first interactive terminal and the second interactive terminal may be established first, and then the identity information, the device type, and the network address reported by the first interactive terminal and the second interactive terminal are received to obtain the corresponding relationship; of course, the identity information, the identification code, and the network address reported by the first interactive terminal and the second interactive terminal may also be received to obtain the corresponding relationship, so as to construct the mapping table. Therefore, when the identification information is subsequently acquired from the first data information of the data packet, the identity information and the IP address of the second interactive terminal can be determined according to the identification code by acquiring the identification code.
Step S302, a data packet sent by a first interactive terminal is obtained; the data packet comprises first data information which does not need to be analyzed and second data information which needs to be analyzed;
step S303, obtaining the equipment type of the second interactive terminal based on the first data information;
step S304, obtaining the identity information of the first interactive terminal from the first data information;
step S305, searching a mapping table which is established in advance and stores the corresponding relation between the equipment type and the identity information based on the equipment type of the second interactive terminal so as to determine that the identity information corresponding to the equipment type of the second terminal is the identity information of the second interactive terminal;
step S306, searching a mapping table which is established in advance and stores the corresponding relation between the equipment type and the IP address based on the equipment type of the second interactive terminal so as to determine that the IP address corresponding to the equipment type of the second terminal is the IP address of the second interactive terminal;
step S307, determining whether the identity information of the first interactive terminal and the identity information of the second interactive terminal meet a matching relationship;
step S308, under the condition that the identity information of the first interactive terminal is determined to be matched with the identity information of the second interactive terminal, the second data information is sent to the second interactive terminal based on the IP address.
In the embodiment, the communication relationship with each interactive terminal is established in advance, and then the identity information, the network address and the identification information such as the equipment type, the identification code and the like reported by each interactive terminal are received, so that the corresponding relationship among the identity information, the identification information and the network address is obtained, and the mapping table is constructed, thereby laying a foundation for quickly searching the corresponding identity information and the corresponding network address according to the identification information in the following, being beneficial to quickly determining the network address and improving the data transmission efficiency.
In this embodiment, the corresponding relationship between the device type and the network address of each interactive terminal is stored in the data center (cloud platform) of the internet of things, so that when data transmission is required, the data center of the internet of things can search the network address of the second interactive terminal according to the device type of the second interactive terminal in the data packet sent by the first interactive terminal, and further forward the data packet to the second interactive terminal. The data exchange center of the internet of things directly acquires the device type of the second interactive terminal from the data packet, so that the data exchange center of the internet of things does not need to analyze the data packet, does not need to know a data message, does not need to acquire a data encryption mode and a key, and does not need to store data, thereby ensuring the safety of data and preventing data leakage.
The application further provides a data transmission method applied to the first interactive terminal. In this embodiment, the first interactive terminal is in communication connection with the data switching center to send the data packet to the data switching center, and then forward the data packet to the target interactive terminal through the data switching center. As shown in fig. 4, the data transmission method in this embodiment includes the following steps:
step S401, establishing a communication relation with an Internet of things data center;
in this step, as shown in fig. 5, in the case that the first interactive terminal belongs to the local network device, the internet of things data switching center may be accessed through the wide area network device, that is, through the gateway (gateway). The wan portion of the gateway may be LTE (Long Term Evolution), 5G (5th generation mobile networks), NB-IOT (Narrow Band Internet of Things), WIFI (wireless Internet access), or LAN (Local Area Network).
If the first interactive device is a wide area network device, the IOT data exchange center can be directly accessed; the data exchange center itself in this embodiment has a static IP, so the first interactive terminal can find and connect with the data exchange center in a short connection COAP (Constrained Application Protocol) and a long connection MQTT (Message queue Telemetry Transport Protocol).
Step S402, sending a data packet to the Internet of things data center, and forwarding second data information needing to be analyzed in the data packet to a second interactive terminal based on the identification information in the first data information needing not to be analyzed in the data packet by the Internet of things data center.
In this step, before the first interactive terminal sends the data packet, the method further includes: and generating a data packet to be transmitted in a predetermined mode or format, so that the data packet contains first data information which does not need to be analyzed and second data information which needs to be analyzed. The first data information in this embodiment is in the form of plaintext, which does not involve sensitive and private information, and therefore can be obtained by the data switching center without worrying about being leaked. The second data information exists in a non-plaintext form, that is, the second data information needs to be analyzed to obtain specific data content in the second data information, which may be information related to sensitivity and privacy and target data information to be obtained by a second interactive user, and only the target interactive user has a corresponding analysis mode and can analyze the second data information.
Specifically, the data packet to be forwarded may be generated according to a data packet format as shown in fig. 6: the data packet includes a header and payload1 (valid data 1), where the valid data 1 includes: vendor ID (Enterprise identity number), Device type (Device type), Device ID (Device identification number), payload2 (valid data), and CRC (Cyclic redundancy check). In this example, the first data information is composed of a vendor ID (enterprise identity identification number), a Device type (Device type), and a Device ID (Device identification number), where the Device ID is specifically an ID of the first interactive terminal, and the Device type is a Device type of the second interactive terminal. The second data information includes payload2 (valid data) and CRC (cyclic redundancy check). The vendor ID (enterprise identity number), Device type (Device type), and Device ID (Device identification number) may also be encapsulated in the second data information during the implementation.
In a specific implementation process of this embodiment, the identification information, the identity information, and the network address of the first interactive terminal may also be sent to the data exchange center in advance, so that the data exchange center constructs the mapping table according to the identification information, the identity information, and the network address. When the first interactive terminal generates a data packet to be sent subsequently, only the identification information of the second interactive user can be encapsulated in the first data information in a plaintext form, and the identity information of the first interactive user is encapsulated in the first data information in a plaintext form. Therefore, after the data exchange center obtains the data packet, the identification information of the second interactive user and the identity information of the first interactive user can be obtained without analysis, then the corresponding IP address and the identity information of the second interactive user are searched according to the identification information of the second interactive user, and under the condition that the identity information of the second interactive user is matched with the identity information of the first interactive user, the second data information is sent to the second interactive user based on the determined IP address.
Another embodiment of the present application provides a data transmission apparatus, which is applied to a data switching center, as shown in fig. 7, and includes:
the first obtaining module is used for obtaining a data packet sent by the first interactive terminal; the data packet comprises first data information which does not need to be analyzed and second data information which needs to be analyzed;
a second obtaining module, configured to obtain identification information of a second interactive terminal based on the first data information;
a first determining module, configured to determine a network address of the second interactive terminal based on the identification information of the second interactive terminal and a correspondence between the identification information of the terminal and the network address that is established in advance;
and the sending module is used for sending the second data information to be analyzed to the second interactive terminal based on the network address of the second interactive terminal.
In this embodiment, the identification information may be generated in advance based on the characteristic information of the interactive terminal itself, or may be pre-allocated to the interactive terminal based on a predetermined rule, where the identification information may include one or more of the following: the device type of the interactive terminal, the identification code of the interactive terminal and the two-dimensional code.
In this embodiment, in a specific implementation process, the data transmission apparatus further includes a third obtaining module, where in a case that the second obtaining module cannot obtain the identification information of the second interactive terminal from the first data information, the third obtaining module is configured to: analyzing the second data information to obtain a network address of the second interactive terminal; so that the sending module sends the second data information to the second interactive terminal based on the network address of the second interactive terminal. By arranging the third obtaining module, the identification information of the second interactive terminal can be obtained from the second data information under the condition that the identification information of the second interactive terminal cannot be obtained from the first data information, so that the normal sending of the second data information is ensured. Of course, the data transmission apparatus in this example may further include a feedback module, configured to feed back prompt information to the first interactive terminal under the condition that the identification information of the second interactive terminal cannot be obtained from the first data information, so that the first interactive terminal retransmits the data packet including the identification information of the second interactive terminal.
The data transmission device in this embodiment further includes a fourth obtaining module, a second determining module, and a third determining module, where the fourth obtaining module is configured to obtain the identity information of the first interactive terminal from the first data information; the second determining module is used for determining the identity information of the second interactive terminal based on the identification information of the second interactive terminal; a third determining module, configured to determine whether the identity information of the first interactive terminal and the identity information of the second interactive terminal satisfy a matching relationship; the sending module is further specifically configured to: and under the condition that the identity information of the first interactive terminal is determined to be matched with the identity information of the second interactive terminal, sending the second data information to the second interactive terminal based on the network address. In this embodiment, after the IP address of the second interactive terminal, the identity information of the second interactive terminal, and the identity information of the first interactive terminal are obtained, whether the first interactive terminal and the second interactive terminal have a preset matching relationship may be determined based on the identity information of the first interactive terminal and the identity information of the second interactive terminal, that is, whether the first interactive terminal and the second interactive terminal belong to terminals in the same enterprise may be determined, specifically, whether the first interactive terminal and the second interactive terminal belong to the same enterprise may be determined according to device IDs of the first interactive terminal and the second interactive terminal, and then, whether the first interactive terminal and the second interactive terminal satisfy the matching relationship may be determined, so that the second data information is sent to the second interactive terminal under.
In a specific implementation process of this embodiment, the first determining module is specifically configured to: and searching a pre-established mapping table storing the corresponding relation between the equipment type and the network address based on the equipment type of the second interactive terminal so as to determine that the network address corresponding to the equipment type of the second terminal is the network address of the second interactive terminal.
In a specific implementation process of this embodiment, the second determining module is configured to search, based on the device type, a mapping table that is pre-established and stores a correspondence between the device type and the identity information, so as to determine that the identity information corresponding to the device type is the identity information of the second interactive terminal.
In a specific implementation process of this embodiment, the data transmission device further includes an obtaining module, where the obtaining module is configured to: acquiring corresponding relation among identity information, equipment types and terminal network addresses of the terminal; and constructing the mapping table based on the corresponding relation.
In a specific implementation process, the embodiment further includes an establishing module, configured to establish a communication relationship between the first interactive terminal and the second interactive terminal; the obtaining module is specifically configured to: receiving identity information, equipment types and network addresses reported by the first interactive terminal and the second interactive terminal to obtain the corresponding relation; and constructing the mapping table based on the corresponding relation.
In this embodiment, the identification information of the second interactive terminal is set in the first data information that does not need to be analyzed, so that after the data packet is obtained by the data exchange center of the internet of things, the identification information of the second interactive terminal can be directly obtained from the first data information in the data packet without analyzing the data packet, and then the corresponding IP address is found according to the identification information, and then the data packet is forwarded to the corresponding interactive terminal. Because the data exchange center of the internet of things does not need to analyze the data packet sent by the interactive terminal, the data exchange center of the internet of things does not need to know the data message, obtain the data encryption mode and key and store the data, and therefore the safety of the data can be guaranteed and the data leakage can be prevented.
Another embodiment of the present application provides a data transmission apparatus, which is applied to a first interactive terminal, as shown in fig. 8, and includes:
the establishing module is used for establishing a communication relation with the data center of the Internet of things;
the sending module is used for sending a data packet to the internet of things data center so as to forward second data information needing to be analyzed in the data packet to a second interactive terminal based on the identification information in the first data information needing not to be analyzed in the data packet by the internet of things data center.
In a specific implementation process of this embodiment, the present embodiment further includes a generating module, where the generating module is configured to generate a data packet to be sent in a predetermined manner or format, so that the data packet includes first data information that does not need to be analyzed and second data information that needs to be analyzed. The first data information in this embodiment is in the form of plaintext, which does not involve sensitive and private information, and therefore can be obtained by the data switching center without worrying about being leaked. The second data information exists in a non-plaintext form, that is, the second data information needs to be analyzed to obtain specific data content in the second data information, which may be information related to sensitivity and privacy and target data information to be obtained by a second interactive user, and only the target interactive user has a corresponding analysis mode and can analyze the second data information.
In a specific implementation process of this embodiment, the sending module is further configured to send the identification information, the identity information, and the network address of the first interactive terminal to the data exchange center in advance, so that the data exchange center constructs the mapping table according to the identification information, the identity information, and the network address. When the first interactive terminal generates a data packet to be sent subsequently, only the identification information of the second interactive user can be encapsulated in the first data information in a plaintext form, and the identity information of the first interactive user is encapsulated in the first data information in a plaintext form. Therefore, after the data exchange center obtains the data packet, the identification information of the second interactive user and the identity information of the first interactive user can be obtained without analysis, then the corresponding IP address and the identity information of the second interactive user are searched according to the identification information of the second interactive user, and under the condition that the identity information of the second interactive user is matched with the identity information of the first interactive user, the second data information is sent to the second interactive user based on the determined IP address.
The above embodiments are only exemplary embodiments of the present application, and are not intended to limit the present application, and the protection scope of the present application is defined by the claims. Various modifications and equivalents may be made by those skilled in the art within the spirit and scope of the present application and such modifications and equivalents should also be considered to be within the scope of the present application.

Claims (10)

1. A method of data transmission, the method comprising:
acquiring a data packet sent by a first interactive terminal; the data packet comprises first data information which does not need to be analyzed and second data information which needs to be analyzed;
acquiring identification information of a second interactive terminal based on the first data information;
determining the network address of the second interactive terminal based on the identification information of the second interactive terminal and the pre-established corresponding relationship between the identification information of the terminal and the network address;
and sending the second data information needing to be analyzed to the second interactive terminal based on the network address of the second interactive terminal.
2. The method of claim 1, wherein in case that the identification information of the second interactive terminal cannot be obtained from the first data information, the method further comprises:
analyzing the second data information to obtain a network address of the second interactive terminal;
and sending the second data information to the second interactive terminal based on the network address of the second interactive terminal.
3. The method of claim 1 or 2, wherein the method further comprises:
obtaining identity information of the first interactive terminal from the first data information;
determining identity information of the second interactive terminal based on the identification information of the second interactive terminal;
determining whether the identity information of the first interactive terminal and the identity information of the second interactive terminal meet a matching relationship;
and under the condition that the identity information of the first interactive terminal is determined to be matched with the identity information of the second interactive terminal, sending the second data information to the second interactive terminal based on the network address.
4. The method according to claim 1, wherein the identification information includes a device type, and the determining the network address of the second interactive terminal based on the identification information of the second terminal and a correspondence between the identification information of the terminal and the network address that is established in advance specifically includes:
and searching a pre-established mapping table storing the corresponding relation between the equipment type and the network address based on the equipment type of the second interactive terminal so as to determine that the network address corresponding to the equipment type of the second terminal is the network address of the second interactive terminal.
5. The method according to claim 3, wherein the identification information includes a device type, and the determining the identity information of the second interactive terminal based on the identification information of the second interactive terminal specifically includes:
and searching a mapping table which is established in advance and stores the corresponding relation between the equipment type and the identity information based on the equipment type so as to determine that the identity information corresponding to the equipment type is the identity information of the second interactive terminal.
6. The method of claim 4 or 5, wherein the method further comprises:
acquiring corresponding relation among identity information, equipment types and network addresses of the terminal;
and constructing the mapping table based on the corresponding relation.
7. The method of claim 6, wherein the method further comprises:
establishing a communication relation between the first interactive terminal and the second interactive terminal;
and receiving the identity information, the equipment type and the network address reported by the first interactive terminal and the second interactive terminal to obtain the corresponding relationship.
8. A data transmission method, comprising the steps of:
establishing a communication relation with an Internet of things data center;
and sending a data packet to the data center of the internet of things, so that second data information needing to be analyzed in the data packet is forwarded to a second interactive terminal based on the identification information in the first data information needing not to be analyzed in the data packet by the data center of the internet of things.
9. A data transmission apparatus, comprising:
the first obtaining module is used for obtaining a data packet sent by the first interactive terminal; the data packet comprises first data information which does not need to be analyzed and second data information which needs to be analyzed;
a second obtaining module, configured to obtain identification information of a second interactive terminal based on the first data information;
a first determining module, configured to determine a network address of the second interactive terminal based on the identification information of the second interactive terminal and a correspondence between the identification information of the terminal and the network address that is established in advance;
and the sending module is used for sending the second data information to be analyzed to the second interactive terminal based on the network address of the second interactive terminal.
10. A data transmission apparatus, comprising:
the establishing module is used for establishing a communication relation with the data center of the Internet of things;
the sending module is used for sending a data packet to the internet of things data center so as to forward second data information needing to be analyzed in the data packet to a second interactive terminal based on the identification information in the first data information needing not to be analyzed in the data packet by the internet of things data center.
CN202010621068.7A 2020-06-30 2020-06-30 Data transmission method and device Pending CN111800498A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010621068.7A CN111800498A (en) 2020-06-30 2020-06-30 Data transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010621068.7A CN111800498A (en) 2020-06-30 2020-06-30 Data transmission method and device

Publications (1)

Publication Number Publication Date
CN111800498A true CN111800498A (en) 2020-10-20

Family

ID=72810967

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010621068.7A Pending CN111800498A (en) 2020-06-30 2020-06-30 Data transmission method and device

Country Status (1)

Country Link
CN (1) CN111800498A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113132194A (en) * 2021-04-21 2021-07-16 深圳Tcl新技术有限公司 Information transfer method, device, equipment, server and storage medium
CN114727376A (en) * 2022-05-25 2022-07-08 北京中成康富科技股份有限公司 Method for reducing power consumption of NB-IoT module

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101594353A (en) * 2009-04-15 2009-12-02 卡斯柯信号有限公司 The means of communication of general communication platform of dispatching command system
CN105471897A (en) * 2015-12-28 2016-04-06 上海庆科信息技术有限公司 Embedded device cloud service access method and system
CN105656850A (en) * 2014-11-13 2016-06-08 腾讯数码(深圳)有限公司 Data processing method, and related device and system
CN107846683A (en) * 2016-09-20 2018-03-27 深圳市盛路物联通讯技术有限公司 Upstream data control extension method and device of the Internet of Things access point based on type
US10282548B1 (en) * 2012-02-24 2019-05-07 Fireeye, Inc. Method for detecting malware within network content
CN110875902A (en) * 2018-08-31 2020-03-10 阿里巴巴集团控股有限公司 Communication method, device and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101594353A (en) * 2009-04-15 2009-12-02 卡斯柯信号有限公司 The means of communication of general communication platform of dispatching command system
US10282548B1 (en) * 2012-02-24 2019-05-07 Fireeye, Inc. Method for detecting malware within network content
CN105656850A (en) * 2014-11-13 2016-06-08 腾讯数码(深圳)有限公司 Data processing method, and related device and system
CN105471897A (en) * 2015-12-28 2016-04-06 上海庆科信息技术有限公司 Embedded device cloud service access method and system
CN107846683A (en) * 2016-09-20 2018-03-27 深圳市盛路物联通讯技术有限公司 Upstream data control extension method and device of the Internet of Things access point based on type
CN110875902A (en) * 2018-08-31 2020-03-10 阿里巴巴集团控股有限公司 Communication method, device and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113132194A (en) * 2021-04-21 2021-07-16 深圳Tcl新技术有限公司 Information transfer method, device, equipment, server and storage medium
CN114727376A (en) * 2022-05-25 2022-07-08 北京中成康富科技股份有限公司 Method for reducing power consumption of NB-IoT module
CN114727376B (en) * 2022-05-25 2022-08-16 北京中成康富科技股份有限公司 Method for reducing power consumption of NB-IoT module

Similar Documents

Publication Publication Date Title
CN110800331A (en) Network verification method, related equipment and system
CN103765847A (en) Apparatus and methods for media access control header compression
US10681546B2 (en) Processing method for sim card equipped terminal access to 3GPP network and apparatus
CN104967595A (en) Method and apparatus for registering devices on Internet of things platform
US10547649B2 (en) Device and method for virtual private network connection establishment
CN105119900B (en) Information secure transmission method, networking cut-in method and corresponding terminal
CN105519028A (en) Wireless system access control method and apparatus
CN108990062B (en) Intelligent security Wi-Fi management method and system
CN106790251B (en) User access method and user access system
US10484869B2 (en) Generic bootstrapping architecture protocol
CN111800498A (en) Data transmission method and device
WO2019149006A1 (en) Method and device for obtaining and providing access information of wireless access point, and medium
KR20040098212A (en) Apparatus and method for authorizing a gateway
CN104683994A (en) Wireless network configuration method and wireless network devices
WO2016070633A1 (en) Network log generation method and device
CN110392998A (en) A kind of data packet method of calibration and equipment
CN105120454B (en) Information transferring method, networking cut-in method and corresponding terminal
CN115334508A (en) Satellite short message communication method integrating authentication and encryption
US10455358B2 (en) Prose information transmission method, terminal, and communications device
CN109196895B (en) Message transmission method, device and system
CN114697945B (en) Method and device for generating discovery response message and method for processing discovery message
CN114301967B (en) Control method, device and equipment for narrowband Internet of things
CN107078941A (en) For at least one IP packet to be transferred to the method for IP address, the correlation technique for parsing host name, related process module, mobile device, hostname resolution server and computer program product
CN112019357B (en) Network configuration method, device, equipment and system
CN101330393B (en) Method, terminal and network for providing service customization and customization service

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20201020