CN111404663B - Bluetooth point-to-point based data transmission method and system - Google Patents

Bluetooth point-to-point based data transmission method and system Download PDF

Info

Publication number
CN111404663B
CN111404663B CN201910003770.4A CN201910003770A CN111404663B CN 111404663 B CN111404663 B CN 111404663B CN 201910003770 A CN201910003770 A CN 201910003770A CN 111404663 B CN111404663 B CN 111404663B
Authority
CN
China
Prior art keywords
equipment
session
transmission
bluetooth
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910003770.4A
Other languages
Chinese (zh)
Other versions
CN111404663A (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.)
Fujian Tianquan Educational Technology Ltd
Original Assignee
Fujian Tianquan Educational Technology 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 Fujian Tianquan Educational Technology Ltd filed Critical Fujian Tianquan Educational Technology Ltd
Priority to CN201910003770.4A priority Critical patent/CN111404663B/en
Publication of CN111404663A publication Critical patent/CN111404663A/en
Application granted granted Critical
Publication of CN111404663B publication Critical patent/CN111404663B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/06Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
    • H04L9/0643Hash functions, e.g. MD5, SHA, HMAC or f9 MAC
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • H04W28/065Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information using assembly or disassembly of packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Abstract

The invention provides a point-to-point data transmission method and a system thereof based on Bluetooth, wherein the method comprises the following steps: the device A creates a corresponding Session ID Session A according to the information A; splitting the information A into more than two data packets; generating hash value index corresponding to each data packet according to the splitting sequence, and respectively forming a transmission packet body with the hash value Token A; sending each transmission inclusion to other devices in the network; the device B receives a first transmission packet; creating a Session object SA, and storing a value of the Session object SA into a hash table by taking a Session ID Session A in a first transmission inclusion as a key; and when the equipment B receives the transmission inclusion containing the Session ID Session A again, storing the inclusion to be transmitted into the Session object SA according to the hash table. The invention realizes the decoupling of data and equipment, and the equipment in the network can acquire required data from any equipment, thereby realizing the decentralization in real sense.

Description

