CN107517234A - A kind of data transmission method, equipment and system - Google Patents
A kind of data transmission method, equipment and system Download PDFInfo
- Publication number
- CN107517234A CN107517234A CN201610429955.8A CN201610429955A CN107517234A CN 107517234 A CN107517234 A CN 107517234A CN 201610429955 A CN201610429955 A CN 201610429955A CN 107517234 A CN107517234 A CN 107517234A
- Authority
- CN
- China
- Prior art keywords
- terminal device
- controlled plant
- sent
- preset time
- instruction
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
Abstract
The embodiment of the invention discloses data transmission method, methods described is applied to controlled plant, and methods described includes:For the controlled plant by being interacted with terminal device, the instruction sent according to the terminal device obtains the data that terminal device needs to receive;Wherein, the controlled plant and the terminal device establish connecting link by wifi direct modes;The controlled plant is sent the data that the terminal device needs to receive to the terminal device by the connecting link that the wifi direct modes are established.The embodiment of the present invention also discloses a kind of data transmission set and system simultaneously.
Description
Technical field
The present invention relates to radio transmission technical field, more particularly to a kind of data transmission method, equipment and system.
Background technology
At present, the wifi direct in terminal device (wifi is point-to-point direct-connected) function is only that transmission provides a thing
Passage is managed, between two terminal devices during mutual data transmission file, is required for downloading corresponding application program, and need hand
Dynamic control file sends and receives.Also, user is required for expending flow or access in application program corresponding to download
Unlimited fidelity (Wi-Fi, Wireless-Fidelity), is downloaded by way of connecting network.
In the prior art, the point-to-point communication established by wifi direct functions between mobile device connects, and is set in movement
Upgrading resource is obtained between standby, carries out software upgrading.However, prior art needs mobile device to be mounted with original document,
Upgrading resource is sent and received by wifi direct on the basis of original document, be not carried out to original installation file from
Dynamic push.
The content of the invention
In order to solve the above technical problems, the embodiment of the present invention it is expected to provide a kind of data transmission method, equipment and system, make
Controlled plant can directly push corresponding data to terminal device by wifi direct functions.
The technical proposal of the invention is realized in this way:
In a first aspect, the embodiments of the invention provide a kind of data transmission method, methods described is applied to controlled plant, institute
The method of stating includes:
By being interacted with terminal device, the instruction sent according to the terminal device obtains terminal and set the controlled plant
The standby data for needing to receive;Wherein, the controlled plant and the terminal device establish connects chain by wifi direct modes
Road;
The terminal device is needed to connect by the controlled plant by the connecting link that the wifi direct modes are established
The data of receipts are sent to the terminal device.
In such scheme, when it is application software that the terminal device, which needs the data that receive, the controlled plant is the
The terminal device transmission is waited in one preset time need not install application software notification instruction;
If the controlled plant receives the soft without installing application of the terminal device transmission in the first preset time
Part notification instruction, then disconnect and being connected with the wifi direct of the terminal device;
If the controlled plant does not receive being applied without installing for the terminal device transmission in the first preset time
Software notification instructs, then sends operating system query statement to the terminal device;
The controlled plant waits terminal device to send according to the operating system query statement in the second preset time
Operating system return instruction.
In such scheme, if the controlled plant does not receive the application software that needs to install that the terminal device is sent and led to
Know instruction, then disconnect and being connected with the wifi direct of the terminal device;
If what the controlled plant received that the terminal device sends needs to install application software notification instruction, to institute
State terminal device and send operating system query statement;
The controlled plant waits terminal device to send according to the operating system query statement in the second preset time
Operating system return instruction.
In such scheme, if the controlled plant receives the operating system of terminal device transmission in the second preset time
Return instruction, then the inquiry application corresponding with the operating system return instruction is soft in the application software that itself is pre-stored
Part;
The application software corresponding with the operating system return instruction is sent to the terminal and set by the controlled plant
It is standby;
If the controlled plant does not receive the operating system that the terminal device is sent in the second preset time and returned
Instruction, then disconnect and being connected with the wifi direct of the terminal device.
In such scheme, when it be file that the terminal device, which needs the data that receive, the controlled plant transmission the
File type query statement is to terminal device, and the first time for waiting in the first preset time the terminal device to send
File type notification instruction;
If the controlled plant does not receive the first time files classes that the terminal device is sent in the first preset time
Type notification instruction, then second of file type query statement is sent to the terminal device;
The controlled plant waits second of file type notice that the terminal device is sent in the second preset time
Instruction.
In such scheme, when the controlled plant receives the first of the terminal device transmission in the first preset time
During secondary file type notification instruction, the file corresponding with the first time file type notification instruction is sent to the terminal
Equipment;
When the controlled plant receives second of file type of the terminal device transmission in the second preset time
During notification instruction, the file corresponding with second of file type notification instruction is sent to the terminal device;
When the controlled plant does not receive second of files classes of the terminal device transmission in the second preset time
During type notification instruction, disconnection is connected with the wifi direct of the terminal device.
Second aspect, the embodiments of the invention provide a kind of data transmission method, methods described is applied to terminal device, institute
The method of stating includes:
The terminal device by being interacted with controlled plant, prompt the controlled plant send required for data;Its
In, the terminal device and the controlled plant establish connecting link by wifi direct modes;
The connecting link that the terminal device is established by the wifi direct modes receives the controlled plant and sent
Data.
In such scheme, when the data that the terminal device needs are application software, if the terminal device is first
Application software notification instruction need not be installed to the controlled plant by being sent in preset time, then is disconnected and the controlled plant
Wifi direct connections;
If the terminal device need not install application software notification instruction to institute described in not sent in the first preset time
Controlled plant is stated, then receives the operating system query statement that the controlled plant is sent.
In such scheme, controlled set to described if the terminal device does not send to need to install application software notification instruction
It is standby, then disconnect and being connected with the wifi direct of the controlled plant;
If the terminal device, which is sent, needs to install application software notification instruction to the controlled plant, receive it is described by
Control the operating system query statement that equipment is sent.
In such scheme, if the terminal device is sent out according to the operating system query statement in the second preset time
Operating system return instruction is sent then to receive being returned with the operating system for controlled plant transmission to the controlled plant and refer to
Make corresponding application software;
If the terminal device sends operating system return instruction not in the second preset time to the controlled plant,
Disconnection is connected with the wifi direct of the controlled plant.
In such scheme, when the data that the terminal device needs are file, the terminal device receives described controlled
The first time file type query statement that equipment is sent;
If the terminal device does not send first time file type notification instruction in the first preset time, receive described in
Second of file type query statement that controlled plant is sent.
In such scheme, when the terminal device sends first time file type notification instruction extremely in the first preset time
During the controlled plant, the text corresponding with the first time file type notification instruction that the controlled plant is sent is received
Part;
When the terminal device is according to second of file type query statement, second is sent in the second preset time
When secondary file type notification instruction is to the controlled plant, it is sending with second of file type to receive the controlled plant
The corresponding file of notification instruction;
When the terminal device does not send second of file type notification instruction to described controlled in the second preset time
During equipment, disconnection is connected with the wifi direct of the controlled plant.
The third aspect, the embodiments of the invention provide a kind of controlled plant, the controlled plant includes:First interactive module
And sending module;Wherein,
First interactive module, for by being interacted with terminal device, the instruction sent according to the terminal device
Obtain the data that terminal device needs to receive;Wherein, the controlled plant and the terminal device pass through wifi direct modes
Establish connecting link;
The sending module, for by the connecting link that the wifi direct modes are established by the terminal device
The data for needing to receive are sent to the terminal device.
In such scheme, when the data that the terminal device needs to receive are application software, the controlled plant also wraps
Include:Wait module and the first cut-out module;Wherein,
The wait module, it is soft without installing application for waiting the terminal device to send in the first preset time
Part notification instruction;
The first cut-out module, if receiving the terminal device in the first preset time for the controlled plant
What is sent need not install application software notification instruction, then disconnects and being connected with the wifi direct of the terminal device;
The sending module, if not receiving the terminal device hair in the first preset time for the controlled plant
That send need not install application software notification instruction, then sends operating system query statement to terminal device;
The wait module, it is additionally operable to, according to the operating system query statement, terminal be waited in the second preset time
The operating system return instruction that equipment is sent.
In such scheme, the first cut-out module, if not receiving what the terminal device was sent for the controlled plant
Need that application software notification instruction is installed, then disconnect and being connected with the wifi direct of the terminal device;
The sending module, if the needs installation application that the terminal device transmission is received for the controlled plant is soft
Part notification instruction, then send operating system query statement to the terminal device;
The wait module, for the controlled plant according to the operating system query statement, in the second preset time
The interior operating system return instruction for waiting terminal device to send.
In such scheme, the controlled plant also includes:Enquiry module;Wherein,
The enquiry module, if receiving the behaviour of terminal device transmission in the second preset time for the controlled plant
Make system return instruction, then inquiry is corresponding with the operating system return instruction in the application software that itself is pre-stored answers
Use software;
The sending module, for the application software corresponding with the operating system return instruction to be sent to the end
End equipment;
The first cut-out module, sets if not receiving the terminal in the second preset time for the controlled plant
The operating system return instruction that preparation is sent, then disconnect and being connected with the wifi direct of the terminal device.
In such scheme, when the data that the terminal device needs to receive are file, the sending module, for sending
First time file type query statement is to terminal device;
The wait module, for the first time file type for waiting the mobile terminal to send in the first preset time
Notification instruction;
The sending module, if be additionally operable to the controlled plant does not receive the terminal device in the first preset time
The file type notification instruction of transmission, then second of file type query statement is sent to the terminal device;
The wait module, it is additionally operable to the controlled plant and waits what the terminal device was sent in the second preset time
Second of file type notification instruction.
In such scheme, the sending module, described in being received when the controlled plant in the first preset time
, will be corresponding with the first time file type notification instruction during first time file type notification instruction that terminal device is sent
File is sent to the terminal device;
And when the controlled plant receives second of file of the terminal device transmission in the second preset time
When type notification instructs, the file corresponding with second of file type notification instruction is sent to the terminal device;
The first cut-out module, for being set when the controlled plant does not receive the terminal in the second preset time
During second of file type notification instruction that preparation is sent, disconnection is connected with the wifi direct of the terminal device.
Fourth aspect, the embodiments of the invention provide a kind of terminal device, the terminal device includes:Second interactive module
And receiving module;Wherein,
Second interactive module, required for by being interacted with controlled plant, prompting the controlled plant to send
Data;Wherein, the terminal device and the controlled plant establish connecting link by wifi direct modes;
The receiving module, described controlled set is received for the connecting link established by the wifi direct modes
The data that preparation is sent.
In such scheme, when the data that the terminal device needs are application software, the terminal device also includes:The
Two cut-out modules;
The second cut-out module, if being sent for the terminal device in the first preset time without installing using soft
Part notification instruction then disconnects and is connected with the wifi direct of the controlled plant to the controlled plant;
The receiving module, applied if not sending described need not install in the first preset time for the terminal device
Software notification is instructed to the controlled plant, then receives the controlled plant and send operating system query statement.
In such scheme, the second cut-out module, if not sent for the terminal device needs to install application software
Notification instruction then disconnects and is connected with the wifi direct of the controlled plant to the controlled plant;
The receiving module, if being sent for the terminal device needs to install application software notification instruction to described controlled
Equipment, then receive the operating system query statement that the controlled plant is sent.
In such scheme, the receiving module, if for the terminal device according to the operating system query statement,
Operating system return instruction is sent in second preset time to the controlled plant, then receive that the controlled plant sends with institute
State the corresponding application software of operating system return instruction;
The second cut-out module, if sending operating system return not in the second preset time for the terminal device
Instruction then disconnects and is connected with the wifi direct of the controlled plant to the controlled plant.
In such scheme, when the data that the terminal device needs are file, the receiving module is described for receiving
The first time file type query statement that controlled plant is sent;
And if the terminal device does not send first time file type notification instruction in the first preset time, connect
Receive second of file type query statement that the controlled plant is sent.
In such scheme, the receiving module, for being sent when the terminal device in the first preset time for the first time
During file type notification instruction to the controlled plant, leading to the first time file type for the controlled plant transmission is received
Know and instruct corresponding file;
And when the terminal device is according to second of file type query statement, sent out in the second preset time
When sending second of file type notification instruction to controlled plant, it is sending with second of text to receive the controlled plant
Part type notification instructs corresponding file;
The second cut-out module, for not sending second of files classes in the second preset time when the terminal device
During type notification instruction to the controlled plant, disconnection is connected with the wifi direct of the controlled plant.
5th aspect, the embodiments of the invention provide a kind of system of data transfer, the system includes:Controlled plant and
Terminal device;Wherein,
The controlled plant, for by being interacted with terminal device, the instruction sent according to the terminal device to obtain
Terminal device needs the data received;Wherein, the controlled plant and the terminal device are established by wifi direct modes
Connecting link;
And the number for needing to receive by the terminal device by the connecting link that the wifi direct modes are established
According to transmission to the terminal device;
The terminal device, for the number required for by being interacted with controlled plant, prompting the controlled plant to send
According to;Wherein, the terminal device and the controlled plant establish connecting link by wifi direct modes;
And the connecting link established by the wifi direct modes receives the data that the controlled plant is sent.
The embodiments of the invention provide a kind of data transmission method, equipment and system, controlled plant passes through wifi direct
Established with terminal device and connect and interact.Controlled plant is according to the instruction of terminal device by the number corresponding with the instruction
According to sending to terminal device, without downloading corresponding application software, direct propelling data, so as to realize by mobile data network
Control of the terminal device to controlled plant.
Brief description of the drawings
Fig. 1 is that a kind of application software transmission method that the embodiment of the present invention one provides implements flow chart;
Fig. 2 is that a kind of document transmission method that the embodiment of the present invention two provides implements flow chart;
Fig. 3 is a kind of data transmission method schematic flow sheet that the embodiment of the present invention three provides;
Fig. 4 is a kind of data transmission method schematic flow sheet that the embodiment of the present invention four provides;
Fig. 5 is a kind of controlled plant structural representation that the embodiment of the present invention five provides;
Fig. 6 is a kind of terminal device structural representation that the embodiment of the present invention six provides;
Fig. 7 is a kind of data transmission system structural representation that the embodiment of the present invention seven provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes.
The basic thought of the embodiment of the present invention is:Controlled plant and terminal device, will using wifi direct as transmission medium
Application software in controlled plant is directly transferred to terminal device, enables terminal device by the application software to controlled plant
It is controlled.Mobile data network downloading application software or the USB by being reserved on controlled plant need not be connected into
Control software is copied to terminal device by (USB, Universal Serial Bus) interface.
It should be noted that controlled plant and terminal device are the equipment for supporting wifi and wifi direct functions.When
Controlled plant and terminal device are established after wifi direct are connected, and controlled plant can be carried out using terminal device corresponding
Control, can realize point-to-point data transfer between the two.Equipment of the terminal device as being controlled to controlled plant, can
To be the mobile terminal devices such as personal computer (PC, Personal Computer) or mobile phone, tablet personal computer.Controlled plant
Equipment as being controlled by terminal device, can be support wifi functions product or can be as the equipment of wifi hotspot
Deng.Wherein, the equipment that wifi direct allow to support wifi functions, can be with without can be interconnected by wireless router
Connection is established by setting up group's (one-to-one or one-to-many topological form), it is achieved thereby that the transmission of data.
Embodiment one
Referring to Fig. 1, it illustrates a kind of data transmission method provided in an embodiment of the present invention, for terminal device and by
Application software is transmitted by wifi direct between control equipment, methods described can include:
S101, controlled plant and terminal device are established by wifi direct and connected.
It is connected it should be noted that terminal device is established into wifi direct with controlled plant, utilizes wifi direct
The application software in controlled plant is transmitted to terminal device as transmission medium.
S102, controlled plant, which judge whether terminal device sends in the first preset time, need not install application software notice
Instruction.If terminal device is sent to controlled plant in the first preset time need not install application software notification instruction, step is performed
Rapid S103;If terminal device is not sent to controlled plant in the first preset time need not install application software notification instruction, hold
Row step S104.
Controlled plant and terminal device are set up after wifi direct are connected, and are started waiting for the first preset time, are judged
Whether terminal device, which sends, in the first preset time need not install application software notification instruction.If terminal device is sent without peace
Application software notification instruction is filled to controlled plant, illustrates that terminal device is already installed with corresponding application software;If terminal device
Application software notification instruction need not be installed to controlled plant by not sending, illustrate that terminal device not yet installs corresponding application software.
If S103, terminal device need not install application software notice to controlled plant transmission and refer in the first preset time
Order, then controlled plant disconnection are connected with the wifi direct of terminal device.
It should be understood that if controlled plant receives being applied without installing for terminal device transmission in the first preset time
Software notification instruct, show to be provided with terminal device in controlled plant be pre-stored application software, therefore controlled plant without
Need to send related application software to terminal device again, controlled plant enters application software working condition, disconnects wifi direct
Connection.Controlled plant illustrates that terminal device has been carried out accordingly to controlled plant by application software into application software working condition
Control.For example, if controlled plant is when having the toy of wifi functions, then terminal device has by application software to this
The toy of wifi functions is controlled.
If S104, terminal device need not install application software notice to controlled plant transmission and refer in the first preset time
Make, then controlled plant sends operating system query statement to terminal device.
If it should be noted that the application software being pre-stored in controlled plant in terminal device be present, then will
Transmission need not install application software notification instruction to controlled plant;If do not have to be pre-stored in controlled plant in terminal device answers
With software, then application software notification instruction will not be sent to controlled plant without installing.
It should be understood that if controlled plant does not receive being answered without installation for terminal device transmission in the first preset time
Instructed with software notification, show not having in terminal device the application software being pre-stored in controlled plant, therefore controlled plant is to end
End equipment sends operating system query statement.
Here, operating system query statement is used for the type for inquiring about the operating system that terminal device is carried.Terminal device
Action type can be window or linux operating systems of PC etc., and the Android or ios of mobile phone and tablet personal computer behaviour
Make system etc..
There is also the need to explanation, terminal device can also be by needing installation application software notification instruction directly to indicate
Controlled plant sends the application software needed for it, and in this case, controlled plant avoids the need for waiting the first preset time again.
If refer to specifically, the controlled plant does not receive the application software notice that needs to install that the terminal device is sent
Order, then disconnect and being connected with the wifi direct of the terminal device;
If what the controlled plant received that the terminal device sends needs to install application software notification instruction, to institute
State terminal device and send operating system query statement;
The controlled plant waits terminal device to send according to the operating system query statement in the second preset time
Operating system return instruction.
S105, controlled plant judge whether terminal device sends operating system return instruction in the second preset time.If
Terminal device sends operating system return instruction to controlled plant in the second preset time, performs step S106 to S108;If
Terminal device does not send operating system return instruction to controlled plant in the second preset time, performs step S109.
It should be understood that after controlled plant sends operating system query statement to terminal device, in the second preset time
The interior operating system return instruction for waiting terminal device to send, operating system return instruction represent that terminal device returns to controlled plant
The type for the operating system of its own returned.
If S106, terminal device sends operating system return instruction to controlled plant in the second preset time, controlled
Equipment inquires about the application software corresponding with the operating system return instruction in the application software that itself is pre-stored.
It should be noted that if the operating system that controlled plant receives terminal device transmission in the second preset time is returned
Refer to make, illustrate that terminal device returns the OS Type of itself to controlled plant, therefore, controlled plant is pre-stored at it
Application software in inquire about the application software for being adapted to terminal device operating system, to be subsequently sent to terminal device.
S107, controlled plant send the application software corresponding with operating system return instruction to terminal device.
It should be noted that controlled plant inquires the data class that terminal device lacks in its pre-stored application software
After type, the application software needed for terminal device is sent, completes this application software transmitting procedure.
S108, terminal device receive the application software corresponding with operating system return instruction that controlled plant is sent, and
The application software is installed.
It should be understood that terminal device applies this after application software corresponding with itself operating system is received
Software is installed, you can realizes the control to controlled plant.
If S109, terminal device does not send operating system return instruction to controlled plant in the second preset time, by
Control equipment disconnects to be connected with the wifi direct of terminal device.
If controlled plant does not receive the terminal device return instruction of terminal device transmission, explanation in the second preset time
Terminal device does not return to the OS Type of itself to controlled plant, and therefore, controlled plant disconnects and terminal device
Wifi direct connections, are no longer interacted.
Correspondingly, to it is above-mentioned be applied between terminal device and controlled plant transmit application software data transmission method,
It can apply in the controlled plant and terminal device of support wifi and wifi direct functions.
In embodiments of the present invention, controlled plant can be the equipment such as vehicle-mounted wifi equipment or vehicle-carried tracking device.Need
Illustrate, will from onboard diagnostic system (OBD, On-Board Diagnostic) interface of vehicle for this kind of mobile unit
Travelling data is reported to the safety issue of cloud server by mobile network, this kind equipment will not generally leave USB port to
Domestic consumer uses, and will not also provide networking products interface (Web UI, Website User Interface) allows to use
Family configures, and only provides wifi coverings and is surfed the Net for user.
For above-mentioned vehicle-mounted wifi equipment, the terminal devices such as mobile phone can be used to control it.User can be with
WiFi direct and vehicle-mounted wifi equipment in the equipment that opens a terminal are attached.Vehicle-mounted wifi equipment after successful connection
Detect whether that the application software notification instruction that terminal device is sent can be received.If vehicle-mounted wifi equipment is not received using soft
Part notification instruction, then it is assumed that terminal device is fitted without control software, and then vehicle-mounted wifi equipment can actively send operation
System queries are instructed to terminal device, and vehicle-mounted wifi equipment sends suitable after terminal device feeds back to its OS Type
Control software installed to terminal device.
In addition, controlled plant can also be other equipment for supporting wifi functions, for example, the toy of support wifi functions,
Children's early learning machine, smart home etc..Under conditions of without mobile data network and USB functions, by controlled plant to terminal
The application software that equipment is sent, realizes control function of the terminal device to controlled plant.
The embodiments of the invention provide a kind of data transmission method, controlled plant passes through wifi direct and terminal device
Establish and connect and interact.Controlled plant sends the data corresponding with the instruction to end according to the instruction of terminal device
End equipment, without downloading corresponding application software, direct propelling data, so as to realize terminal device pair by mobile data network
The control of controlled plant.
Embodiment two
Referring to Fig. 2, it illustrates a kind of data transmission method provided in an embodiment of the present invention, for terminal device and by
File is transmitted by wifi direct between control equipment, methods described can include:
S201, controlled plant and terminal device are established by wifi direct and connected.
Controlled plant and terminal device are established by wifi direct and connected, is situated between using wifi direct as transmission
Matter, it can not be connected by mobile data network, by direct file transfer needed for mobile device to controlled plant.
S202, controlled plant send first time file type query statement to terminal device, and in the first preset time
Judge whether terminal device sends first time file type notification instruction.
It should be noted that first time file type query statement is used to inquire about the file type needed for terminal device,
In document transmission process, controlled plant can send first time file type query statement to terminal device, wait terminal device anti-
Whether feedback has the file of the type.Terminal device send first time file type notification instruction, represent terminal device to by
Control the feedback information of the file type query statement transmitted by equipment.
If S203, controlled plant receive the first time file type notice of terminal device transmission in the first preset time
Instruction, then send the file corresponding with the first time file type notification instruction to terminal device.
If controlled plant just has been received by the first file type notice of terminal device transmission in the first preset time
Instruction, then show within the first default time, terminal device has returned to required file type to controlled plant.Cause
This, controlled plant is directly sent to terminal without waiting for second of file type notification instruction in the corresponding file of local search
Equipment.
If the first time file type that S204, controlled plant do not receive terminal device transmission in the first preset time is led to
Know instruction, then send second of file type query statement to terminal device.
Controlled plant waits the first preset time after first time file type query statement is sent, if default first
Terminal device is not received in time and sends first time file type notification instruction, then sends file type query statement again,
Second of file type query statement is sent to terminal device, inquires about the file type needed for terminal device, and wait terminal
Second of file type notification instruction that equipment is sent.
Explanation is needed exist for, if after controlled plant sends first time file type query statement to terminal device, is not had
There is the first time file type notification instruction for receiving terminal device transmission, then second of file type inquiry is carried out, to terminal
Equipment file type of the requesting query needed for it again.It is to reaffirm terminal device to carry out second of file type inquiry
Whether need to receive file, and need the file type received.Here except second of file type is inquired about, can also carry out
The file type inquiry of third time or more time, but in view of actual conditions, after second of file type inquiry is carried out
To determine conditions of demand of the terminal device to file type, therefore select to carry out file type twice and inquire about.
S205, controlled plant judge whether terminal device sends second of file type notice and refer in the second preset time
Order.
After it have sent second of file type query statement, controlled plant will wait eventually in the second preset time
Second of file type notification instruction that end equipment is sent.
It should be noted that the first preset time could be arranged to the identical time with the second preset time, can also set
The time differed is set to, can be set accordingly as needed.
If S206, controlled plant receive second of file type notice of terminal device transmission in the second preset time
Instruction, then send the file corresponding with second of file type notification instruction to terminal device.
If controlled plant receives the second file type notification instruction of terminal device transmission in the second preset time, that
Show within the first default time, terminal device is without the file type needed for return to controlled plant.Therefore it is controlled
Equipment is waited until after second of file type notification instruction within the second default time, meets second of file in local search
The file of type notification instruction, and corresponding file is sent to terminal device.
S207, terminal device receive the file corresponding with second of file type notification instruction.
It should be understood that after controlled plant sends the file corresponding with second of file type notification instruction,
Terminal device will receive this document, this end of file transfer.
If second of file type that S208, controlled plant do not receive terminal device transmission in the second preset time is led to
Know instruction, then disconnect the wifi direct connections of controlled plant and terminal device.
If controlled plant is still not received by second of file of terminal device transmission within the second default time
Type notification instructs, then shows within the first preset time and the second preset time, controlled plant is not received by end
The file type notification instruction that end equipment is sent, now, controlled plant is disconnected into wifi direct with terminal device and is connected,
No longer interact.
The embodiments of the invention provide a kind of data transmission method, controlled plant passes through wifi direct and terminal device
Establish and connect and interact.Controlled plant sends the data corresponding with the instruction to end according to the instruction of terminal device
End equipment, without downloading corresponding application software, direct propelling data, so as to realize terminal device pair by mobile data network
The control of controlled plant.
Embodiment three
Referring to Fig. 3, it illustrates a kind of data transmission method provided in an embodiment of the present invention, and number is sent for controlled plant
It can include according to terminal device, methods described:
By being interacted with terminal device, the instruction sent according to the terminal device obtains for S301, the controlled plant
Terminal device needs the data received;Wherein, the controlled plant and the terminal device are established by wifi direct modes
Connecting link;
S302, the controlled plant are by the connecting link that the wifi direct modes are established by the terminal device
The data for needing to receive are sent to the terminal device.
When the data that the controlled plant is sent to the terminal device are application software, i.e., described terminal device needs to connect
When the data of receipts are application software, in step S301, the controlled plant with terminal device by interacting, according to the end
The instruction that end equipment is sent obtains the data that terminal device needs to receive, including:
The application software that need not install that the controlled plant waits the terminal device to send in the first preset time is led to
Know instruction;
If the controlled plant receives the soft without installing application of the terminal device transmission in the first preset time
Part notification instruction, then disconnect and being connected with the wifi direct of the terminal device;
If the controlled plant does not receive being applied without installing for the terminal device transmission in the first preset time
Software notification instructs, then sends operating system query statement to terminal device;
The controlled plant waits terminal device to send according to the operating system query statement in the second preset time
Operating system return instruction.
In step S301, the controlled plant is sent by being interacted with terminal device according to the terminal device
Instruction obtains the data that terminal device needs to receive, including:
If what the controlled plant did not received that the terminal device sends needs to install application software notification instruction, break
Open and be connected with the wifi direct of the terminal device;
If what the controlled plant received that the terminal device sends needs to install application software notification instruction, to institute
State terminal device and send operating system query statement;
The controlled plant waits terminal device to send according to the operating system query statement in the second preset time
Operating system return instruction.
In step s 302, described in the connecting link that the controlled plant is established by the wifi direct modes is incited somebody to action
The data that terminal device needs to receive are sent to the terminal device, including:
If the controlled plant receives the operating system return instruction of terminal device transmission in the second preset time,
The application software corresponding with the operating system return instruction is inquired about in the application software that itself is pre-stored;
The application software corresponding with the operating system return instruction is sent to the terminal and set by the controlled plant
It is standby;
If the controlled plant does not receive the operating system that the terminal device is sent in the second preset time and returned
Instruction, then disconnect and being connected with the wifi direct of the terminal device.
When the data that the controlled plant is sent to the terminal device are file, i.e., described terminal device needs what is received
When data are file, in step S301, by being interacted with terminal device, obtain terminal device needs to connect the controlled plant
The data of receipts, including:
The controlled plant sends first time file type query statement to terminal device, and in the first preset time etc.
Treat the first time file type notification instruction that the mobile terminal is sent;
If the controlled plant does not receive the file type notice that the terminal device is sent in the first preset time
Instruction, then send second of file type query statement to the terminal device;
The controlled plant waits second of file type notice that the terminal device is sent in the second preset time
Instruction.
In step s 302, described in the connecting link that the controlled plant is established by the wifi direct modes is incited somebody to action
The data that terminal device needs to receive are sent to the terminal device, including:
When the controlled plant receives the first time file type of the terminal device transmission in the first preset time
During notification instruction, the file corresponding with the first time file type notification instruction is sent to the terminal device;
When the controlled plant receives second of file type of the terminal device transmission in the second preset time
During notification instruction, the file corresponding with second of file type notification instruction is sent to the terminal device;
When the controlled plant does not receive second of files classes of the terminal device transmission in the second preset time
During type notification instruction, disconnection is connected with the wifi direct of the terminal device.
The embodiments of the invention provide a kind of data transmission method, controlled plant passes through wifi direct and terminal device
Establish and connect and interact.Controlled plant sends the data corresponding with the instruction to end according to the instruction of terminal device
End equipment, without downloading corresponding application software, direct propelling data, so as to realize terminal device pair by mobile data network
The control of controlled plant.
Example IV
Referring to Fig. 4, it illustrates a kind of data transmission method provided in an embodiment of the present invention, for terminal device receive by
The data that equipment is sent are controlled, methods described can include:
S401, the terminal device by being interacted with controlled plant, prompt the controlled plant send required for number
According to;Wherein, the terminal device and the controlled plant establish connecting link by wifi direct modes;
Connecting link that S402, the terminal device are established by the wifi direct modes receives described controlled set
The data that preparation is sent.
When the data that the terminal device receives the controlled plant transmission are application software, i.e., described terminal device needs
When the data wanted are application software, in step S301, the terminal device by being interacted with controlled plant, prompt it is described by
The data required for equipment is sent are controlled, including:
If the terminal device is sent in the first preset time need not install application software notification instruction to described controlled
Equipment, then disconnect and being connected with the wifi direct of the controlled plant;
If the terminal device need not install application software notification instruction to institute described in not sent in the first preset time
Controlled plant is stated, then receives the operating system query statement that the controlled plant is sent.
In step S301, the terminal device prompts the controlled plant to send institute by being interacted with controlled plant
The data needed, including:
If the terminal device, which is not sent, needs to install application software notification instruction to the controlled plant, disconnection and institute
State the wifi direct connections of controlled plant;
If the terminal device, which is sent, needs to install application software notification instruction to the controlled plant, receive it is described by
Control the operating system query statement that equipment is sent.
In step S402, the connecting link that the terminal device is established by the wifi direct modes receives institute
The data of controlled plant transmission are stated, including:
If the terminal device is according to the operating system query statement, transmission operating system is returned in the second preset time
Order is referred to the controlled plant, then receives the corresponding with the operating system return instruction of the controlled plant transmission and answers
Use software;
If the terminal device sends operating system return instruction not in the second preset time to the controlled plant,
Disconnection is connected with the wifi direct of the controlled plant.
Be file when the terminal device receives the data that the controlled plant sends, i.e., described terminal device needs
When data are file, in step S401, the terminal device prompts the controlled plant to send out by being interacted with controlled plant
Required data are sent, including:
The terminal device receives the first time file type query statement that the controlled plant is sent;
If the terminal device does not send first time file type notification instruction in the first preset time, receive described in
Second of file type query statement that controlled plant is sent.
In step S402, the connecting link that the terminal device is established by the wifi direct modes receives institute
The data of controlled plant transmission are stated, including:
Controlled set to described when the terminal device sends first time file type notification instruction in the first preset time
When standby, the file corresponding with the first time file type notification instruction that the controlled plant is sent is received;
When the terminal device is according to second of file type query statement, second is sent in the second preset time
When secondary file type notification instruction is to the controlled plant, it is sending with second of file type to receive the controlled plant
The corresponding file of notification instruction;
When the terminal device does not send second of file type notification instruction to described controlled in the second preset time
During equipment, disconnection is connected with the wifi direct of the controlled plant.
The embodiments of the invention provide a kind of data transmission method, controlled plant passes through wifi direct and terminal device
Establish and connect and interact.Controlled plant sends the data corresponding with the instruction to end according to the instruction of terminal device
End equipment, without downloading corresponding application software, direct propelling data, so as to realize terminal device pair by mobile data network
The control of controlled plant.
Embodiment five
Referring to Fig. 5, it illustrates a kind of controlled plant 5 provided in an embodiment of the present invention, the controlled plant 5 includes:The
One interactive module 501 and sending module 502;Wherein,
First interactive module 501, for by being interacted with terminal device, the finger sent according to the terminal device
Order obtains the data that terminal device needs to receive;Wherein, the controlled plant and the terminal device pass through wifi direct sides
Formula establishes connecting link;
The sending module 502, the connecting link for being established by the wifi direct modes set the terminal
The standby data for needing to receive are sent to the terminal device.
Further, when the data that the terminal device needs to receive are application software, the controlled plant also includes:
Module 503 and first is waited to cut off module 504;Wherein,
The wait module 503, for waiting being answered without installation for the terminal device transmission in the first preset time
Instructed with software notification;
The first cut-out module 504, if receiving the terminal in the first preset time for the controlled plant
What equipment was sent need not install application software notification instruction, then disconnects and being connected with the wifi direct of the terminal device;
The sending module 502, set if not receiving the terminal in the first preset time for the controlled plant
What preparation was sent need not install application software notification instruction, then sends operating system query statement to terminal device;
The wait module 503, it is additionally operable to, according to the operating system query statement, wait eventually in the second preset time
The operating system return instruction that end equipment is sent.
Further, the first cut-out module 504, if not receiving what the terminal device was sent for the controlled plant
Need that application software notification instruction is installed, then disconnect and being connected with the wifi direct of the terminal device;
The sending module 502, if the needs installation that the terminal device transmission is received for the controlled plant should
Instructed with software notification, then send operating system query statement to the terminal device;
The wait module 503, for the controlled plant according to the operating system query statement, when second is default
The interior operating system return instruction for waiting terminal device to send.
Further, the controlled plant also includes:Enquiry module 505;Wherein,
The enquiry module 505, if receiving terminal device transmission in the second preset time for the controlled plant
Operating system return instruction, then itself be pre-stored application software in inquiry it is corresponding with the operating system return instruction
Application software;
The sending module 502, for the application software corresponding with the operating system return instruction to be sent to institute
State terminal device;
The first cut-out module 504, if not receiving the end in the second preset time for the controlled plant
The operating system return instruction that end equipment is sent, then disconnect and being connected with the wifi direct of the terminal device.
Further, when the data that the terminal device needs to receive are file, the sending module 502, for sending out
First time file type query statement is sent to terminal device;
The wait module 503, for the first time file for waiting the terminal device to send in the first preset time
Type notification instructs;
The sending module 502, if be additionally operable to the controlled plant does not receive the terminal in the first preset time
The file type notification instruction that equipment is sent, then send second of file type query statement to the terminal device;
The wait module 503, is additionally operable to the controlled plant and waits the terminal device to send out in the second preset time
Second of the file type notification instruction sent.
Further, the sending module 502, described in being received when the controlled plant in the first preset time
, will be corresponding with the first time file type notification instruction during first time file type notification instruction that terminal device is sent
File is sent to the terminal device;
And when the controlled plant receives second of file of the terminal device transmission in the second preset time
When type notification instructs, the file corresponding with second of file type notification instruction is sent to the terminal device;
The first cut-out module 504, for not receiving the end in the second preset time when the controlled plant
During second of file type notification instruction that end equipment is sent, disconnection is connected with the wifi direct of the terminal device.
Specifically, the explanation of controlled plant provided in an embodiment of the present invention may be referred to embodiment one to the number of example IV
According to the explanation of transmission method, the embodiment of the present invention will not be repeated here.
In actual applications, first interactive module 501, sending module 502, wait module 503, first cut off module
504 and enquiry module 505 can by controlled plant 5 central processing unit (Central Processing Unit,
CPU), microprocessor (Micro Processor Unit, MPU), digital signal processor (Digital Signal
Processor, DSP) or field programmable gate array (Field Programmable Gate Array, FPGA) etc. realize.
The embodiments of the invention provide a kind of equipment of data transfer, controlled plant is set by wifi direct with terminal
Standby establish connects and interacted.Controlled plant according to the instruction of terminal device by the data corresponding with the instruction send to
Terminal device, without downloading corresponding application software, direct propelling data, so as to realize terminal device by mobile data network
Control to controlled plant.
Embodiment six
Referring to Fig. 6, it illustrates a kind of terminal device 6 provided in an embodiment of the present invention, the terminal device 6 includes:The
Two interactive modules 601 and receiving module 602;Wherein,
Second interactive module 601, for by being interacted with controlled plant, prompting needed for the controlled plant sends
The data wanted;Wherein, the terminal device and the controlled plant establish connecting link by wifi direct modes;
The receiving module 602, the connecting link for being established by the wifi direct modes receive described controlled
The data that equipment is sent.
Further, when the data that the terminal device needs are application software, the terminal device also includes:Second
Cut off module 603;
The second cut-out module 603, should without installation if being sent for the terminal device in the first preset time
Instructed with software notification to the controlled plant, then disconnect and being connected with the wifi direct of the controlled plant;
The receiving module 602, if not sent in the first preset time for the terminal device described without installation
Application software notification instruction then receives the controlled plant and sends operating system query statement to the controlled plant.
Further, the second cut-out module 603, if not sent for the terminal device needs to install application software
Notification instruction then disconnects and is connected with the wifi direct of the controlled plant to the controlled plant;
The receiving module 602, if being sent for the terminal device needs to install application software notification instruction to described
Controlled plant, then receive the operating system query statement that the controlled plant is sent.
Further, the receiving module 602, if for the terminal device according to the operating system query statement,
Operating system return instruction is sent in the second preset time to the controlled plant, then receive that the controlled plant sends with
The corresponding application software of the operating system return instruction;
The second cut-out module 603, if not sending operating system in the second preset time for the terminal device
Return instruction then disconnects and is connected with the wifi direct of the controlled plant to the controlled plant.
Further, when the data that the terminal device needs are file, the receiving module 602, for receiving
State the first time file type query statement of controlled plant transmission;
And if the terminal device does not send first time file type notification instruction in the first preset time, connect
Receive second of file type query statement that the controlled plant is sent.
Further, the receiving module 602, for being sent when the terminal device in the first preset time for the first time
During file type notification instruction to the controlled plant, leading to the first time file type for the controlled plant transmission is received
Know and instruct corresponding file;
And when the terminal device is according to second of file type query statement, sent out in the second preset time
When sending second of file type notification instruction to controlled plant, it is sending with second of text to receive the controlled plant
Part type notification instructs corresponding file;
The second cut-out module 603, for not sending second of text in the second preset time when the terminal device
When part type notification is instructed to the controlled plant, disconnection is connected with the wifi direct of the controlled plant.
Specifically, the explanation of terminal device 6 provided in an embodiment of the present invention may be referred to embodiment one to example IV
The explanation of data transmission method, the embodiment of the present invention will not be repeated here.
In actual applications, second interactive module 601, the handover module 603 of receiving module 602 and second can be by positions
CPU, MPU, DSP or FPGA in terminal device 6 etc. are realized.
The embodiments of the invention provide a kind of equipment of data transfer, controlled plant is set by wifi direct with terminal
Standby establish connects and interacted.Controlled plant according to the instruction of terminal device by the data corresponding with the instruction send to
Terminal device, without downloading corresponding application software, direct propelling data, so as to realize terminal device by mobile data network
Control to controlled plant.
Embodiment seven
Referring to Fig. 7, it illustrates a kind of data transmission system 7 provided in an embodiment of the present invention, the data transmission system 7
Including:Controlled plant 701 and terminal device 702;Wherein,
The controlled plant 701, for by being interacted with terminal device, being obtained according to the instruction that the terminal device is sent
Terminal device is taken to need the data received;Wherein, the controlled plant and the terminal device are built by wifi direct modes
Vertical connecting link;
And the number for needing to receive by the terminal device by the connecting link that the wifi direct modes are established
According to transmission to the terminal device;
The terminal device 702, for required for by being interacted with controlled plant, prompting the controlled plant to send
Data;Wherein, the terminal device and the controlled plant establish connecting link by wifi direct modes;
And the connecting link established by the wifi direct modes receives the data that the controlled plant is sent.
Specifically, the explanation of data transmission system 7 provided in an embodiment of the present invention may be referred to embodiment one to embodiment
The explanation of four data transmission method, the embodiment of the present invention will not be repeated here.
In actual applications, the controlled plant 701 and terminal device 702 can be by data transmission systems 7
CPU, MPU, DSP or FPGA etc. are realized.
The embodiments of the invention provide a kind of system of data transfer, controlled plant is set by wifi direct with terminal
Standby establish connects and interacted.Controlled plant according to the instruction of terminal device by the data corresponding with the instruction send to
Terminal device, without downloading corresponding application software, direct propelling data, so as to realize terminal device by mobile data network
Control to controlled plant.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the shape of the embodiment in terms of the present invention can use hardware embodiment, software implementation or combination software and hardware
Formula.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more to use storage
The form for the computer program product that medium is implemented on (including but is not limited to magnetic disk storage and optical memory etc.).
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.
Claims (25)
1. a kind of data transmission method, it is characterised in that methods described is applied to controlled plant, and methods described includes:
For the controlled plant by being interacted with terminal device, the instruction sent according to the terminal device obtains terminal device need
The data to be received;Wherein, the controlled plant and the terminal device establish connecting link by wifi direct modes;
The terminal device is needed what is received by the controlled plant by the connecting link that the wifi direct modes are established
Data are sent to the terminal device.
2. according to the method for claim 1, it is characterised in that when the data that the terminal device needs to receive are that application is soft
During part, for the controlled plant by being interacted with terminal device, the instruction sent according to the terminal device obtains terminal device
The data received are needed, including:
The application software notice that need not install that the controlled plant waits the terminal device to send in the first preset time refers to
Order;
Lead to if the controlled plant receives the application software that need not install that the terminal device is sent in the first preset time
Know instruction, then disconnect and being connected with the wifi direct of the terminal device;
If what the controlled plant did not received that the terminal device sends in the first preset time need not install application software
Notification instruction, then send operating system query statement to the terminal device;
The controlled plant is according to the operating system query statement, the behaviour for waiting terminal device to send in the second preset time
Make system return instruction.
3. according to the method for claim 1, it is characterised in that the controlled plant with terminal device by interacting, root
The instruction sent according to the terminal device obtains the data that terminal device needs to receive, including:
If what the controlled plant did not received that the terminal device sends needs to install application software notification instruction, disconnect with
The wifi direct connections of the terminal device;
If what the controlled plant received that the terminal device sends needs to install application software notification instruction, to the end
End equipment sends operating system query statement;
The controlled plant is according to the operating system query statement, the behaviour for waiting terminal device to send in the second preset time
Make system return instruction.
4. according to the method for claim 1, it is characterised in that the controlled plant passes through the wifi direct modes
The connecting link of foundation sends the data that the terminal device needs to receive to the terminal device, including:
If the controlled plant receives the operating system return instruction of terminal device transmission in the second preset time, certainly
The application software corresponding with the operating system return instruction is inquired about in the pre-stored application software of body;
The controlled plant sends the application software corresponding with the operating system return instruction to the terminal device;
If the controlled plant does not receive the operating system return instruction that the terminal device is sent in the second preset time,
Then disconnect and being connected with the wifi direct of the terminal device.
5. according to the method for claim 1, it is characterised in that when the data that the terminal device needs to receive are file
When, the controlled plant obtains the data that terminal device needs to receive by being interacted with terminal device, including:
The controlled plant sends first time file type query statement to terminal device, and institute is waited in the first preset time
State the first time file type notification instruction of terminal device transmission;
Lead to if the controlled plant does not receive the first time file type that the terminal device is sent in the first preset time
Know instruction, then send second of file type query statement to the terminal device;
The controlled plant waits second of file type notification instruction that the terminal device is sent in the second preset time.
6. according to the method for claim 1, it is characterised in that the controlled plant passes through the wifi direct modes
The connecting link of foundation sends the data that the terminal device needs to receive to the terminal device, including:
When the controlled plant receives the first time file type notice of the terminal device transmission in the first preset time
During instruction, the file corresponding with the first time file type notification instruction is sent to the terminal device;
When the controlled plant receives second of file type notice of the terminal device transmission in the second preset time
During instruction, the file corresponding with second of file type notification instruction is sent to the terminal device;
Second of file type for not receiving the terminal device transmission in the second preset time when the controlled plant is led to
When knowing instruction, disconnection is connected with the wifi direct of the terminal device.
7. a kind of data transmission method, it is characterised in that methods described is applied to terminal device, and methods described includes:
The terminal device by being interacted with controlled plant, prompt the controlled plant send required for data;Wherein, institute
State terminal device and the controlled plant and connecting link is established by wifi direct modes;
The connecting link that the terminal device is established by the wifi direct modes receives the number that the controlled plant is sent
According to.
8. according to the method for claim 7, it is characterised in that when the data that the terminal device needs are application software
When, the terminal device by being interacted with controlled plant, prompt the controlled plant send required for data, including:
If the terminal device is sent in the first preset time need not install application software notification instruction to the controlled plant,
Then disconnect and being connected with the wifi direct of the controlled plant;
If the terminal device do not sent in the first preset time it is described need not install application software notification instruction to it is described by
Equipment is controlled, then receives the operating system query statement that the controlled plant is sent.
9. according to the method for claim 7, it is characterised in that the terminal device is carried by being interacted with controlled plant
Show that the controlled plant sends required data, including:
If the terminal device, which is not sent, needs to install application software notification instruction to the controlled plant, disconnect with it is described by
Control the wifi direct connections of equipment;
If the terminal device, which is sent, needs to install application software notification instruction to the controlled plant, described controlled set is received
The operating system query statement that preparation is sent.
10. according to the method for claim 7, it is characterised in that the terminal device passes through the wifi direct modes
The connecting link of foundation receives the data that the controlled plant is sent, including:
If the terminal device sends operating system return in the second preset time and referred to according to the operating system query statement
It is soft then to receive the application corresponding with the operating system return instruction that the controlled plant is sent to the controlled plant for order
Part;
If the terminal device sends operating system return instruction not in the second preset time to the controlled plant, disconnect
It is connected with the wifi direct of the controlled plant.
11. according to the method for claim 7, it is characterised in that when the data that the terminal device needs are file, institute
Terminal device is stated by being interacted with controlled plant, prompt the controlled plant send required for data, including:
The terminal device receives the first time file type query statement that the controlled plant is sent;
If the terminal device does not send first time file type notification instruction in the first preset time, receive described controlled
Second of file type query statement that equipment is sent.
12. according to the method for claim 7, it is characterised in that the terminal device passes through the wifi direct modes
The connecting link of foundation receives the data that the controlled plant is sent, including:
When the terminal device sends first time file type notification instruction to the controlled plant in the first preset time,
Receive the file corresponding with the first time file type notification instruction that the controlled plant is sent;
When the terminal device is according to second of file type query statement, transmission is literary for the second time in the second preset time
When part type notification is instructed to the controlled plant, being notified with second of file type for the controlled plant transmission is received
Instruct corresponding file;
When the terminal device does not send second of file type notification instruction to the controlled plant in the second preset time
When, disconnection is connected with the wifi direct of the controlled plant.
13. a kind of controlled plant, it is characterised in that the controlled plant includes:First interactive module and sending module;Wherein,
First interactive module, for by being interacted with terminal device, the instruction sent according to the terminal device to obtain
Terminal device needs the data received;Wherein, the controlled plant and the terminal device are established by wifi direct modes
Connecting link;
The sending module, the connecting link for being established by the wifi direct modes need the terminal device
The data of reception are sent to the terminal device.
14. controlled plant according to claim 13, it is characterised in that when the data that the terminal device needs to receive are
During application software, the controlled plant also includes:Wait module and the first cut-out module;Wherein,
The wait module, the application software that need not install for waiting the terminal device to send in the first preset time are led to
Know instruction;
The first cut-out module, sends if receiving the terminal device in the first preset time for the controlled plant
Application software notification instruction need not be installed, then disconnect be connected with the wifi direct of the terminal device;
The sending module, if not receiving what the terminal device was sent in the first preset time for the controlled plant
Application software notification instruction need not be installed, then send operating system query statement to terminal device;
The wait module, it is additionally operable to, according to the operating system query statement, terminal device be waited in the second preset time
The operating system return instruction of transmission.
15. controlled plant according to claim 13, it is characterised in that
First cut-out module, if installing application software for the controlled plant needing of not receiving that the terminal device sends
Notification instruction, then disconnect and being connected with the wifi direct of the terminal device;
The sending module, if the application software that needs to install that the terminal device transmission is received for the controlled plant is led to
Know instruction, then send operating system query statement to the terminal device;
The wait module, for the controlled plant according to the operating system query statement, in the second preset time etc.
Treat the operating system return instruction that terminal device is sent.
16. controlled plant according to claim 13, it is characterised in that the controlled plant also includes:Enquiry module;Its
In,
The enquiry module, if receiving the operation system of terminal device transmission in the second preset time for the controlled plant
System return instruction, then the inquiry application corresponding with the operating system return instruction is soft in the application software that itself is pre-stored
Part;
The sending module, set for the application software corresponding with the operating system return instruction to be sent to the terminal
It is standby;
The first cut-out module, if not receiving the terminal device hair in the second preset time for the controlled plant
The operating system return instruction sent, then disconnect and being connected with the wifi direct of the terminal device.
17. controlled plant according to claim 13, it is characterised in that
When the data that the terminal device needs to receive are file, the sending module, for sending first time file type
Query statement is to terminal device;
The wait module, for the first time file type notice for waiting the mobile terminal to send in the first preset time
Instruction;
The sending module, sent if being additionally operable to the controlled plant and not receiving the terminal device in the first preset time
File type notification instruction, then send second of file type query statement to the terminal device;
The wait module, it is additionally operable to the controlled plant waits the terminal device transmission in the second preset time second
Secondary file type notification instruction.
18. controlled plant according to claim 13, it is characterised in that
The sending module, for when the controlled plant receive that the terminal device sends in the first preset time the
During file type notification instruction, the file corresponding with the first time file type notification instruction was sent to the end
End equipment;
And when the controlled plant receives second of file type of the terminal device transmission in the second preset time
During notification instruction, the file corresponding with second of file type notification instruction is sent to the terminal device;
The first cut-out module, for not receiving the terminal device hair in the second preset time when the controlled plant
During second of the file type notification instruction sent, disconnection is connected with the wifi direct of the terminal device.
19. a kind of terminal device, it is characterised in that the terminal device includes:Second interactive module and receiving module;Wherein,
Second interactive module, for the number required for by being interacted with controlled plant, prompting the controlled plant to send
According to;Wherein, the terminal device and the controlled plant establish connecting link by wifi direct modes;
The receiving module, the connecting link for being established by the wifi direct modes receive the controlled plant hair
The data sent.
20. terminal device according to claim 19, it is characterised in that when the data that the terminal device needs are application
During software, the terminal device also includes:Second cut-out module;
The second cut-out module, leads to if being sent for the terminal device in the first preset time and need not install application software
Know that instruction to the controlled plant, then disconnects and is connected with the wifi direct of the controlled plant;
The receiving module, described application software need not be installed if not sent in the first preset time for the terminal device
Notification instruction then receives the controlled plant and sends operating system query statement to the controlled plant.
21. terminal device according to claim 19, it is characterised in that
It is described second cut-out module, if do not sent for the terminal device need install application software notification instruction to it is described by
Equipment is controlled, then disconnects and being connected with the wifi direct of the controlled plant;
The receiving module, controlled set to described if sending to need to install application software notification instruction for the terminal device
It is standby, then receive the operating system query statement that the controlled plant is sent.
22. terminal device according to claim 19, it is characterised in that
The receiving module, if for the terminal device according to the operating system query statement, in the second preset time
Operating system return instruction is sent to the controlled plant, then receives being returned with the operating system for the controlled plant transmission
Instruct corresponding application software;
The second cut-out module, if sending operating system return instruction not in the second preset time for the terminal device
To the controlled plant, then disconnect and being connected with the wifi direct of the controlled plant.
23. terminal device according to claim 19, it is characterised in that
When the data that the terminal device needs are file, the receiving module, for receiving the controlled plant transmission
First time file type query statement;
And if the terminal device does not send first time file type notification instruction in the first preset time, receive institute
State second of file type query statement of controlled plant transmission.
24. terminal device according to claim 19, it is characterised in that
The receiving module, for sending first time file type notification instruction in the first preset time when the terminal device
During to the controlled plant, the text corresponding with the first time file type notification instruction that the controlled plant is sent is received
Part;
And when the terminal device is according to second of file type query statement, is sent in the second preset time
When secondary file type notification is instructed to the controlled plant, it is sending with second of files classes to receive the controlled plant
The corresponding file of type notification instruction;
The second cut-out module, for leading to when the terminal device does not send second of file type in the second preset time
When knowing instruction to the controlled plant, disconnection is connected with the wifi direct of the controlled plant.
25. a kind of system of data transfer, it is characterised in that the system includes:Controlled plant and terminal device;Wherein,
The controlled plant, for by being interacted with terminal device, the instruction sent according to the terminal device to obtain terminal
Equipment needs the data received;Wherein, the controlled plant and the terminal device establish connection by wifi direct modes
Link;
And the data that the terminal device needs to receive are sent out by the connecting link that the wifi direct modes are established
Deliver to the terminal device;
The terminal device, for the data required for by being interacted with controlled plant, prompting the controlled plant to send;Its
In, the terminal device and the controlled plant establish connecting link by wifi direct modes;
And the connecting link established by the wifi direct modes receives the data that the controlled plant is sent.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610429955.8A CN107517234A (en) | 2016-06-16 | 2016-06-16 | A kind of data transmission method, equipment and system |
PCT/CN2017/079142 WO2017215319A1 (en) | 2016-06-16 | 2017-03-31 | Data transmission method, device, system and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610429955.8A CN107517234A (en) | 2016-06-16 | 2016-06-16 | A kind of data transmission method, equipment and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107517234A true CN107517234A (en) | 2017-12-26 |
Family
ID=60663815
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610429955.8A Pending CN107517234A (en) | 2016-06-16 | 2016-06-16 | A kind of data transmission method, equipment and system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107517234A (en) |
WO (1) | WO2017215319A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110392028A (en) * | 2018-04-20 | 2019-10-29 | 上海巍擎信息技术有限责任公司 | Android system loophole method for wirelessly testing, device, computer equipment and storage medium |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112888083B (en) * | 2021-01-22 | 2022-11-04 | 惠州Tcl移动通信有限公司 | WIFI direct connection processing method and device for mobile terminal, mobile terminal and medium |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103517448B (en) * | 2012-07-16 | 2016-12-21 | Tcl集团股份有限公司 | A kind of method for upgrading software based on WiFi Direct and system |
CN103607443B (en) * | 2013-11-14 | 2017-09-26 | 福州瑞芯微电子股份有限公司 | A kind of offline download equipment based on WIFI Direct |
CA2841371A1 (en) * | 2014-01-31 | 2015-07-31 | Usquare Soft Inc. | Devices and methods for portable processing and application execution |
CN105682002A (en) * | 2014-11-20 | 2016-06-15 | 深圳Tcl数字技术有限公司 | Communication connection establishment method and data communication method and system |
-
2016
- 2016-06-16 CN CN201610429955.8A patent/CN107517234A/en active Pending
-
2017
- 2017-03-31 WO PCT/CN2017/079142 patent/WO2017215319A1/en active Application Filing
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110392028A (en) * | 2018-04-20 | 2019-10-29 | 上海巍擎信息技术有限责任公司 | Android system loophole method for wirelessly testing, device, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2017215319A1 (en) | 2017-12-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109391921A (en) | Feedback control method for boundary connection communication, transmitting node and receiving node | |
CN111356149A (en) | Wireless network configuration method and device | |
KR101616444B1 (en) | Remote Managing System for Machine to Machine Device Using Near Field Communication | |
CN103618670A (en) | Intelligent gateway and intelligent home system | |
CN103167496B (en) | Network insertion processing method and system, network access equipment | |
CN105227594A (en) | Document transmission method, Apparatus and system | |
CN107409270B (en) | Method and apparatus for establishing a connection between devices | |
CN106209962B (en) | Method and system for starting application of vehicle computing system | |
EP3567974A1 (en) | Method and device for connecting device in short-range wireless communication system | |
EP2986038A1 (en) | Method and apparatus for interworking between devices or short-range communication | |
CN104009925A (en) | Method and device for establishing bridge connection with router and router | |
CN106973359B (en) | Method and device for quickly establishing wireless connection, wireless equipment and communication system | |
CN112567696B (en) | Vehicle-mounted communication device and vehicle-mounted system | |
CN105636159A (en) | Configuration method and apparatus for connection between electrical appliance and wireless router and mobile communication terminal | |
CN104540089A (en) | Method, device and system for carrying out Bluetooth pairing on master device and slave device | |
CN110635957A (en) | Method and device for network distribution of Internet of things equipment and mobile terminal | |
CN107517234A (en) | A kind of data transmission method, equipment and system | |
CN111026426A (en) | Method and device for upgrading repeater | |
US10445952B2 (en) | Motor vehicle having a communication unit for multiple control units | |
CN108702366A (en) | Equipment connection method and terminal | |
CN103905094B (en) | A kind of application sharing method and electronic equipment | |
CN107257586B (en) | Mobile network connection method and system when intelligent terminal is connected with WiFi | |
CN109754802A (en) | Sound control method and device | |
US9899735B2 (en) | Signal transmission method, interface extension apparatus, and communications system | |
CN106921425B (en) | Data forwarding method, device and equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20171226 |
|
WD01 | Invention patent application deemed withdrawn after publication |