CN104244244B - A kind of data transmission method and device - Google Patents

A kind of data transmission method and device Download PDF

Info

Publication number
CN104244244B
CN104244244B CN201410453767.XA CN201410453767A CN104244244B CN 104244244 B CN104244244 B CN 104244244B CN 201410453767 A CN201410453767 A CN 201410453767A CN 104244244 B CN104244244 B CN 104244244B
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.)
Active
Application number
CN201410453767.XA
Other languages
Chinese (zh)
Other versions
CN104244244A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201410453767.XA priority Critical patent/CN104244244B/en
Publication of CN104244244A publication Critical patent/CN104244244A/en
Application granted granted Critical
Publication of CN104244244B publication Critical patent/CN104244244B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of data transmission method and devices, this method is applied in the first electronic equipment, this method comprises: when the starting first data transmission service of the first electronic equipment, the first attribute information that the first data transmission services is matched with the first relevant information being locally stored, obtains matching result;The matching result is used to indicate at least one described second electronic equipment at least one the third electronic equipment that can support the first data transmission service;According to the 4th electronic equipment of matching result determination and the first electronic equipment cooperative achievement first data transmission service from least one described third electronic equipment;First electronic equipment and the 4th electronic equipment carry out the corresponding data interaction of first data transmission service by wireless connection link.Method and apparatus provided by the invention solve the problems, such as to extend when electronic device data transmission service verification step complexity in the prior art.

Description

