CN105142098A - Data sharing method and device - Google Patents

Data sharing method and device Download PDF

Info

Publication number
CN105142098A
CN105142098A CN201510512452.2A CN201510512452A CN105142098A CN 105142098 A CN105142098 A CN 105142098A CN 201510512452 A CN201510512452 A CN 201510512452A CN 105142098 A CN105142098 A CN 105142098A
Authority
CN
China
Prior art keywords
electronic equipment
link information
data channel
medium data
wireless data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510512452.2A
Other languages
Chinese (zh)
Other versions
CN105142098B (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.)
Douyin Vision Co Ltd
Douyin Vision Beijing Co Ltd
Original Assignee
Beijing Hammer Numeral Science And Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Hammer Numeral Science And Technology Co Ltd filed Critical Beijing Hammer Numeral Science And Technology Co Ltd
Priority to CN201510512452.2A priority Critical patent/CN105142098B/en
Publication of CN105142098A publication Critical patent/CN105142098A/en
Application granted granted Critical
Publication of CN105142098B publication Critical patent/CN105142098B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a data sharing method and device. According to the data sharing method, firstly, first connection information is sent to a second electronic device via a first communication module, and after a connection request sent by the second electronic device is received, a first wireless data channel is established with the second electronic device via a second communication module in a first electronic device based on the first connection information; in this way, a multimedia data output instruction can be sent to the second electronic device; in addition, as the multimedia data output instruction carries multimedia data, the second electronic device is capable of obtaining the multimedia data by virtue of the first wireless data channel, and therefore, the multimedia data can be shared by a plurality of electronic devices without Internet and the limitation of data sharing is reduced. Besides, the multimedia data output instruction is capable of instructing the second electronic device to directly output the multimedia data after receiving the multimedia data output instruction, and therefore, the multimedia data is not stored in the second electronic device and the security of the multimedia data is improved.

Description