Bluetooth point-to-point based data transmission method and system
Technical Field
The invention relates to the field of Bluetooth data transmission, in particular to a point-to-point data transmission method and a point-to-point data transmission system based on Bluetooth.
Background
Nowadays, the use of bluetooth technology is becoming more and more widespread. The method is generally applied to scenes such as shopping malls, payment, indoor positioning, virtual reality, augmented reality, mixed reality, equipment control and the like. The most bluetooth equipment that has been equipped with in foreign market can get into indoor location to the buyer, when the buyer got into the market, can receive the activity information of some market under the unconscious circumstances usually. When passing through a certain shop, a buyer can directly purchase and pay commodities by checking advertisements and sales promotion information pushed by the shop. The consumption scenes are visible anywhere in foreign countries, and in China, a mobile phone network (mobile network), wi-Fi and near field communication are used as a consumption behavior mode. Taking the mobile phone interaction Wi-Fi operation as an example, a buyer firstly starts the Wi-Fi or moves a 4G network, and then carries out verification-free login after starting the Wi-Fi, and then activates the Wi-Fi authentication operation in a mobile phone short message mode, and then can check the activity information of a shopping mall. This approach requires three steps for a buyer to enter the store, and only one step can be used for the bluetooth solution. Therefore, the existing method for acquiring the electronic activity information in the market has the problem of inconvenient operation.
Further, if a problem occurs in a router of a shopping mall, a shopping mall server on the internet, or a host in the entire internet area, in the above case, the distribution of the shopping mall preference information is completely impossible, or even impossible to perform online payment, and needs to be manually guided. This scenario merely illustrates a possible problem with conventional purchasing approaches. If the buyer has a consumption habit of using third party to pay, the buyer can hardly guarantee to pay and buy the commodity in the shopping mall quickly, not to mention the existing situation of unmanned selling machine purchase in the shopping mall.
In a decentralized environment, after a host device, such as a server, enters information related to a market event by a professional, the bluetooth devices in the market can all receive the event information, and all the bluetooth devices store data in the devices. When some bluetooth device or even a host fails, the buyer can still obtain the activity information of the shopping mall from other devices without a network. This decentralized device capability has been used in shopping malls and governments as well as in poor mountainous areas to completely address many of the similar scenarios described above.
Generally, both networking and transmission modes of a mobile terminal adopt traditional Wi-Fi networking and mobile network networking to realize communication between devices. Bluetooth itself has a special discovery capability that is not available with other network features and hardware capabilities: bluetooth has own SDP discovery capability and device searching capability, and can organize the searched devices under a network and send data to be sent to the searched devices through a group of broadcasts.
Under decentralized, bluetooth can get data without going through a mobile network or Wi-Fi, nor through accessing a server. It is based on decentralized thought and technology implementation. A plurality of Bluetooth devices form a network, and data is freely transmitted in the network transmission process. However, the existing bluetooth networking communication may generate a problem that some messages may not correspond to addresses of some devices, because some bluetooth devices may be interrupted due to some environmental factors or self factors during transmission, and then the bluetooth devices will generate new addresses after being re-joined in networking, thereby causing that a data source cannot be traced and a real data source cannot be obtained. To address this problem, the prior art can maintain the group of data via the networked bluetooth device. Thus, even if the device is lost, the group of data sources can be obtained from other Bluetooth devices.
That is, the shopping mall activity related messages are distributed to other bluetooth devices through the bluetooth device, and are processed through multiple sets of hash values, and the hash value received by each device cannot be known from the message due to the limitation of the message (limitation of 20bit of bluetooth transmission), so that the device cannot know which data group the hash value of the device should correspond to, and finally, the message is not equivalent.
To solve the above problem, if the user behavior processing method in the shopping mall is used, each bluetooth device can be installed in the shopping mall and isolated from other devices in the shopping mall. This approach, however, is problematic in that it will not work after the equipment in the store has failed. It is only technically feasible to start with, and it is a common technical practice to put the received messages into a message queue, then group and sort the messages by using the sender as data, and after the group of messages is received, process the next group of data according to the sort. The method causes the problem of time delay, and the problem of untimely response of the time messages transmitted among the multiple devices occurs. Another method is a common C-S mode, which creates a session layer for the connected devices by emulating HTTP request, and when the device receives a message, the message is forwarded to the session layer for processing. This approach, although formally feasible, is not associated with the device itself for each generated hash value in data transmission under the point-to-point hash routing scheme.
In the prior art, in order to solve the problem of message inconsistency, the following solutions are provided:
1) Device session layer scheme: management is performed by marking connected device objects or establishing a session layer. When the message body arrives, it is specified in terms of the device object into which session layer the message is to be placed. However, the scheme binds the information of the opposite device, and once the opposite device receives the information, the data source can not identify the source when the multi-device return data is received.
2) Metadata session scheme: the serial number of each message is prefabricated in the message body, but the serial number is too long, so that the scheme of the device of the Bluetooth cannot be realized.
Therefore, it is urgently needed to provide a bluetooth point-to-point data transmission method and a bluetooth point-to-point data transmission system based on a decentralized concept and without the phenomenon of data message transmission among devices being unequal.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: a point-to-point data transmission method based on Bluetooth and a system thereof can realize the storage capability and the data sharing capability among devices and solve the problems that the reconnection of the devices after network disconnection is easy to cause message misalignment.
In order to solve the technical problems, the technical scheme adopted by the invention is as follows:
a data transmission method based on Bluetooth point-to-point comprises the following steps:
receiving input information A by equipment A in the Bluetooth ad hoc network;
the equipment A generates a corresponding hash value Token A according to the information A;
the device A creates a corresponding Session ID Session A according to the information A;
the device A splits the information A into more than two data packets according to the Bluetooth transmission throughput;
the equipment A generates a hash value index corresponding to each data packet according to the splitting sequence;
respectively combining the hash value index of each data packet with the hash value Token A and the Session ID Session A to form a transmission packet body, and acquiring a transmission packet body set corresponding to the number of the data packets;
the device A sends each transmission inclusion in the transmission inclusion set to other devices in the Bluetooth ad hoc network;
the device B receives a first transmission packet sent by the device A;
the device B creates a Session object SA, and stores the Session object SA as a value into a hash table by taking the Session ID Session A in the first transmission packet as a key; meanwhile, storing the first transmission packet body to the session object SA;
and when the equipment B receives the transmission inclusion containing the Session ID Session A again, storing the to-be-transmitted inclusion into the Session object SA according to the hash table.
The invention provides another technical scheme as follows:
a data transmission system based on Bluetooth point-to-point comprises at least two devices connected by Bluetooth; the at least two devices include device A and device B;
the apparatus A includes:
the first receiving module is used for receiving input information A;
the first generation module is used for generating a corresponding hash value Token A by the equipment A according to the information A;
a creating module, configured to create, by the device a, a corresponding Session ID Session a according to the information a;
the splitting module is used for splitting the information A into more than two data packets by the equipment A according to the Bluetooth transmission throughput;
a second generating module, configured to generate, by the device a, hash value indices corresponding to the data packets according to the splitting order;
the package module is used for respectively combining the hash value index of each data package with the hash value Token A and the Session ID Session A to form a transmission package body and acquiring a transmission package body set corresponding to the number of the data packages;
a sending module, configured to send, by the device a, each transmission inclusion in the transmission inclusion set to another device in the bluetooth ad hoc network;
the apparatus B includes:
the second receiving module is used for receiving the first transmission inclusion sent by the equipment A by the equipment B;
a processing module, configured to create a Session object SA by the device B, and store the Session object SA as a value into a hash table by using the Session ID Session a in the first transmission packet as a key; meanwhile, storing the first transmission packet body to the session object SA;
and the first storage module is used for storing the to-be-transmitted inclusion into the Session object SA according to the hash table when the device B receives the transmission inclusion containing the Session ID Session A again.
The invention has the beneficial effects that: the corresponding session ID is established corresponding to each original data (before unpacking), and the session ID and the hash value index of each data packet corresponding to the unpacking sequence form a transmission packet body for transmission, so that a receiver can uniformly store the same group of transmission packet bodies directly according to the session ID, and obtain the corresponding data packet from a sender according to the hash value index corresponding to each data packet, thereby realizing data transmission. Because the invention decouples the data and the equipment, the data in the networking no longer has direct contact with certain equipment. Therefore, even if a certain device is disconnected from the networking, other devices can perform full-network search in the networking based on the numbers (namely, the hash value indexes) of all the data packets corresponding to the data packets, and acquire corresponding data from other devices without being limited by the devices. The invention is based on the scheme of distributed synchronization, realizes the decentralization in real sense, does not need to consider the problem of disconnection and reconnection of the equipment, and can solve the problem of unequal data transmission among the equipment.
Drawings
Fig. 1 is a flowchart illustrating a method for point-to-point data transmission based on bluetooth according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating a bluetooth peer-to-peer based data transmission system according to an embodiment of the present invention;
fig. 3 is a schematic diagram illustrating a bluetooth peer-to-peer based data transmission system according to a fifth embodiment of the present invention.
Description of the reference symbols:
a1, a first receiving module; a2, a first generation module; a3, a creating module;
a4, a second generation module; a5, a packaging module; a6, a sending module;
a7, a first thread creating module; a8, a first writing module; a9, a second writing module;
a10, splitting the module;
a81, a broadcasting unit; a82, a first scanning unit; a83, a first adding unit;
a84, a first establishing unit; a85, a first adding unit;
b1, a second receiving module; b2, a processing module; b3, a first storage module;
b4, an acquisition module; b5, a second storage module; b6, disconnecting and reconnecting the module;
b7, a second thread creating module; b8, a third write-in module;
b81, a second scanning unit; b82, a second adding unit;
b83, a second establishing unit; b84, a second adding unit.
Detailed Description
In order to explain technical contents, achieved objects, and effects of the present invention in detail, the following description is made with reference to the accompanying drawings in combination with the embodiments.
The most key concept of the invention is as follows: and creating a corresponding session ID corresponding to each original data (before unpacking), and forming a transmission inclusion body by the session ID and the hash value index of each data packet corresponding to the unpacking sequence for transmission, wherein a receiver directly stores the same group of transmission inclusion bodies uniformly according to the session ID, so that the decoupling of data and equipment is realized, and the equipment in the network can obtain required data from any equipment, thereby realizing the real decentralization.
The technical terms related to the invention are explained as follows:
Figure BDA0001934644570000061
Figure BDA0001934644570000071
referring to fig. 1, the present invention provides a bluetooth peer-to-peer based data transmission method, which includes:
receiving input information A by equipment A in the Bluetooth ad hoc network;
the equipment A generates a corresponding hash value Token A according to the information A;
the device A creates a corresponding Session ID Session A according to the information A;
the device A splits the information A into more than two data packets according to the Bluetooth transmission throughput;
the equipment A generates hash value indexes corresponding to the data packets according to the splitting sequence;
respectively combining the hash value index of each data packet with the hash value Token A and the Session ID Session A to form a transmission packet body, and acquiring a transmission packet body set corresponding to the number of the data packets;
the device A sends each transmission inclusion in the transmission inclusion set to other devices in the Bluetooth ad hoc network;
the device B receives a first transmission inclusion sent by the device A;
the device B creates a Session object SA, and stores the Session object SA as a value into a hash table by taking the Session ID Session A in the first transmission inclusion as a key; meanwhile, storing the first transmission packet body to the session object SA;
and when the equipment B receives the transmission inclusion containing the Session ID Session A again, storing the to-be-transmitted inclusion into the Session object SA according to the hash table.
From the above description, the beneficial effects of the present invention are: the invention gives full play to the Bluetooth capability, realizes that the data is transmitted to the devices in the networking through discovery between the devices, and realizes the previous storage capability and data sharing capability of the devices.
Further, the method also comprises the following steps:
the device B acquires a corresponding data packet from the device A according to the received hash value index in the transmission bag body;
and the equipment B acquires the information A according to all the received data packets and stores the information A to the local.
As can be seen from the above description, the device can directly obtain the corresponding data packet from the sender according to the hash value index in each received transmission packet body, thereby implementing a data synchronization mode decoupled from the sender.
Further, the method also comprises the following steps:
and the equipment B with the disconnected reconnection requests the equipment A to continue unfinished transmission according to the hash value index in the transmission packet body received last time before the disconnection.
As can be seen from the above description, because each hash value index corresponds to the splitting order of its transmission packet body, even if device B is disconnected and reconnected, all the data packets corresponding to the hash value index can be accurately and efficiently acquired to device a according to the last received hash value index, and are not affected by the address of device B, so that the situation of message inequality does not occur.
Further, the method also comprises the following steps:
respectively creating a GATT CLIENT thread, a GATT SERVER thread and a routing table by the equipment A and the equipment B;
the method comprises the steps that equipment A writes an equipment object of equipment B connected with a GATT CLIENT thread into a routing table, wherein the equipment object comprises a service address of the GATT SERVER thread;
the device B writes the device object of the device A connected with the GATT CLIENT thread into the routing table;
and the device A writes the transmission inclusion into the device B according to the service address of the GATT SERVER thread of the device object of the device B in the routing table.
As can be seen from the above description, the present invention can also distribute data to other devices by using the message route of each device based on the routing principle of the repeater, thereby implementing data intercommunication between devices without being limited by the number of devices.
Further, the device a writes the device object of the device B connected to its GATT CLIENT thread into the routing table; the device B writes the device object of the device a connected to the GATT CLIENT thread into the routing table, specifically:
the method comprises the following steps that equipment A and equipment B respectively start respective GATT SERVER threads and broadcast a preset UUID;
after starting the GATT CLIENT thread, the equipment B automatically scans the equipment A consistent with the UUID preset by the equipment B;
the device B adds the IP address of the device A to a list of own equal network nodes;
after starting the GATT CLIENT thread, the equipment A automatically scans the equipment B consistent with the UUID preset by the equipment A;
the device A adds the IP address of the device B to a list of the peer-to-peer network nodes of the device A;
traversing the self list by the GATT CLIENT thread of the equipment B, and establishing Bluetooth communication connection with the equipment A according to the IP address of the Bluetooth equipment in the list;
the device B adds the device object of the device A which is successfully connected with the device B into the routing table of the device B;
the GATT CLIENT thread of the device A traverses the self list and establishes Bluetooth communication connection with the device B according to the IP address of the Bluetooth device in the list;
device a adds the device object of device B to which it successfully connects to its own routing table.
As can be seen from the above description, in one embodiment, the specified device can be quickly and accurately scanned and obtained according to the preset UUID; and creating a routing table according to the IP address of the equipment so as to realize the distribution of data to the specified equipment based on the routing table, namely ensuring that the specified terminal can be found between the equipment.
The invention provides another technical scheme as follows:
a data transmission system based on Bluetooth point-to-point comprises at least two devices connected by Bluetooth; the at least two devices include device A and device B;
the apparatus A includes:
the first receiving module is used for receiving input information A;
the first generation module is used for generating a corresponding hash value Token A by the equipment A according to the information A;
a creating module, configured to create, by the device a, a corresponding Session ID Session a according to the information a;
the splitting module is used for splitting the information A into more than two data packets by the equipment A according to the Bluetooth transmission throughput;
a second generating module, configured to generate, by the device a, hash value indices corresponding to the data packets according to the splitting order;
the group package module is used for respectively forming a transmission package body by the hash value index of each data package and the hash value Token A and the Session ID Session A, and acquiring a transmission package body set corresponding to the number of the data packages;
a sending module, configured to send, by device a, each transmission packet in the transmission packet set to another device in the bluetooth ad hoc network;
the apparatus B includes:
the second receiving module is used for receiving the first transmission packet sent by the equipment A by the equipment B;
a processing module, configured to create a Session object SA by the device B, and store the Session object SA as a value in a hash table by using the Session ID Session a in the first transmission enclosure as a key; meanwhile, storing the first transmission packet body to the session object SA;
and the first storage module is used for storing the to-be-transmitted inclusion into the Session object SA according to the hash table when the device B receives the transmission inclusion containing the Session ID Session A again.
As can be seen from the above description, the beneficial effects of the present invention are: the system corresponding to the Bluetooth point-to-point based data transmission method provided by the invention can realize that a corresponding session ID is established corresponding to each original data (before unpacking), and the session ID and the hash value index of each data packet corresponding to the unpacking sequence form a transmission packet body for transmission, a receiver can uniformly store the same group of transmission packet bodies directly according to the session ID, and the corresponding data packet is obtained from the sender according to the hash value index corresponding to each data packet, thereby realizing data transmission. Because the invention decouples the data from the devices, the data in the network no longer has direct contact with a certain device. Therefore, even if a certain device is disconnected from the networking, other devices can perform full-network search in the networking based on the numbers (namely, the hash value indexes) of all the data packets corresponding to the data packets, and acquire corresponding data from other devices without being limited by the devices. The invention is based on the scheme of distributed synchronization, realizes the decentralization in real sense, does not need to consider the problem of disconnection and reconnection of the equipment, and can solve the problem of unequal data transmission among the equipment.
Further, the apparatus B further includes:
an obtaining module, configured to obtain, by the device B, a corresponding data packet from the device a according to the received hash value index in the transmission packet body;
and the second storage module is used for the equipment B to acquire the information A according to all the received data packets and store the information A to the local.
Further, the apparatus B further includes:
and the disconnection reconnection module is used for requesting the equipment A to continue unfinished transmission by the disconnection reconnection equipment B according to the hash value index in the transmission packet body received last time before the disconnection.
Further, the apparatus a further comprises:
the first thread creating module is used for creating a GATT CLIENT thread, a GATT SERVER thread and a routing table by the equipment A;
a first writing module, configured to write, by a device a, a device object of a device B connected to a GATT CLIENT thread of the device a into a routing table, where the device object includes a service address of a GATT SERVER thread;
a second writing module, configured to write the transmission packet into the device B by the device a according to the service address of the GATT SERVER thread of the device object of the device B in the routing table of the device a;
the apparatus B further comprises:
the second thread creating module is used for creating a GATT CLIENT thread, a GATT SERVER thread and a routing table by the equipment B;
and a third writing module, configured to write, by the device B, the device object of the device a connected to the GATT CLIENT thread in the routing table.
Further, the first writing module includes:
the device A comprises a broadcasting unit, a receiving unit and a processing unit, wherein the broadcasting unit is used for starting a GATT SERVER thread by the device A and broadcasting a preset UUID;
the first scanning unit is used for automatically scanning the equipment B consistent with the self-preset UUID after the equipment A starts the GATT CLIENT thread;
a first adding unit, configured to add, by the device a, the IP address of the device B to a list of peer network nodes of the device a;
the first establishing unit is used for the GATT CLIENT thread of the device A to traverse the own list and establishing Bluetooth communication connection with the device B according to the IP address of the Bluetooth device in the list;
a first adding unit, configured to add, by a device a, a device object of a device B that is successfully connected to the device a into a routing table of the device a;
the third write module, comprising:
the second scanning unit is used for automatically scanning the equipment A consistent with the self-preset UUID after the equipment B starts the GATT CLIENT thread;
a second adding unit, configured to add, by the device B, the IP address of the device a to a list of peer network nodes of the device B;
the second establishing unit is used for the GATT CLIENT thread of the device B to traverse the own list and establishing the Bluetooth communication connection with the device A according to the IP address of the Bluetooth device in the list;
and the second adding unit is used for adding the equipment object of the equipment A which is successfully connected with the equipment B into the routing table of the equipment B.
Example one
Referring to fig. 1, the present embodiment provides a point-to-point data transmission method based on bluetooth.
In the following, taking an example that one device in the bluetooth ad hoc network, for example, the device a synchronizes information to other devices in the network, the method includes:
s1: receiving input information A by equipment A in the Bluetooth ad hoc network;
specifically, the information a may be any content, such as text, pictures, animation, etc., which is input into the device a by the user in any form to be synchronized into the bluetooth ad hoc network.
S2: the equipment A generates a corresponding hash value Token A according to the information A;
specifically, the device a will generate a hash value Token a, preferably 10 bytes, meeting the requirement of bluetooth transmission data volume (the limit of bluetooth single transmission of 20 bits) according to the received information a. The hash value Token a is used to point to the information a, and is specifically used by other devices to verify the integrity of the received information accordingly. For example, a hash value Token X is generated for the received information according to the same algorithm, and is compared with the hash value Token a to determine whether synchronization of all data packets of the information a has been completed.
S3: the device A creates a corresponding Session ID Session A according to the information A;
namely, the device a creates a session ID corresponding to the information a before splitting, and the session ID is used for identifying the complete information a to be transmitted, and specifically used for uniformly storing all data packets in the same group. Preferably each Session ID Session X is 4 bytes.
S4: the device A splits the information A into more than two data packets according to the Bluetooth transmission throughput;
specifically, assuming that the device a is to transmit a picture to the device B, the device a splits the picture into a plurality of data packets (data fragments) each having 20 bytes according to the bluetooth transmission throughput of 20 bytes.
S5: the equipment A generates a hash value index corresponding to each data packet according to the splitting sequence;
in a specific embodiment, the device a numbers each data packet obtained by splitting according to the splitting order in the step S4; and then generates a hash value index corresponding to the number of each data packet.
The serial numbers of all data packets obtained by sequentially splitting the equipment A are assumed to be A1, A2 and A3 \8230; the hash value index A1, the hash value index A2 and the hash value index A3 \8230arerespectively and correspondingly generated.
The hash value index corresponding to each data packet not only identifies the corresponding data packet itself, but also identifies the arrangement position of the data packet in all data packets. When other devices synchronize data packets, the corresponding data packet can be obtained according to the corresponding hash value index, and one or the next data packet can be obtained according to the corresponding hash value index, so that all data packets can be obtained orderly without being limited by the devices (such as disconnection, reconnection and the like).
In another specific embodiment, association between the permutation position corresponding to each data packet and the hash value index thereof may also be implemented by creating a doubly linked list. Specifically, the method comprises the following steps:
1. the device A creates a first bidirectional linked list corresponding to the information A;
2. the equipment A stores the hash value index corresponding to each data packet into each node of the first bidirectional linked list; specifically, the sequence of one hash value index corresponding to one node is stored from the first node. Preferably, the sequence of the acquired data packets is divided correspondingly and stored into the nodes of the first bidirectional linked list in order. Assuming that the data packet A1, the data packet A2 and the data packet A3 are obtained by splitting in sequence, the index A1 corresponding to the data packet A1 is stored in a first node of the first bidirectional linked list, and the hash value index A2 corresponding to the data packet A2 is stored in a second node, so as to perform column pushing.
3. And establishing an incidence relation between the first bi-directional linked list and all the hash value indexes contained in the first bi-directional linked list, and an incidence relation between each hash value index in the first bi-directional linked list and the node number corresponding to the hash value index.
The step can ensure that the subsequent device A can be quickly positioned to the storage position of the hash value index when receiving the hash value index which is sent by the device B and used for requesting to acquire the data packet, namely the first bidirectional linked list.
S6: respectively combining the hash value index of each data packet with the hash value Token A and the Session ID Session A to form a transmission packet body, and acquiring a transmission packet body set corresponding to the number of the data packets;
specifically, taking the data packet A1 as an example, combining the hash value index A1 corresponding to the data packet, the hash value Token a corresponding to the information a, and the Session ID Session a into a transmission packet body A1'; the other packets are similar. Each transmission inclusion contains a hash value Token A corresponding to the information A, and aims at positioning the information A and verifying the integrity; because each transmission inclusion obtained by splitting the corresponding information A contains the same Session ID Session A, the Session ID Session A can be used for classifying the transmission inclusions and unifying the transmission inclusions in the same group.
S7: the device A sends each transmission inclusion in the transmission inclusion set to other devices in the Bluetooth ad hoc network;
corresponding to the first specific implementation manner of the step S5, the step may be sent to other devices in the ad hoc network according to the number sequence of the transmission packet for synchronization;
corresponding to the second embodiment, the device a sequentially sends the hash value index corresponding to each node of the first bidirectional linked list to other devices for synchronization.
In the following, a synchronization procedure between one of the devices (assumed to be device B) and device a in the ad hoc network is expanded to be described:
s8: the device B receives a first transmission inclusion sent by the device A;
assume that the number of the first transmission packet is A1, which corresponds to the hash value index A1.
S9: the device B creates a Session object SA, and stores the Session object SA as a value into a hash table by taking the Session ID Session A in the first transmission packet as a key; meanwhile, storing the first transmission packet body to the session object SA;
specifically, the device B extracts a Session ID Session a from the received first transmission packet; then, creating a session object SA, and storing a first transmission inclusion into the session object SA; and then the Session ID Session A is used as a key, and the Session object SA is used as a value to be stored in the hash table.
Corresponding to the second specific implementation manner of step S5, the device B further creates a second bidirectional linked list to store the received hash values index; the storage method is the same as that of the first doubly linked list, and the description is not repeated here. The establishment of the second doubly linked list can help other devices to acquire complete information A from the device B.
A specific implementation manner corresponding to this step further includes a process that the device B obtains the corresponding data packet according to the hash value index:
s91: and the equipment B acquires the corresponding data packet from the equipment A according to the received hash value index in the transmission packet body.
S10: and when the equipment B receives the other transmission inclusion containing the Session ID Session A again, storing the other transmission inclusion to be transmitted into the Session object SA according to the hash table.
After this step, the specific implementation corresponding to step S91 further includes:
s11: after the device B completes synchronization of all data packets, the method further includes calculating corresponding hash values Token B according to all received data packets, then comparing the calculated hash values Token B with hash values Token a contained in the transmission packet body, and if the calculated hash values Token B are consistent with the hash values Token a contained in the transmission packet body, then proving that the obtained information a' is the information a to be synchronized by the device a.
The processing mechanism of the slave device a for synchronizing the information a by other devices in the ad hoc network is the same as the processing mechanism of the device B, and will not be repeated here.
Example two
This embodiment provides a specific application scenario corresponding to the first embodiment:
taking the advertisement message issued by the market as an example, the applied technology is a point-to-point transmission technology based on Bluetooth self networking. Now, the data transmission synchronization among the device a, the device B, and the device C is taken as an example for explanation, the device a, the device B, and the device C are all in the same store, the device a is used as a bluetooth device for issuing benefit information in a certain store, and the device B and the device C may be bluetooth devices in the store or bluetooth devices of consumers.
Firstly, the device A, the device B and the device C carry out networking through the networking capability of the Bluetooth.
Then, the device a receives an input of advertisement information a;
device B operates as described above for device a;
device C operates as described above for device a;
the equipment A generates a hash value Token A of 10 bytes according to the advertisement A;
the device A creates 4 byte session ID Session A according to the advertisement A;
device B operates as described above for device a;
device C operates as described above for device a;
the equipment A packetizes the advertisement A according to the information length of the advertisement A by 20 bytes and numbers the advertisement A by an index A;
device B operates as described above for device a;
device C operates as described above for device a;
the device A puts each index A into a bag body with the length of 20 bytes together with the hash value TokenA and the session ID Session A according to the advertisement A.
Device B operates as device a described above;
device C operates as described above for device a;
the equipment A sends each bag body to the equipment B;
the equipment B sends each bag body to the equipment C;
the equipment C sends each bag body to the equipment A;
the device A receives the bag bodies sent by the device B and the device C and analyzes the bag bodies;
the device A takes out the Session B from the bag body sent by the device B;
the device A creates a Session object SB, and takes the Session B as a key and the SB as a value to be stored in a hash table;
the device a sends the received bag body to the device C and the device B.
And the device A receives the same-group bag body with the Session ID of Session B, finds out the SB corresponding to Session B from the hash table and puts the bag body into the SB for processing.
And after the SA processes the bag bodies of the same group, the obtained data is stored to the local.
The device B and the device C are consistent with the processing mechanism of the device a.
The present embodiment is based on a decentralized design, that is, there is no relationship between the data and the devices. When the device accesses the network, the service interface for storing data is taken from the broadcast of the Bluetooth, and then all data is acquired according to the service interface.
EXAMPLE III
This embodiment is further extended on the basis of the first embodiment, and the manner of the bluetooth ad hoc network is limited, so that the bluetooth ad hoc network can be also based on the bluetooth ad hoc network without being limited by the number of devices, and the data synchronization scheme of the first embodiment is implemented among the devices in the network.
At present, under the condition of bluetooth networking, the IOS can support 8 mobile phones for connection, while the Android can only support 5 mobile phones for connection. If the above limit of the number of connected devices is to be exceeded, it is not possible to achieve with the existing devices. Therefore, if the method is applied to the scene of synchronous chat, picture and voice chat sending, because of the upper limit of the connection number of a single device, the data transmission in the network cannot be really realized among a plurality of existing Bluetooth 4.0 devices.
In the following, the problem that the number of the bluetooth networking devices is limited is solved by the embodiment, and the target device can be reconnected after being disconnected and still has the capability of acquiring a complete data source.
In this embodiment, an improvement is made to the bluetooth point-to-point based data transmission method in the first embodiment, and specifically, a process of establishing a bluetooth communication connection between the device a and the device B (similar between other devices in the bluetooth ad hoc network) includes:
1. respectively creating a GATT CLIENT thread, a GATT SERVER thread and a routing table by the equipment A and the equipment B;
2. the method comprises the steps that equipment A writes an equipment object of equipment B connected with a GATT CLIENT thread into a routing table, wherein the equipment object comprises a service address of the GATT SERVER thread;
3. the device B writes the device object of the device A connected with the GATT CLIENT thread into the routing table;
specifically, step 2 and step 3 may be specifically:
the method comprises the following steps that equipment A and equipment B respectively start respective GATT SERVER threads and broadcast a preset UUID;
after the device B starts the GATT CLIENT thread, automatically scanning the device A consistent with the self-preset UUID;
the device B adds the IP address of the device A to a list of the self equal network nodes;
after starting the GATT CLIENT thread, the equipment A automatically scans the equipment B consistent with the UUID preset by the equipment A;
the device A adds the IP address of the device B to the list of the peer-to-peer network nodes of the device A;
the GATT CLIENT thread of the device B traverses the self list and establishes Bluetooth communication connection with the device A according to the IP address of the Bluetooth device in the list;
the device B adds the device object of the device A which is successfully connected with the device B into the routing table of the device B;
the GATT CLIENT thread of the device A traverses the self list and establishes Bluetooth communication connection with the device B according to the IP address of the Bluetooth device in the list;
device a adds the device object of device B to which it successfully connects to its own routing table.
4. And the equipment A writes the transmission packet body to be synchronized into the equipment B according to the service address of the GATT SERVER thread of the equipment object of the equipment B in the routing table of the equipment A, so that the data packet synchronization is realized.
In a specific implementation, this embodiment may include the following processes:
first, device A starts the GATT SERVER thread.
Further, after the GATT SERVER thread of the device a is started, a GAP broadcast corresponding to the preset UUID is sent.
Further, device B starts the thread of GATT CLIENT.
Further, after the GATT CLIENT thread of the device B is started, the UUID preset by the system is automatically scanned, and the IP address of the device a conforming to the UUID preset by the system is added to the peer-to-peer network node.
Further, the GATT CLIENT of device B traverses the list of peer-to-peer network nodes and connects to the GATT SERVER of remote device a.
Further, the GATT CLIENT of device a traverses the list of peer-to-peer network nodes and connects to the GATT SERVER of remote device B.
Further, after the device B is successfully connected to the device a, the device object of the remote device a is added to the routing table, and if the connection fails, the object of the remote device a is removed from the routing table.
Example four
The embodiment corresponds to the first embodiment, and provides a data transmission system based on bluetooth point-to-point, which comprises at least two devices connected by bluetooth; the at least two devices include device a and device B;
referring to fig. 2, the apparatus a includes:
the first receiving module A1 is used for receiving input information A;
a first generating module A2, configured to generate, by the device a, a corresponding hash value Token a according to the information a;
a creating module A3, configured to create, by the device A, a corresponding Session ID Session A according to the information A;
the splitting module A10 is used for splitting the information A into more than two data packets by the equipment A according to the Bluetooth transmission throughput;
a second generating module A4, configured to generate, by the device a, hash value indexes corresponding to the data packets according to the splitting order;
the packet packing module A5 is used for respectively forming a transmission packet body by the hash value index of each data packet, the hash value Token A and the Session ID Session A, and acquiring a transmission packet body set corresponding to the number of the data packets;
a sending module A6, configured to send, by the device a, each transmission inclusion in the transmission inclusion set to another device in the bluetooth ad hoc network;
the device B comprises:
a second receiving module B1, configured to receive, by the device B, the first transmission packet sent by the device a;
a processing module B2, configured to create a Session object SA by the device B, and store the Session object SA as a value into a hash table by using the Session ID Session A in the first transmission packet as a key; meanwhile, storing the first transmission packet body to the session object SA;
and the first storage module B3 is configured to, when the device B receives the transmission packet body including the Session ID Session a again, store the packet body to be transmitted in the Session object SA according to the hash table.
Further, the apparatus B further comprises:
an obtaining module B4, configured to obtain, by the device B, the corresponding data packet from the device a according to the received hash value index in the transmission packet body;
and the second storage module B5 is used for the device B to obtain the information a according to all the received data packets, and store the information a locally.
Further, the apparatus B further includes:
and the disconnection reconnection module B6 is used for requesting the equipment A to continue unfinished transmission by the disconnection reconnection equipment B according to the hash value index in the transmission packet body received last time before disconnection.
EXAMPLE five
In this embodiment, corresponding to the third embodiment, the system of the fourth embodiment is further limited, and referring to fig. 3 on the basis of the system of the first embodiment, the apparatus a further includes:
a first thread creating module A7, configured to create a GATT CLIENT thread, a GATT SERVER thread, and a routing table by the device A;
a first writing module A8, configured to write, by the device a, a device object of the device B connected to the GATT CLIENT thread in the routing table, where the device object includes a service address of the GATT SERVER thread;
a second writing module A9, configured to write the transmission packet into the device B by the device a according to the service address of the GATT SERVER thread of the device object of the device B in the routing table of the device a;
the apparatus B further comprises:
a second thread creating module B7, configured to create a GATT CLIENT thread, a GATT SERVER thread, and a routing table by the device B;
and a third writing module B8, configured to write, by the device B, the device object of the device a connected to the GATT CLIENT thread in the routing table.
Further, the first writing module A8 includes:
the broadcasting unit A81 is used for starting a GATT SERVER thread by the equipment A and broadcasting a preset UUID;
the first scanning unit A82 is used for automatically scanning the equipment B consistent with the self-preset UUID after the equipment A starts the GATT CLIENT thread;
a first adding unit a83, configured to add the IP address of the device B to a list of its own peer network node by the device a;
the first establishing unit A84 is used for the GATT CLIENT thread of the device A to traverse the self list and establish the Bluetooth communication connection with the device B according to the IP address of the Bluetooth device in the list;
a first adding unit a85, configured to add, by the device a, the device object of the device B successfully connected to the device a into a routing table of the device a;
the third write module B8 includes:
the second scanning unit B81 is configured to automatically scan the device a consistent with the UUID preset by the device B after the device B starts its GATT CLIENT thread;
a second adding unit B82, configured to add the IP address of the device a to the list of peer nodes of the device B;
the second establishing unit B83 is used for the GATT CLIENT thread of the device B to traverse the own list and establish the Bluetooth communication connection with the device A according to the IP address of the Bluetooth device in the list;
and a second adding unit B84, configured to add the device object of the device a, to which the device B is successfully connected, to the routing table of the device B.
In summary, the bluetooth peer-to-peer based data transmission method and system thereof provided by the present invention decouple the data in the network from the specific devices by using a data distributed synchronization manner, so that even if a device is disconnected, the corresponding data can be obtained from other devices in the network, and the problem of message inconsistency does not occur, thereby achieving the real decentralization; further, data intercommunication between devices without limitation of the number of devices can be realized.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all equivalent changes made by using the contents of the present specification and the drawings, or applied directly or indirectly to the related technical fields, are included in the scope of the present invention.