A kind of data transmission method and device
Technical field
The present invention relates to electronic technology field more particularly to a kind of data transmission methods and device.
Background technique
With the rapid development of electronic technology, the electronic product of people's lives and network and various Various Functions more steps up Close links together, meanwhile, network application that is various abundant and facilitating people to live also emerges one after another, and sets in existing intelligence In standby, more and more equipment, which have, does not pass through the function that router directly interconnects with other equipment.
It, can be by direct wireless network connection by first in the case where the first equipment and the second equipment directly interconnect Data information in equipment is transmitted directly to the second equipment.But when the first equipment and the second equipment progress data information transfer, It configures, input and various controls firstly the need of user, then the first equipment is just able to achieve and the data of the second equipment are believed Breath transmission.
Such as: the first equipment and the second equipment carry out Screen sharing in the prior art, and the Screen sharing refers to that first sets Standby and the second equipment is believed by the content that direct wireless network connection (such as wifi is direct-connected) shows the screen of the first equipment Breath is projected directly in the second equipment.Specific implementation may is that
After first equipment finds multiple equipment interconnected by the direct-connected discovery mechanism of wifi, from the equipment interconnected In select the second equipment, and establish connection with the second equipment;If the first equipment and the second equipment need to carry out Screen sharing, It then needs after connection is successfully established, the first equipment needs to initiate the solicited message about Screen sharing, by setting with second Information exchange between standby determines whether the second equipment is supported and support screen is shared in a manner of which type of, then basis Relevance linkage information starts the throwing screen service on upper layer, and the transmission of log-on data and network.
In realizing the embodiment of the present application during technical solution, the discovery prior art exists as follows present inventor Technical problem:
Based on above-mentioned prior art, when passing through wireless network connection between equipment, if two equipment of interconnection need The data interaction of certain services is carried out, then needs carry out Information Authentication repeatedly, such scheme prolongs the starting of service When it is long, and realize process complexity be not easy to realize.
Summary of the invention
The present invention provides a kind of data transmission method and device, and method and apparatus provided by the present invention solve the prior art The problem of extending when middle electronic device data transmission service verification step complexity.
The present invention provides a kind of data transmission method, and this method is applied in the first electronic equipment, this method comprises:
When the starting first data transmission service of the first electronic equipment, the first attribute that the first data transmission is serviced Information is matched with the first relevant information being locally stored, and obtains matching result;Wherein, first relevant information indicates energy The data transport service supported at least one second electronic equipment that the first electronic equipment is wirelessly connected;The matching As a result be used to indicate at least one described second electronic equipment can support the first data transmission service at least one the Three electronic equipments;
It is assisted according to the matching result is determining from least one described third electronic equipment with first electronic equipment With the 4th electronic equipment for realizing first data transmission service;
First electronic equipment and the 4th electronic equipment pass through wireless connection link progress first data transmission service pair The data interaction answered.
Optionally, it is determined and first electronics from least one described third electronic equipment according to the matching result Equipment collaboration realizes that the 4th electronic equipment of first data transmission service includes:
Corresponding first relevant information of at least one third electronic equipment is exported, so that first correlation of the user according to output Information determines at least one the third electronic equipment for supporting the first data transmission service;
The selection information for receiving user's input, it is true from least one described third electronic equipment according to the selection information Fixed 4th electronic equipment.
Optionally, it is determined and first electronics from least one described third electronic equipment according to the matching result Equipment collaboration realizes that the 4th electronic equipment of first data transmission service includes:
It detects first electronic equipment and currently establishes whether wireless connection electronic equipment is at least one third electricity One in sub- equipment, if so, the current foundation wireless connection electronic equipment is determined as the 4th electronic equipment.
Optionally, first attribute information that the first data transmission is serviced to be locally stored first it is related letter Before breath is matched, this method comprises:
First electronic equipment scan preset range in electronic equipment, determination can be wirelessly connected with itself at least one A second electronic equipment;
It obtains and each of scan the related information items of the second electronic equipment and form the first relevant information, and be saved in Ground;The related information items are used to indicate the related information items for the data transport service that the second electronic equipment is supported.
Optionally, first attribute information that the first data transmission is serviced to be locally stored first it is related letter Before breath is matched, this method comprises:
First electronic equipment and at least one described second electronic equipment are established when being wirelessly connected, obtain it is described at least one Corresponding first relevant information of second electronic equipment, and it is saved in local;It wherein, include that mark is every in first relevant information The related information items for the data transport service that a second electronic equipment is supported.
Optionally, when first electronic equipment and at least one described second electronic equipment pass through the first wireless connection side Formula is wirelessly connected, and gets corresponding first relevant information of at least one described second electronic equipment, and be saved in local Later, this method further include:
Obtain first relevant information, and the information unit stored to the corresponding device attribute of the second radio connection In, first electronic equipment is got when realizing first data transmission service by the second radio connection First relevant information.
Optionally, after first relevant information being saved in local, this method further include:
Shared information is set by first relevant information, so that the first electronic equipment is real with any radio connection First relevant information can be got when existing first data transmission service.
Optionally, after obtaining corresponding first relevant information of at least one described second electronic equipment, this method is also wrapped It includes:
Prompt information is generated according to first relevant information, and exports the prompt information;Wherein, the prompt information For notifying at least one second electronic equipment is supported described in user data transport service.
Optionally, after the output prompt information, this method further comprises:
Detection scans whether have the first operation in the set time period, obtains a testing result;Wherein, first operation It is any data transmission service started in the data transport service that at least one described second electronic equipment is supported;
According to the testing result, start corresponding data transport service.
The present invention also provides a kind of data transmission device, which is set in the first electronic equipment, which includes:
Local matching module is used for when the starting first data transmission service of the first electronic equipment, by first data First attribute information of transmission service is matched with the first relevant information being locally stored, and obtains matching result;Wherein, described The number that at least one second electronic equipment that first relevant information mark can be wirelessly connected with the first electronic equipment is supported It is serviced according to transmission;The matching result, which is used to indicate at least one described second electronic equipment, can support first data to pass At least one third electronic equipment of defeated service;
Selecting module, for determining with described the from least one described third electronic equipment according to the matching result 4th electronic equipment of one electronic equipment cooperative achievement first data transmission service;
Transmission module, for carrying out first data transmission service pair by wireless connection link with the 4th electronic equipment The data interaction answered.
Optionally, when second electronic equipment include it is multiple, then the selecting module be specifically used for export at least one Corresponding first relevant information of third electronic equipment, so that user determines according to the first relevant information of output supports described first At least one third electronic equipment of data transport service;Receive user input selection information, according to the selection information from The 4th electronic equipment is determined at least one described third electronic equipment.
Optionally, the first information obtain module, for being scanned to the electronic equipment in preset range, determination can with The second electronic equipment itself being wirelessly connected;The first relevant information for each of scanning the second electronic equipment is obtained, and It is saved in local.
Optionally, which includes:
Second data obtaining module obtains institute when being wirelessly connected for establishing at least one described second electronic equipment Corresponding first relevant information of at least one second electronic equipment is stated, and is saved in local;Wherein, in first relevant information Related information items including indicating the data transport service that each second electronic equipment is supported.
Optionally, when first electronic equipment and at least one described second electronic equipment pass through the first wireless connection side Formula is wirelessly connected, and gets corresponding first relevant information of at least one described second electronic equipment, and be saved in local Later, the device further include:
Sharing module for obtaining first relevant information, and is stored to the corresponding equipment of the second radio connection In the information unit of attribute, so that first electronic equipment realizes first data transmission service by the second radio connection When can get first relevant information.
One or two of above-mentioned technical proposal at least has the following technical effect that
Method and apparatus provided by the present invention, as long as having carried out being wirelessly connected or being scanned behaviour between electronic equipment Make that the description information of service can then be supported electronic equipment to interact, subsequent needs carry out data transmission the company of service It connects, then the equipment for supporting data transport service can be determined based on the description information locally saved, then directly carry out data biography It is defeated, to reach the starting time for saving data transport service, and simplify the effect for realizing step.
Detailed description of the invention
Fig. 1 provides a kind of flow diagram of data transmission method for the embodiment of the present invention;
Fig. 2 is that method provided by the embodiment of the present invention is applied to the flow diagram under wifi environment;
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 schematic diagram of data transmission device for the embodiment of the present invention.
Specific embodiment
In the prior art, when passing through wireless network connection between equipment, if interconnection two equipment need to carry out it is certain The data interaction of service then needs carry out Information Authentication repeatedly, and such scheme makes the start-up study of service long, and And realize that process complexity is not easy to realize.
In view of the above-mentioned problems, the embodiment of the present invention provides a kind of data transmission method, this method is applied to the first electronics and sets In standby, this method comprises:
When the starting first data transmission service of the first electronic equipment, the first attribute that the first data transmission is serviced Information is matched with the first relevant information being locally stored, and obtains matching result;Wherein, first relevant information indicates energy The data transport service supported at least one second electronic equipment that the first electronic equipment is wirelessly connected;The matching As a result be used to indicate at least one described second electronic equipment can support the first data transmission service at least one the Three electronic equipments;
It is assisted according to the matching result is determining from least one described third electronic equipment with first electronic equipment With the 4th electronic equipment for realizing first data transmission service;
First electronic equipment and the 4th electronic equipment pass through wireless connection link progress first data transmission service pair The data interaction answered.
Method provided by the embodiment of the present invention when electronic equipment carries out the wireless connection of equipment, is obtained to can mutually It supports the description information of certain data transport services, and saves the description information got, serviced to be transmitted in turn-on data When, so that it may directly it is confirmed whether that the electronics that can carry out a certain data transport service is set according to the description information being locally stored It is standby, simplify service Booting sequence to reach, reduces the connection time delay of data transport service.
Various embodiments of the present invention and various aspects are illustrated below with reference to following details, attached drawing will illustrate each Kind embodiment.Following description and drawings are to exemplary illustration of the invention, without that should regard limitation of the present invention as.Description A large amount of details are to provide the detailed understanding to various embodiments of the invention.It but in some cases, will not be to known Or traditional details be described, to provide brief description to the embodiment of the present invention.
Certain parts of following detailed description are showed in the form of algorithm, these algorithms include for computer The operation that the data stored in memory carry out.Algorithm generally refers to cause the self-consistent sequence of the operation of required result.These Operation usually requires or is related to physical manipulation or physical quantity.Usually (but not being inevitable), this tittle takes electric signal or magnetic to believe Number form, these signals can be stored, transmit, merge, compare and otherwise be manipulated.It is proved that sometimes (primarily to usually used reason) is convenient these signals are known as position, value, element, symbol, character, item, number etc. 's.
But one should keep in mind that, these and similar all terms are associated with appropriate physical quantity, and only It is the convenient label applied to this tittle.Unless outside being hereinafter significantly otherwise noted otherwise, in the whole instruction Using the explanation that " processing " or " calculating " or the terms such as " judgement " or " display " are carried out can refer to data processing system or With physics in the register and memory of the movement and processing that like carries out, the movement and processing maneuvering calculation machine (electronics) amount indicate data and convert thereof into the system memory or register (or other this category informations storage, transmission Or the device of display) in other data for similarly being indicated in the form of physical quantity.
The present invention can be related to the equipment for executing one or more operations in operation described herein.The equipment Can for required purpose special configuration, or also may include general purpose computer, the general purpose computer is by being stored in this Computer program in computer selectively activates (activate) or reconstruct (reconfigure).Such computer journey Sequence, which can be stored in machine (such as computer) readable medium or be stored in, to be instructed suitable for stored electrons and couples respectively Into any type of media of bus, the computer-readable medium includes but is not limited to any kind of disk (including floppy disk, light Disk, CD-ROM and magneto-optic disk), 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 includes for store or transmit appointing for information by the readable form of machine (such as computer) What mechanism.For example, machine readable media includes read-only memory (ROM);Random access memory (RAM), disk storage media, Optical storage medium, flash memory device, signal (such as the carrier wave, infrared letter propagated in the form of electricity, light, sound or other Number, digital signal etc.) etc..
As shown in Figure 1, the embodiment of the present invention provides a kind of data transmission method, this method is applied to the first electronic equipment In, detailed description of the preferred embodiments with reference to the accompanying drawings of the specification:
Step 101, when the starting first data transmission service of the first electronic equipment, the first data transmission is serviced First attribute information is matched with the first relevant information being locally stored, and obtains matching result;Wherein, the described first related letter The data transport service that at least one second electronic equipment that breath mark can be wirelessly connected with the first electronic equipment is supported; The matching result, which is used to indicate at least one described second electronic equipment, can support the first data transmission service extremely A few third electronic equipment;
In embodiments of the present invention, the attribute information of the first data transmission service is for indicating first data transmission The characteristic of service, and the formation rule of the attribute information is identical as the create-rule of the first relevant information.Such as first number Servicing corresponding attribute information according to transmission may is that the title of service, data transfer demands parameter of service etc..
Step 102, it is determined from least one described third electronic equipment according to the matching result and first electricity Sub- equipment collaboration realizes the 4th electronic equipment of first data transmission service;
Multiple support first data transmission clothes can be generally filtered out from the second electronic equipment according to the first relevant information The third electronic equipment of business, in embodiments of the present invention, the first electronic equipment can be according to preset rules, automatically from multiple thirds The 4th electronic equipment of end equipment as a purpose is filtered out in electronic equipment;Third electronics alternatively, it is also possible to filter out is set It is standby to notify user, user's the 4th electronic equipment to be selected according to notification message determination.
Step 103, the first electronic equipment and the 4th electronic equipment pass through wireless connection link the first data biography of progress It is defeated to service corresponding data interaction.
It in embodiments of the present invention, can be with if having carried out being wirelessly connected or being scanned operation between electronic equipment The description information of service is supported to interact electronic equipment, subsequent needs carry out data transmission the connection of service, then can be with The equipment for supporting data transport service is determined based on the description information locally saved, is then directly carried out data transmission, to reach To the starting time for saving data transport service, and simplify the effect for realizing step.
In step 102 of the embodiment of the present invention, when the third electronic equipment includes multiple, according to the matching result Determining the 4th electronics with the first electronic equipment cooperative achievement first data transmission service from the third electronic equipment The implementation of equipment includes a variety of, the specific implementation process of two kinds of achievable modes introduced below:
One, user selects qualified 4th electronic equipment, specifically includes:
Corresponding first relevant information of at least one third electronic equipment is exported, so that first correlation of the user according to output Information determines at least one the third electronic equipment for supporting the first data transmission service;
The selection information for receiving user's input, it is true from least one described third electronic equipment according to the selection information Fixed 4th electronic equipment.
Two, because being all and currently being connect with itself when many times electronic equipment needs carry out data transmission service What some equipment carried out, so specific implementation may is that
It detects first electronic equipment and currently establishes whether wireless connection electronic equipment is at least one third electricity One in sub- equipment, if so, the current foundation wireless connection electronic equipment is determined as the 4th electronic equipment.
In embodiments of the present invention, the mode for obtaining the first relevant information can be a variety of, then the first electronic equipment is by first It, can also be by following before first attribute information of data transport service is matched with the first relevant information being locally stored Two ways obtains the first relevant information;It specifically includes:
A, the first electronic equipment scanning around the second electronic equipment when, the second electronic equipment is in advance by itself institute The information of the data transport service of support is added in the feedback information of scan operation, and the first electronic equipment is obtained It arrives, specific implementation may is that
First electronic equipment scan preset range in electronic equipment, determination can be wirelessly connected with itself at least one A second electronic equipment;
It obtains and each of scan the related information items of the second electronic equipment and form the first relevant information, and be saved in Ground;The related information items are used to indicate the related information items for the data transport service that the second electronic equipment is supported.
When B, the first electronic equipment and the second electronic equipment carry out any wireless connection, require to carry out testing for information Card, can be using the data transport service information that electronic equipment is supported as additional information notice pair when being verified Side, so that the data transport service information that other side is supported can be got by establishing two electronic equipments being wirelessly connected, Specific implementation may is that
First electronic equipment and at least one described second electronic equipment are established when being wirelessly connected, obtain it is described at least one Corresponding first relevant information of second electronic equipment, and it is saved in local;It wherein, include that mark is every in first relevant information The related information items for the data transport service that a second electronic equipment is supported.
Above-mentioned a variety of modes for obtaining the first relevant information can be applied in the same electronic equipment, so for synthesis Various obtained first relevant informations of acquisition modes in embodiments of the present invention can also get various acquisition modes First believe and shared so that different data transmission service can share to the first correlation that various acquisition modes get Information.Then in embodiments of the present invention, after first relevant information being saved in local, this method further include:
Shared information is set by first relevant information, so that the first electronic equipment is real with any radio connection First relevant information can be got when existing first data transmission service.Or
When first electronic equipment and at least one described second electronic equipment are carried out by the first radio connection It is wirelessly connected, gets corresponding first relevant information of at least one described second electronic equipment, and be saved in after local, obtain First relevant information is taken, and is stored into the information unit of the corresponding device attribute of the second radio connection, so that institute Described first can be got by stating when the first electronic equipment realizes first data transmission service by the second radio connection Relevant information.
In embodiments of the present invention, because the purpose that user is wirelessly connected is exactly to need to be implemented certain item data transmission clothes Business, so when electronic equipment is to obtain the first relevant information, then institute of the embodiment of the present invention in the wireless connection stage of electronic equipment The first time that the method for offer can also get the first relevant information notifies user, passes to save data to greatest extent The connection time delay of defeated service, specific implementation may is that
After obtaining corresponding first relevant information of second electronic equipment, generated according to first relevant information Prompt information, and export the prompt information;Wherein, the prompt information is for notifying what the second electronic equipment of user was supported Data transport service.
Further, after prompting the user, the first electronic equipment switches to starts a certain data transport service at any time Preparation state directly can be carried out data transmission as long as user and a certain second electronic equipment execute data transport service Service corresponding data transmission;In the embodiment of the present invention, after exporting the prompt information, this method further comprises:
Detection scans whether have the first operation in the set time period, obtains a testing result;Wherein, first operation It is any data transmission service started in the data transport service that second electronic equipment is supported;
According to the testing result, start corresponding data transport service.
In addition, because electronic equipment is in the starting for the realization data transport service that detecting state can be most fast, but one The straight power consumption for also resulting in electronic equipment in detecting state increases, in order to balance the effect of the two, if in setting time The autostart function of data transport service is then closed to the first operation without scanning in section.The autostart function is opened, the One electronic equipment start wireless transmission function when, thus it is speculated that user may will start wireless data transfer services and start automatically one A little backstage operation procedures realized convenient for data transport service.
In order to become apparent from the scheme of the detailed description embodiment of the present invention, below in conjunction with specific usage scenario to the present invention Method provided by embodiment is further described in detail, such as: the first electronic equipment and third electronic equipment support wifi Direct-connected transmission, when the first electronic equipment is wirelessly connected by wifi connection type and third electronic equipment, then the present invention is real The specific implementation for applying method provided by example can be (as shown in Figure 2):
Step 201, the first electronic equipment initiates to establish the certification request information that WIFI is connect with third electronic equipment, and connects Receive the feedback information for the certification request information that third electronic equipment is sent;
Step 202, corresponding first relevant information of third electronic equipment, first phase are obtained in the feedback information Close all data transmission service that third electronic equipment is supported that denotes;
It in this embodiment, can be in the following manner by described first after getting first relevant information Relevant information is saved in local:
When the first electronic equipment and any second electronic equipment carry out WIFI connection, second electronic equipment pair is obtained The first relevant information answered, and by first relevant information storage into end-to-end p2p device attribute information unit.
After being stored through the above way to first relevant information, it can be incited somebody to action by mode provided by Fig. 3 The output of first relevant information, allows users to be determined according to the first relevant information of output to select corresponding electronic equipment.
Such as: the first electronic equipment needs to be implemented data transport service 2, according to Fig.3, the case where, can wirelessly be connected The user a connect supports service 2, so after determining the information, so that it may under the premise of without inquiry operation, successfully The user of service 2 is supported to connect with one.
Step 203, when the first electronic equipment opens display service, the first relevant information of output (can be by shown in Fig. 3 Mode exports);
Step 204, receive user input selection information, according to select information select the second equipment as show service Purpose end equipment services corresponding data to the display of third electronic equipment.
In this embodiment, that radio connection is selected is wifi direct-connected, direct-connected two referred to the equipment of wifi or Between multiple equipment, by directly connecting and (not needing router), it is automatically composed a reciprocity network.Equipment scans first It is mutually found, the equipment then found connects activation link block by user manually, and link block is only responsible for interconnecting piece Point shake hands and state-maintenance;Display service is then after successful connection, and a certain equipment sends others to by interface channel Equipment is just similar to miracast agreement by one when other equipment, which get some equipment, has display to service Service, realize video sharing.When realizing display service, the content of interaction is exactly to itself display service between InterWorking Equipment Description (can be miracast, be also possible to the agreement of other transmission of video).
For many and diverse problem of data transport service Connection Step in the prior art, scheme provided by the embodiment of the present invention It is swapped before the exchange of data transport service information has been advanceed to connection.In this embodiment, that is, when wifi is straight Even the scanning device stage in agreement, it will just show that service synchronization is announced away, may be implemented energy during the scanning process in this way The display service and the relevant information of equipment of other side are enough obtained, and carries out the parameter configuration of the machine in advance, it can when user's connection To come into force at once, the efficiency of display is improved.
It is that the information on services of early period is realized based on existing Service Delivery Protocol in scheme provided by the embodiment of the present invention It is synchronous to announce.For example, between wifi equipment when mutual scanning phase, information on services and right is added in the data packet of scanning The facility information for the service answered, make equipment in need shift to an earlier date backstage prerun video sharing protocol procedure (such as Miracast), other modules for initializing disconnected communication, in this way after real successful connection, so that it may investment faster It uses.
It in embodiments of the present invention, can be with if having carried out being wirelessly connected or being scanned operation between electronic equipment The description information of service is supported to interact electronic equipment, subsequent needs carry out data transmission the connection of service, then can be with The equipment for supporting data transport service is determined based on the description information locally saved, is then directly carried out data transmission, to reach To the starting time for saving data transport service, and simplify the effect for realizing step.
As shown in figure 4, the embodiment of the present invention provides a kind of data transmission device, which is set to the first electronic equipment In, which includes:
Local matching module 401, for when the starting first data transmission service of the first electronic equipment, described first to be counted It is matched according to the first attribute information of transmission service with the first relevant information being locally stored, obtains matching result;Wherein, institute What at least one second electronic equipment that stating the first relevant information mark can be wirelessly connected with the first electronic equipment was supported Data transport service;The matching result, which is used to indicate at least one described second electronic equipment, can support first data Transmit at least one third electronic equipment of service;
Selecting module 402, for according to the matching result from least one described third electronic equipment determining and institute State the 4th electronic equipment of the first electronic equipment cooperative achievement first data transmission service;
Wherein, when the third electronic equipment include it is multiple, can choose and select the 4th electronics using following two mode Equipment:
A, selecting module 402 are specifically used for exporting corresponding first relevant information of at least one third electronic equipment, so that User determines at least one the third electronic equipment for supporting the first data transmission service according to the first relevant information of output; The selection information for receiving user's input, according to the selection information from least one described third electronic equipment determination described the Four electronic equipments.
B, selecting module 402 are specifically used for detecting whether first electronic equipment currently establishes wireless connection electronic equipment For one in the third electronic equipment, if so, the current foundation, which is wirelessly connected electronic equipment, is determined as described the Four electronic equipments.
Transmission module 403, for carrying out first data transmission clothes by wireless connection link with the 4th electronic equipment It is engaged in corresponding data interaction.
In embodiments of the present invention, the mode for obtaining the first relevant information can be a variety of, then the embodiment of the present invention is provided Device further include:
The first information obtain module, for being scanned to the electronic equipment in preset range, determination can with itself into The second electronic equipment that row is wirelessly connected;The first relevant information for each of scanning the second electronic equipment is obtained, and is saved in It is local.
Second data obtaining module obtains institute when being wirelessly connected for establishing at least one described second electronic equipment Corresponding first relevant information of at least one second electronic equipment is stated, and is saved in local;Wherein, in first relevant information Related information items including indicating the data transport service that each second electronic equipment is supported.
When first electronic equipment and at least one described second electronic equipment are carried out by the first radio connection It is wirelessly connected, gets corresponding first relevant information of at least one described second electronic equipment, and be saved in after local, it should Device further include:
First sharing module for obtaining first relevant information, and stores corresponding to the second radio connection In the information unit of device attribute, so that first electronic equipment realizes first data transmission by the second radio connection First relevant information can be got when service.
In order to shorten the time delay of service verification, device provided by the embodiment of the present invention can also get second electricity After corresponding first relevant information of sub- equipment, the device further include:
Cue module for generating prompt information according to first relevant information, and exports the prompt information;Its In, the prompt information is used to notify the data transport service that the second electronic equipment is supported described in user.
It is automatically switched module, for detecting scan whether have the first operation in the set time period, obtains a testing result; Wherein, first operation is any data transmission clothes started in the data transport service that second electronic equipment is supported Business;According to the testing result, start corresponding data transport service or the automatic starting function with closing data transport service Energy.
Further, for the first relevant information that the various modes of integrated application are got, then the device further include:
Second sharing module, for setting shared information for first relevant information so that the first electronic equipment with Any radio connection can get first relevant information when realizing first data transmission service.
Said one or multiple technical solutions in the embodiment of the present application, at least have the following technical effect that:
It in embodiments of the present invention, can be with if having carried out being wirelessly connected or being scanned operation between electronic equipment The description information of service is supported to interact electronic equipment, subsequent needs carry out data transmission the connection of service, then can be with The equipment for supporting data transport service is determined based on the description information locally saved, is then directly carried out data transmission, to reach To the starting time for saving data transport service, and simplify the effect for realizing step.
Method of the present invention is not limited to embodiment described in specific embodiment, those skilled in the art according to Technical solution of the present invention obtains other embodiments, also belongs to the scope of the technical innovation of the present invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (12)

1. a kind of data transmission method, this method is applied in the first electronic equipment, this method comprises:
When first electronic equipment and at least one second electronic equipment establish wireless connection, at least one described second electronics is obtained Corresponding first relevant information of equipment, and it is saved in local;It wherein, include indicating each second electricity in first relevant information The related information items for the data transport service that sub- equipment is supported;
When the starting first data transmission service of the first electronic equipment, the first attribute information that the first data transmission is serviced It is matched with the first relevant information being locally stored, obtains matching result;Wherein, first relevant information mark can be with the The data transport service that at least one second electronic equipment that one electronic equipment is wirelessly connected is supported;The matching result At least one third electricity that can support the first data transmission service is used to indicate at least one described second electronic equipment Sub- equipment;
It is determined and is cooperateed with first electronic equipment in fact from least one described third electronic equipment according to the matching result 4th electronic equipment of existing first data transmission service;
First electronic equipment is corresponding by wireless connection link progress first data transmission service with the 4th electronic equipment Data interaction.
2. the method as described in claim 1, which is characterized in that according to the matching result from least one described third electronics It is determined in equipment and includes: with the 4th electronic equipment of the first electronic equipment cooperative achievement first data transmission service
Corresponding first relevant information of at least one third electronic equipment is exported, so that first relevant information of the user according to output Determine at least one the third electronic equipment for supporting the first data transmission service;
The selection information for receiving user's input determines institute according to the selection information from least one described third electronic equipment State the 4th electronic equipment.
3. the method as described in claim 1, which is characterized in that according to the matching result from least one described third electronics It is determined in equipment and includes: with the 4th electronic equipment of the first electronic equipment cooperative achievement first data transmission service
It detects first electronic equipment and currently establishes whether wireless connection electronic equipment is that at least one described third electronics is set One in standby, if so, the current foundation wireless connection electronic equipment is determined as the 4th electronic equipment.
4. the method as described in claim 1, which is characterized in that the first attribute letter for servicing the first data transmission It ceases before being matched with the first relevant information being locally stored, this method comprises:
First electronic equipment scans the electronic equipment in preset range, determination can be wirelessly connected with itself at least one the Two electronic equipments;
Related information items the first relevant information of formation for each of scan the second electronic equipment is obtained, and is saved in local;Institute Related information items are stated for indicating the related information items for the data transport service that the second electronic equipment is supported.
5. the method as described in claim 1, which is characterized in that when first electronic equipment and at least one described second electricity Sub- equipment is wirelessly connected by the first radio connection, gets at least one described second electronic equipment corresponding the One relevant information, and be saved in after local, this method further include:
First relevant information is obtained, and is stored into the information unit of the corresponding device attribute of the second radio connection, First electronic equipment is enabled to get institute when realizing first data transmission service by the second radio connection State the first relevant information.
6. method as described in claim 4 or 5, which is characterized in that, should after first relevant information is saved in local Method further include:
Shared information is set by first relevant information, so that the first electronic equipment realizes the with any radio connection First relevant information can be got when one data transport service.
7. the method as described in claim 1 or 5 is any, which is characterized in that obtain at least one described second electronic equipment pair After the first relevant information answered, this method further include:
Prompt information is generated according to first relevant information, and exports the prompt information;Wherein, the prompt information is used for Notify the data transport service that at least one second electronic equipment is supported described in user.
8. the method for claim 7, which is characterized in that after the output prompt information, this method is further Include:
Detection scans whether have the first operation in the set time period, obtains a testing result;Wherein, first operation is to open Any data transmission service in the data transport service that at least one dynamic described second electronic equipment is supported;
According to the testing result, start corresponding data transport service.
9. a kind of data transmission device, which is set in the first electronic equipment, which includes:
Second data obtaining module obtains described at least one when being wirelessly connected for establishing at least one second electronic equipment Corresponding first relevant information of a second electronic equipment, and it is saved in local;It wherein, include mark in first relevant information The related information items for the data transport service that each second electronic equipment is supported;
Local matching module is used for when the starting first data transmission service of the first electronic equipment, by the first data transmission First attribute information of service is matched with the first relevant information being locally stored, and obtains matching result;Wherein, described first The data that at least one second electronic equipment that relevant information mark can be wirelessly connected with the first electronic equipment is supported pass Defeated service;The matching result, which is used to indicate at least one described second electronic equipment, can support the first data transmission to take At least one third electronic equipment of business;
Selecting module, for being determined from least one described third electronic equipment according to the matching result and first electricity Sub- equipment collaboration realizes the 4th electronic equipment of first data transmission service;
Transmission module, it is corresponding for carrying out first data transmission service by wireless connection link with the 4th electronic equipment Data interaction.
10. device as claimed in claim 9, which is characterized in that when second electronic equipment includes multiple, the then selection Module is specifically used for exporting corresponding first relevant information of at least one third electronic equipment, so that user is according to the first of output Relevant information determines at least one the third electronic equipment for supporting the first data transmission service;Receive the selection of user's input Information determines the 4th electronic equipment according to the selection information from least one described third electronic equipment.
11. device as claimed in claim 9, which is characterized in that the device includes:
The first information obtains module, and for being scanned to the electronic equipment in preset range, determination can carry out nothing with itself Second electronic equipment of line connection;The first relevant information for each of scanning the second electronic equipment is obtained, and is saved in local.
12. device as claimed in claim 9, which is characterized in that when first electronic equipment and it is described at least one second Electronic equipment is wirelessly connected by the first radio connection, and it is corresponding to get at least one described second electronic equipment First relevant information, and be saved in after local, the device further include:
Sharing module for obtaining first relevant information, and is stored to the corresponding device attribute of the second radio connection Information unit in so that first electronic equipment by the second radio connection realize first data transmission service when First relevant information can be got.
CN201410453767.XA 2014-09-05 2014-09-05 A kind of data transmission method and device Active CN104244244B (en)

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 CN104244244A (en) 2014-12-24
CN104244244B true 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)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106303676A (en) * 2015-06-01 2017-01-04 西安中兴新软件有限责任公司 The method and apparatus that a kind of wireless video shows
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
CN109558105A (en) * 2018-12-14 2019-04-02 广州视源电子科技股份有限公司 Screen method is thrown, screen device is thrown, throws screen equipment
CN115243235A (en) * 2021-04-23 2022-10-25 华为技术有限公司 Data transmission method and related equipment
CN113721877B (en) * 2021-09-09 2024-02-06 天津智融创新科技发展有限公司 Screen pushing method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
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
CN103476093A (en) * 2012-06-06 2013-12-25 捷讯研究有限公司 Methods and apparatus for use in facilitating communication for different types of wireless networks

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013106404A1 (en) * 2012-01-12 2013-07-18 Marvell World Trade Ltd. Systems and methods for establishing a wi-fi display (wfd) session