A kind of data sharing method and device
Technical field
The invention belongs to wireless communication technology field, more particularly, particularly relate to a kind of data sharing method and device.
Background technology
Along with the development of network, network is many convenience for user brings, and user can transfer data on network, and other users then can be transferred to the data on network by web download like this, to realize data sharing.
For multi-medium data, current multi-medium data sharing mode mainly contains two kinds, and wherein first kind of way is: multiple electronic equipment can be connected on the Internet simultaneously, watches multi-medium data online on the internet; The second way is: by the Internet, multi-medium data is downloaded to this locality of electronic equipment from the server of the Internet association, like this after same multi-medium data all downloaded by multiple electronic equipment, namely can watch multi-medium data at synchronization.
From above-mentioned two kinds of modes, multi-medium data is shared all to be needed by means of this medium of the Internet, thus makes data sharing have certain limitation.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of data sharing method and device, for the multi-medium data of the first electronic equipment is being shared to the second electronic equipment, and control the second electronic equipment directly exports multi-medium data, the second electronic equipment not storing multimedia data can be controlled like this, improve Information Security.Technical scheme is as follows:
The invention provides a kind of data sharing method, described method is applied in the first electronic equipment, stores multi-medium data in described first electronic equipment, and described first electronic equipment can communicate with at least one the second electronic equipment, and described method comprises:
By the first communication module in described first electronic equipment, the first link information is sent to described second electronic equipment;
After the connection request receiving described second electronic equipment transmission, set up the first wireless data channel based on described first link information by the second communication module in described first electronic equipment and between described second electronic equipment;
Based on after setting up the first wireless data channel between described first link information and described second electronic equipment, from described first electronic equipment, obtain described multi-medium data;
The second electronic equipment of described first wireless data channel is had to send multi-medium data output order to foundation, carry described multi-medium data in wherein said multi-medium data output order, and be used to indicate the second electronic equipment receiving described multi-medium data output order and directly export described multi-medium data.
Preferably, the authentication information of the described first link information identification information that to be identification information in described first electronic equipment wireless connections or described first link information be in described first electronic equipment wireless connections and described identification information;
Described method also comprises: based on described first link information by the second communication module of described first electronic equipment using described first electronic equipment as the main equipment setting up described first wireless data channel, to make described first electronic equipment based on described first link information by setting up the first wireless data channel between described second communication module and described second electronic equipment.
Preferably, described based on described first link information by the second communication module of described first electronic equipment using described first electronic equipment as the main equipment setting up described first wireless data channel, comprising:
In described first electronic equipment, set up by the second communication module of described first electronic equipment the software access point mated with described first link information based on described first link information, the link information of wherein said software access point is consistent with described first link information.
Preferably, described first link information is the first address information of described first electronic equipment and the second address information of described second electronic equipment;
After the described connection request receiving described second electronic equipment transmission, setting up the first wireless data channel based on described first link information by the second communication module in described first electronic equipment and between described second electronic equipment, comprising:
After the connection request receiving described second electronic equipment transmission, 3rd address information of carrying in described connection request is mated with described first address information, if described 3rd address information is mated with described first address information, and response is passed through in the second certification receiving described second electronic equipment transmission, then set up described first wireless data channel based on described first address information and described second address information between described first electronic equipment and described second electronic equipment.
Preferably, described have the second electronic equipment of described first wireless data channel to send multi-medium data output order to foundation, comprising: broadcast described multi-medium data output order to the second electronic equipment setting up described first wireless data channel with described first electronic equipment;
Or
Described have the second electronic equipment of described first wireless data channel to send multi-medium data output order to foundation, comprising: the data acquisition request being received described second electronic equipment transmission by described first wireless data channel;
After receiving described data acquisition request, send described multi-medium data output order by described first wireless data channel to described second electronic equipment.
The present invention also provides a kind of data sharing device, and described application of installation, in the first electronic equipment, stores multi-medium data in described first electronic equipment, and described first electronic equipment can communicate with at least one the second electronic equipment, and described device comprises:
First transmitting element, for sending to described second electronic equipment by the first communication module in described first electronic equipment by the first link information;
Path Setup unit, for after the connection request receiving described second electronic equipment transmission, sets up the first wireless data channel based on described first link information by the second communication module in described first electronic equipment and between described second electronic equipment;
Acquiring unit, for based on after setting up the first wireless data channel between described first link information and described second electronic equipment, obtains described multi-medium data from described first electronic equipment;
Second transmitting element, multi-medium data output order is sent for there being the second electronic equipment of described first wireless data channel to foundation, carry described multi-medium data in wherein said multi-medium data output order, and be used to indicate the second electronic equipment receiving described multi-medium data output order and directly export described multi-medium data.
Preferably, the authentication information of the described first link information identification information that to be identification information in described first electronic equipment wireless connections or described first link information be in described first electronic equipment wireless connections and described identification information;
Described device also comprises: main equipment chooses unit, for based on described first link information by the second communication module of described first electronic equipment using described first electronic equipment as the main equipment setting up described first wireless data channel, to make described first electronic equipment based on described first link information by setting up the first wireless data channel between described second communication module and described second electronic equipment.
Preferably, described main equipment choose unit for: in described first electronic equipment, set up by the second communication module of described first electronic equipment the software access point mated with described first link information based on described first link information, the link information of wherein said software access point is consistent with described first link information.
Preferably, described first link information is the first address information of described first electronic equipment and the second address information of described second electronic equipment;
Described Path Setup unit, for: after the connection request receiving described second electronic equipment transmission, 3rd address information of carrying in described connection request is mated with described first address information, if described 3rd address information is mated with described first address information, and response is passed through in the second certification receiving described second electronic equipment transmission, then set up described first wireless data channel based on described first address information and described second address information between described first electronic equipment and described second electronic equipment.
Preferably, described second transmitting element is used for: broadcast described multi-medium data output order to the second electronic equipment setting up described first wireless data channel with described first electronic equipment;
Or
Described second transmitting element is used for: the data acquisition request being received described second electronic equipment transmission by described first wireless data channel, and after receiving described data acquisition request, send described multi-medium data output order by described first wireless data channel to described second electronic equipment.
Compared with prior art, technique scheme tool provided by the invention has the following advantages:
In technique scheme provided by the invention, first by first communication module, the first link information is sent to the second electronic equipment, after the connection request receiving the second electronic equipment transmission, the first wireless data channel can be set up by the second communication module in the first electronic equipment and between the second electronic equipment based on the first link information, so just the second electronic equipment of the first wireless data channel can be had to send multi-medium data output order to foundation, and in multi-medium data output order, carry multi-medium data, second electronic equipment then can obtain multi-medium data by means of the first wireless data channel between the first electronic equipment, make multi-medium data when not by means of when the Internet between multiple electronic equipment share, reduce the limitation of data sharing.And multi-medium data output order can indicate the second electronic equipment directly to export multi-medium data after receiving multi-medium data output order, that is after receiving multimedia data output order, it does not perform download instruction to the second electronic equipment, make multi-medium data can not be stored in the second electronic equipment, reduce the possibility that multi-medium data is revealed via the second electronic equipment, thus improve the fail safe of multi-medium data.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of flow chart of the data sharing method that the embodiment of the present invention provides;
Fig. 2 is the another kind of flow chart of the data sharing method that the embodiment of the present invention provides;
Fig. 3 is a kind of structural representation of the data sharing device that the embodiment of the present invention provides;
Fig. 4 is the another kind of structural representation of the data sharing device that the embodiment of the present invention provides.
Embodiment
The embodiment of the present invention provides a kind of data sharing method and device, send for the multi-medium data stored in the first electronic equipment is carried in multi-medium data output order, second electronic equipment then can obtain multi-medium data by means of the first wireless data channel between the first electronic equipment, making multi-medium data when not sharing between multiple electronic equipment by means of when the Internet, reducing the limitation of data sharing.And multi-medium data output order can indicate the second electronic equipment directly to export multi-medium data after receiving multi-medium data output order, make multi-medium data can not be stored in the second electronic equipment, thus improve the fail safe of multi-medium data.
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Refer to Fig. 1, it illustrates a kind of flow chart of the data sharing method that the embodiment of the present invention provides, it is applied in the first electronic equipment, wherein stores multi-medium data in the first electronic equipment, and the first electronic equipment can communicate with at least one the second electronic equipment.Concrete, data sharing method shown in Fig. 1 can comprise the following steps:
101: by the first communication module in the first electronic equipment, the first link information is sent to the second electronic equipment.Wherein the first link information is for setting up the first wireless data channel information needed between the first electronic equipment and the second electronic equipment, and it can send to the second electronic equipment by the first communication module in the first electronic equipment.
Such as first communication module can be a NFC (NearFieldCommunication, near-field communication) module, by the electronic label function of NFC module, when the first electronic equipment and the second electronic equipment contact, the first link information be packaged in electronic tag just sends to the second electronic equipment by NFC module.Wherein the first link information can be the first address information of the first electronic equipment and the second address information of the second electronic equipment.
In embodiments of the present invention, first address information can be the MAC Address (MediaAccessControl of the first electronic equipment, media interviews control), same second address information is the MAC Address of the second electronic equipment, the MAC Address of the first electronic equipment is packaged in the first electronic tag in the first electronic equipment, the MAC Address of the second electronic equipment is packaged in the second electronic tag in the second electronic equipment, when the first electronic equipment and the second electronic equipment contact, by the NFC module of the first electronic equipment, the MAC Address be packaged in the first electronic tag is sent to the second electronic equipment, the same MAC Address be packaged in the second electronic tag also can be sent in the first electronic equipment by the NFC module of the second electronic equipment.
102: after the connection request receiving the second electronic equipment transmission, set up the first wireless data channel based on the first link information by the second communication module in the first electronic equipment and between the second electronic equipment.In embodiments of the present invention, connection request is used to indicate the second electronic equipment wishes to set up the first wireless data channel with the first electronic equipment, therefore, after receiving connection request, the first electronic equipment can set up the first wireless data channel based on the first link information and the second electronic equipment.
Be the first address information of the first electronic equipment and the second address information of the second electronic equipment for above-mentioned first link information, after the connection request receiving the second electronic equipment transmission, 3rd address information of carrying in connection request is mated with the first address information, if the 3rd address information is mated with the first address information, and response is passed through in the second certification receiving the second electronic equipment transmission, then set up the first wireless data channel between the first electronic device and the second electronic device based on the first address information and the second address information.
Wherein the second certification is that the second electronic equipment is after the connection request receiving the first electronic equipment transmission by response, judge what the address information of carrying in the connection request that the first electronic equipment sends sent when mating with the first address information, its instruction can set up the first wireless data channel with the first electronic equipment, therefore when the first electronic equipment judges that the 3rd address information is mated with the first address information, and response is passed through in the second certification receiving the second electronic equipment transmission, just can set up the first wireless data channel between the first electronic device and the second electronic device based on the first address information and the second address information.
103: based on after setting up the first wireless data channel between the first link information and the second electronic equipment, from the first electronic equipment, obtain multi-medium data.
104: have the second electronic equipment of the first wireless data channel to send multi-medium data output order to foundation, wherein carry multi-medium data in multi-medium data output order, such second electronic equipment is after receiving multi-medium data output order, then can obtain multi-medium data from multi-medium data output order, realize multi-medium data between electronic devices share.And multi-medium data output order can indicate the second electronic equipment receiving this instruction directly to export multi-medium data.That is multi-medium data output order can control the second electronic equipment forbidding download instruction in embodiments of the present invention, thus control the second electronic equipment and directly export multi-medium data and non-storing multimedia data, just because of the non-storing multimedia data of the second electronic equipment, other users cannot get multi-medium data from the second electronic equipment, reduce multi-medium data by the possibility revealed, improve the fail safe of multi-medium data.
In embodiments of the present invention, the mode sending multi-medium data output order can have multiple, and wherein a kind of mode is that active broadcast pushes mode, and another kind of mode is passive propelling movement mode.
Wherein active broadcast pushes mode and is: set up the second electronic equipment broadcasting multimedia data output order of the first wireless data channel to the first electronic equipment, such first electronic equipment is as when setting up the main equipment of the first wireless data channel, can to the multiple second electronic equipments broadcasting multimedia data output order simultaneously setting up the first wireless data channel with it, multiple like this second electronic equipment can process by receiving multimedia data output order.
The process of passive propelling movement mode is then: receive by the first wireless data channel the data acquisition request that the second electronic equipment sends, and after receiving data acquisition request, send multi-medium data output order by the first wireless data channel to the second electronic equipment, realize sharing one to one.
From technique scheme, first first link information is sent to the second electronic equipment by first communication module by the data sharing method that the embodiment of the present invention provides, after the connection request receiving the second electronic equipment transmission, the first wireless data channel can be set up by the second communication module in the first electronic equipment and between the second electronic equipment based on the first link information, so just the second electronic equipment of the first wireless data channel can be had to send multi-medium data output order to foundation, and in multi-medium data output order, carry multi-medium data, second electronic equipment then can obtain multi-medium data by means of the first wireless data channel between the first electronic equipment, make multi-medium data when not by means of when the Internet between multiple electronic equipment share, reduce the limitation of data sharing.And multi-medium data output order can indicate the second electronic equipment directly to export multi-medium data after receiving multi-medium data output order, that is after receiving multimedia data output order, it does not perform download instruction to the second electronic equipment, make multi-medium data can not be stored in the second electronic equipment, reduce the possibility that multi-medium data is revealed via the second electronic equipment, thus improve the fail safe of multi-medium data.
Refer to Fig. 2, it illustrates the another kind of flow chart of the data sharing method that the embodiment of the present invention provides, set forth the first electronic equipment can set up the first wireless data channel with multiple second electronic equipment as the main equipment setting up the first wireless data channel simultaneously, specifically can comprise the following steps:
101: by the first communication module in the first electronic equipment, the first link information is sent to the second electronic equipment.In embodiments of the present invention, first link information can be the identification information in the first electronic equipment wireless connections, described identification information is used for different first electronic equipment to distinguish, it can be the identifier representing one first electronic equipment, as SSID (ServiceSetIdentifier, service set) number.Certainly in order to ensure the fail safe of setting up the first wireless data channel, the first link information, except comprising identification information, can also comprise the authentication information of identification information, as the password of identification information.
105: based on the first link information by the second communication module of the first electronic equipment using the first electronic equipment as the main equipment setting up the first wireless data channel.When the first electronic equipment is set to by second communication module the main equipment setting up the first wireless data channel, first electronic equipment then becomes the focus being carried out data interaction by the first wireless data channel and the second electronic equipment, make the second electronic equipment directly can set up the first wireless data channel with the first electronic equipment based on the first link information, wherein the first wireless data channel is for carrying out the data channel of data interaction between the first electronic equipment and the second electronic equipment.
Concrete, first electronic equipment sets up software access point by second communication module on the first electronic equipment, this software access point is the focus that the first electronic equipment and other electronic equipments carry out data interaction, and other electronic equipments can set up the first wireless data channel based on the first link information and the first electronic equipment by this focus of search.
In embodiments of the present invention, first electronic equipment at least comprises WIFI (WirelessFidelity, Wireless Fidelity) communication module and bluetooth communication, using the first electronic equipment as when setting up the main equipment of the first wireless data channel, first electronic equipment can choose a communication module in above-mentioned two kinds of communication modules, as WIFI communication module carries out the communication mode of data interaction as with the second electronic equipment, the first electronic equipment is made to become the main equipment setting up the first wireless data channel.
Further first electronic equipment can set up WIFI hot spot by the WIFI network interface card of WIFI communication module on the first electronic equipment, and other electronic equipments can set up the first wireless data channel based on the first link information and the first electronic equipment after searching this WIFI hot spot.
102: after the connection request receiving the second electronic equipment transmission, set up the first wireless data channel based on the first link information by the second communication module in the first electronic equipment and between the second electronic equipment.
103: based on after setting up the first wireless data channel between the first link information and the second electronic equipment, from the first electronic equipment, obtain multi-medium data.
104: have the second electronic equipment of the first wireless data channel to send multi-medium data output order to foundation, wherein carry multi-medium data in multi-medium data output order, such second electronic equipment is after receiving multi-medium data output order, then can obtain multi-medium data from multi-medium data output order, realize multi-medium data between electronic devices share.And multi-medium data output order can indicate the second electronic equipment receiving this instruction directly to export multi-medium data.That is multi-medium data output order can control the second electronic equipment forbidding download instruction in embodiments of the present invention, thus control the second electronic equipment and directly export multi-medium data and non-storing multimedia data, just because of the non-storing multimedia data of the second electronic equipment, other users cannot get multi-medium data from the second electronic equipment, reduce multi-medium data by the possibility revealed, improve the fail safe of multi-medium data.
For aforesaid each embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not by the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and involved action and module might not be that the present invention is necessary.
Corresponding with said method embodiment, the present invention also provides a kind of data sharing device, described data sharing device is applied in the first electronic equipment, stores multi-medium data in the first electronic equipment, and the first electronic equipment can communicate with at least one the second electronic equipment.In embodiments of the present invention, the structural representation of data sharing device as shown in Figure 3, can comprise: the first transmitting element 11, Path Setup unit 12, acquiring unit 13 and the second transmitting element 14.
First transmitting element 11, for sending to the second electronic equipment by the first communication module in the first electronic equipment by the first link information.Wherein the first link information is for setting up the first wireless data channel information needed between the first electronic equipment and the second electronic equipment, and it can send to the second electronic equipment by the first communication module in the first electronic equipment.
Such as first communication module can be a NFC module, by the electronic label function of NFC module, when the first electronic equipment and the second electronic equipment contact, the first link information be packaged in electronic tag is sent to the second electronic equipment by NFC module by the first transmitting element 11.Wherein the first link information can be the first address information of the first electronic equipment and the second address information of the second electronic equipment.
In embodiments of the present invention, first address information can be the MAC Address of the first electronic equipment, same second address information is the MAC Address of the second electronic equipment, the MAC Address of the first electronic equipment is packaged in the first electronic tag in the first electronic equipment, the MAC Address of the second electronic equipment is packaged in the second electronic tag in the second electronic equipment, when the first electronic equipment and the second electronic equipment contact, the MAC Address be packaged in the first electronic tag is sent to the second electronic equipment by the NFC module of the first electronic equipment by the first transmitting element 11, the same MAC Address be packaged in the second electronic tag also can be sent in the first electronic equipment by the NFC module of the second electronic equipment.
Path Setup unit 12, for after the connection request receiving the second electronic equipment transmission, sets up the first wireless data channel based on the first link information by the second communication module in the first electronic equipment and between the second electronic equipment.
Be the first address information of the first electronic equipment and the second address information of the second electronic equipment for above-mentioned first link information, Path Setup unit 12 is after the connection request receiving the second electronic equipment transmission, 3rd address information of carrying in connection request is mated with the first address information, if the 3rd address information is mated with the first address information, and response is passed through in the second certification receiving the second electronic equipment transmission, then set up the first wireless data channel between the first electronic device and the second electronic device based on the first address information and the second address information.
Wherein the second certification is that the second electronic equipment is after the connection request receiving the first electronic equipment transmission by response, judge what the address information of carrying in the connection request that the first electronic equipment sends sent when mating with the first address information, its instruction can set up the first wireless data channel with the first electronic equipment, therefore when Path Setup unit 12 judges that the 3rd address information is mated with the first address information, and response is passed through in the second certification receiving the second electronic equipment transmission, just can set up the first wireless data channel between the first electronic device and the second electronic device based on the first address information and the second address information.
Acquiring unit 13, for based on after setting up the first wireless data channel between the first link information and the second electronic equipment, obtains multi-medium data from the first electronic equipment.
Second transmitting element 14, multi-medium data output order is sent for there being the second electronic equipment of the first wireless data channel to foundation, wherein carry multi-medium data in multi-medium data output order, such second electronic equipment is after receiving multi-medium data output order, then can obtain multi-medium data from multi-medium data output order, realize multi-medium data between electronic devices share.And multi-medium data output order can indicate the second electronic equipment receiving this instruction directly to export multi-medium data.That is multi-medium data output order can control the second electronic equipment forbidding download instruction in embodiments of the present invention, thus control the second electronic equipment and directly export multi-medium data and non-storing multimedia data, just because of the non-storing multimedia data of the second electronic equipment, other users cannot get multi-medium data from the second electronic equipment, reduce multi-medium data by the possibility revealed, improve the fail safe of multi-medium data.
In embodiments of the present invention, the mode that second transmitting element 14 sends multi-medium data output order includes but not limited to following two kinds of modes: a kind of mode is that active broadcast pushes mode, detailed process is: set up the second electronic equipment broadcasting multimedia data output order of the first wireless data channel to the first electronic equipment, such first electronic equipment is as when setting up the main equipment of the first wireless data channel, can to the multiple second electronic equipments broadcasting multimedia data output order simultaneously setting up the first wireless data channel with it, multiple like this second electronic equipment can process by receiving multimedia data output order.
Another kind of mode is then passive propelling movement mode, its detailed process is: the data acquisition request being received the second electronic equipment transmission by the first wireless data channel, and after receiving data acquisition request, send multi-medium data output order by the first wireless data channel to the second electronic equipment, realize sharing one to one.
From technique scheme, first link information is sent to the second electronic equipment by first communication module by the data sharing device that the embodiment of the present invention provides, after the connection request receiving the second electronic equipment transmission, the first wireless data channel can be set up by the second communication module in the first electronic equipment and between the second electronic equipment based on the first link information, so just the second electronic equipment of the first wireless data channel can be had to send multi-medium data output order to foundation, and in multi-medium data output order, carry multi-medium data, second electronic equipment then can obtain multi-medium data by means of the first wireless data channel between the first electronic equipment, make multi-medium data when not by means of when the Internet between multiple electronic equipment share, reduce the limitation of data sharing.And multi-medium data output order can indicate the second electronic equipment directly to export multi-medium data after receiving multi-medium data output order, that is after receiving multimedia data output order, it does not perform download instruction to the second electronic equipment, make multi-medium data can not be stored in the second electronic equipment, reduce the possibility that multi-medium data is revealed via the second electronic equipment, thus improve the fail safe of multi-medium data.
In addition, in embodiments of the present invention, the authentication information of the above-mentioned first link information identification information that can also to be identification information in the first electronic equipment wireless connections or the first link information be in the first electronic equipment wireless connections and identification information.Wherein, identification information is used for different first electronic equipment to distinguish, and it can be the identifier representing one first electronic equipment, and as No. SSID, the authentication information of identification information is at the password that can be identification information.
Accordingly, the data sharing device that the embodiment of the present invention provides can also comprise: main equipment chooses unit 15, as shown in Figure 4.Wherein main equipment chooses unit 15, for based on the first link information by the second communication module of the first electronic equipment using the first electronic equipment as the main equipment setting up the first wireless data channel, to make the first electronic equipment based on the first link information by setting up the first wireless data channel between second communication module and the second electronic equipment.
Preferably, main equipment choose unit 15 for: in the first electronic equipment, set up by the second communication module of the first electronic equipment the software access point mated with the first link information based on the first link information, wherein the link information of software access point is consistent with the first link information.
In embodiments of the present invention, first electronic equipment at least comprises WIFI communication module and bluetooth communication, using the first electronic equipment as when setting up the main equipment of the first wireless data channel, first electronic equipment can choose a communication module in above-mentioned two kinds of communication modules, as WIFI communication module carries out the communication mode of data interaction as with the second electronic equipment, the first electronic equipment is made to become the main equipment setting up the first wireless data channel.
Further first electronic equipment can set up WIFI hot spot by the WIFI network interface card of WIFI communication module on the first electronic equipment, and other electronic equipments can set up the first wireless data channel based on the first link information and the first electronic equipment after searching this WIFI hot spot.
It should be noted that, each embodiment in this specification all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.For device class embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Finally, also it should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
To the above-mentioned explanation of the disclosed embodiments, those skilled in the art are realized or uses the present invention.To be apparent for a person skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (10)