Claims (8)

1. A method for point-to-point data transmission based on Bluetooth is characterized by comprising the following steps:
receiving input information A by equipment A in the Bluetooth ad hoc network;
the equipment A generates a corresponding hash value Token A according to the information A;
the device A creates a corresponding Session ID Session A according to the information A;
the device A splits the information A into more than two data packets according to the Bluetooth transmission throughput;
the equipment A generates hash value indexes corresponding to the data packets according to the splitting sequence;
respectively combining the hash value index of each data packet with the hash value Token A and the Session ID Session A to form a transmission packet body, and acquiring a transmission packet body set corresponding to the number of the data packets;
the device A sends each transmission inclusion in the transmission inclusion set to other devices in the Bluetooth ad hoc network;
the device B receives a first transmission packet sent by the device A;
the device B creates a Session object SA, and stores the Session object SA as a value into a hash table by taking the Session ID Session A in the first transmission inclusion as a key; meanwhile, storing the first transmission packet body to the session object SA;
when the device B receives the transmission packet body containing the Session ID Session A again, storing the transmission packet body into the Session object SA according to the hash table;
further comprising:
the device B acquires a corresponding data packet from the device A according to the received hash value index in the transmission bag body;
and the equipment B acquires the information A according to all the received data packets and stores the information A to the local.
2. The method for transmitting peer-to-peer data based on bluetooth as claimed in claim 1, further comprising:
and the equipment B which is disconnected and reconnected requests the equipment A to continue unfinished transmission according to the hash value index in the transmission packet body received last time before the disconnection.
3. The method for transmitting peer-to-peer data based on bluetooth as claimed in claim 1, further comprising:
respectively creating a GATT CLIENT thread, a GATT SERVER thread and a routing table by the equipment A and the equipment B;
the device A writes a device object of a device B connected with the GATT CLIENT thread into a routing table, wherein the device object comprises a service address of the GATT SERVER thread;
the device B writes the device object of the device A connected with the GATT CLIENT thread into the routing table;
and the device A writes the transmission inclusion into the device B according to the service address of the GATT SERVER thread of the device object of the device B in the routing table.
4. The method as claimed in claim 3, wherein the device A writes the device object of the device B connected to the GATT CLIENT thread into the routing table; the device B writes the device object of the device a connected to the GATT CLIENT thread into the routing table, specifically:
the method comprises the following steps that equipment A and equipment B respectively start respective GATT SERVER threads and broadcast a preset UUID;
after the device B starts the GATT CLIENT thread, automatically scanning the device A consistent with the self-preset UUID;
the device B adds the IP address of the device A to a list of the self equal network nodes;
after starting the GATT CLIENT thread, the equipment A automatically scans the equipment B consistent with the UUID preset by the equipment A;
the device A adds the IP address of the device B to a list of the peer-to-peer network nodes of the device A;
traversing the self list by the GATT CLIENT thread of the equipment B, and establishing Bluetooth communication connection with the equipment A according to the IP address of the Bluetooth equipment in the list;
the device B adds the device object of the device A which is successfully connected with the device B into the routing table of the device B;
the GATT CLIENT thread of the device A traverses the self list and establishes Bluetooth communication connection with the device B according to the IP address of the Bluetooth device in the list;
device a adds the device object of device B to which it successfully connects to its own routing table.
5. A data transmission system based on Bluetooth point-to-point is characterized by comprising at least two devices connected by Bluetooth; the at least two devices include device A and device B;
the apparatus A includes:
the first receiving module is used for receiving input information A;
the first generation module is used for generating a corresponding hash value Token A by the equipment A according to the information A;
a creating module, configured to create, by the device a, a corresponding Session ID Session a according to the information a;
the splitting module is used for splitting the information A into more than two data packets by the equipment A according to the Bluetooth transmission throughput;
a second generating module, configured to generate, by the device a, hash value indices corresponding to the data packets according to the splitting order;
the group package module is used for respectively forming a transmission package body by the hash value index of each data package and the hash value Token A and the Session ID Session A, and acquiring a transmission package body set corresponding to the number of the data packages;
a sending module, configured to send, by the device a, each transmission inclusion in the transmission inclusion set to another device in the bluetooth ad hoc network;
the apparatus B includes:
the second receiving module is used for receiving the first transmission packet sent by the equipment A by the equipment B;
a processing module, configured to create a Session object SA by the device B, and store the Session object SA as a value in a hash table by using the Session ID Session a in the first transmission enclosure as a key; meanwhile, storing the first transmission packet body to the session object SA;
the first storage module is used for storing the transmission packet body into the Session object SA according to the hash table when the device B receives the transmission packet body containing the Session ID Session A again;
the device B further comprises:
an obtaining module, configured to obtain, by the device B, a corresponding data packet from the device a according to the received hash value index in the transmission packet body;
and the second storage module is used for acquiring the information A by the equipment B according to all the received data packets and storing the information A to the local.
6. The bluetooth point-to-point based data transmission system according to claim 5, wherein said device B further comprises:
and the disconnection reconnection module is used for requesting the equipment A to continue unfinished transmission by the disconnection reconnection equipment B according to the hash value index in the transmission inclusion received last time before disconnection.
7. The bluetooth point-to-point based data transmission system according to claim 5, wherein the device a further comprises:
the first thread creating module is used for creating a GATT CLIENT thread, a GATT SERVER thread and a routing table by the equipment A;
a first writing module, configured to write, by an apparatus a, an apparatus object of an apparatus B connected to a GATT CLIENT thread of the apparatus a into a routing table, where the apparatus object includes a service address of the GATT SERVER thread;
a second writing module, configured to write the transmission packet into the device B by the device a according to the service address of the GATT SERVER thread of the device object of the device B in the routing table of the device a;
the apparatus B further comprises:
the second thread creating module is used for creating a GATT CLIENT thread, a GATT SERVER thread and a routing table by the equipment B;
and a third writing module, configured to write, by the device B, the device object of the device a connected to the GATT CLIENT thread in the routing table.
8. The bluetooth point-to-point based data transmission system according to claim 7, wherein the first write module comprises:
the device A comprises a broadcasting unit, a processing unit and a processing unit, wherein the broadcasting unit is used for starting a GATT SERVER thread and broadcasting a preset UUID;
the first scanning unit is used for automatically scanning the equipment B consistent with the self-preset UUID after the equipment A starts the GATT CLIENT thread;
a first adding unit, configured to add, by the device a, the IP address of the device B to a list of peer-to-peer network nodes of the device a;
the first establishing unit is used for the GATT CLIENT thread of the device A to traverse the own list and establishing Bluetooth communication connection with the device B according to the IP address of the Bluetooth device in the list;
a first adding unit, configured to add, by a device a, a device object of a device B that is successfully connected to the device a into a routing table of the device a;
the third write module, comprising:
the second scanning unit is used for automatically scanning the equipment A consistent with the self-preset UUID after the equipment B starts the GATT CLIENT thread;
a second adding unit, configured to add, by the device B, the IP address of the device a to a list of peer network nodes of the device B;
the second establishing unit is used for traversing the self list by the GATT CLIENT thread of the equipment B and establishing Bluetooth communication connection with the equipment A according to the IP address of the Bluetooth equipment in the list;
and the second adding unit is used for adding the equipment object of the equipment A which is successfully connected with the equipment B into the routing table of the equipment B.
CN201910003770.4A 2019-01-03 2019-01-03 Bluetooth point-to-point based data transmission method and system Active CN111404663B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910003770.4A CN111404663B (en) 2019-01-03 2019-01-03 Bluetooth point-to-point based data transmission method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910003770.4A CN111404663B (en) 2019-01-03 2019-01-03 Bluetooth point-to-point based data transmission method and system

