CN105975408A - Data transmission method and device - Google Patents
Data transmission method and device Download PDFInfo
- Publication number
- CN105975408A CN105975408A CN201610268304.5A CN201610268304A CN105975408A CN 105975408 A CN105975408 A CN 105975408A CN 201610268304 A CN201610268304 A CN 201610268304A CN 105975408 A CN105975408 A CN 105975408A
- Authority
- CN
- China
- Prior art keywords
- data
- data transmission
- mobile terminal
- mode
- transmitted
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/10—Program control for peripheral devices
- G06F13/102—Program control for peripheral devices where the programme performs an interfacing function, e.g. device driver
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0042—Universal serial bus [USB]
Abstract
The invention relates to a data transmission method and device. The data transmission method is used for realizing data transmission between a mobile terminal and PLC (Programmable Logic Controller) equipment and is applied to the mobile terminal. The data transmission method comprises the following steps: obtaining the USB equipment list of the mobile terminal; detecting whether the USB (Universal Serial Bus) equipment list contains the PLC equipment of a preset identity identifier; after the PLC equipment is detected, obtaining the communication port of the PLC equipment, and obtaining the communication node of the communication port; and starting the USB equipment, and carrying out data transmission through the obtained communication node. The data transmission method and device can realize the data transmission between the mobile terminal and the PLC equipment.
Description
Technical field
It relates to technical field of industrial control, it is used for realizing moving in particular to one
The data transmission method of dynamic data transmission between terminal and PLC device and data transmission device.
Background technology
Along with the development of industrial control technology, PLC (Programmable Logic Controller,
Programmable logic controller (PLC)) equipment is more and more important in the effect of every field, applies more and more wider
General.PLC device is a kind of employing programmable memory, by its internally stored program number
According to, perform logical operations, sequential control, regularly, counting user oriented with arithmetical operation etc.
Instruction, and control various types of machineries or production process by numeral or analog pattern input/output.
In prior art, in a part of scheme, need the PC end by being provided with specific driving,
And require to be provided with on PC end the instrument of specialty, it is only possible to carry out the routine data of PLC device
Upload and download.In another scheme, can be by being installed on the VNC (Virtual of PC end
Network Computer, Virtual network computer) remote control software carries out PLC device
The uploading and downloading of routine data, the equipment of data but the program also requires to upload or download
Must possess network function.
From the foregoing, it will be observed that to PLC device upload program data or from PLC device in prior art
On the one hand the data that download need PC end, lack portability, on the other hand, need to install spy
Fixed driving and the instrument of configuration specialty, implement inconvenience.
It should be noted that be only used for strengthening these public affairs in information disclosed in above-mentioned background section
The understanding of the background opened, therefore can include not constituting known to persons of ordinary skill in the art existing
There is the information of technology.
Summary of the invention
The purpose of the disclosure is to provide a kind of for realizing between mobile terminal and PLC device
The data transmission method of data transmission and data transmission device, and then the most to a certain extent gram
One or more problem that clothes cause due to restriction and the defect of correlation technique.
Other characteristics of the disclosure and advantage will be apparent from by detailed description below, or
Partially by the practice of the disclosure and acquistion.
First aspect according to disclosure embodiment, it is provided that a kind of data transmission method, is used for realizing
Data between mobile terminal and PLC device are transmitted and are applied to described mobile terminal;Described number
Include according to transmission method:
Obtain the USB device list of described mobile terminal;
Detect the PLC device whether comprising predetermined identity mark in described USB device list;
COM1 and the acquisition of described PLC device is obtained after described PLC device being detected
The communication node of described COM1;
Open USB device, carried out data transmission by the described communication node obtained.
In a kind of exemplary embodiment of the disclosure, described data transmission method also includes:
Receive a transmission mode selection instruction and enter data according to the instruction of described transmission mode selection
Arq mode on downloading mode or data;
After entering described data download mode, obtain the file destination path on described mobile terminal,
And by the described communication node obtained, the data to be transmitted in described PLC device is downloaded to
Described file destination path;
Enter in described data after arq mode, obtain the data to be transmitted on described mobile terminal, and
And by obtain described communication node by the data to be transmitted of described mobile terminal to being uploaded to
State PLC device.
In a kind of exemplary embodiment of the disclosure, described mobile terminal and described PLC device
Between communicated to connect by USB data line and OTG data wire.
Second aspect according to disclosure embodiment, it is provided that a kind of data transmission method, is used for realizing
Data between mobile terminal and PLC device are transmitted and are applied to described mobile terminal;Described number
Include according to transmission method:
Create according to one end slogan of described mobile terminal and represent ethernet communication protocol socket
DatagramSocket example;
OutbroadcastAddr example is created to enter to described PLC device according to target ip address
Row address is broadcasted;
Create DatagramPacket example, and by described DatagramPacket example from institute
State DatagramSocket example send or receive data.
In a kind of exemplary embodiment of the disclosure, described data transmission method also includes:
Receive a transmission mode selection instruction and enter data according to the instruction of described transmission mode selection
Arq mode on downloading mode or data;
After entering described data download mode, obtain the file destination path on described mobile terminal,
Receive to be transmitted by described DatagramPacket example from described DatagramSocket example
Data also preserve to described file destination path;
Enter in described data after arq mode, obtain the data to be transmitted on described mobile terminal, logical
Cross described DatagramPacket example to receive described shifting from described DatagramSocket example
The data to be transmitted of dynamic terminal is to sending to described PLC device.
In a kind of exemplary embodiment of the disclosure, described mobile terminal and described PLC device
Between communicated to connect by OTG data wire, Ethernet interface and netting twine.
The third aspect according to disclosure embodiment, it is provided that a kind of data transmission method, is used for realizing
Data between mobile terminal and PLC device are transmitted and are applied to described mobile terminal;Described number
Include according to transmission method:
Judge to be carried out data transmission by usb communication mode or by Ethernet mode number
According to transmission;
If judging to be carried out data transmission by usb communication mode, then perform above-mentioned first aspect institute
The data transmission method stated;
If judging to be carried out data transmission by ethernet communication mode, then perform above-mentioned second aspect
Described data transmission method.
In a kind of exemplary embodiment of the disclosure, described data transmission method also includes:
Receive a communication mode and select instruction, select instruction judgement to pass through according to described communication mode
Usb communication mode is carried out data transmission or is carried out data transmission by Ethernet mode.
Fourth aspect according to disclosure embodiment, it is provided that a kind of data transmission device, is used for realizing
Data between mobile terminal and PLC device are transmitted and are applied to described mobile terminal;Described number
Include according to transmitting device:
List acquiring unit, for obtaining the USB device list of described mobile terminal;
Equipment Inspection unit, is used for detecting in described USB device list whether comprise predetermined identity
The PLC device of mark;
Communication check unit, for obtaining described PLC device after described PLC device being detected
COM1 and obtain the communication node of described COM1;
Data transmission unit, is used for opening USB device, is clicked on by the described communication section obtained
Row data are transmitted.
In a kind of exemplary embodiment of the disclosure, described data transmission device also includes:
Transmission mode acquiring unit, for receiving a transmission mode selection instruction and according to described biography
Defeated mode selection command enters arq mode in data download mode or data;
After entering described data download mode, described data transmission unit obtains described mobile terminal
On file destination path, and by obtain described communication node by described PLC device
Data to be transmitted be downloaded to described file destination path;
Entering in described data after arq mode, described data transmission unit obtains described mobile terminal
On data to be transmitted, and by obtain described communication node treating described mobile terminal
Transfer data to be uploaded to described PLC device.
In a kind of exemplary embodiment of the disclosure, described mobile terminal and described PLC device
Between communicated to connect by USB data line and OTG data wire.
The 5th aspect according to disclosure embodiment, it is provided that a kind of data transmission device, is used for realizing
Data between mobile terminal and PLC device are transmitted and are applied to described mobile terminal;Described number
Include according to transmitting device:
Socket creating unit, for create according to one end slogan of described mobile terminal represent with
The too DatagramSocket example of Network Communication agreement socket;
Address broadcast unit, for creating OutbroadcastAddr example according to target ip address
To carry out address broadcast to described PLC device;
Data transmission unit, is used for creating DatagramPacket example, and by described
DatagramPacket example sends from described DatagramSocket example or receives data.
In a kind of exemplary embodiment of the disclosure, described data transmission device also includes:
Transmission mode acquiring unit, for receiving a transmission mode selection instruction and according to described biography
Defeated mode selection command enters arq mode in data download mode or data;
After entering described data download mode, described data transmission unit obtains described mobile terminal
On file destination path, by described DatagramPacket example from described
DatagramSocket example receives data to be transmitted and preserves to described file destination path;
Entering in described data after arq mode, described data transmission unit obtains described mobile terminal
On data to be transmitted, by described DatagramPacket example from described DatagramSocket
Example receives the data to be transmitted of described mobile terminal to sending to described PLC device.
In a kind of exemplary embodiment of the disclosure, described mobile terminal and described PLC device
Between communicated to connect by OTG data wire, Ethernet interface and netting twine.
The 6th aspect according to disclosure embodiment, it is provided that a kind of data transmission device, is used for realizing
Data between mobile terminal and PLC device are transmitted and are applied to described mobile terminal;Described number
Include according to transmitting device:
Communication mode judging unit, carried out data transmission by usb communication mode for judging or
Person is carried out data transmission by Ethernet mode;
If judging to be carried out data transmission by usb communication mode, then by above-mentioned fourth aspect institute
The data transmission device stated carries out data transmission;
If judging to be carried out data transmission by ethernet communication mode, then by above-mentioned 5th aspect
Described data transmission device carries out data transmission.
In a kind of exemplary embodiment of the disclosure, described data transmission device also includes:
Communication mode acquiring unit, selects instruction for receiving a communication mode;
Described communication mode judging unit selects instruction judgement to pass through USB according to described communication mode
Communication mode is carried out data transmission or is carried out data transmission by Ethernet mode.
Technical scheme in a kind of embodiment of the disclosure can realize mobile terminal and PLC device
Between data transmission.Compared to prior art, on the one hand need not PC end, by mobile whole
The portability of end, so that the data transmission of PLC device is convenient;On the other hand, nothing
Need to install specific driving and the instrument of configuration specialty, it is convenient to implement;Another further aspect, it is not necessary to make
With the similar remote control software of VNC, so not requiring that mobile terminal necessarily has Ethernet merit
Can, improve the scope of application of the data transmission method of PLC device;And by having then passed through
The USB of line or the method for Ethernet communicate, and more can guarantee that the efficiency of communication and reliable
Property.
It should be appreciated that above general description and details hereinafter describe be only exemplary with
Explanatory, the disclosure can not be limited.
Accompanying drawing explanation
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that symbol
Conjunction embodiment of the disclosure, and for explaining the principle of the disclosure together with description.Aobvious and easy
Insight, the accompanying drawing in describing below is only some embodiments of the disclosure, general for this area
From the point of view of logical technical staff, on the premise of not paying creative work, it is also possible to attached according to these
Figure obtains other accompanying drawing.
Fig. 1 illustrates that in disclosure exemplary embodiment, mobile terminal is connected with a kind of of PLC device
Mode schematic diagram.
Fig. 2 illustrates the schematic flow sheet of a kind of data transmission method in disclosure exemplary embodiment.
Fig. 3 illustrates the schematic flow sheet of a kind of data transmission method in disclosure exemplary embodiment.
Fig. 4 illustrates the schematic flow sheet of a kind of data transmission method in disclosure exemplary embodiment.
Fig. 5 illustrates that in disclosure exemplary embodiment, mobile terminal is connected with a kind of of PLC device
Mode schematic diagram.
Fig. 6 illustrates the schematic flow sheet of a kind of data transmission method in disclosure exemplary embodiment.
Fig. 7 illustrates the schematic flow sheet of a kind of data transmission method in disclosure exemplary embodiment.
Fig. 8 illustrates the schematic flow sheet of a kind of data transmission method in disclosure exemplary embodiment.
Fig. 9 illustrates the schematic flow sheet of a kind of data transmission method in disclosure exemplary embodiment.
Figure 10 illustrates the schematic flow sheet of a kind of data transmission method in disclosure exemplary embodiment.
Figure 11 illustrates the block diagram of a kind of data transmission device in disclosure exemplary embodiment.
Figure 12 illustrates the block diagram of a kind of data transmission device in disclosure exemplary embodiment.
Figure 13 illustrates the block diagram of a kind of data transmission device in disclosure exemplary embodiment.
Figure 14 illustrates the above-mentioned data transmission method of a kind of application or number in disclosure exemplary embodiment
Block diagram according to the mobile terminal of transmitting device.
Detailed description of the invention
It is described more fully with example embodiment referring now to accompanying drawing.But, example embodiment party
Formula can be implemented in a variety of forms, and is not understood as limited to example set forth herein;On the contrary,
These embodiments are provided so that the disclosure will more fully and completely, and by example embodiment
Design convey to those skilled in the art all sidedly.Described feature, structure or characteristic
Can be combined in any suitable manner in one or more embodiment.In following description
In, it is provided that many details thus provide fully understanding of embodiment of this disclosure.So
And, it will be appreciated by persons skilled in the art that and can put into practice the technical scheme of the disclosure and omit institute
That states in specific detail is one or more, or can use other method, constituent element, device,
Step etc..In other cases, it is not shown in detail or describes known solution to avoid noisy guest
Take by force main and each side of the disclosure is thickened.
Additionally, accompanying drawing is only the schematic illustrations of the disclosure, it is not necessarily drawn to scale.
Reference identical in figure represents same or similar part, thus will omit the weight to them
Multiple description.Some block diagrams shown in accompanying drawing are functional entitys, it is not necessary to must with physics or
The entity being logically independent is corresponding.Can use software form to realize these functional entitys,
Or realize these functional entitys in one or more hardware modules or integrated circuit, or in difference
Network and/or processor device and/or microcontroller device realize these functional entitys.
This example embodiment provide firstly a kind of data transmission method, may be used for realizing
Data between mobile terminal and PLC device are transmitted and are applied to described mobile terminal.This example
In embodiment, described mobile terminal can be such as mobile phone, panel computer and PDA etc..
Described data transmission method in this example embodiment can be by being arranged on described mobile terminal
Application program (APP) realize.
With reference to shown in Fig. 1, mobile terminal described in this example embodiment sets with described PLC
Can be communicated to connect by USB data line and OTG data wire between Bei.Due to existing PLC
Equipment uses the method transmission of wired USB to be topmost transmission means, and mobile terminal is usual
Also there is USB interface, therefore can realize two by USB data line and OTG data wire
The communication connection of person.
In this example embodiment, will carry out specifically as a example by the mobile phone of Android operation system
Bright.With reference to shown in Fig. 2, described data transmission method can comprise the steps:
S11. the USB device list of described mobile terminal is obtained.
With reference to shown in Fig. 3, after mobile terminal starts application program, can first state
UsbManager object.UsbManager object is responsible for the class of USB device, Ke Yitong
Cross the example obtaining this object in respective code.At this apoplexy due to endogenous wind, can be by such as
" getDeviceList () " obtains the USB device list of described mobile terminal.
S12. detect whether described USB device list comprises predetermined identity mark PLC set
Standby.
The identity of PLC device described in this example embodiment can include supplier ID
And product ID (PID) (VID);According to the regulation of USB, all USB devices
Dou You supplier VID and PID, therefore can distinguish different equipment by VID and PID.
Can each with in sequential loop more described USB device list by iterator DeviceIterator
The identity of equipment, when finding the PLC device comprising predetermined identity mark, can connect
To this PLC device, but when not finding the PLC device comprising predetermined identity mark, then return not
Equipment to be connected.
S13. obtain after described PLC device being detected the COM1 of described PLC device with
And obtain the communication node of described COM1.
Described PLC device comprises one or more COM1 (Interface), each communication ends
Mouth comprises again one or more communication node (Endpoint) and is used for and described mobile terminal number
According to transmission.In this example embodiment, such as, can be returned by " getInterfaceCount () "
The COM1 quantity of described PLC device, and obtain institute by " getInterface (int index) "
State the COM1 of PLC device one, and it is logical to obtain this by " getEndpointCount () "
The number of nodes of letter port, and obtain this COM1 by " getEndpoint (int index) "
One communication node.Additionally, general communication node Endpoint be divided into InEndpoint and
OutEndpoint, obtain which kind of communication node can be according to concrete equipment depending on.
S14. open USB device, carried out data transmission by the described communication node obtained.
Shown in Fig. 3, it may be judged whether have the authority accessing described PLC device, example
As, above-mentioned application program can be judged whether by " hasPermission (UsbDevice device) "
There is the authority accessing described PCL equipment;When judging the authority not having to access, then need to obtain
Access the authority of described PLC device.When judging the authority having access, then can be by such as
" openDevice (UsbDevice device) " opens described PLC device, in order to described PLC
Equipment sending data or from described PLC device receive data.In this example embodiment, can
Carry out data transmission in the BulkTransfer mode by being convenient for mass data transmission.
Further, described in described example embodiment, data transmission method can also include:
S10. receive a transmission mode selection instruction and enter according to the instruction of described transmission mode selection
Arq mode on data download mode or data.Such as, with reference to shown in Fig. 4, by being installed on
The above-mentioned application program of described mobile terminal may be used for for user select carry out data upload or
Carry out data download.
After entering described data download mode, user can set and download from described PLC device
The path (the most following file destination path) that routine data will preserve, described application program also may be used
To judge that described file destination path has existed the file born the same name with routine data to be transmitted.
After judging the file do not born the same name in described file destination path with routine data to be transmitted, pass through
Above-mentioned steps S11~step S13 set up the communication between described mobile terminal and described PLC device
Connect, and obtain described file destination path, according to described step S14 and packing
The uploading of PLC device/download protocol by the described communication node that obtains according to Android USB
BulkTransfer mode, obtains data to be transmitted from described PLC device, and downloads preservation extremely
Described file destination path.
Additionally, with continued reference to shown in Fig. 4, before downloading routine data to be transmitted, it is also possible to
Judge that the type that user connects is the most wrong, and when the type judging that user connects is correct,
Carry out data transmission.After data transmission has completed, can be carried by the mode such as sound or word
Awake user's routine data to be transmitted end of transmission.
Entering in described data after arq mode, it is to be passed that user can select on described mobile terminal
Transmission of data deposit path, described application program can also to be transmitted on described mobile terminal
Data verify, to judge that data to be transmitted is the most destroyed and prevents data from cannot transmit completely
Whole.Judging that data to be transmitted verifies by rear, set up by above-mentioned steps S11~step S13
Communication connection between described mobile terminal and described PLC device, and obtain described number to be transmitted
According to deposit path, from described data to be transmitted deposit path obtain data to be transmitted, according to institute
The uploading of the described PLC device/download protocol stating step S14 and packing is described by obtain
Communication node is uploaded to described PLC device according to Android USB Bulk mode.Treat when described
Transmission data deposit path when there is multiple data to be transmitted, this example embodiment also may be used
By circulating above-mentioned transmitting procedure, to carry out data transmission one by one.
Additionally, with continued reference to shown in Fig. 4, before uploading routine data to be transmitted, it is also possible to
Judge that the type that user connects is the most wrong, and when the type judging that user connects is correct,
Carry out data transmission.After data transmission has completed, can be carried by the mode such as sound or word
Awake user's routine data to be transmitted end of transmission.
With reference to shown in Fig. 5, mobile terminal described in this example embodiment sets with described PLC
OTG data wire, Ethernet (Ethernet) interface and netting twine communication link can be passed through between Bei
Connect.Owing to existing PLC device typically has Ethernet interface, and mobile terminal is generally of USB
Interface, therefore can pass through OTG data wire, Ethernet interface (such as RJ45 converting interface) and
Netting twine (such as RJ45 line) realizes both communication connections.
Further, this example embodiment additionally provides another kind of data transfer mode.Originally show
In example embodiment, will be described in detail as a example by the mobile phone of Android operation system.Reference
Shown in Fig. 6, described data transmission method can comprise the steps:
S21. create according to one end slogan of described mobile terminal and represent ethernet communication protocol socket
The DatagramSocket example of word.
With reference to shown in Fig. 7, first add the API library (Library) of Android operation system,
Variable and statement application program required for statement ethernet communication protocol socket Socket make
Thread and start thread.After starting thread, according to one end slogan wound of described mobile terminal
Build the DatagramSocket example representing ethernet communication protocol socket.For example, it may be
Create a DatagramSocket example by " DatagramSocket (int prot) " and bind
To described mobile terminal default ip address and the port numbers specified;Or, it is also possible to it is to pass through
" DatagramSocket (int port, InetAddress laddr) " creates a DatagramSocket
Example is also tied to the address specifying IP and the port numbers etc. specified.
S22. OutbroadcastAddr example is created with to described PLC according to target ip address
Equipment carries out address broadcast.
In this example embodiment, carry out data biography in described mobile terminal and described PLC device
Need not before defeated set up communication connection, described application program needs to create OutbroadcastAddr
Example carries out address broadcast to described PLC device, in order to described in when carrying out data transmission
Receive between PLC device and described mobile terminal or send data.
S23. DatagramPacket example is created.
DatagramPacket example represent be packet, DatagramSocket example receive and
The data sent are all to be completed by DatagramPacket example.Such as, this example is implemented
Mode can be passed through " DatagramPacket (byte [] buf, int length, InetAddress addr,
Int port) " etc. constructor create a DatagramPacket example, and be given receive data word
Joint number group and length thereof.Creating after described DatagramPacket example, can open with
Netting very much the authority of connection, carry out shaking hands order, and set up after shaking hands successfully described mobile terminal with
Communication connection between described PLC device.
S24. sent out from described DatagramSocket example by described DatagramPacket example
Send or receive data.
After creating described DatagramPacket example, this example embodiment such as may be used
To be connect from described DatagramSocket example by " receive (DatagramPacket p) "
Receive packet;And can be by " send (DatagramPacket p) " with this DatagramSocket
Example is sent out packet etc..
Further, described in described example embodiment, data transmission method can also include:
S20. receive a transmission mode selection instruction and enter according to the instruction of described transmission mode selection
Arq mode on data download mode or data.Such as, with reference to shown in Fig. 8, by being installed on
The above-mentioned application program of described mobile terminal may be used for for user select carry out data upload or
Carry out data download.
After entering described data download mode, user can set and download from described PLC device
The path (the most following file destination path) that routine data will preserve, described application program also may be used
To judge that described file destination path has existed the file born the same name with routine data to be transmitted.
After judging the file do not born the same name in described file destination path with routine data to be transmitted, pass through
Above-mentioned steps S21~step S23 set up the communication between described mobile terminal and described PLC device
Connect, and obtain described file destination path, according to described step S24 and packing
The uploading of PLC device/download protocol is by described DatagramPacket example and described
DatagramSocket example is according to Android Ethernet stream mode, from described PLC device
Obtain data to be transmitted, and download preservation to described file destination path.
Additionally, with continued reference to shown in Fig. 8, before downloading routine data to be transmitted, it is also possible to
Judge that the type that user connects is the most wrong, and when the type judging that user connects is correct,
Carry out data transmission.After data transmission has completed, can be carried by the mode such as sound or word
Awake user's routine data to be transmitted end of transmission.
Entering in described data after arq mode, it is to be passed that user can select on described mobile terminal
Transmission of data deposit path, described application program can also to be transmitted on described mobile terminal
Data verify, to judge that data to be transmitted is the most destroyed and prevents data from cannot transmit completely
Whole.Judging that data to be transmitted verifies by rear, set up by above-mentioned steps S21~step S23
Communication connection between described mobile terminal and described PLC device, and obtain described number to be transmitted
According to deposit path, from described data to be transmitted deposit path obtain data to be transmitted, according to institute
State the uploading of the described PLC device/download protocol of step S24 and packing by described
DatagramPacket example and described DatagramSocket example are according to Android
The mode of Ethernet stream is uploaded to described PLC device.Road is deposited when described data to be transmitted
When there is multiple data to be transmitted in footpath, can also be by circulating above-mentioned biography in this example embodiment
Defeated process, carries out data transmission one by one.
Additionally, with continued reference to shown in Fig. 8, before uploading routine data to be transmitted, it is also possible to
Judge that the type that user connects is the most wrong, and when the type judging that user connects is correct,
Carry out data transmission.After data transmission has completed, can be carried by the mode such as sound or word
Awake user's routine data to be transmitted end of transmission.
Further, this example embodiment additionally provides another kind of data transfer mode, is used for
Realize the transmission of the data between mobile terminal and PLC device and be applied to described mobile terminal.Ginseng
Examining shown in Fig. 9, described data transfer mode may include that
S31. judge to be carried out data transmission by usb communication mode or by Ethernet mode
Carry out data transmission.
Such as, with reference to shown in Figure 10, by being installed on the above-mentioned application journey of described mobile terminal
Sequence may be used for selecting carried out data transmission by usb communication mode or pass through ether for user
Net mode carries out data transmission, and described application program can be to judge by usb communication mode accordingly
Carry out data transmission or carried out data transmission by Ethernet mode.But at other of the disclosure
In exemplary embodiment, it is also possible to carried out automatic decision by application program, in this example embodiment
This is not done particular determination.Additionally, in Fig. 10, it is first to select communication mode, reselection number
According to transmission mode;But in other exemplary embodiments of the disclosure, it is also possible to be first to select data
Transmission mode, reselection communication mode, this also belongs to the protection domain of the disclosure.
If S32. judging to be carried out data transmission by usb communication mode, then perform described in Fig. 2~4
Data transmission method.Owing to the data transmission method described in Fig. 2~4 has been carried out retouching in detail
Stating, therefore here is omitted.
If S33. judging to be carried out data transmission by ethernet communication mode, then perform Fig. 6~8 institute
The data transmission method stated.Owing to the data transmission method described in Fig. 6~8 has been carried out in detail
Describing, therefore here is omitted.
By described step S31 to S32 so that described data transmission method adapts to more
Demand, make user can by unrestricted choice can or convenient enforcement in the way of carry out data transmission.
Further, this example embodiment additionally provides a kind of data transmission device, Ke Yiyong
Transmit in the data realized between mobile terminal and PLC device and be applied to described mobile terminal.
With reference to shown in Figure 11, described data transmission device 1 can include list acquiring unit 11, set
Standby detector unit 12, communication check unit 13 and data transmission unit 14.Wherein:
List acquiring unit 11 may be used for obtaining the USB device list of described mobile terminal.
Equipment Inspection unit 12 may be used for detecting whether described USB device list comprises pre-
Determine the PLC device of identity.
Communication check unit 13 may be used for obtaining described PLC after described PLC device being detected
The COM1 of equipment and obtain the communication node of described COM1.
Data transmission unit 14 may be used for opening USB device, by the described communication obtained
Node carries out data transmission.
Shown in Figure 11, described in this exemplary embodiment, data transmission device also may be used
To include transmission mode acquiring unit 10.Wherein:
Transmission mode acquiring unit 10 may be used for receiving a transmission mode selection instruction and according to institute
State transmission mode selection instruction and enter arq mode in data download mode or data.
After entering described data download mode, described data transmission unit 14 obtains described mobile whole
File destination path on end, and by the described communication node of acquisition by described PLC device
In data to be transmitted be downloaded to described file destination path.
Entering in described data after arq mode, described data transmission unit 14 obtains described mobile whole
Data to be transmitted on end, and by the described communication node of acquisition by described mobile terminal
Data to be transmitted is to being uploaded to described PLC device.
In this exemplary embodiment, can pass through between described mobile terminal and described PLC device
USB data line and the communication connection of OTG data wire.
Further, this example embodiment additionally provides another kind of data transmission device, permissible
Transmit for realizing the data between mobile terminal and PLC device and described movement should be may be used for
Terminal.With reference to shown in Figure 12, it is single that described data transmission device 2 can include that socket creates
Unit 21, address broadcast unit 22 and data transmission unit 23.Wherein:
Socket creating unit 21 may be used for creating generation according to one end slogan of described mobile terminal
The DatagramSocket example of table ethernet communication protocol socket.
Address broadcast unit 22 may be used for creating OutbroadcastAddr according to target ip address
Example is to carry out address broadcast to described PLC device.
Data transmission unit 23 may be used for creating DatagramPacket example, and by described
DatagramPacket example sends from described DatagramSocket example or receives data.
Shown in Figure 12, described in this exemplary embodiment, data transmission device also may be used
To include transmission mode acquiring unit 20.Wherein:
Transmission mode acquiring unit 20 may be used for receiving a transmission mode selection instruction and according to institute
State transmission mode selection instruction and enter arq mode in data download mode or data.
After entering described data download mode, described data transmission unit 20 can obtain described shifting
File destination path in dynamic terminal, and by described DatagramPacket example from described
DatagramSocket example receives data to be transmitted and preserves to described file destination path.
Entering in described data after arq mode, described data transmission unit 20 can obtain described shifting
Data to be transmitted in dynamic terminal, and by described DatagramPacket example from described
DatagramSocket example receives the data to be transmitted of described mobile terminal to sending to described
PLC device.
In this exemplary embodiment, between described mobile terminal and described PLC device, pass through OTG
Data wire, Ethernet interface and netting twine communication connection.
Further, this example embodiment additionally provides another data transmission device, permissible
Transmit for realizing the data between mobile terminal and PLC device and described movement should be may be used for
Terminal.With reference to shown in Figure 13, data transmission device 3 described in this example embodiment is permissible
Including communication mode judging unit 31 with institute in the data transmission device 1 and Figure 12 shown in Figure 11
The data transmission device 2 shown.Wherein:
Communication mode judging unit 31 may be used for judging to carry out data by usb communication mode
Transmit or carried out data transmission by Ethernet mode.If judging to be entered by usb communication mode
Row data are transmitted, then carried out data transmission by the data transmission device 1 in Figure 11.If judging
Carried out data transmission by ethernet communication mode, then by the data transmission device 2 in Figure 12
Carry out data transmission.
Shown in Figure 13, in this exemplary embodiment, described data transmission device is also
Communication mode acquiring unit 30 can be included.Wherein:
Communication mode acquiring unit 30 may be used for receiving a communication mode and selects instruction.Described logical
Letter mode judging unit 31 selects instruction to judge by usb communication side according to described communication mode
Formula is carried out data transmission or is carried out data transmission by Ethernet mode.
In above-mentioned data transmission device, the detail of each module/unit passes in corresponding data
Being described in detail in transmission method, therefore here is omitted.
It should be noted that in above-mentioned exemplary embodiment, with Android operation system
Illustrate as a example by mobile phone, but skilled addressee readily understands that, this example embodiment
In technical scheme may be equally applicable for other mobile terminals such as panel computer, be also not limited to
Android operation system, such as, may be equally applicable for IOS or other operating system.And,
In above-mentioned exemplary embodiment, it is to illustrate with transmission procedure data instance, but in the disclosure
In other exemplary embodiments, it is also possible to be other data such as transmitting monitor data, this example is implemented
This is not done particular determination by mode.It addition, above-mentioned exemplary embodiment is communicate with UDP
Illustrate as a example by mode, but TCP, WIFI etc. of realizing based on same inventive concept connect
The data transfer mode of mode, also belongs to the protection domain of the disclosure.
In sum, the technical scheme in this example embodiment can realize mobile terminal and PLC
Data transmission between equipment.Compared to prior art, on the one hand need not PC end, by shifting
The portability of dynamic terminal, so that the data transmission of PLC device is convenient;On the other hand,
Without installing specific driving and the instrument of configuration specialty, it is convenient to implement;Another further aspect, it is not necessary to
Use remote control software similar for VNC, so not requiring that mobile terminal necessarily has Ethernet
Function, improves the scope of application of the data transmission method of PLC device;And by then passing through
Wired USB or the method for Ethernet communicate, more can guarantee that communication efficiency and can
By property.
If although it should be noted that, being referred to the equipment for action executing in above-detailed
Dry module or unit, but this division is the most enforceable.It practice, according to the disclosure
Embodiment, two or more modules above-described or the feature of unit and function can be one
Individual module or unit embody.Otherwise, an above-described module or the feature of unit
Can embody with Further Division for by multiple modules or unit with function.
Although additionally, describe each step of method in the disclosure with particular order in the accompanying drawings,
But, this do not require that or imply must according to this particular order to perform these steps, or
Step shown in having to carry out all could realize desired result.Additional or alternative, permissible
Omit some step, multiple steps are merged into a step and performs, and/or by a step
Suddenly multiple step execution etc. it are decomposed into.
With reference to Figure 14, apply the mobile terminal 300 of above-mentioned data transmission scheme can include with next
Individual or multiple assemblies: process assembly 302, memorizer 304, power supply module 306, multimedia groupware
308, audio-frequency assembly 310, the interface 312 of input/output (I/O), sensor cluster 314, and
Communications component 316.
Process assembly 302 and generally control the integrated operation of mobile terminal 300, such as with display, electricity
The operation that words calling, data communication, camera operation and record operation are associated.Process assembly 302
Can include that one or more processor 320 performs instruction, to complete the whole of above-mentioned method
Or part steps.Additionally, process assembly 302 can include one or more module, it is simple to process
Mutual between assembly 302 and other assemblies.Such as, process assembly 302 and can include multimedia
Module, with facilitate multimedia groupware 304 and process between assembly 302 mutual.
Memorizer 304 is configured to store various types of data to support at mobile terminal 300
Operation.The example of these data includes for any application program of operation on mobile terminal 300
Or the instruction of method, contact data, telephone book data, message, picture, video etc..Storage
Device 304 can be real by any kind of volatibility or non-volatile memory device or combinations thereof
Existing, such as static RAM (SRAM), Electrically Erasable Read Only Memory
(EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), read-only storage able to programme
Device (PROM), read only memory (ROM), magnetic memory, flash memory, disk or
CD.
The various assemblies that power supply module 306 is mobile terminal 300 provide electric power.Power supply module 306
Power-supply management system, one or more power supplys can be included, and other are raw with for mobile terminal 300
Become, manage and distribute the assembly that electric power is associated.
The offer one that multimedia groupware 308 is included between described mobile terminal 300 and user is defeated
The screen of outgoing interface.In certain embodiments, screen can include liquid crystal display (LCD) and
Touch panel (TP).If screen includes that touch panel, screen may be implemented as touch screen,
To receive the input signal from user.Touch panel includes that one or more touch sensor is with sense
Survey the gesture on touch, slip and touch panel.Described touch sensor can not only sense touch
Or the border of sliding action, but also the persistent period that detection is relevant to described touch or slide
And pressure.In certain embodiments, multimedia groupware 308 include a front-facing camera and/or after
Put photographic head.When mobile terminal 300 is in operator scheme, during such as screening-mode or video mode,
Front-facing camera and/or post-positioned pick-up head can receive the multi-medium data of outside.Each preposition take the photograph
As head and post-positioned pick-up head can be fixing optical lens systems or have focal length and optics change
Burnt ability.
Audio-frequency assembly 310 is configured to output and/or input audio signal.Such as, audio-frequency assembly
310 include a mike (MIC), when mobile terminal 300 is in operator scheme, such as calling mould
When formula, logging mode and speech recognition mode, mike is configured to receive external audio signal.
The audio signal received can be further stored at memorizer 304 or via communications component 316
Send.In certain embodiments, audio-frequency assembly 310 also includes a speaker, is used for exporting sound
Frequently signal.
I/O interface 312 provides interface for processing between assembly 302 and peripheral interface module, above-mentioned
Peripheral interface module can be keyboard, puts striking wheel, button etc..These buttons may include but be not limited to:
Home button, volume button, start button and locking press button.
Sensor cluster 314 includes one or more sensor, for providing for mobile terminal 300
The state estimation of various aspects.Such as, sensor cluster 314 can detect mobile terminal 300
Open/closed mode, the relative localization of assembly, the most described assembly is the aobvious of mobile terminal 300
Show that device and keypad, sensor cluster 314 can also detect mobile terminal 300 or mobile terminal
The position change of 300 1 assemblies, the presence or absence that user contacts with mobile terminal 300,
Mobile terminal 300 orientation or acceleration/deceleration and the variations in temperature of mobile terminal 300.Sensor cluster
314 can include proximity transducer, are configured to detect when not having any physical contact attached
The existence of nearly object.Sensor cluster 314 can also include optical sensor, such as CMOS or CCD
Imageing sensor, for using in imaging applications.In certain embodiments, this sensor cluster
314 can also include acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer
Or temperature sensor.
Communications component 316 is configured to facilitate wired between mobile terminal 300 and other equipment or nothing
The communication of line mode.Mobile terminal 300 can access wireless network based on communication standard, as
WiFi, 2G or 3G, or combinations thereof.In one exemplary embodiment, communications component
316 receive the broadcast singal from external broadcasting management system or the relevant letter of broadcast via broadcast channel
Breath.In one exemplary embodiment, described communications component 316 also includes near-field communication (NFC)
Module, to promote junction service.Such as, can be based on RF identification (RFID) in NFC module
Technology, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT)
Technology and other technologies realize.
In the exemplary embodiment, mobile terminal 300 can be integrated by one or more application specific
Circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD),
PLD (PLD), field programmable gate array (FPGA), controller, micro-control
Device processed, microprocessor or other electronic components realize, and are used for performing said method.
In the exemplary embodiment, a kind of non-transitory computer-readable including instruction is additionally provided
Storage medium, such as, include the memorizer 304 of instruction, and above-mentioned instruction can be by mobile terminal 300
Processor 320 has performed the technique scheme in this example embodiment.Such as, described
Non-transitory computer-readable recording medium can be ROM, random access memory (RAM),
CD-ROM, tape, floppy disk and optical data storage devices etc..
Those skilled in the art, will easily after considering description and putting into practice invention disclosed herein
Expect other embodiment of the disclosure.The application is intended to any modification of the disclosure, use
Way or adaptations, these modification, purposes or adaptations follow the one of the disclosure
As property principle include the undocumented common knowledge in the art of the disclosure or conventional techniques
Means.Description and embodiments is considered only as exemplary, the true scope of the disclosure and spirit
Pointed out by appended claim.
Claims (16)
1. a data transmission method, it is characterised in that be used for realizing mobile terminal and set with PLC
Data between Bei are transmitted and are applied to described mobile terminal;Described data transmission method includes:
Obtain the USB device list of described mobile terminal;
Detect the PLC device whether comprising predetermined identity mark in described USB device list;
COM1 and the acquisition of described PLC device is obtained after described PLC device being detected
The communication node of described COM1;
Open USB device, carried out data transmission by the described communication node obtained.
Data transmission method the most according to claim 1, it is characterised in that described data pass
Transmission method also includes:
Receive a transmission mode selection instruction and enter data according to the instruction of described transmission mode selection
Arq mode on downloading mode or data;
After entering described data download mode, obtain the file destination path on described mobile terminal,
And by the described communication node obtained, the data to be transmitted in described PLC device is downloaded to
Described file destination path;
Enter in described data after arq mode, obtain the data to be transmitted on described mobile terminal, and
And by obtain described communication node by the data to be transmitted of described mobile terminal to being uploaded to
State PLC device.
Data transmission method the most according to claim 1 and 2, it is characterised in that described shifting
Move between terminal and described PLC device by USB data line and OTG data wire communication link
Connect.
4. a data transmission method, it is characterised in that be used for realizing mobile terminal and set with PLC
Data between Bei are transmitted and are applied to described mobile terminal;Described data transmission method includes:
Create according to one end slogan of described mobile terminal and represent ethernet communication protocol socket
DatagramSocket example;
OutbroadcastAddr example is created to enter to described PLC device according to target ip address
Row address is broadcasted;
Create DatagramPacket example, and by described DatagramPacket example from institute
State DatagramSocket example send or receive data.
Data transmission method the most according to claim 4, it is characterised in that described data pass
Transmission method also includes:
Receive a transmission mode selection instruction and enter data according to the instruction of described transmission mode selection
Arq mode on downloading mode or data;
After entering described data download mode, obtain the file destination path on described mobile terminal,
Receive to be transmitted by described DatagramPacket example from described DatagramSocket example
Data also preserve to described file destination path;
Enter in described data after arq mode, obtain the data to be transmitted on described mobile terminal, logical
Cross described DatagramPacket example to receive described shifting from described DatagramSocket example
The data to be transmitted of dynamic terminal is to sending to described PLC device.
6. according to the data transmission method described in claim 4 or 5, it is characterised in that described shifting
Dynamic logical by OTG data wire, Ethernet interface and netting twine between terminal and described PLC device
Letter connects.
7. a data transmission method, it is characterised in that be used for realizing mobile terminal and set with PLC
Data between Bei are transmitted and are applied to described mobile terminal;Described data transmission method includes:
Judge to be carried out data transmission by usb communication mode or by Ethernet mode number
According to transmission;
If judging to be carried out data transmission by usb communication mode, then perform according to claims 1 to 3
Data transmission method described in any one;
If judging to be carried out data transmission by ethernet communication mode, then perform according to claim
Data transmission method described in 4~6 any one.
Data transmission method the most according to claim 7, it is characterised in that described data pass
Transmission method also includes:
Receive a communication mode and select instruction, select instruction judgement to pass through according to described communication mode
Usb communication mode is carried out data transmission or is carried out data transmission by Ethernet mode.
9. a data transmission device, it is characterised in that be used for realizing mobile terminal and set with PLC
Data between Bei are transmitted and are applied to described mobile terminal;Described data transmission device includes:
List acquiring unit, for obtaining the USB device list of described mobile terminal;
Equipment Inspection unit, is used for detecting in described USB device list whether comprise predetermined identity
The PLC device of mark;
Communication check unit, for obtaining described PLC device after described PLC device being detected
COM1 and obtain the communication node of described COM1;
Data transmission unit, is used for opening USB device, is clicked on by the described communication section obtained
Row data are transmitted.
Data transmission device the most according to claim 9, it is characterised in that described data
Transmitting device also includes:
Transmission mode acquiring unit, for receiving a transmission mode selection instruction and according to described biography
Defeated mode selection command enters arq mode in data download mode or data;
After entering described data download mode, described data transmission unit obtains described mobile terminal
On file destination path, and by obtain described communication node by described PLC device
Data to be transmitted be downloaded to described file destination path;
Entering in described data after arq mode, described data transmission unit obtains described mobile terminal
On data to be transmitted, and by obtain described communication node treating described mobile terminal
Transfer data to be uploaded to described PLC device.
11. according to the data transmission device described in claim 9 or 10, it is characterised in that described
Communicated by USB data line and OTG data wire between mobile terminal with described PLC device
Connect.
12. 1 kinds of data transmission devices, it is characterised in that be used for realizing mobile terminal and set with PLC
Data between Bei are transmitted and are applied to described mobile terminal;Described data transmission device includes:
Socket creating unit, for create according to one end slogan of described mobile terminal represent with
The too DatagramSocket example of Network Communication agreement socket;
Address broadcast unit, for creating OutbroadcastAddr example according to target ip address
To carry out address broadcast to described PLC device;
Data transmission unit, is used for creating DatagramPacket example, and by described
DatagramPacket example sends from described DatagramSocket example or receives data.
13. according to the data transmission device described in claim 11 or 12, it is characterised in that institute
State data transmission device also to include:
Transmission mode acquiring unit, for receiving a transmission mode selection instruction and according to described biography
Defeated mode selection command enters arq mode in data download mode or data;
After entering described data download mode, described data transmission unit obtains described mobile terminal
On file destination path, by described DatagramPacket example from described
DatagramSocket example receives data to be transmitted and preserves to described file destination path;
Entering in described data after arq mode, described data transmission unit obtains described mobile terminal
On data to be transmitted, by described DatagramPacket example from described DatagramSocket
Example receives the data to be transmitted of described mobile terminal to sending to described PLC device.
14. according to the data transmission device described in claim 12 or 13, it is characterised in that institute
State between mobile terminal and described PLC device by OTG data wire, Ethernet interface and net
Line communicates to connect.
15. 1 kinds of data transmission devices, it is characterised in that be used for realizing mobile terminal and set with PLC
Data between Bei are transmitted and are applied to described mobile terminal;Described data transmission device includes:
Communication mode judging unit, carried out data transmission by usb communication mode for judging or
Person is carried out data transmission by Ethernet mode;
If judging to be carried out data transmission by usb communication mode, then by claim 9~11
A described data transmission device of anticipating carries out data transmission;
If judging to be carried out data transmission by ethernet communication mode, then by claim 12~14
Data transmission device described in any one carries out data transmission.
16. data transmission devices according to claim 15, it is characterised in that described data
Transmitting device also includes:
Communication mode acquiring unit, selects instruction for receiving a communication mode;
Described communication mode judging unit selects instruction judgement to pass through USB according to described communication mode
Communication mode is carried out data transmission or is carried out data transmission by Ethernet mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610268304.5A CN105975408A (en) | 2016-04-27 | 2016-04-27 | Data transmission method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610268304.5A CN105975408A (en) | 2016-04-27 | 2016-04-27 | Data transmission method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105975408A true CN105975408A (en) | 2016-09-28 |
Family
ID=56993398
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610268304.5A Pending CN105975408A (en) | 2016-04-27 | 2016-04-27 | Data transmission method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105975408A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106618594A (en) * | 2016-11-10 | 2017-05-10 | 深圳市元征软件开发有限公司 | Blood glucose data acquiring method and mobile terminal |
WO2018058922A1 (en) * | 2016-09-30 | 2018-04-05 | 中兴通讯股份有限公司 | Signal transmission method and device |
CN108319354A (en) * | 2018-01-05 | 2018-07-24 | 青岛海信移动通信技术股份有限公司 | To connect the method and device of USB camera power supply on mobile terminals |
CN108763111A (en) * | 2018-06-04 | 2018-11-06 | Oppo(重庆)智能科技有限公司 | Module unit driving method, module group drive device and computer readable storage medium |
CN109413191A (en) * | 2018-11-07 | 2019-03-01 | 深圳市网心科技有限公司 | Data transmission method, electronic equipment and storage medium |
CN112000374A (en) * | 2020-07-13 | 2020-11-27 | 深圳市智微智能软件开发有限公司 | USB touch screen replacing method, device, equipment and medium applied to android system |
WO2024016810A1 (en) * | 2022-07-21 | 2024-01-25 | 飞天诚信科技股份有限公司 | Method and apparatus for implementing otg communication without plugging, terminal device, and medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20010027500A1 (en) * | 2000-03-09 | 2001-10-04 | International Business Machines Corporation | Data transmission system, data transmission terminal, controller and interface method |
CN102654766A (en) * | 2012-04-18 | 2012-09-05 | 华中科技大学 | Wireless remote PLC (Programmable Logic Controller) monitoring system and application thereof |
CN103716072A (en) * | 2013-12-20 | 2014-04-09 | 天地融科技股份有限公司 | Bluetooth device connection method, master bluetooth device and slave bluetooth device |
-
2016
- 2016-04-27 CN CN201610268304.5A patent/CN105975408A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20010027500A1 (en) * | 2000-03-09 | 2001-10-04 | International Business Machines Corporation | Data transmission system, data transmission terminal, controller and interface method |
CN102654766A (en) * | 2012-04-18 | 2012-09-05 | 华中科技大学 | Wireless remote PLC (Programmable Logic Controller) monitoring system and application thereof |
CN103716072A (en) * | 2013-12-20 | 2014-04-09 | 天地融科技股份有限公司 | Bluetooth device connection method, master bluetooth device and slave bluetooth device |
Non-Patent Citations (5)
Title |
---|
ELLIOTTE RUSTY HARROLD著,朱涛江 等译: "《JAVA网络编程(第三版)》", 30 November 2005, 中国电力出版社 * |
席天翔 等: ""基于移动终端的液位测量系统的设计与实现"", 《自动化与仪表》 * |
张璞 等: "《解析JAVA程序设计(第2版)》", 31 December 2013, 清华大学出版社 * |
敖伟智 等: ""基于智能移动终端与PLC的配方打叶计量系统设计"", 《科技创新(上旬刊)》 * |
齐继阳 等: ""基于安卓移动设备的嵌入式监控系统设计方法"", 《自动化与仪表》 * |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018058922A1 (en) * | 2016-09-30 | 2018-04-05 | 中兴通讯股份有限公司 | Signal transmission method and device |
CN107889263A (en) * | 2016-09-30 | 2018-04-06 | 中兴通讯股份有限公司 | A kind of method for transmitting signals and device |
US11224031B2 (en) | 2016-09-30 | 2022-01-11 | Xi'an Zhongxing New Software Co., Ltd | Signal transmission method and device |
CN107889263B (en) * | 2016-09-30 | 2022-09-13 | 中兴通讯股份有限公司 | Data transmitting method, data receiving method, device, equipment and storage medium |
CN106618594A (en) * | 2016-11-10 | 2017-05-10 | 深圳市元征软件开发有限公司 | Blood glucose data acquiring method and mobile terminal |
CN108319354A (en) * | 2018-01-05 | 2018-07-24 | 青岛海信移动通信技术股份有限公司 | To connect the method and device of USB camera power supply on mobile terminals |
CN108763111A (en) * | 2018-06-04 | 2018-11-06 | Oppo(重庆)智能科技有限公司 | Module unit driving method, module group drive device and computer readable storage medium |
CN109413191A (en) * | 2018-11-07 | 2019-03-01 | 深圳市网心科技有限公司 | Data transmission method, electronic equipment and storage medium |
CN112000374A (en) * | 2020-07-13 | 2020-11-27 | 深圳市智微智能软件开发有限公司 | USB touch screen replacing method, device, equipment and medium applied to android system |
CN112000374B (en) * | 2020-07-13 | 2024-01-02 | 深圳市智微智能软件开发有限公司 | USB touch screen replacement method, device, equipment and medium applied to android system |
WO2024016810A1 (en) * | 2022-07-21 | 2024-01-25 | 飞天诚信科技股份有限公司 | Method and apparatus for implementing otg communication without plugging, terminal device, and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105975408A (en) | Data transmission method and device | |
CN104219092B (en) | The compatibility method of a kind of router administration application and router firmware and device | |
CN104159218B (en) | Internetwork connection establishing method and device | |
CN107294793A (en) | Replacement method, device, equipment and the storage medium of intelligent home device | |
CN105204894A (en) | Method and device for installing plug-in of intelligent equipment | |
CN104464238B (en) | Method of controlling operation thereof and device between mobile terminal | |
CN105554687A (en) | Networking working method of intelligent equipment, device and intelligent equipment | |
CN104808500A (en) | Task setting method and device | |
CN105120099A (en) | Shooting control method and device | |
CN105182784A (en) | Method and device of controlling intelligent devices and terminal | |
CN105808469B (en) | Data processing method, device, terminal and smart machine | |
CN108038034A (en) | Electronic equipment adjustment method, adapter, device and storage medium | |
CN105827489A (en) | Intelligent household electrical appliance control method and device and intelligent household electrical appliance | |
CN106454898A (en) | Intelligent scene configuration method and device | |
CN105207813B (en) | Smart machine sort method and device | |
CN106507282A (en) | The control method of wireless connection and device | |
CN107562500A (en) | Debugging apparatus, method and apparatus | |
CN111031124A (en) | Home equipment networking deployment method and device, electronic equipment and storage medium | |
CN104378596A (en) | Method and device for conducting remote conversation with camera | |
CN106330569A (en) | Method and apparatus for configuring wireless router | |
CN106358064A (en) | Method and equipment for controlling television | |
CN105260201A (en) | Application installation methods and devices, and smart devices | |
CN105978606A (en) | Remote communication method for Bluetooth device, Bluetooth device and client | |
KR102028944B1 (en) | Methods, devices, systems, programs and storage media for accessing a plurality of servers of smart home appliances | |
CN105100201A (en) | Data packet capturing method and data packet capturing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160928 |