1. a data sharing method, is characterized in that, described method is applied in the first electronic equipment, stores multi-medium data in described first electronic equipment, and described first electronic equipment can communicate with at least one the second electronic equipment, and described method comprises:
By the first communication module in described first electronic equipment, the first link information is sent to described second electronic equipment;
After the connection request receiving described second electronic equipment transmission, set up the first wireless data channel based on described first link information by the second communication module in described first electronic equipment and between described second electronic equipment;
Based on after setting up the first wireless data channel between described first link information and described second electronic equipment, from described first electronic equipment, obtain described multi-medium data;
The second electronic equipment of described first wireless data channel is had to send multi-medium data output order to foundation, carry described multi-medium data in wherein said multi-medium data output order, and be used to indicate the second electronic equipment receiving described multi-medium data output order and directly export described multi-medium data.
2. method according to claim 1, it is characterized in that, the authentication information of the described first link information identification information that to be identification information in described first electronic equipment wireless connections or described first link information be in described first electronic equipment wireless connections and described identification information;
Described method also comprises: based on described first link information by the second communication module of described first electronic equipment using described first electronic equipment as the main equipment setting up described first wireless data channel, to make described first electronic equipment based on described first link information by setting up the first wireless data channel between described second communication module and described second electronic equipment.
3. method according to claim 2, is characterized in that, described based on described first link information by the second communication module of described first electronic equipment using described first electronic equipment as the main equipment setting up described first wireless data channel, comprising:
In described first electronic equipment, set up by the second communication module of described first electronic equipment the software access point mated with described first link information based on described first link information, the link information of wherein said software access point is consistent with described first link information.
4. method according to claim 1, is characterized in that, described first link information is the first address information of described first electronic equipment and the second address information of described second electronic equipment;
After the described connection request receiving described second electronic equipment transmission, setting up the first wireless data channel based on described first link information by the second communication module in described first electronic equipment and between described second electronic equipment, comprising:
After the connection request receiving described second electronic equipment transmission, 3rd address information of carrying in described connection request is mated with described first address information, if described 3rd address information is mated with described first address information, and response is passed through in the second certification receiving described second electronic equipment transmission, then set up described first wireless data channel based on described first address information and described second address information between described first electronic equipment and described second electronic equipment.
5. method according to claim 1, it is characterized in that, described have the second electronic equipment of described first wireless data channel to send multi-medium data output order to foundation, comprising: broadcast described multi-medium data output order to the second electronic equipment setting up described first wireless data channel with described first electronic equipment;
Or
Described have the second electronic equipment of described first wireless data channel to send multi-medium data output order to foundation, comprising: the data acquisition request being received described second electronic equipment transmission by described first wireless data channel;
After receiving described data acquisition request, send described multi-medium data output order by described first wireless data channel to described second electronic equipment.
6. a data sharing device, is characterized in that, described application of installation, in the first electronic equipment, stores multi-medium data in described first electronic equipment, and described first electronic equipment can communicate with at least one the second electronic equipment, and described device comprises:
First transmitting element, for sending to described second electronic equipment by the first communication module in described first electronic equipment by the first link information;
Path Setup unit, for after the connection request receiving described second electronic equipment transmission, sets up the first wireless data channel based on described first link information by the second communication module in described first electronic equipment and between described second electronic equipment;
Acquiring unit, for based on after setting up the first wireless data channel between described first link information and described second electronic equipment, obtains described multi-medium data from described first electronic equipment;
Second transmitting element, multi-medium data output order is sent for there being the second electronic equipment of described first wireless data channel to foundation, carry described multi-medium data in wherein said multi-medium data output order, and be used to indicate the second electronic equipment receiving described multi-medium data output order and directly export described multi-medium data.
7. device according to claim 6, it is characterized in that, the authentication information of the described first link information identification information that to be identification information in described first electronic equipment wireless connections or described first link information be in described first electronic equipment wireless connections and described identification information;
Described device also comprises: main equipment chooses unit, for based on described first link information by the second communication module of described first electronic equipment using described first electronic equipment as the main equipment setting up described first wireless data channel, to make described first electronic equipment based on described first link information by setting up the first wireless data channel between described second communication module and described second electronic equipment.
8. device according to claim 7, it is characterized in that, described main equipment choose unit for: in described first electronic equipment, set up by the second communication module of described first electronic equipment the software access point mated with described first link information based on described first link information, the link information of wherein said software access point is consistent with described first link information.
9. device according to claim 6, is characterized in that, described first link information is the first address information of described first electronic equipment and the second address information of described second electronic equipment;
Described Path Setup unit, for: after the connection request receiving described second electronic equipment transmission, 3rd address information of carrying in described connection request is mated with described first address information, if described 3rd address information is mated with described first address information, and response is passed through in the second certification receiving described second electronic equipment transmission, then set up described first wireless data channel based on described first address information and described second address information between described first electronic equipment and described second electronic equipment.
10. device according to claim 6, is characterized in that, described second transmitting element is used for: broadcast described multi-medium data output order to the second electronic equipment setting up described first wireless data channel with described first electronic equipment;
Or
Described second transmitting element is used for: the data acquisition request being received described second electronic equipment transmission by described first wireless data channel, and after receiving described data acquisition request, send described multi-medium data output order by described first wireless data channel to described second electronic equipment.
CN201510512452.2A 2015-08-19 2015-08-19 A kind of data sharing method and device Active CN105142098B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510512452.2A CN105142098B (en) 2015-08-19 2015-08-19 A kind of data sharing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510512452.2A CN105142098B (en) 2015-08-19 2015-08-19 A kind of data sharing method and device

Publications (2)

Publication Number Publication Date
CN105142098A true CN105142098A (en) 2015-12-09
CN105142098B CN105142098B (en) 2019-10-25

Family

ID=54727280

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510512452.2A Active CN105142098B (en) 2015-08-19 2015-08-19 A kind of data sharing method and device

Country Status (1)

Country Link
CN (1) CN105142098B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105792105A (en) * 2016-02-29 2016-07-20 联想(北京)有限公司 Data transmission method and electronic device
WO2022228028A1 (en) * 2021-04-30 2022-11-03 华为技术有限公司 File sharing method and electronic device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130324186A1 (en) * 2012-05-29 2013-12-05 Newport Media, Inc. Single Transceiver for Wireless Peer-To-Peer Connections
CN103595775A (en) * 2013-11-04 2014-02-19 惠州Tcl移动通信有限公司 Media file sharing method and system
CN103596160A (en) * 2013-11-25 2014-02-19 联想(北京)有限公司 Method and device for data transmission
CN104185250A (en) * 2014-09-15 2014-12-03 联想(北京)有限公司 Wireless communication method, electronic devices and wireless communication system
CN104410950A (en) * 2014-12-25 2015-03-11 北京元心科技有限公司 Data sharing method, device and system
EP2858419A2 (en) * 2013-08-16 2015-04-08 Samsung Electronics Co., Ltd Data communication method and apparatus based on wireless communication
US20150099469A1 (en) * 2013-10-06 2015-04-09 Steven Wayne Goldstein Methods and systems for establishing and maintaining presence information of neighboring bluetooth devices
CN104584606A (en) * 2012-08-30 2015-04-29 皇家飞利浦有限公司 Method and devices for pairing within a group of wireless devices

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130324186A1 (en) * 2012-05-29 2013-12-05 Newport Media, Inc. Single Transceiver for Wireless Peer-To-Peer Connections
CN104584606A (en) * 2012-08-30 2015-04-29 皇家飞利浦有限公司 Method and devices for pairing within a group of wireless devices
EP2858419A2 (en) * 2013-08-16 2015-04-08 Samsung Electronics Co., Ltd Data communication method and apparatus based on wireless communication
US20150099469A1 (en) * 2013-10-06 2015-04-09 Steven Wayne Goldstein Methods and systems for establishing and maintaining presence information of neighboring bluetooth devices
CN103595775A (en) * 2013-11-04 2014-02-19 惠州Tcl移动通信有限公司 Media file sharing method and system
CN103596160A (en) * 2013-11-25 2014-02-19 联想(北京)有限公司 Method and device for data transmission
CN104185250A (en) * 2014-09-15 2014-12-03 联想(北京)有限公司 Wireless communication method, electronic devices and wireless communication system
CN104410950A (en) * 2014-12-25 2015-03-11 北京元心科技有限公司 Data sharing method, device and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105792105A (en) * 2016-02-29 2016-07-20 联想(北京)有限公司 Data transmission method and electronic device
CN105792105B (en) * 2016-02-29 2022-05-31 联想(北京)有限公司 Data transmission method and electronic equipment
WO2022228028A1 (en) * 2021-04-30 2022-11-03 华为技术有限公司 File sharing method and electronic device

