CN105263195B - Data transmission device and method - Google Patents

Data transmission device and method Download PDF

Info

Publication number
CN105263195B
CN105263195B CN201510613745.XA CN201510613745A CN105263195B CN 105263195 B CN105263195 B CN 105263195B CN 201510613745 A CN201510613745 A CN 201510613745A CN 105263195 B CN105263195 B CN 105263195B
Authority
CN
China
Prior art keywords
terminal
data
transfer instruction
data transmission
data transfer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510613745.XA
Other languages
Chinese (zh)
Other versions
CN105263195A (en
Inventor
杨显钧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201510613745.XA priority Critical patent/CN105263195B/en
Publication of CN105263195A publication Critical patent/CN105263195A/en
Application granted granted Critical
Publication of CN105263195B publication Critical patent/CN105263195B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of data transmission device, the data transmission device includes:Creation module, in the data transfer instruction of first terminal transmission for receiving the first operating system of operation, the corresponding store path of the data transfer instruction to be created according to the data transfer instruction received;Determining module creates the corresponding store path of the data transfer instruction for determining whether;First sending module creates successful information to the first terminal, so that the first terminal transfers data to the second terminal based on the establishment successful information for when the store path creates successfully, sending.The invention also discloses a kind of data transmission methods.The present invention improves the efficiency of transmission of data.

Description

Data transmission device and method
Technical field
The present invention relates to field of communication technology more particularly to a kind of data transmission device and methods.
Background technology
It can between the first terminal and the second terminal for running android operating systems of operation windows operating systems To carry out the transmission of data by adb (Android Debug Bridge debug bridge) mode, and in the data transfer mode, Second terminal creates store path according to the data transfer instruction that first terminal is sent, and after being successfully established store path Can receive first terminal transmission data, but first terminal can not be learnt before carrying out data transmission second terminal whether at Work(establishes store path, when second terminal creates store path failure, can not receive the data of first terminal transmission, first eventually End can just be learnt after data are sent leads to data transmission fails since second terminal does not create store path, and is obtaining Know that the transmission for just carrying out data after failure cause again by change directive mode, which need to carry out multiple data transmission Energy Successful transmissions data, leading to data, transmission efficiency is low.
Invention content
It is a primary object of the present invention to propose a kind of data transmission device and method, it is intended to solve traditional data transmission The technical issues of transmission efficiency is low existing for mode.
To achieve the above object, a kind of data transmission device provided by the invention, is applied to second terminal, and the data pass Defeated device includes:
Creation module, for receive operation the first operating system first terminal send data transfer instruction when, The corresponding store path of the data transfer instruction is created according to the data transfer instruction received;
Determining module creates the corresponding store path of the data transfer instruction for determining whether;
First sending module creates successful information to described first for when the store path creates successfully, sending Terminal, so that the first terminal transfers data to the second terminal based on the establishment successful information.
Preferably, the data transmission device further includes:
Reminding module is used for when the store path creates failure, transmission establishment failure information to the first terminal, To prompt the first terminal to stop the transmission of data;
First removing module reaches the data of prefixed time interval for deleting storage time in preset memory space.
In addition, to achieve the above object, the present invention also proposes a kind of data transmission device, it is applied to first terminal, it is described Data transmission device includes:
Second sending module transmits instructions to the second terminal of the second operating system of operation for transmission data, for institute It states second terminal and corresponding store path is created according to the data transfer instruction, and feed back establishment whether successful information is to institute State first terminal;
Transmission module, for when receiving the establishment successful information of second terminal feedback, according to it is described create at Work(information sends data to the second terminal.
Preferably, the data transmission device further includes:
Conversion module, for the coded format coded format corresponding with the second operating system in the data transfer instruction When inconsistent, by the corresponding coded format of the second operating system described in the converting coding formats of the data transfer instruction.
Preferably, the data transmission device further includes:
Second removing module, in the data transmission to the second terminal, deleting the data of storage.
In addition, to achieve the above object, the present invention also proposes that a kind of data transmission method, the data transmission method include Following steps:
In the data transfer instruction that the first terminal for receiving the first operating system of operation is sent, the second operation of operation system The second terminal of system creates the corresponding store path of the data transfer instruction according to the data transfer instruction received;
The second terminal determines whether to create the corresponding store path of the data transfer instruction;
When the store path creates successfully, the second terminal transmission establishment successful information to the first terminal, So that the first terminal transfers data to the second terminal based on the establishment successful information.
Preferably, the second terminal determines whether to create the step of the corresponding store path of the data transfer instruction After rapid, the data transmission method further includes:
When the store path creates failure, the second terminal transmission establishment failure information to the first terminal, To prompt the first terminal to stop the transmission of data;
The second terminal deletes the data that storage time in preset memory space reaches prefixed time interval.
In addition, to achieve the above object, the present invention also proposes that a kind of data transmission method, the data transmission method include Following steps:
The first terminal transmission data for running the first operating system transmits instructions to the second end of the second operating system of operation End so that the second terminal creates corresponding store path according to the data transfer instruction, and feeds back whether establishment succeeds Information to the first terminal;
When receiving the establishment successful information of the second terminal feedback, the first terminal creates successfully according to described Information sends data to the second terminal.
Preferably, the first terminal transmission data of the first operating system of the operation transmits instructions to the second operation of operation system The second terminal of system so that the second terminal creates corresponding store path according to the data transfer instruction, and feeds back wound Build whether successful information to the first terminal the step of before, the data transmission method further includes:
It is described when the coded format of data transfer instruction coded format corresponding with the second operating system is inconsistent First terminal is by the corresponding coded format of the second operating system described in the converting coding formats of the data transfer instruction.
Preferably, described when receiving the establishment successful information of second terminal feedback, the first terminal according to The establishment successful information is sent data to after the second terminal, and the data transmission method further includes:
In the data transmission to the second terminal, the first terminal deletes the data of storage.
Data transmission device proposed by the present invention and method, the data transmission device include creation module, determining module With the first sending module mould is created in the data transfer instruction that the first terminal for receiving the first operating system of operation is sent Root tuber creates the corresponding store path of the data transfer instruction according to the data transfer instruction received, and determining module determines The corresponding store path of the data transfer instruction whether is currently created, when the store path creates successfully, first sends Module, which is sent, creates successful information to the first terminal, and number is transmitted so that the first terminal is based on the establishment successful information According to the second terminal, this programme is when store path creates successfully, just transmission establishment successful information to the first terminal, So that the first terminal transfers data to the second terminal, rather than after first terminal has sent data, could obtain Know causes data transmission fails, this programme to avoid being transmitted several times for data since second terminal does not create store path, from And improve the efficiency of data transmission.
Description of the drawings
The hardware architecture diagram of Fig. 1 mobile terminals of each embodiment to realize the present invention;
Fig. 2 is the wireless communication device schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the high-level schematic functional block diagram of data transmission device first embodiment of the present invention;
Fig. 4 is the high-level schematic functional block diagram of data transmission device second embodiment of the present invention;
Fig. 5 is the high-level schematic functional block diagram of data transmission device 3rd embodiment of the present invention;
Fig. 6 is the high-level schematic functional block diagram of data transmission device fourth embodiment of the present invention;
Fig. 7 is the high-level schematic functional block diagram of the 5th embodiment of data transmission device of the present invention;
Fig. 8 is the flow diagram of data transmission method first embodiment of the present invention;
Fig. 9 is the flow diagram of data transmission method second embodiment of the present invention;
Figure 10 is the flow diagram of data transmission method 3rd embodiment of the present invention;
Figure 11 is the flow diagram of data transmission method fourth embodiment of the present invention;
Figure 12 is the flow diagram of the 5th embodiment of data transmission method of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific implementation mode
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The mobile terminal of each embodiment of the present invention is realized in description with reference to the drawings.In subsequent description, use For indicate element such as " module ", " component " or " unit " suffix only for be conducive to the present invention explanation, itself There is no specific meanings.Therefore, " module " can be used mixedly with " component ".
Mobile terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as moving Phone, smart phone, laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet computer), PMP The mobile terminal of (portable media player), navigation device etc. and such as number TV, desktop computer etc. are consolidated Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that in addition to being used in particular for moving Except the element of purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 to realize the present invention the mobile terminal of each embodiment hardware configuration signal.
Mobile terminal 100 may include wireless communication unit 110, A/V (audio/video) input unit 120, user's input Unit 130, sensing unit 140, output unit 150, memory 160, interface unit 170, controller 180 and power supply unit 190 Etc..Fig. 1 shows the mobile terminal with various assemblies, it should be understood that being not required for implementing all groups shown Part.More or fewer components can alternatively be implemented.The element of mobile terminal will be discussed in more detail below.
Wireless communication unit 110 generally includes one or more components, allows mobile terminal 100 and wireless communication device Or the radio communication between network.For example, wireless communication unit may include broadcasting reception module 111, mobile communication module 112, at least one of wireless Internet module 113, short range communication module 114 and location information module 115.
Broadcasting reception module 111 receives broadcast singal and/or broadcast via broadcast channel from external broadcast management server Relevant information.Broadcast channel may include satellite channel and/or terrestrial channel.Broadcast management server can be generated and sent The broadcast singal and/or broadcast related information that the server or reception of broadcast singal and/or broadcast related information generate before And send it to the server of terminal.Broadcast singal may include TV broadcast singals, radio signals, data broadcasting Signal etc..Moreover, broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast phase Closing information can also provide via mobile communications network, and in this case, broadcast related information can be by mobile communication mould Block 112 receives.Broadcast singal can exist in a variety of manners, for example, it can be with the electronics of digital multimedia broadcasting (DMB) Program guide (EPG), digital video broadcast-handheld (DVB-H) electronic service guidebooks (ESG) etc. form and exist.Broadcast Receiving module 111 can receive signal broadcast by using various types of broadcasters.Particularly, broadcasting reception module 111 It can be wide by using such as multimedia broadcasting-ground (DMB-T), digital multimedia broadcasting-satellite (DMB-S), digital video It broadcasts-holds (DVB-H), forward link media (MediaFLO@) data broadcasting device, received terrestrial digital broadcasting integrated service (ISDB-T) etc. digital broadcast apparatus receives digital broadcasting.Broadcasting reception module 111, which may be constructed such that, to be adapted to provide for extensively Broadcast the various broadcasters of signal and above-mentioned digital broadcast apparatus.Via broadcasting reception module 111 receive broadcast singal and/ Or broadcast related information can be stored in memory 160 (or other types of storage medium).
Mobile communication module 112 sends radio signals to base station (for example, access point, node B etc.), exterior terminal And at least one of server and/or receive from it radio signal.Such radio signal may include that voice is logical Talk about signal, video calling signal or the various types of data for sending and/or receiving according to text and/or Multimedia Message.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.The module can be internally or externally It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by the module may include WLAN (Wireless LAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave accesses), HSDPA (high-speed downlink packet access) etc..
Short range communication module 114 is the module for supporting short range communication.Some examples of short-range communication technology include indigo plant ToothTM, radio frequency identification (RFID), Infrared Data Association (IrDA), ultra wide band (UWB), purple honeybeeTMEtc..
Location information module 115 is the module of the location information for checking or obtaining mobile terminal.Location information module Typical case be GPS (global pick device).According to current technology, GPS module 115, which calculates, comes from three or more satellites Range information and correct time information and the Information application triangulation for calculating, to according to longitude, latitude Highly accurately calculate three-dimensional current location information.Currently, it is defended using three for the method for calculating position and temporal information Star and the error that calculated position and temporal information are corrected by using an other satellite.In addition, GPS module 115 It can be by Continuous plus current location information in real time come calculating speed information.
A/V input units 120 are for receiving audio or video signal.A/V input units 120 may include 121 He of camera Microphone 122, camera 121 in video acquisition mode or image capture mode by image capture apparatus obtain static images Or the image data of video is handled.Treated, and picture frame may be displayed on display unit 151.It is handled through camera 121 Picture frame afterwards can be stored in memory 160 (or other storage mediums) or be sent out via wireless communication unit 110 It send, two or more cameras 121 can be provided according to the construction of mobile terminal.Microphone 122 can be in telephone calling model, note Sound (audio data) is received via microphone in record pattern, speech recognition mode etc. operational mode, and can will in this way Acoustic processing be audio data.Audio that treated (voice) data can be converted in the case of telephone calling model can The format output of mobile communication base station is sent to via mobile communication module 112.Microphone 122 can implement various types of make an uproar Sound eliminates (or inhibition) algorithm to eliminate the noise or do that (or inhibition) generates during sending and receiving audio signal It disturbs.
User input unit 130 can generate key input data to control each of mobile terminal according to order input by user Kind operation.User input unit 130 allows user to input various types of information, and may include keyboard, metal dome, touch Plate (for example, sensitive component of detection variation of resistance, pressure, capacitance etc. caused by being contacted), idler wheel, rocking bar etc. Deng.Particularly, when touch tablet is superimposed upon in the form of layer on display unit 151, touch screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 100, (for example, mobile terminal 100 opens or closes shape State), the position of mobile terminal 100, user is for the presence or absence of contact (that is, touch input) of mobile terminal 100, mobile terminal 100 orientation, the acceleration of mobile terminal 100 or by fast movement and direction etc., and generate for controlling mobile terminal 100 The order of operation or signal.For example, when mobile terminal 100 is embodied as sliding-type mobile phone, sensing unit 140 can sense The sliding-type phone is to open or close.In addition, sensing unit 140 can detect power supply unit 190 whether provide electric power or Whether person's interface unit 170 couples with external device (ED).Sensing unit 140, which may include proximity sensor 1410, to be combined below Touch screen is described this.
Interface unit 170 be used as at least one external device (ED) connect with mobile terminal 100 can by connect
Mouthful.For example, external device (ED) may include wired or wireless headphone port, external power supply (or battery charging Device) it is port, wired or wireless data port, memory card port, defeated for connecting the port of device with identification module, audio Enter/export the port (I/O), video i/o port, ear port etc..Identification module can be that storage is used for verifying user Various information of mobile terminal 100 and may include subscriber identification module (UIM), client identification module (SIM), Universal Subscriber Identification module (USIM) etc..In addition, the device with identification module (hereinafter referred to as " identification device ") can take smart card Form, therefore, identification device can be connect via port or other attachment devices with mobile terminal 100.Interface unit 170 can For receiving the input (for example, data information, electric power etc.) from external device (ED) and being transferred to the input received One or more elements in mobile terminal 100 can be used for the transmission data between mobile terminal and external device (ED).
In addition, when mobile terminal 100 is connect with external base, interface unit 170 may be used as allowing will be electric by it Power provides to the path of mobile terminal 100 from pedestal or may be used as that the various command signals inputted from pedestal is allowed to pass through it It is transferred to the path of mobile terminal.The various command signals or electric power inputted from pedestal, which may be used as mobile terminal for identification, is The no signal being accurately fitted on pedestal.Output unit 150 is configured to provide with vision, audio and/or tactile manner defeated Go out signal (for example, audio signal, vision signal, alarm signal, vibration signal etc.).Output unit 150 may include display Unit 151, audio output module 152, alarm unit 153 etc..
Display unit 151 may be displayed on the information handled in mobile terminal 100.For example, when mobile terminal 100 is in electricity When talking about call mode, display unit 151 can show and converse or other communicate (for example, text messaging, multimedia file Download etc.) relevant user interface (UI) or graphic user interface (GUI).When mobile terminal 100 is in video calling pattern Or when image capture mode, display unit 151 can show the image of capture and/or the image of reception, show video or figure The UI or GUI etc. of picture and correlation function.
Meanwhile when display unit 151 and touch tablet in the form of layer it is superposed on one another to form touch screen when, display unit 151 may be used as input unit and output device.Display unit 151 may include liquid crystal display (LCD), thin film transistor (TFT) In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least It is a kind of.Some in these displays may be constructed such that transparence to allow user to be watched from outside, this is properly termed as transparent Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific Desired embodiment, mobile terminal 100 may include two or more display units (or other display devices), for example, moving Dynamic terminal may include outernal display unit (not shown) and inner display unit (not shown).Touch screen, which can be used for detecting, to be touched Input pressure and touch input position and touch input area.
Audio output module 152 can mobile terminal be in call signal reception pattern, call mode, logging mode, It is that wireless communication unit 110 is received or in memory 160 when under the isotypes such as speech recognition mode, broadcast reception mode The audio data transducing audio signal of middle storage and to export be sound.Moreover, audio output module 152 can provide and movement The relevant audio output of specific function (for example, call signal receives sound, message sink sound etc.) that terminal 100 executes. Audio output module 152 may include sound pick-up, buzzer etc..
Alarm unit 153 can provide output notifying event to mobile terminal 100.Typical event can be with Including calling reception, message sink, key signals input, touch input etc..Other than audio or video exports, alarm unit 153 can provide output with the generation of notification event in different ways.For example, alarm unit 153 can be in the form of vibration Output is provided, when receiving calling, message or some other entrance communications (incoming communication), alarm list Member 153 can provide tactile output (that is, vibration) to notify to user.It is exported by tactile as offer, even if When the mobile phone of user is in the pocket of user, user also can recognize that the generation of various events.Alarm unit 153 The output of the generation of notification event can be provided via display unit 151 or audio output module 152.
Memory 160 can store the software program etc. of the processing and control operation that are executed by controller 180, Huo Zheke Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And And memory 160 can be stored about when the vibration and audio signal for touching the various modes that the when of being applied to touch screen exports Data.
Memory 160 may include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, more Media card, card-type memory (for example, SD or DX memories etc.), random access storage device (RAM), static random-access storage Device (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..Moreover, mobile terminal 100 can execute memory with by network connection The network storage device of 160 store function cooperates.
The overall operation of the usually control mobile terminal of controller 180.For example, controller 180 executes and voice communication, data Communication, video calling etc. relevant control and processing.In addition, controller 180 may include for reproducing (or playback) more matchmakers The multi-media module 181 of volume data, multi-media module 181 can construct in controller 180, or can be structured as and control Device 180 detaches.Controller 180 can be with execution pattern identifying processing, by the handwriting input executed on the touchscreen or picture It draws input and is identified as character or image.
Power supply unit 190 receives external power or internal power under the control of controller 180 and provides operation each member Electric power appropriate needed for part and component.
Various embodiments described herein can with use such as computer software, hardware or any combination thereof calculating Machine readable medium is implemented.Hardware is implemented, embodiment described herein can be by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can Programming gate array (FPGA), controller, microcontroller, microprocessor, is designed to execute function described herein processor At least one of electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 180. For software implementation, the embodiment of such as process or function can with allow to execute the individual of at least one functions or operations Software module is implemented.Software code can by the software application (or program) write with any programming language appropriate Lai Implement, software code can be stored in memory 160 and be executed by controller 180.
So far, oneself according to its function through describing mobile terminal.In the following, for the sake of brevity, will description such as folded form, Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc., which is used as, to be shown Example.Therefore, the present invention can be applied to any kind of mobile terminal, and be not limited to slide type mobile terminal.
Mobile terminal 100 as shown in Figure 1 may be constructed such that using via frame or grouping transmission data it is all if any Line and wireless communication device and satellite-based communication device operate.
The communication device that mobile terminal wherein according to the present invention can operate is described referring now to Fig. 2.
Such communication device can use different air interface and/or physical layer.For example, used by communication device Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications dress Set (UMTS) (particularly, long term evolution (LTE)), global mobile communication device (GSM) etc..As non-limiting example, under The description in face is related to cdma communication device, but such introduction is equally applicable to other types of device.
With reference to figure 2, cdma wireless communication device may include multiple mobile terminals 100, multiple base stations (BS) 270, base station Controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to and Public Switched Telephony Network (PSTN) 290 form interface.MSC280 is also structured to form interface with the BSC275 that can be couple to base station 270 via back haul link. Back haul link can be constructed according to any one of several known interfaces, the interface include such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that device may include multiple BSC2750 as shown in Figure 2.
Each BS270 can service one or more subregions (or region), by multidirectional antenna or the day of direction specific direction Each subregion of line covering is radially far from BS270.Alternatively, each subregion can be by two or more for diversity reception Antenna covers.Each BS270, which may be constructed such that, supports multiple frequency distribution, and each frequency distribution has specific frequency spectrum (for example, 1.25MHz, 5MHz etc.).
What subregion and frequency were distributed, which intersects, can be referred to as CDMA Channel.BS270 can also be referred to as base station transceiver Device (BTS) or other equivalent terms.In this case, term " base station " can be used for broadly indicating single BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Alternatively, each subregion of specific BS270 can be claimed For multiple cellular stations.
As shown in Figure 2, broadcast singal is sent to the mobile terminal operated in the device by broadcsting transmitter (BT) 295 100.Broadcasting reception module 111 as shown in Figure 1 is arranged at mobile terminal 100 to receive the broadcast sent by BT295 Signal.In fig. 2 it is shown that several global pick device (GPS) satellites 300.The help of satellite 300 positions multiple mobile terminals At least one of 100.
In fig. 2, multiple satellites 300 are depicted, but it is understood that, any number of satellite can be utilized to obtain Useful location information.GPS module 115 as shown in Figure 1 is generally configured to coordinate with satellite 300 desired is determined with obtaining Position information.It substitutes GPS tracking techniques or except GPS tracking techniques, the position that can track mobile terminal can be used Other technologies.In addition, at least one GPS satellite 300 can optionally or additionally handle satellite dmb transmission.
As a typical operation of wireless communication device, BS270 receives the reverse link from various mobile terminals 100 Signal.Mobile terminal 100 usually participates in call, information receiving and transmitting and other types of communication.Each of the reception of certain base station 270 is anti- It is handled in specific BS270 to link signal.The data of acquisition are forwarded to relevant BSC275.BSC provides call The mobile management function of resource allocation and coordination including the soft switching process between BS270.The number that BSC275 will also be received According to MSC280 is routed to, the additional route service for forming interface with PSTN290 is provided.Similarly, PSTN290 with MSC280 forms interface, and MSC and BSC275 form interface, and BSC275 correspondingly controls BS270 with by forward link signals It is sent to mobile terminal 100.
Structure based on above-mentioned mobile terminal hardware configuration, communication device proposes each reality of data transmission device of the present invention Apply example.
It is the high-level schematic functional block diagram of data transmission device first embodiment of the present invention with reference to Fig. 3, Fig. 3.
It is emphasized that it will be apparent to those skilled in the art that functional block diagram shown in Fig. 3 is only one preferably real The exemplary plot of example is applied, those skilled in the art surrounds the function module of data transmission device shown in Fig. 3, can carry out easily new Function module supplement;The title of each function module is self-defined title, is only used for auxiliary and understands the data transmission device Each program function block is not used in restriction technical scheme of the present invention, and the core of technical solution of the present invention is each self-defined title The function to be reached of function module.
The present embodiment proposes a kind of data transmission device, is applied to second terminal, and the data transmission device includes:
Creation module 10, the data transfer instruction for being sent in the first terminal for receiving the first operating system of operation When, the corresponding store path of the data transfer instruction is created according to the data transfer instruction received;
In the present embodiment, first operating system is preferably windows operating systems, the corresponding first terminal For computer terminal, that is, sides PC, second operating system is preferably android operating systems, then the second terminal is that mobile phone is whole End, therefore the information interactive process that the application scenarios of the present embodiment are the sides PC and mobile phone terminal.In the present embodiment, the data Transmission instruction includes but not limited to the instructions such as install (installation) instructions, push (copy) instructions, pull (export) instructions.
Determining module 20 creates the corresponding store path of the data transfer instruction for determining whether;
In the present embodiment, the determining module 20 determines whether to create the corresponding storage of the data transfer instruction The embodiment in path includes:
1) mode one, receive operation the first operating system first terminal send data transfer instruction when, it is described Determining module 20 is first analyzed the data transfer instruction, according to the data transfer instruction received to detect State whether second terminal can execute the data transfer instruction, the determining module 20 analyzes the mode of the data transfer instruction Including:First determine the coded format of the data transfer instruction, then by the coded format of the data transfer instruction and its The corresponding coded format of two operating systems is compared, and is in the coded format of the data transfer instruction and its second operation When the corresponding coded format of uniting is consistent, the creation module 10 creates the data transfer instruction according to the data transfer instruction Corresponding store path, and it is inconsistent in the coded format of data transfer instruction coded format corresponding with its second operating system When, the corresponding store path of the data transfer instruction can not be created, according to content above it is found that the first terminal is PC Side, first operating system are windows operating systems, therefore, the data that first terminal described in the present embodiment is sent Coded format includes UTF8, GBK etc., and the second terminal is mobile phone terminal, and second operating system is grasped for android Make system, therefore, the coded format for the data that second terminal described in the present embodiment can identify and handle is UTF8.That is When receiving the data transfer instruction of first terminal transmission, the data transfer instruction that the first terminal is sent first is obtained, so Afterwards, the determining module 20 determines the coded format of the data transfer instruction, only in the coding lattice of the data transfer instruction When formula is UTF8 coded formats, the creation module 10 could create the corresponding store path of the data transfer instruction, i.e., originally Determining module 20 described in embodiment determines whether that the number can be successfully created according to the coded format of data transfer instruction Corresponding store path is instructed according to transmission, wherein the of coded format and the second terminal of the data transfer instruction When the corresponding coded format of two operating systems is consistent, it is corresponding that the creation module 10 can successfully create the data transfer instruction Store path.
2) mode two, where receiving the first operating system first terminal send data transfer instruction when, it is described really Cover half block 20 determines whether that the data transfer instruction can be created corresponding according to the data transfer instruction received Store path, the mode that the determining module 20 determines include:The determining module 20 determines current storage space volume value, If the current storage space volume value is less than preset capability value, as the memory space of the second terminal is only left 2M Memory space, the corresponding store path of the data transfer instruction, i.e. this implementation can not be created by giving tacit consent to the second terminal currently Determining module 20 described in mode determines whether to successfully create according to the current storage space volume value of place second terminal The corresponding store path of the data transfer instruction.
3) mode three, the combination two on the basis of mode one, that is to say, that second terminal is receiving the data biography When defeated instruction, the determining module 20 first analyzes the data transfer instruction, with the determination data transfer instruction Coded format, and in the coded format of data transfer instruction coding corresponding with the second operating system of the second terminal When format is consistent, further determine whether the current corresponding capability value of memory space of the second terminal is less than preset appearance Magnitude, when whether the corresponding capability value of the current memory space of the second terminal is greater than or equal to preset capability value, institute Stating creation module 10 could be according to the corresponding store path of the establishment data transfer instruction;Either second terminal is receiving institute When stating data transfer instruction, the determining module 20 first determines that the current corresponding capability value of memory space of the second terminal is It is no to be less than preset capability value, it is greater than or equal to preset appearance in the corresponding capability value of the current memory space of the second terminal When magnitude, further the data transfer instruction is analyzed, with the coded format of the determination data transfer instruction, and When the coded format of data transfer instruction coded format corresponding with the second operating system of the second terminal is consistent, institute Stating creation module 10 could be according to the corresponding store path of the establishment data transfer instruction.
First sending module 30, for when the store path creates successfully, transmission establishment successful information to described the One terminal, so that the first terminal transfers data to the second terminal based on the establishment successful information.
In the present embodiment, when the store path creates successfully, illustrate the number that the second terminal receives Coded format coded format corresponding with the second operating system of the second terminal according to transmission instruction is consistent and/or described The corresponding capability value of the current memory space of second terminal is greater than or equal to preset capability value, then the creation module 10 at this time The corresponding store path of the data transfer instruction is created, and first sending module 30 sends and creates successful information to institute First terminal is stated, it is so that the first terminal transfers data to the second terminal based on the establishment successful information, i.e., described Second terminal informs that the first terminal has currently successfully created store path, at this time can be by the data of the first terminal It is transmitted in the second terminal.
The data transmission device that the present embodiment proposes, the data transmission device include creation module, determining module and the One sending module, in the data transfer instruction that the first terminal for receiving the first operating system of operation is sent, creation module root The corresponding store path of the data transfer instruction is created according to the data transfer instruction received, determining module determines current Whether the data transfer instruction corresponding store path is created, when the store path creates successfully, the first sending module It sends and creates successful information to the first terminal, so that the first terminal is transferred data to based on the establishment successful information The second terminal, this programme just send when store path creates successfully and create successful information to the first terminal, for The first terminal transfers data to the second terminal, rather than after first terminal has sent data, can just learn by Not creating store path in second terminal leads to data transmission fails, and just passes through change directive side after learning failure cause Formula carries out the transmission of data again, and this programme avoids being transmitted several times for data, to improve the efficiency of data transmission.
Further, in order to improve the flexibility of data transmission, with reference to Fig. 4, number of the present invention is proposed based on first embodiment According to the second embodiment of transmitting device, in the present embodiment, the data transmission device further includes:
Reminding module 40, for when the store path creates failure, transmission establishment failure information to described first to be eventually End, to prompt the first terminal to stop the transmission of data;
In the present embodiment, when the store path creates failure, the reminding module 40, which is sent, creates failure information To the first terminal, to prompt the first terminal to stop the transmission of data, such as return error message to the first terminal, So that the first terminal shows the false command in cmd display interfaces;Either, as returned to warning information to described first Terminal, so that the first terminal sends out alert ring information in the cmd display interfaces.And the first terminal is described in receiving When creating failure information, the data transfer instruction of transmission can be detected in the cmd coding interfaces of first terminal, if detecting When the data transfer instruction is the instruction of non-English character, the non-English character can be instructed in the cmd coding interfaces It modifies, to be revised as English character instruction, or calls adb processes, referred to the non-English character by adb processes Order is converted into English character instruction.
First removing module 50 reaches the number of prefixed time interval for deleting storage time in preset memory space According to.
In the present embodiment, when the store path creates failure, and when the store path creates the reason of failing For second terminal memory space inadequate when, the reminding module 40, which is sent, at this time creates failure information to the first terminal Meanwhile first removing module 50 deletes the data that storage time in preset memory space reaches prefixed time interval, with Increase the capability value of the memory space, further, storage data can be also transferred in other store paths, such as be moved into Preset SD card is to discharge the storage resource of second terminal, to increase the capability value of the memory space.
The present invention further provides a kind of data transmission devices, are applied to first terminal.
It is the high-level schematic functional block diagram of the 3rd embodiment of data transmission device of the present invention with reference to Fig. 5, Fig. 5.
The present embodiment proposes a kind of data transmission device, is applied to first terminal, and the data transmission device includes:
Second sending module 60 transmits instructions to the second terminal of the second operating system of operation for transmission data, for The second terminal creates corresponding store path according to the data transfer instruction, and feed back establishment whether successful information extremely The first terminal;
In the present embodiment, the triggering mode of the data transfer instruction includes:A, clocked flip, as first terminal is arranged The timing sending mode of data command, and when reaching the time of setting, the first terminal trigger data transmission instruction;B, institute First terminal is stated when for example cmd coding interfaces receive data information input by user to preset display interface, trigger data passes Defeated instruction.What the triggering mode of two enumerated kind data transfer instruction listed above was merely exemplary, those skilled in the art Using the technological thought of the present invention, the triggering mode of the various other data transfer instructions proposed according to its specific requirements exists In protection scope of the present invention, herein without exhaustive one by one.
Transmission module 70, for when receiving the establishment successful information of second terminal feedback, according to the establishment Successful information sends data to the second terminal.
In the present embodiment, give tacit consent to the transmission module 70 only successfully to believe in the establishment for receiving second terminal feedback When breath, the second terminal can be just sent data to, if not receiving the establishment successful information of second terminal feedback, The first terminal stops the transmission of data.It is to be understood that the transmission module 70 is receiving the second terminal feedback The establishment successful information when, the data of storage are bundled to as in file, finally by the text comprising data Part folder is sent to the second terminal.
Further, in order to improve the flexibility of data transmission, with reference to Fig. 6, number of the present invention is proposed based on 3rd embodiment According to the fourth embodiment of transmitting device, in the present embodiment, the data transmission device further includes:
Conversion module 80, for the coded format coding lattice corresponding with the second operating system in the data transfer instruction When formula is inconsistent, by the corresponding coded format of the second operating system described in the converting coding formats of the data transfer instruction.
It will be appreciated by persons skilled in the art that by adb (Android Debug Bridge, debug bridge) mode from When windows is to android terminal transmission data, if adb instructions include non-English character (such as Chinese), it will lose It loses, reason is the difference of data coding mode, therefore, in order to improve the efficiency in data transmission procedure, and avoids counting According to the coded format mistake of data transfer instruction in transmission process, in the present embodiment, in the coding lattice of the data transfer instruction When formula coded format corresponding with the second operating system is inconsistent, the conversion module 80 is by the coding of the data transfer instruction The corresponding coded format of second operating system described in format conversion, that is to say, that in the data transfer instruction that first terminal is to be sent When corresponding with the second operating system of second terminal coded format is inconsistent, first terminal carries out the data transfer instruction Conversion, you can be that the instruction morphing instruction for UTF8 coded formats of GBK coded formats is passed through being converted for coding mode The case where adb data transmissions fail because of coding is solved, the coding mode of adb data transmissions is optimized, uniform transmission coding Format makes it support the data transfer mode of non-English coding, can significantly improve adb data transmission efficiencys and correct Property.
Further, in order to improve the flexibility of data transmission, with reference to Fig. 7, this is proposed based on third or fourth embodiment 5th embodiment of invention data transmission device, in the present embodiment, the data transmission device further includes:
Second removing module 90, in the data transmission to the second terminal, deleting the data of storage.
In the present embodiment, when data are successfully transferred to the second terminal by the first terminal, described second eventually It holds feedback data transmission success information to the first terminal, prompts the first terminal data to send successfully, at this point, in order to subtract The capability value of small memory space, second removing module 90 delete the data of storage, discharge resource, to improve the The operational efficiency of one terminal.
The present invention further provides a kind of data transmission methods.
It is the flow diagram of data transmission method first embodiment of the present invention with reference to Fig. 8, Fig. 8.
The present embodiment proposes that a kind of data transmission method, the data transmission method include:
Step S10, in the data transfer instruction that the first terminal for receiving the first operating system of operation is sent, operation the The second terminal of two operating systems is deposited according to the data transfer instruction establishment data transfer instruction received is corresponding Store up path;
In the present embodiment, first operating system is preferably windows operating systems, the corresponding first terminal For computer terminal, that is, sides PC, second operating system is preferably android operating systems, then the second terminal is that mobile phone is whole End, therefore the information interactive process that the application scenarios of the present embodiment are the sides PC and mobile phone terminal.In the present embodiment, the data Transmission instruction includes but not limited to the instructions such as install (installation) instructions, push (copy) instructions, pull (export) instructions.
Step S20, the second terminal determine whether to create the corresponding store path of the data transfer instruction;
In the present embodiment, the embodiment of the step S20 includes:
1) mode one, receive operation the first operating system first terminal send data transfer instruction when, operation The second terminal of second operating system first divides the data transfer instruction according to the data transfer instruction received Analysis, to detect whether the second terminal can execute the data transfer instruction, the second terminal analyzes the data transmission The mode of instruction includes:The coded format for first determining the data transfer instruction, then by the coding of the data transfer instruction Format is compared with its corresponding coded format of the second operating system, and in the coded format of the data transfer instruction and its When the corresponding coded format of second operating system is consistent, the data transfer instruction is created according to the data transfer instruction and is corresponded to Store path, and when the coded format of data transfer instruction coded format corresponding with its second operating system is inconsistent, The corresponding store path of the data transfer instruction can not be created, according to content above it is found that the first terminal is the sides PC, institute It is windows operating systems to state the first operating system, therefore, the coding lattice for the data that first terminal described in the present embodiment is sent Formula includes UTF8, GBK etc., and the second terminal is mobile phone terminal, and second operating system is android operations system System, therefore, the coded format for the data that second terminal described in the present embodiment can identify and handle is UTF8.That is it is connecing When receiving the data transfer instruction of first terminal transmission, second terminal obtains the data transfer instruction that the first terminal is sent, Then, the second terminal determines the coded format of the data transfer instruction, only in the coding lattice of the data transfer instruction When formula is UTF8 coded formats, the second terminal could create the corresponding store path of the data transfer instruction, i.e. this reality Apply mode according to the coded format of data transfer instruction determine whether that the data transfer instruction can be successfully created it is corresponding Store path, wherein corresponding with the second operating system of the second terminal in the coded format of the data transfer instruction When coded format is consistent, the second terminal can successfully create the corresponding store path of the data transfer instruction.
2) mode two, where receiving the first operating system first terminal send data transfer instruction when, second behaviour Second terminal according to the data transfer instruction received determines whether that the data transmission can be created where making system Instruct corresponding store path, the mode that the second terminal determines includes:The second terminal determines current memory space Capability value, if the current storage space volume value is less than preset capability value, such as memory space of the second terminal only The memory space of remaining 2M, the corresponding store path of the data transfer instruction can not be created by giving tacit consent to the second terminal currently, I.e. present embodiment according to the current storage space volume value of place second terminal determines whether that the number can be successfully created Corresponding store path is instructed according to transmission.
3) mode three, the combination two on the basis of mode one, that is to say, that second terminal is receiving the data biography When defeated instruction, first the data transfer instruction is analyzed, with the coded format of the determination data transfer instruction, and in institute State data transfer instruction coded format coded format corresponding with the second operating system of the second terminal it is consistent when, into one Step ground determines whether the current corresponding capability value of memory space of the second terminal is less than preset capability value, described second It, could be according to the establishment number when whether the corresponding capability value of the current memory space of terminal is greater than or equal to preset capability value Corresponding store path is instructed according to transmission;Either second terminal is when receiving the data transfer instruction, and first determining described the Whether the corresponding capability value of the current memory space of two terminals is less than preset capability value, in the current storage of the second terminal When the corresponding capability value in space is greater than or equal to preset capability value, further the data transfer instruction is analyzed, with Determine the coded format of the data transfer instruction, and in the coded format of the data transfer instruction and the second terminal It, could be according to the corresponding store path of the establishment data transfer instruction when the corresponding coded format of second operating system is consistent.
Step S30, when the store path creates successfully, the second terminal, which is sent, creates successful information to described the One terminal, so that the first terminal transfers data to the second terminal based on the establishment successful information.
In the present embodiment, when the store path creates successfully, illustrate the number that the second terminal receives Coded format coded format corresponding with the second operating system of the second terminal according to transmission instruction is consistent and/or described The corresponding capability value of the current memory space of second terminal is greater than or equal to preset capability value, then the second terminal is created at this time The corresponding store path of the data transfer instruction is built, and sends and creates successful information to the first terminal, for described the One terminal transfers data to the second terminal based on the establishment successful information, i.e., the described second terminal informs described first eventually End has currently successfully created store path, at this time can will be in the data transmission of the first terminal to the second terminal.
The data transmission method that the present embodiment proposes, in the number that the first terminal for receiving the first operating system of operation is sent When being instructed according to transmission, the second terminal for running the second operating system creates the number according to the data transfer instruction received Corresponding store path is instructed according to transmission, and the second terminal determines whether to create that the data transfer instruction is corresponding to be deposited Path is stored up, and when the store path creates successfully, the second terminal transmission establishment successful information to the first terminal, So that the first terminal transfers data to the second terminal based on the establishment successful information, this programme is created in store path When building up work(, just sends and create successful information to the first terminal, so that the first terminal transfers data to described second Terminal, rather than after first terminal has sent data, can just learn causes since second terminal does not create store path Data transmission fails, and ability carries out the transmission of data by change directive mode again after learning failure cause, this programme is kept away Being transmitted several times for data is exempted from, to improve the efficiency of data transmission.
Further, in order to improve the flexibility of data transmission, with reference to Fig. 9, number of the present invention is proposed based on first embodiment According to the second embodiment of transmission method, in the present embodiment, after the step S20, the data transmission method further includes:
Step S40, when the store path creates failure, the second terminal, which is sent, creates failure information to described the One terminal, to prompt the first terminal to stop the transmission of data;
In the present embodiment, when the store path creates failure, the second terminal, which is sent, creates failure information extremely The first terminal, to prompt the first terminal to stop the transmission of data, such as return error message to the first terminal, with For the first terminal false command is shown in cmd display interfaces;Either, eventually such as return warning information to described first End, so that the first terminal sends out alert ring information in the cmd display interfaces.And the first terminal is receiving the wound When building failure information, the data transfer instruction of transmission can be detected in the cmd coding interfaces of first terminal, if detecting institute When to state data transfer instruction be the instruction of non-English character, can the cmd coding interfaces to the non-English character instruct into Row modification to be revised as English character instruction, or calls adb processes, is instructed the non-English character by adb processes It is converted into English character instruction.
Step S50, the second terminal delete the number that storage time in preset memory space reaches prefixed time interval According to.
In the present embodiment, when the store path creates failure, and when the store path creates the reason of failing For second terminal memory space inadequate when, the second terminal sends that create failure information same to the first terminal at this time When, the data that storage time in preset memory space reaches prefixed time interval are deleted, to increase the appearance of the memory space Storage data can be also transferred in other store paths by magnitude, further, the second terminal, such as move into preset SD Card is to discharge the storage resource of second terminal, to increase the capability value of the memory space.
The present invention further provides a kind of data transmission methods.
0, Figure 10 is the flow diagram of data transmission method 3rd embodiment of the present invention referring to Fig.1.
The first terminal transmission data of step S60, the first operating system of operation transmit instructions to the second operating system of operation Second terminal, so that the second terminal creates corresponding store path according to the data transfer instruction, and feed back establishment Whether successful information is to the first terminal;
In the present embodiment, the triggering mode of the data transfer instruction includes:A, clocked flip, as first terminal is arranged The timing sending mode of data command, and when reaching the time of setting, the first terminal trigger data transmission instruction;B, institute First terminal is stated when for example cmd coding interfaces receive data information input by user to preset display interface, trigger data passes Defeated instruction.What the triggering mode of two enumerated kind data transfer instruction listed above was merely exemplary, those skilled in the art Using the technological thought of the present invention, the triggering mode of the various other data transfer instructions proposed according to its specific requirements exists In protection scope of the present invention, herein without exhaustive one by one.
Step S70, when receiving the establishment successful information of the second terminal feedback, the first terminal is according to It creates successful information and sends data to the second terminal.
In the present embodiment, the first terminal is given tacit consent to only in the establishment successful information for receiving second terminal feedback When, the second terminal can be just sent data to, if not receiving the establishment successful information of second terminal feedback, institute State the transmission that first terminal stops data.It is to be understood that the first terminal is in the institute for receiving the second terminal feedback It states when creating successful information, the data of storage is bundled to as in file, finally by the file comprising data It is sent to the second terminal.
Further, in order to improve the flexibility of data transmission, referring to Fig.1 1, number of the present invention is proposed based on 3rd embodiment According to the fourth embodiment of transmission method, in the present embodiment, before the step S60, the data transmission method further includes:
Step S80 differs in the coded format of data transfer instruction coded format corresponding with the second operating system When cause, the first terminal is by the corresponding coding lattice of the second operating system described in the converting coding formats of the data transfer instruction Formula.
It will be appreciated by persons skilled in the art that by adb (Android Debug Bridge, debug bridge) mode from When windows is to android terminal transmission data, if adb instructions include non-English character (such as Chinese), it will lose It loses, reason is the difference of data coding mode, therefore, in order to improve the efficiency in data transmission procedure, and avoids counting According to the coded format mistake of data transfer instruction in transmission process, in the present embodiment, in the coding lattice of the data transfer instruction When formula coded format corresponding with the second operating system is inconsistent, the first terminal is by the coding lattice of the data transfer instruction Formula converts the corresponding coded format of second operating system, that is to say, that first terminal data transfer instruction to be sent with When the corresponding coded format of the second operating system of second terminal is inconsistent, the adb processes of first terminal are by the data transmission Instruction is converted, i.e., by the instruction morphing instruction for UTF8 coded formats of GBK coded formats, passes through the conversion of coding mode The case where adb data transmissions fail because of coding is solved, the coding modes of adb data transmissions, uniform transmission coding are optimized Format, so that it is supported the data transfer mode of non-English coding, can significantly improve adb data transmission efficiencys and correct Property.
Further, in order to improve the flexibility of data transmission, referring to Fig.1 2, this is proposed based on third or fourth embodiment 5th embodiment of invention data transmission method, in the present embodiment, after the step S70, the data transmission method is also Including:
Step S90, in the data transmission to the second terminal, the first terminal deletes the number of storage According to.
In the present embodiment, when data are successfully transferred to the second terminal by the first terminal, described second eventually It holds feedback data transmission success information to the first terminal, prompts the first terminal data to send successfully, at this point, in order to subtract The capability value of small memory space, the first terminal delete the data of storage, resource are discharged, to improve first terminal Operational efficiency.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that process, method, article or system including a series of elements include not only those elements, and And further include the other elements being not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this There is also other identical elements in the process of element, method, article or system.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be mobile phone, computer, clothes Be engaged in device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of data transmission device, it is applied to second terminal, which is characterized in that the data transmission device includes:
Creation module, for receive operation the first operating system first terminal send data transfer instruction when, according to The data transfer instruction received creates the corresponding store path of the data transfer instruction;
Determining module creates the corresponding store path of the data transfer instruction for determining whether;
First sending module is used for when the store path creates successfully, transmission establishment successful information to the first terminal, So that the first terminal transfers data to the second terminal based on the establishment successful information.
2. data transmission device as described in claim 1, which is characterized in that the data transmission device further includes:
Reminding module fails for being created in the store path, and is second when the reason of the store path creates failure When the memory space inadequate of terminal, sends and create failure information to the first terminal, to prompt the first terminal to stop number According to transmission;
First removing module reaches the data of prefixed time interval for deleting storage time in preset memory space.
3. a kind of data transmission device, it is applied to first terminal, which is characterized in that the data transmission device includes:
Second sending module transmits instructions to the second terminal of the second operating system of operation for transmission data, for described the Two terminals create corresponding store path according to the data transfer instruction, and feed back establishment whether successful information is to described the One terminal;
Transmission module, for when receiving the establishment successful information of the second terminal feedback, successfully being believed according to described create Breath sends data to the second terminal.
4. data transmission device as claimed in claim 3, which is characterized in that the data transmission device further includes:
Conversion module differs for the coded format coded format corresponding with the second operating system in the data transfer instruction It is the corresponding coded format of second operating system by the converting coding formats of the data transfer instruction when cause.
5. data transmission device as described in claim 3 or 4, which is characterized in that the data transmission device further includes:
Second removing module, in the data transmission to the second terminal, deleting the data of storage.
6. a kind of data transmission method, which is characterized in that the data transmission method includes the following steps:
In the data transfer instruction that the first terminal for receiving the first operating system of operation is sent, the second operating system of operation Second terminal creates the corresponding store path of the data transfer instruction according to the data transfer instruction received;
The second terminal determines whether to create the corresponding store path of the data transfer instruction;
When the store path creates successfully, the second terminal transmission establishment successful information to the first terminal, for The first terminal transfers data to the second terminal based on the establishment successful information.
7. data transmission method as claimed in claim 6, which is characterized in that the second terminal determines whether to create institute After the step of stating data transfer instruction corresponding store path, the data transmission method further includes:
It creates and fails in the store path, and when the store path creates the reason of failing as the memory space of second terminal When insufficient, the second terminal, which is sent, creates failure information to the first terminal, to prompt the first terminal to stop data Transmission;
The second terminal deletes the data that storage time in preset memory space reaches prefixed time interval.
8. a kind of data transmission method, which is characterized in that the data transmission method includes the following steps:
The first terminal transmission data for running the first operating system transmits instructions to the second terminal of the second operating system of operation, with Corresponding store path is created according to the data transfer instruction for the second terminal, and feed back establishment whether successful information To the first terminal;
When receiving the establishment successful information of the second terminal feedback, the first terminal is according to the establishment successful information Send data to the second terminal.
9. data transmission method as claimed in claim 8, which is characterized in that the first terminal of the first operating system of the operation Transmission data transmits instructions to the second terminal of the second operating system of operation, so that the second terminal is according to the data transmission Instruction creates corresponding store path, and feed back establishment whether successful information to the first terminal the step of before, it is described Data transmission method further includes:
When the coded format of data transfer instruction coded format corresponding with the second operating system is inconsistent, described first The converting coding formats of the data transfer instruction are the corresponding coded format of second operating system by terminal.
10. data transmission method as claimed in claim 8 or 9, which is characterized in that described to receive the second terminal anti- When the establishment successful information of feedback, the first terminal according to the establishment successful information send data to the second terminal it Afterwards, the data transmission method further includes:
In the data transmission to the second terminal, the first terminal deletes the data of storage.
CN201510613745.XA 2015-09-23 2015-09-23 Data transmission device and method Active CN105263195B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510613745.XA CN105263195B (en) 2015-09-23 2015-09-23 Data transmission device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510613745.XA CN105263195B (en) 2015-09-23 2015-09-23 Data transmission device and method

Publications (2)

Publication Number Publication Date
CN105263195A CN105263195A (en) 2016-01-20
CN105263195B true CN105263195B (en) 2018-11-02

Family

ID=55102651

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510613745.XA Active CN105263195B (en) 2015-09-23 2015-09-23 Data transmission device and method

Country Status (1)

Country Link
CN (1) CN105263195B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106658354B (en) * 2016-09-14 2019-10-18 Oppo广东移动通信有限公司 A kind of data transmission method and equipment
CN108834132B (en) * 2016-10-19 2021-06-01 Oppo广东移动通信有限公司 Data transmission method and equipment and related medium product
CN107544381A (en) * 2017-08-31 2018-01-05 珠海格力电器股份有限公司 Energy management method and device
KR102500047B1 (en) 2017-12-27 2023-02-14 광동 오포 모바일 텔레커뮤니케이션즈 코포레이션 리미티드 Information feedback method and device, computer storage medium
CN112386854B (en) * 2020-10-27 2021-11-02 中消恒安(北京)科技有限公司 Building smoke prevention and discharge monitoring control system
CN112492042B (en) * 2020-12-08 2021-08-13 清华大学 Application program cross-platform system of optical microcavity sensing device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662924A (en) * 2012-03-14 2012-09-12 福州瑞芯微电子有限公司 Method for solving incompatibility problem in character set transmission from PC to Android system based on hybrid coding
CN102999393A (en) * 2011-09-13 2013-03-27 联想(北京)有限公司 Data transmission method and device and electronic device
CN103516683A (en) * 2012-06-25 2014-01-15 北京智慧风云科技有限公司 Remote server system with offline terminals
CN104252587A (en) * 2013-06-25 2014-12-31 腾讯科技(深圳)有限公司 File pulling method, device and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999393A (en) * 2011-09-13 2013-03-27 联想(北京)有限公司 Data transmission method and device and electronic device
CN102662924A (en) * 2012-03-14 2012-09-12 福州瑞芯微电子有限公司 Method for solving incompatibility problem in character set transmission from PC to Android system based on hybrid coding
CN103516683A (en) * 2012-06-25 2014-01-15 北京智慧风云科技有限公司 Remote server system with offline terminals
CN104252587A (en) * 2013-06-25 2014-12-31 腾讯科技(深圳)有限公司 File pulling method, device and system

Also Published As

Publication number Publication date
CN105263195A (en) 2016-01-20

Similar Documents

Publication Publication Date Title
CN105263195B (en) Data transmission device and method
CN104731512B (en) The method, apparatus and terminal that picture is shared
CN104850443B (en) A kind of method and mobile terminal for closing error starting application program
CN104850799B (en) The method and mobile terminal of a kind of data in hiding mobile terminal
CN106231587B (en) The data service switching method and switching device of mobile terminal
CN104679890B (en) Picture method for pushing and device
CN105357367B (en) Recognition by pressing keys device and method based on pressure sensor
CN104915063B (en) The method and apparatus for controlling intelligent terminal
CN105631370B (en) Region screen locking method and mobile terminal
CN105138880B (en) The processing unit and method of terminal operation data
CN106126065A (en) A kind of mobile terminal and double screen method for information display thereof
CN106843723A (en) A kind of application program associates application method and mobile terminal
CN105573916B (en) Fault detection method and mobile terminal
CN105049582B (en) A kind of save set of calling record, method and display methods
CN104735254B (en) terminal screen locking method and system
CN106412328B (en) A kind of method and apparatus obtaining field feedback
CN106406733A (en) Anti-mistaken-touch terminal and method
CN106888317B (en) A kind of interaction processing method, device and terminal
CN105302457B (en) Terminal control method and device
CN105117751B (en) Two-dimentional decoding transmission method and device
CN104915230B (en) application control method and device
CN106484534A (en) Control method for the mobile terminal of displaying and control device
CN105740668A (en) Terminal screen locking device and method
CN106095308B (en) The method of mobile terminal and dummy keyboard false-touch prevention
CN106227454B (en) A kind of touch trajectory detection system and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant