CN109067882B - Data sharing method and related product - Google Patents
Data sharing method and related product Download PDFInfo
- Publication number
- CN109067882B CN109067882B CN201810908400.0A CN201810908400A CN109067882B CN 109067882 B CN109067882 B CN 109067882B CN 201810908400 A CN201810908400 A CN 201810908400A CN 109067882 B CN109067882 B CN 109067882B
- Authority
- CN
- China
- Prior art keywords
- target data
- data
- message
- sdf
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/46—Cluster building
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/021—Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/005—Discovery of network devices, e.g. terminals
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Mobile Radio Communication Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the application discloses a data sharing method and a related product, comprising the following steps: when a sharing request aiming at target data is detected, downloading the target data to a local annular cache region, wherein the target data comprises audio data and/or video data; broadcasting a first Service Discovery Frame (SDF) message to a plurality of devices in a first cluster except a first device, wherein the first SDF message comprises shared service request information and at least one second device identifier, and the at least one second device is a device sharing target data with the first device; receiving a second SDF message from the at least one second device, the second SDF message including feedback information for the shared service request information; negotiating a transmission channel of the target data with at least one second device; and transmitting the target data to the at least one second device through the negotiated transmission channel. The embodiment of the application is beneficial to realizing the traffic-free data sharing, improves the convenience of data sharing and reduces the data cost consumption.
Description
Technical Field
The present application relates to the field of electronic device technologies, and in particular, to a data sharing method and a related product.
Background
With the great popularity and rapid development of electronic devices (e.g., smart phones), more and more applications are installed in the electronic devices of users, such as video-type applications, game-type applications, music-type applications, etc., wherein the use of the numerous applications depends on the mobile data network.
At present, people often want to share the favorite audio and video to friends or family when seeing the favorite audio and video, and at this time, the favorite audio and video is often transmitted in a data flow mode, and the user gives up sharing due to large audio and video data volume and high flow consumption, so that the sharing mood of the user is influenced.
Disclosure of Invention
The embodiment of the application provides a data sharing method and a related product, which can realize flow-free data sharing, improve the convenience of data sharing and reduce the consumption of data cost.
In a first aspect, an embodiment of the present application provides a data sharing method, which is applied to a first device, where the first device is a Neighbor Awareness Network (NAN) device in a NAN network, and the method includes:
when a sharing request aiming at target data is detected, downloading the target data to a local annular cache region, wherein the target data comprises audio data and/or video data;
broadcasting a first Service Discovery Frame (SDF) message to a plurality of devices in a first cluster except the first device, wherein the first SDF message comprises shared service request information and at least one second device identification, and the at least one second device is a device sharing the target data with the first device;
receiving a second SDF message from the at least one second device, the second SDF message including feedback information for the shared service request information;
negotiating a transmission channel of the target data with the at least one second device;
transmitting the target data to the at least one second device through the negotiated transmission channel.
In a second aspect, an embodiment of the present application provides a data sharing apparatus, which is applied to a first device, where the first device is a Neighbor Awareness Network (NAN) device in a NAN network, and the data sharing apparatus includes a downloading unit, a sending unit, a receiving unit, and a communication unit, where:
the downloading unit is used for downloading target data to a local annular cache region when a sharing request aiming at the target data is detected, wherein the target data comprises audio data and/or video data;
the sending unit is configured to broadcast a first Service Discovery Frame (SDF) message to a plurality of devices in a first cluster except the first device, where the first SDF message includes shared service request information and at least one second device identifier, and the at least one second device is a device that shares the target data with the first device;
the receiving unit is configured to receive a second SDF message from the at least one second device, where the second SDF message includes feedback information for the shared service request information;
the communication unit is configured to negotiate a transmission channel of the target data with the at least one second device;
the sending unit is further configured to transmit the target data to the at least one second device through the negotiated transmission channel.
In a third aspect, an embodiment of the present application provides a first device, including: a processor, memory, and one or more programs; the one or more programs are stored in the above memory and configured to be executed by the processor, the programs including instructions for performing the steps described in any of the methods of the first aspect of the embodiments of the present application.
In a fourth aspect, this application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, the computer program specifically includes instructions for performing some or all of the steps described in any one of the methods of the first aspect of this application, and the computer includes a first device.
In a fifth aspect, the present application provides a computer program product, wherein the computer program product comprises a non-transitory computer-readable storage medium storing a computer program, the computer program being operable to cause a computer to perform some or all of the steps as described in any one of the methods of the first aspect of the embodiments of the present application. The computer program product may be a software installation package, the computer comprising a first device.
It can be seen that, in the embodiment of the present application, the first device first detects a request for sharing target data, downloading the target data to a local ring buffer, the target data including audio data and/or video data, then broadcasting a first service discovery frame, SDF, message to a plurality of devices in the first cluster other than the first device, the first SDF message includes shared service request information and at least one second device identification, the at least one second device is a device that shares the target data with the first device, and subsequently, receives a second SDF message from the at least one second device, the second SDF message includes feedback information for the shared service request information, and then negotiates a transmission path for the target data with the at least one second device, and finally, transmitting the target data to the at least one second device through the negotiated transmission channel. Therefore, when the first device needs to share the target audio and video data, the target audio and video data can be accurately sent to the at least one second device through the NAN network without any data traffic, so that traffic-free data sharing is realized, data cost consumption is reduced, and convenience of data sharing is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic diagram of a DW of a cluster of a NAN network disclosed in an embodiment of the present application;
FIG. 2 is a flow chart illustrating a data sharing method disclosed in an embodiment of the present application;
FIG. 3 is a schematic flow chart diagram of another data sharing method disclosed in the embodiments of the present application;
FIG. 4 is a schematic flow chart diagram of another data sharing method disclosed in the embodiments of the present application;
FIG. 5 is a schematic structural diagram of a first apparatus disclosed in an embodiment of the present application;
fig. 6 is a block diagram of functional units of a data sharing apparatus according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The electronic device according to the embodiment of the present application may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, which have wireless communication functions, and various forms of User Equipment (UE), Mobile Stations (MS), terminal devices (terminal device), and the like. For convenience of description, the above-mentioned devices are collectively referred to as electronic devices, and the first device and the second device described below are both the electronic devices. The following describes embodiments of the present application in detail.
Firstly, a NAN mechanism is briefly introduced, a Neighbor Awareness Network (NAN) mechanism is a standard formulated by a wireless fidelity Wi-Fi alliance, the standard is used for synchronizing all devices (namely NAN devices) participating in the NAN mechanism under the condition that no central node exists, maintaining work and Service Discovery work of the NAN mechanism are performed in a Discovery Window (DW) agreed by the NAN mechanism, Service Discovery is realized by sending a Service Discovery Frame (SDF) message, and the Service Discovery Frame message comprises an inquiry message or a broadcast message. The device may establish a corresponding connection based on the information obtained in the service discovery and then perform data transmission.
Specifically, in the standard specified by the Wi-Fi alliance, channel 6 may be used as the discovery channel in the NAN mechanism, and on channel 6, the duration of the discovery time window DW is fixed for each cluster, and the time interval between any two DWs adjacent to the cluster is also fixed.
In the NAN mechanism, a Discovery Window (DW) is set, and NAN devices perform service discovery in the DW. In the NAN mechanism, a DW is generally set in each 512 TUs (time unit), wherein the duration of one TU is about 1024 μ s, and the duration of the DW is generally 16 TUs, that is, in the NAN mechanism, a DW is generally set every 496 TUs. In the NAN mechanism, one or more NAN devices form a Cluster (also called a neighbor awareness network), when a Cluster enters a DW, a NAN device in the Cluster in a master node (master), an anchor master node (AM), a master node (non-master synchronization, non-master sync) state and the like sends a synchronization beacon frame (sync beacon) message, where the message carries information of the AM in the Cluster, and the NAN device receiving the message synchronizes with the AM in the Cluster.
For example, as shown in fig. 1, which is a schematic diagram of a DW of a cluster, according to a standard established by the Wi-Fi alliance, in the DW, NAN devices in the cluster may send a service discovery frame SDF message in the DW to perform service discovery, and in a time other than the DW, NAN devices in the cluster may send a discovery beacon (discovery beacon) message to announce the existence of the cluster. Each NAN device in the cluster may perform service discovery in the DW to discover other NAN devices with which data transmission can be performed. After service discovery, at least two NAN devices which need to perform data transmission with each other may agree on a time frequency resource and a network connection mode in the DW, and after the DW is finished, assemble a corresponding NAN network without a center node on the agreed time frequency resource according to the agreed network connection mode.
The flow of completing service discovery by the NAN device is as follows:
1. after a device activates the NAN function (i.e., becomes a NAN device), it may set itself as an AM, create a Cluster, set a Cluster Identity (Identity, ID) value of the Cluster based on its MAC (Media Access Control) address, and set the TSF as an integer multiple of 512 TU.
2. Once the NAN device receives a Beacon frame (i.e., a sync Beacon, hereinafter, referred to as Beacon frame) sent by a NAN device from one or more other clusters, it may determine whether the NAN device wants to join the Cluster of the other peer.
In the Beacon frame, information of the corresponding Cluster is generally carried, and specifically, information of an AM in the corresponding Cluster may be specifically carried, and may include one or more of an Anchor Master node rank (AMR), a Master node rank (MR), a Master node priority (Master priority, MP), an Anchor Master node priority (AMP), a Random Factor (RF), an Anchor Master node signal Transmission Time (AMBTT), a Time Synchronization Function (TSF), a Cluster ID, and a Cluster rank (CG).
One NAN device may send information of the AM of the Cluster to which the NAN device belongs to other NAN devices by sending the Beacon frame, and similarly, one NAN device may also receive the Beacon frame sent by the Cluster or the NAN devices in other clusters.
After receiving a Beacon frame, the NAN device may determine whether the Beacon frame is from a NAN device in the Cluster to which the NAN device belongs or from NAN devices in other clusters, if the Beacon frame is from NAN devices in other clusters, the NAN device may determine whether a value of Cluster level CG in the received Beacon frame is greater than a value of Cluster level CG of the NAN device, if the value is greater than the value, the NAN device adds the Cluster corresponding to the received Beacon frame, otherwise, the NAN device does not perform processing. This completes the aggregation of NAN devices, i.e., NAN devices will join Cluster with a higher value of Cluster level CG.
3. If the determination is made that the other party's Cluster is to be added, the synchronization is achieved with the AM in the added Cluster after the other party's Cluster is added, specifically, each item of parameter information in the AM of the self is synchronized with the AM in the added Cluster, for example, the TSF of the AM in the Cluster is updated to the TSF of the AM in the added Cluster.
4. After synchronization, when a DW of a joined Cluster arrives, the NAN device sends an SDF (Service Discovery frame) message in the DW to perform Service Discovery, where the SDF message may carry, for example, Service Discovery (Service Subscription) information for querying a required Service or may carry, for example, Service publication (Service Publish) information for publishing a Service that the NAN device can provide, and after receiving the SDF message sent by the NAN device, other NAN devices may reply the SDF message to the NAN device in the DW if it is determined that the SDF message is satisfied, that is, Service matching can be performed.
Similarly, in the DW, the NAN device may also receive an SDF message sent by another NAN device for service discovery, and if the NAN device determines that the received SDF message is satisfied, the NAN device may also reply the SDF message to the corresponding NAN device in the DW.
Various types of information contained in the AM are explained below.
The anchor master node level AMR, which is generally a maximum value of 8 bytes (byte), is the MR value of AM.
The master node level MR, which generally takes a maximum value of 8 bytes, is calculated according to the MP value, the RF value, and the MAC address of the NAN device, and indicates the will of the NAN device to act as a master. The larger the value of MR, the higher will the NAN device want to be master. MR can also be considered as an alternative expression of MP.
The master node priority MP, which generally takes a maximum value of 1 byte, indicates the willingness of the NAN device to act as a master. The larger the value of MP, the higher will the NAN device want to be master.
The anchor master node priority AMP, which generally takes a maximum value of 1 byte, is the value of the MP of the AM.
The random factor RF, which generally takes a maximum value of 1 byte, is a random number selected by the NAN device.
The anchor master node signal transmission time AMBTT generally takes a maximum value of 4 bytes, and shows the sending time of the Beacon frame of the AM. Generally, a NAN device sending a Beacon frame carries an AMBTT, and is used for synchronizing the time of other NAN devices with an AM corresponding to the AMBTT.
The time synchronization function TSF, which generally takes a maximum value of 8 bytes, indicates a synchronization function of the NAN device, so that a timer (timer) of the NAN device receiving the TSF is synchronized with a time of the AM corresponding to the NAN device sending the TSF. The TSF may also represent time information.
The Cluster identity identifier Cluster ID generally takes a maximum value of 6 bytes, and is carried in an Address (Address) 3 field in the Beacon frame.
The Cluster level CG generally takes a maximum value of 8 bytes, represents the level of Cluster, is used for comparing different Clusters during combination, and the Cluster with a small CG value is combined into the Cluster with a large CG value.
The service discovery frame SDF message is introduced below.
The SDF message is an Action Frame (Action Frame) specially defined for service discovery, and can be roughly divided into three types according to different functions: the SDF issues a Publish message, subscribes to a Subscribe message, and replies to a Follow-Up message, and generally, an indication bit is included in the SDF message to indicate which SDF message the SDF message is.
SDF Publish message: the NAN equipment is used for publishing services which can be provided by the NAN equipment or replying to the received SDF Subscribe messages sent by other NAN equipment;
SDF Subscribe message: for finding the service to be used;
SDF Follow-Up message: for replying to received SDF Publish messages or for negotiating more information.
Referring to fig. 2, fig. 2 is a flowchart illustrating a data sharing method according to an embodiment of the present application, applied to a first device, where the first device is a neighbor aware network NAN device in a NAN network, and as shown in the drawing, the data sharing method includes:
s201, when a first device detects a sharing request aiming at target data, downloading the target data to a local annular cache region, wherein the target data comprises audio data and/or video data;
the sharing request for the target data is actively triggered by the user of the first device, for example, by selecting a video sharing function trigger of the first device, the triggering condition is not uniquely defined, and when the user sees a favorite audio or video, the user wants to share the favorite audio or video with a friend or a relative person, the sharing request for the target data is actively triggered.
S202, the first device broadcasts a first service discovery frame SDF message to a plurality of devices in a first cluster except the first device, where the first SDF message includes shared service request information and at least one second device identifier, and the at least one second device is a device that shares the target data with the first device;
the first SDF message at least includes a device identifier of at least one second device (i.e., a device identifier of a friend who wants to share), an identifier of target data, and the like, and the first SDF message may specifically be an SDF Publish message.
The first device can download target data from the internet through the data network and can share the target data to the at least one second device through the NAN network.
Wherein, the plurality of devices may include the at least one second device, or may not include the at least one second device, and when the at least one second device is not included, the at least one second device may receive the first SDF message through the relay device in the first cluster.
S203, the first device receives a second SDF message from the at least one second device, where the second SDF message includes feedback information for the shared service request information;
the second SDF message may specifically be an SDF Follow-Up message, where the feedback message is used to indicate that the at least one second device receives the first SDF Publish message, and whether the at least one second device receives the target data.
S204, the first device negotiates a transmission channel of the target data with the at least one second device.
In a specific implementation, for a transmission channel between a first device and at least one second device, the negotiation process may be that the first device performs channel transmission negotiation with the at least one second device through an SDF Follow-Up message; moreover, any two devices in the at least one second device may also negotiate a transmission channel for data transmission, and for a transmission channel between any two second devices except the first device, the first device may first group the at least one second device, select one master device for each group, and notify the master device to negotiate a transmission channel with other devices in the group.
S205, the first device transmits the target data to the at least one second device through the negotiated transmission channel.
The first device may send the target data of the local end to at least one second device through each transmission channel, where the target data may also be transmitted through a transmission channel between the second device and the relay device and a transmission channel between the relay device and the first device, which is not limited herein.
In a specific implementation, the first device may also send the target data to the master device in each group through the transmission channel, and then the master device sends the target data to other second devices in the group, so as to reduce the data transmission pressure of the first device.
After the first device transmits the target data to the at least one second device through the negotiated transmission channel, the first device may stop sharing the target data at any time and release the transmission channel.
It can be seen that, in the embodiment of the present application, the first device first detects a request for sharing target data, downloading the target data to a local ring buffer, the target data including audio data and/or video data, then broadcasting a first service discovery frame, SDF, message to a plurality of devices in the first cluster other than the first device, the first SDF message includes shared service request information and at least one second device identification, the at least one second device is a device that shares the target data with the first device, and subsequently, receives a second SDF message from the at least one second device, the second SDF message includes feedback information for the shared service request information, and then negotiates a transmission path for the target data with the at least one second device, and finally, transmitting the target data to the at least one second device through the negotiated transmission channel. Therefore, when the first device needs to share the target audio and video data, the target audio and video data can be accurately sent to the at least one second device through the NAN network without any data traffic, so that traffic-free data sharing is realized, data cost consumption is reduced, and convenience of data sharing is improved.
In one possible example, the plurality of devices in the first cluster other than the first device include a relay device, and the relay device is configured to broadcast the first SDF message in a cluster other than the first cluster in which the relay device is located when receiving the first SDF message of the first device.
The relay device is a NAN device having a relay function, and is a NAN device existing in at least two clusters, that is, when there is a device not in a first cluster in at least one second device, the first SDF message may be obtained through forwarding by the relay device, and further, another relay device may be included in a cluster other than the first cluster, and the first SDF message may also be broadcast in more clusters, so that the first SDF message may be obtained in any cluster in which the at least one second device is.
For example, after all the at least one second device receives the first SDF message, the relay device may stop forwarding the first SDF message by more relay devices, or each time the forwarded first SDF message includes an identifier of a relay level, for example, when the forwarded relay device is a device in a first cluster, the identifier of the relay level is 1, when the relay device in the next layer forwards the first SDF message, the identifier of the relay level is 2, when the level is greater than a preset level, the relay device stops forwarding the first SDF message by more relay devices, thereby avoiding that transmission delay between each message and target data is caused by excessive levels.
As can be seen, in this example, the first device may forward the first SDF message to the multiple clusters through the relay device in the first cluster, so as to avoid that when the first cluster does not include all of the at least one second device, the at least one second device cannot receive the first SDF message, which is beneficial to ensuring the implementation of data sharing and improving the stability of data sharing.
In this possible example, the receiving the second SDF message from the at least one second device includes:
receiving the second SDF message from each first target device in the first group of target devices, the each first target device being in the first cluster;
receiving, by the relay device, the second SDF message from each second target device in the second group of target devices, the each second target device not being in the first cluster.
As can be seen, in this example, the first device may receive the second SDF message sent by the at least one second device in two ways, and the two ways may be transmitted simultaneously, which is beneficial to improving stability and reachability of message reception.
In one possible example, the transmitting the target data to the at least one second device through the negotiated transmission channel includes:
determining a playing time node of the target data in the first device;
and transmitting the target data containing the playing time node identifier to the at least one second device through the negotiated transmission channel, wherein the playing time node identifier is used for instructing the at least one second device to play the target data according to the playing time node identified by the playing time node identifier.
The playing time node is the playing time of the target data when the user of the first device triggers the sharing request, and is, for example, 2min, 5min, and the like.
Wherein the playing time node can also be adjusted manually if the user wants to view the target data from the beginning.
It can be seen that, in this example, when the first device transmits the target data to the at least one second device, the playing time node is transmitted at the same time, and the at least one second device can play the target data according to the playing time node, so as to realize synchronous watching with the first user, that is, the traffic of the second device is saved, and the interest of data sharing is improved.
In one possible example, after the target data is transmitted to the at least one second device through the negotiated transmission channel, the method further includes:
detecting comment information input by a user of the first device for the target data;
and transmitting the comment information to the at least one second device through the negotiated transmission channel, wherein the comment information is used for the second device to display the comment information.
The comment message may be a voice message or a text message, and is not limited herein, if the text message may be displayed on the second device in the form of a bullet screen, if the text message is a voice message, the text message may also be directly played after being received by the second device.
It can be seen that, in this example, after the first device shares the target data with the second device, the user's observation and comment is transmitted to the second device while the target data is being watched synchronously, and the two users can exchange the same audio and video on one platform in real time for the same playing node, so that convenience of message interaction is improved, and data traffic is saved.
In one possible example, after the target data is transmitted to the at least one second device through the negotiated transmission channel, the method further includes:
receiving a third SDF message from the at least one second device, the third SDF message instructing the at least one second device to suspend receiving the target data;
and stopping sending the target data to the at least one second device, and releasing the transmission channel if a fourth SDF message for indicating to resume receiving the target data is not received in a preset time period.
The third SDF message and the fourth SDF message may specifically be SDF Follow-Up messages.
The preset time period may be, for example, a remaining playing time period of the target data, or may be preset 5min, 10min, and the like, which is not limited herein.
As can be seen, in this example, the first device may control transmission of the target data through the third SDF message or the fourth SDF message sent by the at least one second device, which is beneficial to improving flexibility of data sharing, and in addition, within a preset time period, the transmission channel is released, occupation of data transmission resources is stopped, which is beneficial to avoiding waste of NAN network resources.
In one possible example, before broadcasting the first service discovery frame SDF message to a plurality of devices in the first cluster other than the first device, the method further comprises:
enabling a NAN function;
detecting the distance between the first equipment and each equipment in a preset area through the NAN function according to a preset ranging strategy;
screening the plurality of devices with the distances smaller than a preset distance threshold;
forming the first cluster with the plurality of devices and completing synchronization of each device in the first cluster.
First, the first device sends an FTM Request (FTM Request) to each device (e.g., hereinafter, referred to as a reference NAN device) in a preset area where the first device is to be subjected to ranging, where the FTM Request is used to Request a periodic time window, and after receiving the FTM Request, the reference NAN device may reply a message indicating acceptance or resetting of the time window according to its resource condition, capability, and the like. Wherein, the FTM Request is an Action Frame.
2. The reference NAN device and the first device both begin time capture if the preset time window is accepted by the reference NAN device. The time when the reference NAN device captures the reply message for the FTM Request from the reference NAN device to the first device is t1, and the time when the first device captures the reply message for the FTM Request received by the reference NAN device is t 2.
3. The first device replies an ACK (Acknowledgement) to the reply message to the reference NAN device, and captures a time when the ACK is sent as t3, and captures a time when the ACK is received as t 4.
4. If the first device is to complete ranging, the reference NAN device sends a ranging message to the first device, where the ranging message carries t1 and t 4.
Thus, the first device obtains four times, i.e. Time t1, Time t2, Time t3, and Time t4, so that the Round-Trip Time RTT (Round-Trip Time) of the message can be calculated as:
RTT=[(t4–t1)–(t3–t2)] (1)
the distance d between the first device and the reference NAN device may then be calculated as:
d=1/2*RTT*c (2)
where c is the speed of light, and may also be equal to the transmission speed of Wi-Fi signals.
Therefore, in this example, the first device triggers the NAN function based on the request, the NAN function is kept closed in a normal state, the electric quantity is saved, the first device can quickly screen out the potential devices conforming to the NAN network based on the distance detection, and the efficiency of NAN network creation is improved.
Referring to fig. 3, fig. 3 is a schematic flowchart of another data sharing method provided in the embodiment of the present application, and the method is applied to a first device, where the first device is a neighbor aware network NAN device in a NAN network, as shown in the figure, the data sharing method includes:
s301, when a sharing request for target data is detected, the first device downloads the target data to a local ring cache region, wherein the target data comprises audio data and/or video data.
S302, the first device broadcasts a first service discovery frame SDF message to a plurality of devices in a first cluster except the first device, where the first SDF message includes shared service request information and at least one second device identifier, and the at least one second device is a device that shares the target data with the first device.
S303, the first device receives a second SDF message from each first target device in a first target device group, where each first target device is in the first cluster, and the second SDF message includes feedback information for the shared service request information.
S304, the first device receives, through the relay device, the second SDF message from each second target device in the second target device group, where each second target device is not in the first cluster, and the relay device is located in the first cluster, and is configured to, when receiving the first SDF message of the first device, broadcast the first SDF message in a cluster, except the first cluster, where the relay device is located.
S305, the first device negotiates a transmission channel of the target data with at least one second device, where the at least one second device includes the first target device group and the second target device group.
S306, the first device determines a playing time node of the target data in the first device.
S307, the first device transmits the target data including the play time node identifier to the at least one second device through the negotiated transmission channel, where the play time node identifier is used to instruct the at least one second device to play the target data according to the play time node identified by the play time node identifier.
It can be seen that, in the embodiment of the present application, the first device first detects a request for sharing target data, downloading the target data to a local ring buffer, the target data including audio data and/or video data, then broadcasting a first service discovery frame, SDF, message to a plurality of devices in the first cluster other than the first device, the first SDF message includes shared service request information and at least one second device identification, the at least one second device is a device that shares the target data with the first device, and subsequently, receives a second SDF message from the at least one second device, the second SDF message includes feedback information for the shared service request information, and then negotiates a transmission path for the target data with the at least one second device, and finally, transmitting the target data to the at least one second device through the negotiated transmission channel. Therefore, when the first device needs to share the target audio and video data, the target audio and video data can be accurately sent to the at least one second device through the NAN network without any data traffic, so that traffic-free data sharing is realized, data cost consumption is reduced, and convenience of data sharing is improved.
In addition, the first device may forward the first SDF message to the multiple clusters through the relay device in the first cluster, so that when the first cluster does not include all of the at least one second device, the at least one second device may not receive the first SDF message, which is beneficial to ensuring the implementation of data sharing and improving the stability of data sharing.
In addition, when the first device transmits the target data to the at least one second device, the playing time node is transmitted at the same time, and the at least one second device can play the target data according to the playing time node, so that the target data can be synchronously watched with the first user, that is, the flow of the second device is saved, and the interest of data sharing is improved.
Referring to fig. 4 in a manner consistent with the embodiment shown in fig. 2, fig. 4 is a flowchart illustrating another data sharing method provided in the embodiment of the present application, and the method is applied to a first device, where the first device is a neighbor aware network NAN device in a NAN network, and as shown in the figure, the data sharing method includes:
s401, when a sharing request aiming at target data is detected, the first device downloads the target data to a local annular cache region, wherein the target data comprises audio data and/or video data.
S402, enabling a NAN function by the first equipment.
And S403, the first device detects the distance between the first device and each device in a preset area through the NAN function according to a preset ranging strategy.
S404, the first device screens the devices with the distance smaller than a preset distance threshold value.
S405, the first device and the plurality of devices form a first cluster, and synchronization of each device in the first cluster is completed.
S406, the first device broadcasts a first service discovery frame SDF message to the multiple devices in the first cluster except the first device, where the first SDF message includes shared service request information and at least one second device identifier, and the at least one second device is a device that shares the target data with the first device.
S407, the first device receives a second SDF message from the at least one second device, where the second SDF message includes feedback information for the shared service request information.
S408, the first device negotiates a transmission channel of the target data with the at least one second device.
S409, the first device transmits the target data to the at least one second device through the negotiated transmission channel.
S410, the first device detects comment information input by a user of the first device aiming at the target data.
S411, the first device transmits the comment information to the at least one second device through the negotiated transmission channel, and the comment information is used for the second device to display the comment information.
It can be seen that, in the embodiment of the present application, the first device first detects a request for sharing target data, downloading the target data to a local ring buffer, the target data including audio data and/or video data, then broadcasting a first service discovery frame, SDF, message to a plurality of devices in the first cluster other than the first device, the first SDF message includes shared service request information and at least one second device identification, the at least one second device is a device that shares the target data with the first device, and subsequently, receives a second SDF message from the at least one second device, the second SDF message includes feedback information for the shared service request information, and then negotiates a transmission path for the target data with the at least one second device, and finally, transmitting the target data to the at least one second device through the negotiated transmission channel. Therefore, when the first device needs to share the target audio and video data, the target audio and video data can be accurately sent to the at least one second device through the NAN network without any data traffic, so that traffic-free data sharing is realized, data cost consumption is reduced, and convenience of data sharing is improved.
In addition, the first device triggers the NAN function based on the request, the NAN function is kept closed in a normal state, electric quantity is saved, potential devices meeting the NAN network can be rapidly screened out based on distance detection, and high efficiency of NAN network creation is improved.
In addition, after the first device shares the target data with the second device, the observation and review of the user of the first device are transmitted to the second device while the target data are synchronously watched, two users can communicate with the same audio and video playing node on one platform in real time, the convenience of message interaction is improved, and the data traffic is saved.
Consistent with the embodiments shown in fig. 2, fig. 3, and fig. 4, please refer to fig. 5, fig. 5 is a schematic structural diagram of a first device according to an embodiment of the present application, as shown, the first device is a neighbor aware network NAN device in a NAN network, the first device includes a processor 501, a memory 502, a communication interface 503, and one or more programs 504, wherein the one or more programs 504 are stored in the memory 502 and configured to be executed by the processor 501, and the programs include instructions for performing the following steps;
when a sharing request aiming at target data is detected, downloading the target data to a local annular cache region, wherein the target data comprises audio data and/or video data;
broadcasting a first Service Discovery Frame (SDF) message to a plurality of devices in a first cluster except the first device, wherein the first SDF message comprises shared service request information and at least one second device identification, and the at least one second device is a device sharing the target data with the first device;
receiving a second SDF message from the at least one second device, the second SDF message including feedback information for the shared service request information;
negotiating a transmission channel of the target data with the at least one second device;
transmitting the target data to the at least one second device through the negotiated transmission channel.
It can be seen that, in the embodiment of the present application, the first device first detects a request for sharing target data, downloading the target data to a local ring buffer, the target data including audio data and/or video data, then broadcasting a first service discovery frame, SDF, message to a plurality of devices in the first cluster other than the first device, the first SDF message includes shared service request information and at least one second device identification, the at least one second device is a device that shares the target data with the first device, and subsequently, receives a second SDF message from the at least one second device, the second SDF message includes feedback information for the shared service request information, and then negotiates a transmission path for the target data with the at least one second device, and finally, transmitting the target data to the at least one second device through the negotiated transmission channel. Therefore, when the first device needs to share the target audio and video data, the target audio and video data can be accurately sent to the at least one second device through the NAN network without any data traffic, so that traffic-free data sharing is realized, data cost consumption is reduced, and convenience of data sharing is improved.
In one possible example, the plurality of devices in the first cluster other than the first device include a relay device, and the relay device is configured to broadcast the first SDF message in a cluster other than the first cluster in which the relay device is located when receiving the first SDF message of the first device.
In this possible example, the at least one second device comprises a first target device group and a second target device group, and the instructions in the program are specifically configured to, in the aspect of receiving the second SDF message from the at least one second device: receiving the second SDF message from each first target device in the first group of target devices, the each first target device being in the first cluster; and means for receiving, by the relay device, the second SDF message from each second target device in the second group of target devices, the each second target device not being in the first cluster.
In one possible example, in the aspect of transmitting the target data to the at least one second device through the negotiated transmission channel, the instructions in the program are specifically configured to: determining a playing time node of the target data in the first device; and the target data including the play time node identifier is transmitted to the at least one second device through the negotiated transmission channel, where the play time node identifier is used to instruct the at least one second device to play the target data according to the play time node identified by the play time node identifier.
In one possible example, the program further includes instructions for performing the steps of: after the target data is transmitted to the at least one second device through the negotiated transmission channel, comment information input by a user of the first device for the target data is detected; and the comment information is transmitted to the at least one second device through the negotiated transmission channel, and the comment information is used for displaying the comment information by the second device.
In one possible example, the program further includes instructions for performing the steps of: after the target data is transmitted to the at least one second device through the negotiated transmission channel, receiving a third SDF message from the at least one second device, where the third SDF message is used to instruct the at least one second device to suspend receiving the target data; and the second device is used for stopping sending the target data to the at least one second device, and releasing the transmission channel if a fourth SDF message for indicating to resume receiving the target data is not received in a preset time period.
In one possible example, the program further includes instructions for performing the steps of: enabling a NAN function before broadcasting a first Service Discovery Frame (SDF) message to a plurality of devices in a first cluster except the first device; the NAN function is used for detecting the distance between the first equipment and each equipment in a preset area according to a preset ranging strategy; and the device is used for screening the plurality of devices of which the distances are smaller than a preset distance threshold; and means for forming the first cluster with the plurality of devices and completing synchronization of each device in the first cluster.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It will be appreciated that the first device, in order to carry out the above-described functions, comprises corresponding hardware structures and/or software modules for performing the respective functions. Those of skill in the art will readily appreciate that the present application is capable of hardware or a combination of hardware and computer software implementing the various illustrative elements and algorithm steps described in connection with the embodiments provided herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the first device may be divided into the functional units according to the above method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 6 is a block diagram of functional units of a data sharing apparatus 600 according to an embodiment of the present application. The data sharing apparatus 600 is applied to a first device, which is a neighbor aware network NAN device, the data sharing apparatus 600 includes a downloading unit 601, a transmitting unit 602, a receiving unit 603, and a communication unit 604, wherein,
the downloading unit 601 is configured to, when a sharing request for target data is detected, download the target data to a local ring cache, where the target data includes audio data and/or video data;
the sending unit 602 is configured to broadcast a first service discovery frame SDF message to a plurality of devices in a first cluster except the first device, where the first SDF message includes shared service request information and at least one second device identifier, and the at least one second device is a device that shares the target data with the first device;
the receiving unit 603 is configured to receive a second SDF message from the at least one second device, where the second SDF message includes feedback information for the shared service request information;
the communication unit 604 is configured to negotiate a transmission channel of the target data with the at least one second device;
the sending unit 605 is further configured to transmit the target data to the at least one second device through the negotiated transmission channel.
It can be seen that, in the embodiment of the present application, the first device first detects a request for sharing target data, downloading the target data to a local ring buffer, the target data including audio data and/or video data, then broadcasting a first service discovery frame, SDF, message to a plurality of devices in the first cluster other than the first device, the first SDF message includes shared service request information and at least one second device identification, the at least one second device is a device that shares the target data with the first device, and subsequently, receives a second SDF message from the at least one second device, the second SDF message includes feedback information for the shared service request information, and then negotiates a transmission path for the target data with the at least one second device, and finally, transmitting the target data to the at least one second device through the negotiated transmission channel. Therefore, when the first device needs to share the target audio and video data, the target audio and video data can be accurately sent to the at least one second device through the NAN network without any data traffic, so that traffic-free data sharing is realized, data cost consumption is reduced, and convenience of data sharing is improved.
In one possible example, the plurality of devices in the first cluster other than the first device include a relay device, and the relay device is configured to broadcast the first SDF message in a cluster other than the first cluster in which the relay device is located when receiving the first SDF message of the first device.
In this possible example, the at least one second device includes a first target device group and a second target device group, and in terms of the receiving the second SDF message from the at least one second device, the receiving unit 603 is specifically configured to: receiving the second SDF message from each first target device in the first group of target devices, the each first target device being in the first cluster; and means for receiving, by the relay device, the second SDF message from each second target device in the second group of target devices, the each second target device not being in the first cluster.
In a possible example, in terms of the transmitting the target data to the at least one second device through the negotiated transmission channel, the sending unit 602 is specifically configured to: determining a playing time node of the target data in the first device; and the target data including the play time node identifier is transmitted to the at least one second device through the negotiated transmission channel, where the play time node identifier is used to instruct the at least one second device to play the target data according to the play time node identified by the play time node identifier.
In one possible example, after the transmitting the target data to the at least one second device through the negotiated transmission channel, the sending unit 602 is further configured to: detecting comment information input by a user of the first device for the target data; and the comment information is transmitted to the at least one second device through the negotiated transmission channel, and the comment information is used for displaying the comment information by the second device.
In one possible example, after the transmitting the target data to the at least one second device through the negotiated transmission channel, the receiving unit 603 is further configured to: receiving a third SDF message from the at least one second device, the third SDF message instructing the at least one second device to suspend receiving the target data;
the communication unit 604 is further configured to: and stopping sending the target data to the at least one second device, and releasing the transmission channel if a fourth SDF message for indicating to resume receiving the target data is not received in a preset time period.
In one possible example, the data sharing apparatus 600 further includes a setup unit, before the broadcasting of the first service discovery frame SDF message to the plurality of devices in the first cluster except the first device, for: enabling a NAN function; the NAN function is used for detecting the distance between the first equipment and each equipment in a preset area according to a preset ranging strategy; and the device is used for screening the plurality of devices of which the distances are smaller than a preset distance threshold; and means for forming the first cluster with the plurality of devices and completing synchronization of each device in the first cluster.
The downloading unit 601, the sending unit 602, the receiving unit 603, and the communication unit 604 may be a transceiver or a communication interface or a processor, and the establishing unit may be a processor or a transceiver.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the data sharing methods described in the above method embodiments, and the computer includes a first device.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any one of the data sharing methods as described in the above method embodiments, the computer comprising a first device.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be performed by associated hardware as instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.
Claims (10)
1. A data sharing method is applied to a first device, wherein the first device is a Neighbor Awareness Network (NAN) device in a NAN network, and the method comprises the following steps:
when a sharing request aiming at target data is detected, downloading the target data to a local annular cache region, wherein the target data comprises audio data and/or video data;
broadcasting a first Service Discovery Frame (SDF) message to a plurality of devices in a first cluster except the first device, wherein the first SDF message comprises shared service request information and at least one second device identification, and the at least one second device is a device sharing the target data with the first device;
receiving a second SDF message from the at least one second device, the second SDF message including feedback information for the shared service request information;
negotiating a transmission channel of the target data with the at least one second device; transmitting the target data to the at least one second device through the negotiated transmission channel, wherein the first device is capable of transmitting the target data to the at least one second device through a NAN network.
2. The method of claim 1, wherein a relay device is included in the plurality of devices in the first cluster other than the first device, and wherein the relay device is configured to broadcast the first SDF message in the cluster other than the first cluster in which the relay device is located when receiving the first SDF message of the first device.
3. The method of claim 2, wherein the at least one second device comprises a first target device group and a second target device group, and wherein receiving the second SDF message from the at least one second device comprises:
receiving the second SDF message from each first target device in the first group of target devices, the each first target device being in the first cluster;
receiving, by the relay device, the second SDF message from each second target device in the second group of target devices, the each second target device not being in the first cluster.
4. The method according to any of claims 1-3, wherein said transmitting said target data to said at least one second device via said negotiated transmission channel comprises:
determining a playing time node of the target data in the first device;
and transmitting the target data containing the playing time node identifier to the at least one second device through the negotiated transmission channel, wherein the playing time node identifier is used for instructing the at least one second device to play the target data according to the playing time node identified by the playing time node identifier.
5. A data sharing method, characterized in that the method comprises all the features of the method of any one of claims 1 to 4, and that, after said transmission of said target data to said at least one second device via said negotiated transmission channel, the method further comprises:
detecting comment information input by a user of the first device for the target data;
and transmitting the comment information to the at least one second device through the negotiated transmission channel, wherein the comment information is used for the second device to display the comment information.
6. A data sharing method, characterized in that the method comprises all the features of the method of any one of claims 1 to 4, and that, after said transmission of said target data to said at least one second device via said negotiated transmission channel, the method further comprises:
receiving a third SDF message from the at least one second device, the third SDF message instructing the at least one second device to suspend receiving the target data;
and stopping sending the target data to the at least one second device, and releasing the transmission channel if a fourth SDF message for indicating to resume receiving the target data is not received in a preset time period.
7. A data sharing method, characterized in that it comprises all the features of the method of any one of claims 1 to 6, and that before said broadcasting a first service discovery frame, SDF, message to a plurality of devices in a first cluster other than said first device, the method further comprises:
enabling a NAN function;
detecting the distance between the first equipment and each equipment in a preset area through the NAN function according to a preset ranging strategy;
screening the plurality of devices with the distances smaller than a preset distance threshold;
forming the first cluster with the plurality of devices and completing synchronization of each device in the first cluster.
8. A data sharing apparatus applied to a first device, the first device being a Neighbor Awareness Network (NAN) device in a NAN network, the data sharing apparatus comprising a downloading unit, a transmitting unit, a receiving unit and a communication unit, wherein:
the downloading unit is used for downloading target data to a local annular cache region when a sharing request aiming at the target data is detected, wherein the target data comprises audio data and/or video data;
the sending unit is configured to broadcast a first Service Discovery Frame (SDF) message to a plurality of devices in a first cluster except the first device, where the first SDF message includes shared service request information and at least one second device identifier, and the at least one second device is a device that shares the target data with the first device;
the receiving unit is configured to receive a second SDF message from the at least one second device, where the second SDF message includes feedback information for the shared service request information;
the communication unit is configured to negotiate a transmission channel of the target data with the at least one second device;
the sending unit is further configured to transmit the target data to the at least one second device through the negotiated transmission channel, where the first device is capable of transmitting the target data to the at least one second device through a NAN network.
9. A first device, comprising: a processor, memory, and one or more programs; the one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method as described in any of claims 1-7.
10. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any of claims 1-7, the computer comprising a first device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810908400.0A CN109067882B (en) | 2018-08-09 | 2018-08-09 | Data sharing method and related product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810908400.0A CN109067882B (en) | 2018-08-09 | 2018-08-09 | Data sharing method and related product |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109067882A CN109067882A (en) | 2018-12-21 |
CN109067882B true CN109067882B (en) | 2021-01-29 |
Family
ID=64683506
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810908400.0A Active CN109067882B (en) | 2018-08-09 | 2018-08-09 | Data sharing method and related product |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109067882B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113342762B (en) * | 2021-08-06 | 2021-10-29 | 深圳市思特克电子技术开发有限公司 | Intelligent processing method and related device for shared messages of friends of merchants |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101409706A (en) * | 2007-10-09 | 2009-04-15 | 华为技术有限公司 | Method, system and relevant equipment for distributing data of edge network |
CN102789458A (en) * | 2011-05-18 | 2012-11-21 | 腾讯科技(深圳)有限公司 | Image file processing method and system |
CN103716342A (en) * | 2012-09-29 | 2014-04-09 | 华为技术有限公司 | Multimedia data sharing method and device |
CN105513327A (en) * | 2016-01-11 | 2016-04-20 | 努比亚技术有限公司 | Intelligent remote control method, device and system |
CN106471842A (en) * | 2014-07-09 | 2017-03-01 | 高通股份有限公司 | Service announcement in neighbours' sensing network data link and scheduling |
CN108370503A (en) * | 2015-12-03 | 2018-08-03 | 佳能株式会社 | Communication equipment and its control method and program |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6802655B2 (en) * | 2016-07-25 | 2020-12-16 | キヤノン株式会社 | Communication equipment, its control method, and programs |
-
2018
- 2018-08-09 CN CN201810908400.0A patent/CN109067882B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101409706A (en) * | 2007-10-09 | 2009-04-15 | 华为技术有限公司 | Method, system and relevant equipment for distributing data of edge network |
CN102789458A (en) * | 2011-05-18 | 2012-11-21 | 腾讯科技(深圳)有限公司 | Image file processing method and system |
CN103716342A (en) * | 2012-09-29 | 2014-04-09 | 华为技术有限公司 | Multimedia data sharing method and device |
CN106471842A (en) * | 2014-07-09 | 2017-03-01 | 高通股份有限公司 | Service announcement in neighbours' sensing network data link and scheduling |
CN108370503A (en) * | 2015-12-03 | 2018-08-03 | 佳能株式会社 | Communication equipment and its control method and program |
CN105513327A (en) * | 2016-01-11 | 2016-04-20 | 努比亚技术有限公司 | Intelligent remote control method, device and system |
Also Published As
Publication number | Publication date |
---|---|
CN109067882A (en) | 2018-12-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3073703A1 (en) | Method and system for sharing music and other audio content among mobile devices | |
EP2807842B1 (en) | Methods and apparatuses for device discovery | |
US10264038B2 (en) | Discovery and management of synchronous audio or video streaming service to multiple sinks in wireless display system | |
US10004059B2 (en) | Service advertisement message transmission method and device | |
CN109089246B (en) | Data transmission method and related product | |
WO2018058636A1 (en) | Method and device for transmitting response message | |
CN109314897A (en) | System information method of sending and receiving, device, equipment and system | |
US20190007827A1 (en) | Device-to-device identification conflict solution method and device-to-device user equipment | |
KR20180099951A (en) | Peer-to-peer communications enhancements | |
CN113079555B (en) | Network resource sharing method and related device | |
US10661166B2 (en) | Information processing system, information processing method, information processing apparatus, and non-transitory storage medium encoded with computer readable information processing program | |
WO2018127046A1 (en) | Service request processing method and apparatus | |
CN108028961B (en) | Method and apparatus for transmitting and receiving data in communication system | |
CN109005044B (en) | Data transmission control method and related device | |
US10548029B2 (en) | Systems and methods for identifying a cell type and cell communication capabilities from cellular broadcast data | |
US9762362B2 (en) | Multi-hop peer-to-peer communications | |
CN103814591A (en) | Communication method, access network equipment and UE (user equipment) of different-format networks | |
WO2016173077A1 (en) | Method, apparatus and terminal for device discovery in terminal direct communication | |
CN109173267B (en) | Game pairing method and related product | |
CN109067882B (en) | Data sharing method and related product | |
KR20220167164A (en) | Method and apparatus for performing uwb (ultra wide band) ranging | |
WO2019191924A1 (en) | Method and device for information determination and configuration, and computer storage medium | |
WO2017052602A1 (en) | Proximity services layer-2 id collision detection | |
CN110891320B (en) | Method, device, equipment and medium for acquiring terminal capability information | |
CN115379279B (en) | Multi-screen linkage interaction method, device, system, storage medium and electronic equipment |
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 |