Also Published As

Publication number Publication date
CN105142098B (en) 2019-10-25

Similar Documents

Publication Publication Date Title
CN105992306B (en) Binding method of terminal and home gateway
CN106878926A (en) A kind of data transmission method based on low-power consumption bluetooth, from main equipment and system
CN104158883A (en) Method, device, equipment and system for carrying out user login through cross-terminal equipment
CN109451487B (en) Virtual card downloading method, terminal and intermediate device
CN102984699A (en) D2D (device-to-device) communication data processing method, equipment and system
WO2018107593A1 (en) Method and device for sharing file between different terminals
CN105282868A (en) System and Method for Temporarily Joining a WiFi Network
CN104010297A (en) Wireless terminal configuration method and device thereof and wireless terminal
CN102143492B (en) Method for establishing virtual private network (VPN) connection, mobile terminal and server
CN104619040A (en) Method and system for quickly connecting WIFI equipment
CN105491093A (en) Terminal authentication method, network access methods, server, wireless access point and terminal
CN103684546B (en) A kind of method and system of wireless user terminal pairing
CN102469455A (en) Method and system for managing machine type communication (MTC) equipment based on generic bootstrapping architecture (GBA) in grouping manner
CN103702312A (en) Wireless information transmission method and equipment
CN106535090A (en) Pairing method for Bluetooth device and intelligent device and Bluetooth device
CN102572818A (en) Application key management method and system of MTC group device
CN104754495A (en) Smart household device connecting method and smart terminal
US20160294925A1 (en) Cloud-Based Data Sharing
CN106658488B (en) Intelligent household appliance and method and device for safely accessing intelligent household appliance
CN107211265A (en) The safety interacting method and device of a kind of terminal room
CN103391527B (en) Implementation method, equipment and the system that in wireless access hotspot device, function is shared
CN103888264A (en) Inter-mobile-phone data transferring method based on background data exchange, terminal and system
CN105681225A (en) Network resource acquisition method and device
CN111787514B (en) Method and device for acquiring equipment control data, storage medium and electronic device
CN105142098A (en) Data sharing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20190121

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Applicant after: BEIJING BYTEDANCE NETWORK TECHNOLOGY Co.,Ltd.

Address before: Room 309 and 310, Building 3, 33 D, 99 Kechuang 14th Street, Beijing Economic and Technological Development Zone, 100176

Applicant before: SMARTISAN DIGITAL Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee after: Douyin Vision Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee before: Tiktok vision (Beijing) Co.,Ltd.

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee after: Tiktok vision (Beijing) Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee before: BEIJING BYTEDANCE NETWORK TECHNOLOGY Co.,Ltd.