Patent Citations (3)

* Cited by examiner, † Cited by third party
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
CN103476093A (en) * 2012-06-06 2013-12-25 捷讯研究有限公司 Methods and apparatus for use in facilitating communication for different types of wireless networks

Also Published As

Publication number Publication date
CN104244244A (en) 2014-12-24

Similar Documents

Publication Publication Date Title
CN104244244B (en) A kind of data transmission method and device
CN103716911B (en) A kind of methods, devices and systems of configuration of wireless terminal
CN107465584A (en) Method for network access and device, the intelligent appliance of intelligent appliance
AU2014233175B2 (en) Wireless communications capable power distribution unit and techniques for communicating therewith
CN106211205A (en) Collocation method and system, household electrical appliance, mobile terminal and server
CN102137395B (en) Method, device and system for configuring access device
CN109495358B (en) Network distribution method and network distribution system for household appliances
CN109348458A (en) Network connection configuration method, apparatus, electronic equipment and network system
CN106878923A (en) The quick method of network entry of ultra-low power consumption intelligent equipment and intelligent domestic system
CN106130770B (en) Established using the simple connection of mixing networking of agent equipment
CN109525976A (en) With network method, system and readable storage medium storing program for executing
CN105142135B (en) Based on the method for connecting the networking of agreement rapid configuration smart machine soon
CN105245574B (en) Internet of Things network control method and system based on mobile terminal multi-hop
CN106789468A (en) A kind of appliances equipment control method and system based on intelligent terminal
CN107621937A (en) The methods, devices and systems of software program upgrading
CN103595775B (en) The sharing method and system of media file
CN109673001A (en) Data transfer control method and Related product
CN109327825A (en) Communication equipment, communication means, computer-readable medium and communication system
CN107113609A (en) The subscriber identity module provider apparatus and method that OTA for subscriber identity module container is arranged
CN105025506B (en) A kind of method of cloud AC remote managements AP equipment
CN104918298B (en) A kind of network connection control method, device and mobile terminal
CN110213102A (en) Apparatus control method, device, electronic equipment and storage medium
CN104202832A (en) Wireless accessing method and device of WIFI terminal
CN104640231B (en) The method for setting wireless network and system of intelligent appliance
CN109429243A (en) Monitor the methods, devices and systems of the network insertion state of distribution net equipment

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