Publications (2)

Publication Number Publication Date
CN111404663A CN111404663A (en) 2020-07-10
CN111404663B true CN111404663B (en) 2022-12-09

Family

ID=71413135

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910003770.4A Active CN111404663B (en) 2019-01-03 2019-01-03 Bluetooth point-to-point based data transmission method and system

Country Status (1)

Country Link
CN (1) CN111404663B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114301632B (en) * 2021-12-02 2023-11-10 北京天融信网络安全技术有限公司 IPsec data processing method, terminal and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103281213A (en) * 2013-04-18 2013-09-04 西安交通大学 Method for extracting, analyzing and searching network flow and content
CN106850001A (en) * 2017-01-06 2017-06-13 南京明伟达电子科技有限公司 A kind of dynamic data transmission method and system for Bluetooth broadcast

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110033128A (en) * 2008-05-15 2011-03-30 노오텔 네트웍스 리미티드 Method and system for transmission of fragmented packets on a packet-based communication network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103281213A (en) * 2013-04-18 2013-09-04 西安交通大学 Method for extracting, analyzing and searching network flow and content
CN106850001A (en) * 2017-01-06 2017-06-13 南京明伟达电子科技有限公司 A kind of dynamic data transmission method and system for Bluetooth broadcast

Also Published As

Publication number Publication date
CN111404663A (en) 2020-07-10

Similar Documents

Publication Publication Date Title
US10999784B2 (en) Method for smart device to access network, mobile terminal, cloud server, device, and system
CN108681965B (en) Block chain network transaction processing method and device for offline node
US10931735B2 (en) Application discovery
US20220070095A1 (en) Data transmission method and apparatus, network adapter, and storage medium
CN106375270B (en) Token generation and authentication method and authentication server
US10650119B2 (en) Multimedia data processing method, apparatus, system, and storage medium
EP3701667B1 (en) Anonymity system for goods delivery
CN104836814B (en) Intelligent hardware high in the clouds connection control method and its corresponding device
CN110719221B (en) Instant messaging method, device, equipment and storage medium
JP6580132B2 (en) Method and apparatus for providing information associated with media content
US9270671B2 (en) Biometric-based wireless device association
CN110263579B (en) Data processing method, system and related equipment
CN101217431A (en) A method and system of photos in synchronous mobile terminal network TV and network album
US11489831B2 (en) Communication system and computer readable storage medium
CN103747083A (en) Content pushing method based on CCN (Content Centric Network)
CN105959188B (en) Method and device for controlling user terminal to be on-line
CN113926185A (en) Data processing method, device, equipment and storage medium
CN110311855B (en) User message processing method and device, electronic equipment and storage medium
CN111404663B (en) Bluetooth point-to-point based data transmission method and system
CN114205093B (en) Block chain message transmission method, device, client and storage medium
US20230087220A1 (en) Data processing method and apparatus based on instant messaging, device, and storage medium
CN109617817B (en) Method and device for generating forwarding table entry of MLAG networking
CN110943962B (en) Authentication method, network equipment, authentication server and forwarding equipment
CN113766031B (en) Method and device for storing note resources and related equipment
KR101972349B1 (en) Method for providing service platform using mobile storage apparatus and apparauts thereof

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
GR01 Patent grant
GR01 Patent grant