CN104244244A - Data transmission method and device - Google Patents
Data transmission method and device Download PDFInfo
- Publication number
- CN104244244A CN104244244A CN201410453767.XA CN201410453767A CN104244244A CN 104244244 A CN104244244 A CN 104244244A CN 201410453767 A CN201410453767 A CN 201410453767A CN 104244244 A CN104244244 A CN 104244244A
- Authority
- CN
- China
- Prior art keywords
- electronic equipment
- data transmission
- relevant information
- information
- service
- 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
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 101
- 238000000034 method Methods 0.000 title claims abstract description 62
- 230000003993 interaction Effects 0.000 claims abstract description 11
- 238000012360 testing method Methods 0.000 claims description 8
- 238000012795 verification Methods 0.000 abstract description 3
- 238000012546 transfer Methods 0.000 description 9
- 230000000694 effects Effects 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 230000003319 supportive effect Effects 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000004913 activation Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a data transmission method and device. The method is applied in a first electronic device and comprises the steps that when the first electronic device starts first data transmission services, first attribute information of the first data transmission services is matched with first relevant information stored locally, and a matching result is obtained; the matching result is used for indicating at least one third electronic device which is arranged in at least one second electronic device and is capable of supporting the first data transmission services; a forth electronic device for achieving the first data transmission services in cooperation with the first electronic device is determined from the third electronic device; the first electronic device and the fourth electronic device conduct data interaction corresponding to the first data transmission services through a wireless connection link. The data transmission method and device solve the problems that in the prior art, electronic device data transmission services are complex in verification step and long in time delay.
Description
Technical field
The present invention relates to electronic technology field, particularly relate to a kind of data transmission method and device.
Background technology
Along with the develop rapidly of electronic technology, the electronic product of the life of people and network and various Various Functions links together all the more closely, simultaneously, various network application that is abundant and that be convenient for people to live also emerges in an endless stream, in existing smart machine, increasing equipment has possessed with other equipment not by function that router is directly connected to each other.
When the first equipment and the second equipment are directly interconnected, can be connected by direct wireless network and the data message on the first equipment is directly transferred to the second equipment.But when the first equipment and the second equipment carry out data information transfer, first need user to be configured, input and various control, then the first equipment could realize the data information transfer with the second equipment.
Such as: in prior art, the first equipment and the second equipment carry out Screen sharing, described Screen sharing refers to that the first equipment is connected (such as wifi is direct-connected) with the second equipment by direct wireless network and is directly projected on the second equipment by the content information of the screen display of the first equipment.Specific implementation can be:
First equipment is selected the second equipment, and is connected with the second equipment after finding multiple equipment that can be interconnected by the direct-connected discovery mechanism of wifi from described equipment that can be interconnected; If the first equipment and the second equipment need to carry out Screen sharing, then need after connection establishment success, first equipment needs to initiate the solicited message about Screen sharing, by the information interaction between the second equipment, determine whether the second equipment is supported and with which type of mode support screen share, then according to relevance linkage information, the throwing screen service on upper strata is started, and the transmission of log-on data and network.
Present inventor, in the process realizing technical scheme in the embodiment of the present application, finds that prior art exists following technical problem:
Based on above-mentioned prior art, when being connected by wireless network between equipment, if interconnected two equipment need the data interaction carrying out some service, then need repeatedly carry out Information Authentication, such scheme makes the start-up study of service long, and implementation procedure complexity is not easy to realize.
Summary of the invention
The invention provides a kind of data transmission method and device, method and apparatus provided by the present invention solves the problem extended when electronic device data transmission service verification step is complicated in prior art.
The invention provides a kind of data transmission method, the method is applied in the first electronic equipment, and the method comprises:
When the first electronic equipment starts first data transmission service, the first relevant information that first attribute information of being served by described first data transmission stores with this locality is mated, and obtains matching result; Wherein, the data transport service that at least one second electronic equipment that the described first relevant information indicating can carry out wireless connections with the first electronic equipment is supported; Described matching result is used to indicate at least one the 3rd electronic equipment described first data transmission can being supported to serve at least one second electronic equipment described;
Determine from least one the 3rd electronic equipment described and the 4th electronic equipment that described first electronic equipment cooperative achievement first data transmission is served according to described matching result;
First electronic equipment carries out first data transmission with described 4th electronic equipment by wireless connection link and serves corresponding data interaction.
Optionally, determine to comprise with the 4th electronic equipment of described first electronic equipment cooperative achievement first data transmission service from least one the 3rd electronic equipment described according to described matching result:
Export the first relevant information that at least one the 3rd electronic equipment is corresponding, make user determine at least one the 3rd electronic equipment supporting described first data transmission to serve according to the first relevant information exported;
Receive the selection information of user's input, from least one the 3rd electronic equipment described, determine described 4th electronic equipment according to described selection information.
Optionally, determine to comprise with the 4th electronic equipment of described first electronic equipment cooperative achievement first data transmission service from least one the 3rd electronic equipment described according to described matching result:
Whether detect the current wireless connections electronic equipment of setting up of described first electronic equipment is at least one the 3rd electronic equipment described one, if so, then by described current set up wireless connections electronic equipment be defined as described 4th electronic equipment.
Optionally, before the first relevant information that described first attribute information of being served by described first data transmission and this locality store is mated, the method comprises:
Electronic equipment in first electronic equipment scanning preset range, determining can with at least one second electronic equipment self carrying out wireless connections;
The related information items obtaining each second electronic equipment scanned forms the first relevant information, and is saved in this locality; The related information items of data transport service of described related information items for indicating the second electronic equipment and supporting.
Optionally, before the first relevant information that described first attribute information of being served by described first data transmission and this locality store is mated, the method comprises:
When wireless connections set up by first electronic equipment and at least one second electronic equipment described, obtain the first relevant information that at least one second electronic equipment described is corresponding, and be saved in this locality; Wherein, described first relevant information comprises the related information items indicating the data transport service that each second electronic equipment is supported.
Optionally, when described first electronic equipment and at least one second electronic equipment described carry out wireless connections by the first radio connection, get the first relevant information that at least one second electronic equipment described is corresponding, and after being saved in this locality, the method also comprises:
Obtain described first relevant information, and be stored in the information unit of device attribute corresponding to the second radio connection, described first relevant information can be got when making described first electronic equipment realize first data transmission service by the second radio connection.
Optionally, after described first relevant information is saved in this locality, the method also comprises:
Described first relevant information is set to shared information, when making the first electronic equipment realize first data transmission service with arbitrary radio connection, described first relevant information can be got.
Optionally, after obtaining the first relevant information corresponding at least one second electronic equipment described, the method also comprises:
Generate information according to described first relevant information, and export described information; Wherein, the data transport service of described information for notifying that described in user, at least one second electronic equipment is supported.
Optionally, after the described information of described output, the method comprises further:
Detect and whether have the first operation in the interscan of setting-up time section, obtain a testing result; Wherein, described first operation is the arbitrary data transport service in the data transport service that described in startup, at least one second electronic equipment is supported;
According to described testing result, start corresponding data transport service.
The present invention also provides a kind of data transmission device, and this device is arranged in the first electronic equipment, and this device comprises:
Local matching module, during for starting first data transmission service when the first electronic equipment, the first relevant information that first attribute information of being served by described first data transmission stores with this locality is mated, and obtains matching result; Wherein, the data transport service that at least one second electronic equipment that the described first relevant information indicating can carry out wireless connections with the first electronic equipment is supported; Described matching result is used to indicate at least one the 3rd electronic equipment described first data transmission can being supported to serve at least one second electronic equipment described;
Select module, for determining from least one the 3rd electronic equipment described and the 4th electronic equipment that described first electronic equipment cooperative achievement first data transmission is served according to described matching result;
Transport module, serves corresponding data interaction for carrying out first data transmission with described 4th electronic equipment by wireless connection link.
Optionally, when described second electronic equipment comprises multiple, then described selection module is specifically for exporting the first relevant information corresponding at least one the 3rd electronic equipment, makes user determine at least one the 3rd electronic equipment supporting described first data transmission to serve according to the first relevant information exported; Receive the selection information of user's input, from least one the 3rd electronic equipment described, determine described 4th electronic equipment according to described selection information.
Optionally, first information acquisition module, for scanning the electronic equipment in preset range, determining can with the second electronic equipment carrying out wireless connections with self; Obtain the first relevant information of each second electronic equipment scanned, and be saved in this locality.
Optionally, this device comprises:
Second data obtaining module, during for setting up wireless connections with at least one second electronic equipment described, obtaining the first relevant information that at least one second electronic equipment described is corresponding, and being saved in this locality; Wherein, described first relevant information comprises the related information items indicating the data transport service that each second electronic equipment is supported.
Optionally, when described first electronic equipment and at least one second electronic equipment described carry out wireless connections by the first radio connection, get the first relevant information that at least one second electronic equipment described is corresponding, and after being saved in this locality, this device also comprises:
Sharing module, for obtaining described first relevant information, and be stored in the information unit of device attribute corresponding to the second radio connection, described first relevant information can be got when making described first electronic equipment realize first data transmission service by the second radio connection.
One or two in technique scheme, at least has following technique effect:
Method and apparatus provided by the present invention, as long as carried out wireless connections between electronic equipment or had carrying out scan operation and then can the descriptor of electronic equipment institute Service supportive being carried out alternately, follow-uply need the connection carrying out data transport service, the equipment of the descriptor determination supported data transmission service then can preserved based on this locality, then directly transfer of data is carried out, thus reach the start-up time of saving data transport service, and the effect of simple implementation step.
Accompanying drawing explanation
Fig. 1 provides a kind of schematic flow sheet of data transmission method for the embodiment of the present invention;
Fig. 2 is applied to the schematic flow sheet under wifi environment for method that the embodiment of the present invention provides;
Fig. 3 is the schematic diagram that the embodiment of the present invention shows the first relevant information;
Fig. 4 provides a kind of structural representation of data transmission device for the embodiment of the present invention.
Embodiment
In prior art, when being connected by wireless network between equipment, if interconnected two equipment need the data interaction carrying out some service, then need repeatedly carry out Information Authentication, such scheme makes the start-up study of service long, and implementation procedure complexity is not easy to realize.
For the problems referred to above, the embodiment of the present invention provides a kind of data transmission method, and the method is applied in the first electronic equipment, and the method comprises:
When the first electronic equipment starts first data transmission service, the first relevant information that first attribute information of being served by described first data transmission stores with this locality is mated, and obtains matching result; Wherein, the data transport service that at least one second electronic equipment that the described first relevant information indicating can carry out wireless connections with the first electronic equipment is supported; Described matching result is used to indicate at least one the 3rd electronic equipment described first data transmission can being supported to serve at least one second electronic equipment described;
Determine from least one the 3rd electronic equipment described and the 4th electronic equipment that described first electronic equipment cooperative achievement first data transmission is served according to described matching result;
First electronic equipment carries out first data transmission with described 4th electronic equipment by wireless connection link and serves corresponding data interaction.
The method that the embodiment of the present invention provides, when electronic equipment carries out the wireless connections of equipment, mutual acquisition is to the descriptor can supporting some data transport service, and preserve the descriptor got, thus when turn-on data transmission service, the descriptor that just can directly store according to this locality is confirmed whether the electronic equipment that can carry out a certain data transport service, thus reaches simplification service Booting sequence, reduces the connection time delay of data transport service.
Be described various embodiment of the present invention and various aspects below with reference to following details, accompanying drawing will illustrate various embodiment.Explanation below and accompanying drawing are to exemplary illustration of the present invention, and should not regard limitation of the present invention as.Describe a large amount of detail to provide the detailed understanding to various embodiments of the invention.But in some cases, will known or traditional details be described, to provide brief description to embodiments of the invention.
Some part of following detailed description represents with the form of algorithm, and these algorithms comprise the operation carried out for the data stored in computer storage.Algorithm refer to substantially cause the operation of results needed be certainly in harmony sequence.These operations usually need or relate to physical manipulation or physical quantity.Usually (but not being inevitable), this tittle takes the form of the signal of telecommunication or magnetic signal, and these signals can be stored, transmit, merge, compare and otherwise be handled.Already proved, sometimes (mainly in order to normally used reason), these signals were called position, value, element, symbol, character, item, number etc. are easily.
But should keep firmly in mind, these and similar all terms are associated with suitable physical quantity, and be only the label being easily applied to this tittle.Unless outside being hereinafter otherwise noted with other forms significantly, the explanation using such as " process " or " calculating " or the term such as " judgement " or " display " to carry out in whole specification can refer to the action that data handling system or like carry out and process, measure the data that represent and convert thereof in the memory of this system or register (or other this category informations store, transmit or show device) similarly with other data that the form of physical quantity represents in the RS of described action and process operating computer with physics (electronics).
The present invention can relate to the equipment for performing the one or more operation in operation described in the application.This equipment can for required object and special configuration, or also can comprise all-purpose computer, described all-purpose computer optionally activates (activate) or reconstruct (reconfigure) by the computer program be stored in this computer.Such computer program can be stored in machine (such as computer) computer-readable recording medium or be stored in and be suitable for stored electrons instruction be coupled in any type media of bus respectively, and described computer-readable medium includes but not limited to the dish (comprising floppy disk, CD, CD-ROM and magneto optical disk) of any type, read-only memory (ROM), random access memory (RAM), erasable programmable ROM (EPROM), electrically erasable ROM (EEPROM), flash memory, magnetic card or optical card.
Machine readable media comprises for be stored by the readable form of machine (such as computer) or any mechanism of transmission information.Such as, machine readable media comprises read-only memory (ROM); Random access memory (RAM), disk storage media, optical storage medium, flash memory device, with electricity, light, sound or other form propagate signal (such as carrier wave, infrared signal, digital signal etc.) etc.
As shown in Figure 1, the embodiment of the present invention provides a kind of data transmission method, and the method is applied in the first electronic equipment, is described in detail to the specific embodiment of the present invention below in conjunction with Figure of description:
Step 101, when the first electronic equipment starts first data transmission service, the first relevant information that first attribute information of being served by described first data transmission stores with this locality is mated, and obtains matching result; Wherein, the data transport service that at least one second electronic equipment that the described first relevant information indicating can carry out wireless connections with the first electronic equipment is supported; Described matching result is used to indicate at least one the 3rd electronic equipment described first data transmission can being supported to serve at least one second electronic equipment described;
In embodiments of the present invention, the attribute information of described first data transmission service is characteristic for indicating first data transmission service, and the formation rule of this attribute information is identical with the create-rule of the first relevant information.The attribute information of such as first data transmission service correspondence can be: the title of service, the data transfer demands parameter etc. of service.
Step 102, determines and the 4th electronic equipment that described first electronic equipment cooperative achievement first data transmission is served according to described matching result from least one the 3rd electronic equipment described;
Generally can filter out the 3rd electronic equipment of multiple support first data transmission service from the second electronic equipment according to the first relevant information, in embodiments of the present invention, first electronic equipment according to preset rules, can filter out the 4th electronic equipment as destination equipment automatically from multiple 3rd electronic equipment; In addition, also the 3rd electronic equipment filtered out can be notified user, user determines the 4th electronic equipment that will select according to notification message.
Step 103, the first electronic equipment carries out first data transmission with described 4th electronic equipment by wireless connection link and serves corresponding data interaction.
In embodiments of the present invention, if carried out wireless connections between electronic equipment or had carrying out scan operation, can the descriptor of electronic equipment institute Service supportive be carried out alternately, follow-uply need the connection carrying out data transport service, the equipment of the descriptor determination supported data transmission service then can preserved based on this locality, then directly transfer of data is carried out, thus reach the start-up time of saving data transport service, and the effect of simple implementation step.
In embodiment of the present invention step 102, when described 3rd electronic equipment comprises multiple, determine to comprise multiple with the implementation of the 4th electronic equipment of described first electronic equipment cooperative achievement first data transmission service from described 3rd electronic equipment according to described matching result, below introducing two kinds can the specific implementation process of implementation:
One, user selects qualified 4th electronic equipment, specifically comprises:
Export the first relevant information that at least one the 3rd electronic equipment is corresponding, make user determine at least one the 3rd electronic equipment supporting described first data transmission to serve according to the first relevant information exported;
Receive the selection information of user's input, from least one the 3rd electronic equipment described, determine described 4th electronic equipment according to described selection information.
Two, because when many times electronic equipment needs to carry out data transport service, be all carry out with current certain equipment be connected with self, so specific implementation can be:
Whether detect the current wireless connections electronic equipment of setting up of described first electronic equipment is at least one the 3rd electronic equipment described one, if so, then by described current set up wireless connections electronic equipment be defined as described 4th electronic equipment.
In embodiments of the present invention, the mode obtaining the first relevant information can be multiple, before then the first relevant information that the first attribute information of first data transmission service and this locality store is mated by the first electronic equipment, by following two kinds of modes, the first relevant information can also be obtained; Specifically comprise:
A, when second electronic equipment of the first electronic equipment around scanning, the information of the data transport service that self supports by the second electronic equipment is in advance added in the feedback information of scan operation, and the first electronic equipment can be got, and specific implementation can be:
Electronic equipment in first electronic equipment scanning preset range, determining can with at least one second electronic equipment self carrying out wireless connections;
The related information items obtaining each second electronic equipment scanned forms the first relevant information, and is saved in this locality; The related information items of data transport service of described related information items for indicating the second electronic equipment and supporting.
B, when first electronic equipment and the second electronic equipment carry out any wireless connections, all need the checking of the information of carrying out, the data transport service information just electronic equipment can supported when verifying notifies the other side as additional information, thus the data transport service information making two electronic equipments setting up wireless connections can get the other side to support, specific implementation can be:
When wireless connections set up by first electronic equipment and at least one second electronic equipment described, obtain the first relevant information that at least one second electronic equipment described is corresponding, and be saved in this locality; Wherein, described first relevant information comprises the related information items indicating the data transport service that each second electronic equipment is supported.
The mode of above-mentioned multiple acquisition first relevant information can be applied in same electronic equipment, so the first relevant information obtained in order to comprehensive various obtain manner, in embodiments of the present invention, various obtain manner can also be got first believes and shares, the first relevant information making different pieces of information transmission service can share to various obtain manner to get.Then in embodiments of the present invention, after described first relevant information is saved in this locality, the method also comprises:
Described first relevant information is set to shared information, when making the first electronic equipment realize first data transmission service with arbitrary radio connection, described first relevant information can be got.Or
When described first electronic equipment and at least one second electronic equipment described carry out wireless connections by the first radio connection, get the first relevant information that at least one second electronic equipment described is corresponding, and after being saved in this locality, obtain described first relevant information, and be stored in the information unit of device attribute corresponding to the second radio connection, described first relevant information can be got when making described first electronic equipment realize first data transmission service by the second radio connection.
In embodiments of the present invention, because the object that user carries out wireless connections needs to perform a certain data transport service exactly, so when electronic equipment obtains the first relevant information in the wireless connections stage of electronic equipment, the very first time that the method that then embodiment of the present invention provides can also get the first relevant information notifies user, thus save the connection time delay of data transport service to greatest extent, specific implementation can be:
After obtaining the first relevant information corresponding to described second electronic equipment, generate information according to described first relevant information, and export described information; Wherein, described information is for notifying the data transport service that user second electronic equipment is supported.
Further, after prompting the user, first electronic equipment is just switched to the standby condition starting a certain data transport service at any time, as long as user and a certain second electronic equipment performing data transmission are served, then directly just can carry out transfer of data corresponding to data transport service; In the embodiment of the present invention, after exporting described information, the method comprises further:
Detect and whether have the first operation in the interscan of setting-up time section, obtain a testing result; Wherein, described first operation starts the arbitrary data transport service in the data transport service supported of described second electronic equipment;
According to described testing result, start corresponding data transport service.
In addition, because electronic equipment is in the startup realizing data transport service that detected state can be the fastest, but being in detected state also can cause the power consumption of electronic equipment to increase always, in order to balance both effects, if do not scan the first operation in setting-up time section, then close the autostart function of data transport service.This autostart function open, first electronic equipment start wireless transmission function time, infer user may start wireless data transfer services and more automatically actuated be convenient to data transport service realize backstage operation procedure.
In order to more know the scheme of the detailed description embodiment of the present invention, below in conjunction with concrete use scenes, the method that the embodiment of the present invention provides is further described in detail, such as: the direct-connected transmission of wifi supported by the first electronic equipment and the 3rd electronic equipment, when the first electronic equipment carries out wireless connections by wifi connected mode and the 3rd electronic equipment, then the specific implementation of method that the embodiment of the present invention provides can be (as shown in Figure 2):
Step 201, the authentication request information that WIFI is connected set up by the first electronic equipment initiation and the 3rd electronic equipment, and receive the feedback information for described authentication request information of the 3rd electronic equipment transmission;
Step 202, obtains the first relevant information corresponding to the 3rd electronic equipment in described feedback information, the described first relevant every data transport service denoting the 3rd electronic equipment and support;
In this embodiment, after getting described first relevant information, in the following manner described first relevant information can be saved in this locality:
The first electronic equipment and arbitrary second electronic equipment carry out WIFI be connected time, obtain the first relevant information that described second electronic equipment is corresponding, and described first relevant information be stored in end-to-end p2p device attribute information unit.
After storing described first relevant information by the way, the first relevant information is exported by the mode that can be provided by Fig. 3, makes user to determine according to the first relevant information exported to select corresponding electronic equipment.
Such as: the first electronic equipment needs performing data transmission to serve 2, situation according to Fig. 3, can carry out the user a Service supportive 2 of wireless connections, so after determining this information, just under the prerequisite of not carrying out demand operating, successfully can be connected with the user of a Service supportive 2.
Step 203, when display service opened by the first electronic equipment, exports the first relevant information (can be exported by the mode shown in Fig. 3);
Step 204, receives the selection information of user's input, according to the destination equipment selecting Information Selection second equipment as display service, to the data that the 3rd electronic equipment display service is corresponding.
In this embodiment, what radio connection was selected is that wifi is direct-connected, between two equipment that wifi is direct-connected to be referred to or multiple equipment, by directly connecting (not needing router), and the network that composition one is reciprocity automatically.First equipment scan and mutually find, the equipment then found manually connects activation link block by user, and link block is only responsible for shaking hands and state-maintenance of coupling part; Display service is then that a certain equipment sends other equipment to by interface channel after successful connection, when other equipment get certain equipment have a display service time, be just similar to the service of miracast agreement by one, realize video sharing.When realizing display service, content mutual between InterWorking Equipment is exactly the description (can be miracast, also can be the agreement of other transmission of videos) to self display service.
For the problem that data transport service Connection Step in prior art is numerous and diverse, the scheme that the embodiment of the present invention provides exchanges before the exchange of data transport service information has been advanceed to connection.In this embodiment, namely when the scanning device stage in the direct-connected agreement of wifi, just display service synchronization is announced away, can be implemented in the display service and device-dependent information that in scanning process, just can obtain the other side like this, and carry out the parameter configuration of the machine in advance, can come into force at once when user connects, improve the efficiency of display.
In the scheme that the embodiment of the present invention provides, be based on existing Service Delivery Protocol, the information on services realizing early stage is synchronously announced.Such as, when scanning mutually between wifi equipment, the facility information of the service of information on services and correspondence is added in the packet of scanning, make equipment in need in advance in the protocol procedure (as miracast) of backstage prerun video sharing, other modules of the disconnected communication of initialization, like this after real successful connection, just can come into operation faster.
In embodiments of the present invention, if carried out wireless connections between electronic equipment or had carrying out scan operation, can the descriptor of electronic equipment institute Service supportive be carried out alternately, follow-uply need the connection carrying out data transport service, the equipment of the descriptor determination supported data transmission service then can preserved based on this locality, then directly transfer of data is carried out, thus reach the start-up time of saving data transport service, and the effect of simple implementation step.
As shown in Figure 4, the embodiment of the present invention provides a kind of data transmission device, and this device is arranged in the first electronic equipment, and this device comprises:
Local matching module 401, during for starting first data transmission service when the first electronic equipment, the first relevant information that first attribute information of being served by described first data transmission stores with this locality is mated, and obtains matching result; Wherein, the data transport service that at least one second electronic equipment that the described first relevant information indicating can carry out wireless connections with the first electronic equipment is supported; Described matching result is used to indicate at least one the 3rd electronic equipment described first data transmission can being supported to serve at least one second electronic equipment described;
Select module 402, for determining from least one the 3rd electronic equipment described and the 4th electronic equipment that described first electronic equipment cooperative achievement first data transmission is served according to described matching result;
Wherein, when described 3rd electronic equipment comprises multiple, can two kinds of way selection the 4th electronic equipments below choice for use:
A, selects module 402 specifically for exporting the first relevant information corresponding at least one the 3rd electronic equipment, makes user determine at least one the 3rd electronic equipment supporting described first data transmission to serve according to the first relevant information exported; Receive the selection information of user's input, from least one the 3rd electronic equipment described, determine described 4th electronic equipment according to described selection information.
Whether B, selecting module 402 to be in described 3rd electronic equipment one specifically for detecting the current wireless connections electronic equipment of setting up of described first electronic equipment, if so, then described current wireless connections electronic equipment of setting up being defined as described 4th electronic equipment.
Transport module 403, serves corresponding data interaction for carrying out first data transmission with described 4th electronic equipment by wireless connection link.
In embodiments of the present invention, the mode obtaining the first relevant information can be multiple, then the device that the embodiment of the present invention provides also comprises:
First information acquisition module, for scanning the electronic equipment in preset range, determining can with the second electronic equipment carrying out wireless connections with self; Obtain the first relevant information of each second electronic equipment scanned, and be saved in this locality.
Second data obtaining module, during for setting up wireless connections with at least one second electronic equipment described, obtaining the first relevant information that at least one second electronic equipment described is corresponding, and being saved in this locality; Wherein, described first relevant information comprises the related information items indicating the data transport service that each second electronic equipment is supported.
When described first electronic equipment and at least one second electronic equipment described carry out wireless connections by the first radio connection, get the first relevant information that at least one second electronic equipment described is corresponding, and after being saved in this locality, this device also comprises:
First sharing module, for obtaining described first relevant information, and be stored in the information unit of device attribute corresponding to the second radio connection, described first relevant information can be got when making described first electronic equipment realize first data transmission service by the second radio connection.
In order to shorten the time delay of service verification, after the device that the embodiment of the present invention provides can also get the first relevant information corresponding to described second electronic equipment, this device also comprises:
Reminding module, for generating information according to described first relevant information, and exports described information; Wherein, the data transport service of described information for notifying that described in user, the second electronic equipment is supported.
Automatic switch module, for detecting whether there is the first operation in the interscan of setting-up time section, obtains a testing result; Wherein, described first operation starts the arbitrary data transport service in the data transport service supported of described second electronic equipment; According to described testing result, start corresponding data transport service or the autostart function by closedown data transport service.
Further, in order to the first relevant information that the various mode of integrated application gets, then this device also comprises:
Second sharing module, for described first relevant information is set to shared information, can get described first relevant information when making the first electronic equipment realize first data transmission service with arbitrary radio connection.
Above-mentioned one or more technical scheme in the embodiment of the present application, at least has following technique effect:
In embodiments of the present invention, if carried out wireless connections between electronic equipment or had carrying out scan operation, can the descriptor of electronic equipment institute Service supportive be carried out alternately, follow-uply need the connection carrying out data transport service, the equipment of the descriptor determination supported data transmission service then can preserved based on this locality, then directly transfer of data is carried out, thus reach the start-up time of saving data transport service, and the effect of simple implementation step.
Method of the present invention is not limited to the embodiment described in embodiment, and those skilled in the art's technical scheme according to the present invention draws and other execution mode belongs to technological innovation scope of the present invention equally.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.
Claims (14)
1. a data transmission method, the method is applied in the first electronic equipment, and the method comprises:
When the first electronic equipment starts first data transmission service, the first relevant information that first attribute information of being served by described first data transmission stores with this locality is mated, and obtains matching result; Wherein, the data transport service that at least one second electronic equipment that the described first relevant information indicating can carry out wireless connections with the first electronic equipment is supported; Described matching result is used to indicate at least one the 3rd electronic equipment described first data transmission can being supported to serve at least one second electronic equipment described;
Determine from least one the 3rd electronic equipment described and the 4th electronic equipment that described first electronic equipment cooperative achievement first data transmission is served according to described matching result;
First electronic equipment carries out first data transmission with described 4th electronic equipment by wireless connection link and serves corresponding data interaction.
2. the method for claim 1, is characterized in that, determines to comprise with the 4th electronic equipment of described first electronic equipment cooperative achievement first data transmission service according to described matching result from least one the 3rd electronic equipment described:
Export the first relevant information that at least one the 3rd electronic equipment is corresponding, make user determine at least one the 3rd electronic equipment supporting described first data transmission to serve according to the first relevant information exported;
Receive the selection information of user's input, from least one the 3rd electronic equipment described, determine described 4th electronic equipment according to described selection information.
3. the method for claim 1, is characterized in that, determines to comprise with the 4th electronic equipment of described first electronic equipment cooperative achievement first data transmission service according to described matching result from least one the 3rd electronic equipment described:
Whether detect the current wireless connections electronic equipment of setting up of described first electronic equipment is at least one the 3rd electronic equipment described one, if so, then by described current set up wireless connections electronic equipment be defined as described 4th electronic equipment.
4. the method for claim 1, is characterized in that, before the first relevant information that described first attribute information of being served by described first data transmission and this locality store is mated, the method comprises:
Electronic equipment in first electronic equipment scanning preset range, determining can with at least one second electronic equipment self carrying out wireless connections;
The related information items obtaining each second electronic equipment scanned forms the first relevant information, and is saved in this locality; The related information items of data transport service of described related information items for indicating the second electronic equipment and supporting.
5. the method for claim 1, is characterized in that, before the first relevant information that described first attribute information of being served by described first data transmission and this locality store is mated, the method comprises:
When wireless connections set up by first electronic equipment and at least one second electronic equipment described, obtain the first relevant information that at least one second electronic equipment described is corresponding, and be saved in this locality; Wherein, described first relevant information comprises the related information items indicating the data transport service that each second electronic equipment is supported.
6. method as claimed in claim 5, it is characterized in that, when described first electronic equipment and at least one second electronic equipment described carry out wireless connections by the first radio connection, get the first relevant information that at least one second electronic equipment described is corresponding, and after being saved in this locality, the method also comprises:
Obtain described first relevant information, and be stored in the information unit of device attribute corresponding to the second radio connection, described first relevant information can be got when making described first electronic equipment realize first data transmission service by the second radio connection.
7. the method as described in as arbitrary in claim 4-6, it is characterized in that, after described first relevant information is saved in this locality, the method also comprises:
Described first relevant information is set to shared information, when making the first electronic equipment realize first data transmission service with arbitrary radio connection, described first relevant information can be got.
8. the method as described in as arbitrary in claim 5 or 6, is characterized in that, after obtaining the first relevant information corresponding at least one second electronic equipment described, the method also comprises:
Generate information according to described first relevant information, and export described information; Wherein, the data transport service of described information for notifying that described in user, at least one second electronic equipment is supported.
9. method as claimed in claim 8, it is characterized in that, after the described information of described output, the method comprises further:
Detect and whether have the first operation in the interscan of setting-up time section, obtain a testing result; Wherein, described first operation is the arbitrary data transport service in the data transport service that described in startup, at least one second electronic equipment is supported;
According to described testing result, start corresponding data transport service.
10. a data transmission device, this device is arranged in the first electronic equipment, and this device comprises:
Local matching module, during for starting first data transmission service when the first electronic equipment, the first relevant information that first attribute information of being served by described first data transmission stores with this locality is mated, and obtains matching result; Wherein, the data transport service that at least one second electronic equipment that the described first relevant information indicating can carry out wireless connections with the first electronic equipment is supported; Described matching result is used to indicate at least one the 3rd electronic equipment described first data transmission can being supported to serve at least one second electronic equipment described;
Select module, for determining from least one the 3rd electronic equipment described and the 4th electronic equipment that described first electronic equipment cooperative achievement first data transmission is served according to described matching result;
Transport module, serves corresponding data interaction for carrying out first data transmission with described 4th electronic equipment by wireless connection link.
11. devices as claimed in claim 10, it is characterized in that, when described second electronic equipment comprises multiple, then described selection module is specifically for exporting the first relevant information corresponding at least one the 3rd electronic equipment, makes user determine at least one the 3rd electronic equipment supporting described first data transmission to serve according to the first relevant information exported; Receive the selection information of user's input, from least one the 3rd electronic equipment described, determine described 4th electronic equipment according to described selection information.
12. devices as claimed in claim 10, it is characterized in that, this device comprises:
First information acquisition module, for scanning the electronic equipment in preset range, determining can with the second electronic equipment carrying out wireless connections with self; Obtain the first relevant information of each second electronic equipment scanned, and be saved in this locality.
13. devices as claimed in claim 10, it is characterized in that, this device comprises:
Second data obtaining module, during for setting up wireless connections with at least one second electronic equipment described, obtaining the first relevant information that at least one second electronic equipment described is corresponding, and being saved in this locality; Wherein, described first relevant information comprises the related information items indicating the data transport service that each second electronic equipment is supported.
14. devices as claimed in claim 13, it is characterized in that, when described first electronic equipment and at least one second electronic equipment described carry out wireless connections by the first radio connection, get the first relevant information that at least one second electronic equipment described is corresponding, and after being saved in this locality, this device also comprises:
Sharing module, for obtaining described first relevant information, and be stored in the information unit of device attribute corresponding to the second radio connection, described first relevant information can be got when making described first electronic equipment realize first data transmission service by the second radio connection.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410453767.XA CN104244244B (en) | 2014-09-05 | 2014-09-05 | A kind of data transmission method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410453767.XA CN104244244B (en) | 2014-09-05 | 2014-09-05 | A kind of data transmission method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104244244A true CN104244244A (en) | 2014-12-24 |
CN104244244B CN104244244B (en) | 2019-02-05 |
Family
ID=52231419
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410453767.XA Active CN104244244B (en) | 2014-09-05 | 2014-09-05 | A kind of data transmission method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104244244B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105657571A (en) * | 2015-12-25 | 2016-06-08 | 中山大学花都产业科技研究院 | Bandwidth-saving method for video transmission in local area network |
CN105681393A (en) * | 2015-12-29 | 2016-06-15 | 联想(北京)有限公司 | Data synchronization method and electronic device |
WO2016192200A1 (en) * | 2015-06-01 | 2016-12-08 | 中兴通讯股份有限公司 | Miracast method and device, and computer readable storage medium |
WO2020119823A1 (en) * | 2018-12-14 | 2020-06-18 | 广州视源电子科技股份有限公司 | Screen projection method, screen projection apparatus and screen projection device |
CN113721877A (en) * | 2021-09-09 | 2021-11-30 | 天津智融创新科技发展有限公司 | Screen pushing method, device, equipment and storage medium |
WO2022222733A1 (en) * | 2021-04-23 | 2022-10-27 | 华为技术有限公司 | Data transmission method and related device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102687579A (en) * | 2009-10-02 | 2012-09-19 | 捷讯研究有限公司 | Methods and apparatus to proxy discovery and negotiations between network entities to establish peer-to-peer communications |
CN102740498A (en) * | 2010-12-14 | 2012-10-17 | 微软公司 | Direct connection with side channel control |
WO2013106404A1 (en) * | 2012-01-12 | 2013-07-18 | Marvell World Trade Ltd. | Systems and methods for establishing a wi-fi display (wfd) session |
CN103476093A (en) * | 2012-06-06 | 2013-12-25 | 捷讯研究有限公司 | Methods and apparatus for use in facilitating communication for different types of wireless networks |
-
2014
- 2014-09-05 CN CN201410453767.XA patent/CN104244244B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102687579A (en) * | 2009-10-02 | 2012-09-19 | 捷讯研究有限公司 | Methods and apparatus to proxy discovery and negotiations between network entities to establish peer-to-peer communications |
CN102740498A (en) * | 2010-12-14 | 2012-10-17 | 微软公司 | Direct connection with side channel control |
WO2013106404A1 (en) * | 2012-01-12 | 2013-07-18 | Marvell World Trade Ltd. | Systems and methods for establishing a wi-fi display (wfd) session |
CN103476093A (en) * | 2012-06-06 | 2013-12-25 | 捷讯研究有限公司 | Methods and apparatus for use in facilitating communication for different types of wireless networks |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016192200A1 (en) * | 2015-06-01 | 2016-12-08 | 中兴通讯股份有限公司 | Miracast method and device, and computer readable storage medium |
CN105657571A (en) * | 2015-12-25 | 2016-06-08 | 中山大学花都产业科技研究院 | Bandwidth-saving method for video transmission in local area network |
CN105657571B (en) * | 2015-12-25 | 2019-02-01 | 中山大学花都产业科技研究院 | A kind of method that transmission of video saves bandwidth in local area network |
CN105681393A (en) * | 2015-12-29 | 2016-06-15 | 联想(北京)有限公司 | Data synchronization method and electronic device |
WO2020119823A1 (en) * | 2018-12-14 | 2020-06-18 | 广州视源电子科技股份有限公司 | Screen projection method, screen projection apparatus and screen projection device |
WO2022222733A1 (en) * | 2021-04-23 | 2022-10-27 | 华为技术有限公司 | Data transmission method and related device |
CN113721877A (en) * | 2021-09-09 | 2021-11-30 | 天津智融创新科技发展有限公司 | Screen pushing method, device, equipment and storage medium |
CN113721877B (en) * | 2021-09-09 | 2024-02-06 | 天津智融创新科技发展有限公司 | Screen pushing method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN104244244B (en) | 2019-02-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12267799B2 (en) | Method and apparatus for registering wireless device in wireless communication system | |
CN104244244A (en) | Data transmission method and device | |
US11490323B2 (en) | Method and device for accessing a network hotspot device by an unconfigured device | |
US9544048B2 (en) | System and method for persistent wireless docking | |
CN112751699B (en) | OTA upgrading and upgrading management method, equipment, network and storage medium | |
US12101225B2 (en) | Soft configuration and data exchange for in-home devices | |
CN105471686B (en) | Terminal control method, device and system | |
CN102802059B (en) | The method of configuration machine top box, Apparatus and system | |
CN105208583B (en) | A method, device and smart device for configuring smart home appliances to access the network | |
CN110995554A (en) | Method, device and storage medium for configuring network access of smart home appliances | |
CN108781473B (en) | Method and equipment for sharing files among different terminals | |
US11452156B2 (en) | Configuration system, client device, embedded device configuration method, and storage medium | |
CN109429243A (en) | Monitor the methods, devices and systems of the network insertion state of distribution net equipment | |
CN110213102A (en) | Apparatus control method, device, electronic equipment and storage medium | |
CN104469886A (en) | Smart device and method and device for fast accessing wireless network access device thereof | |
CN110099393A (en) | Monitor the methods, devices and systems of the network insertion state of distribution net equipment | |
WO2019080719A1 (en) | Data processing method and device, storage medium, processor, and system | |
CN104333598A (en) | Two-dimension code and network adaption based mobile terminal and web terminal interconnection method | |
CN111163469A (en) | Network distribution method of intelligent household appliance, wireless module and intelligent household appliance | |
CN104394577A (en) | Wireless network access method of wireless route equipment and electronic equipment | |
CN112689316B (en) | Binding method and device of intelligent equipment, storage medium and electronic device | |
CN106888108A (en) | The networking methods of smart machine, smart machine and mobile client | |
CN113891317A (en) | Network distribution method for intelligent equipment, distribution network device, and electronic equipment | |
WO2017088795A1 (en) | Method and device for controlling smart appliance | |
CN105100900B (en) | The method and apparatus of compatibility test certification |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |