CN105430600B - A kind of data transmission method and the terminal of data transmission - Google Patents

A kind of data transmission method and the terminal of data transmission Download PDF

Info

Publication number
CN105430600B
CN105430600B CN201510751329.6A CN201510751329A CN105430600B CN 105430600 B CN105430600 B CN 105430600B CN 201510751329 A CN201510751329 A CN 201510751329A CN 105430600 B CN105430600 B CN 105430600B
Authority
CN
China
Prior art keywords
terminal
sent
data
suspension ball
transport interface
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
CN201510751329.6A
Other languages
Chinese (zh)
Other versions
CN105430600A (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.)
Meizu Technology Co Ltd
Original Assignee
Meizu Technology China 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 Meizu Technology China Co Ltd filed Critical Meizu Technology China Co Ltd
Priority to CN201510751329.6A priority Critical patent/CN105430600B/en
Publication of CN105430600A publication Critical patent/CN105430600A/en
Application granted granted Critical
Publication of CN105430600B publication Critical patent/CN105430600B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Abstract

The embodiment of the invention discloses the terminals that a kind of data transmission method and data transmit, and when for establishing near field communication between terminal, automatic Display transport interface reduces the operation that user calls transport interface, improves convenience and the Product Experience of user.The method comprise the steps that whether detection first terminal and second terminal establish near field communication;When the test results is yes, first terminal shows transport interface, and transport interface is for receiving the data to be sent sent to second terminal.

Description

A kind of data transmission method and the terminal of data transmission
Technical field
The present invention relates to the terminals that terminal applies field more particularly to a kind of data transmission method and data transmit.
Background technique
Data transmission technology has near-field communication (Near Field Communication, NFC) between communication electronic equipment Technology and Bluetooth Communication Technology etc..For example, having used the communication electronic equipment (such as mobile phone) of NFC technique can be close to each other In the case where carry out data exchange, be by non-contact radio-frequency identification (Radio Frequency Identification, RFID) and interconnection and interflow technology integration be evolved, by integrated induction formula card reader on a single chip, icah wavw and The function of point-to-point communication realizes mobile payment, electronic bill, gate inhibition, mobile identification and anti-fake etc. using mobile terminal Using NFC provides a kind of simple and touch solution, exchanges information, access with can allowing consumer's simple, intuitive Content and service.
A kind of process of existing data interactive method are as follows: when user wants to carry out data transmission, by two NFC mobile phones Adjacent to each other, mobile phone can export a notice, after user clicks notice on mobile phone, pop up dialog box, wherein meeting in dialog box There are the transport-type option (being respectively as follows: picture, video, document, note, recorder and desktop application) of six seed types, Yong Hudian It hits after choosing transport-type, the application of respective type can be respectively enterd, then can carry out being based on NFC between two mobile phones Sharing, for example, open two NFC mobile phones of NFC function close to when, output notice, after user clicks notice, pop-up pair Frame is talked about, user clicks " picture " type in dialog box, can enter the interface for sending picture, and user can choose desired transmission Picture, after choosing picture to be sent, picture sharing can be carried out.
But for the mobile context very valuable for the scrappy time, need user's many more manipulations that could complete to specify The transmission of data, operation is excessively cumbersome, and in addition the interface of data transmission is relatively simple, cannot be carried out according to the hobby of user random Change setting.
Summary of the invention
The embodiment of the invention provides the terminals that a kind of data transmission method and data transmit, close for establishing between terminal When distance communication connects, automatic Display transport interface reduces the operation that user calls transport interface, improves convenience and use The Product Experience at family.
In view of this, first aspect of the embodiment of the present invention provides a kind of data transmission method, comprising:
Whether detection first terminal and second terminal establish near field communication;
When the test results is yes, the first terminal shows transport interface, and the transport interface is for receiving to described The data to be sent that second terminal is sent.
In conjunction with first aspect present invention, in first aspect present invention first embodiment, the transport interface is to be suspended in The suspended window of the first terminal current display interface, it is described to receive the data to be sent sent to the second terminal, Include:
Receive the move of the data to be sent that show in mobile current display interface to the suspended window;
According to the mobile data to be sent of the move to the suspended window.
In conjunction with first aspect present invention, in first aspect present invention second embodiment, the transport interface is to be suspended in The suspension ball of the first terminal current display interface, it is described to receive the data to be sent sent to the second terminal, Include:
After the mobile suspension ball, the suspension ball is detected in current display interface in the preset range of stop place It whether include data to be sent;
When the test results is yes, the first terminal is received in the suspension ball preset range by the suspension ball The data to be sent.
In conjunction with first aspect present invention second embodiment, in first aspect present invention third embodiment, described first Terminal receives the data to be sent in suspension ball preset range by the suspension ball, specifically includes:
Judge that the suspension ball rests on whether residence time of current location is greater than preset time threshold;
When the judgment result is yes, the first terminal is received in the suspension ball preset range by the suspension ball The data to be sent.
In conjunction with first aspect present invention, in the 4th embodiment of first aspect present invention, the transport interface includes addition Button, it is described to receive the data to be sent sent to the second terminal, comprising:
Receive the triggering command that user triggers addition button;
According to the triggering command, the data under predetermined directory are shown;
User chooses instruction based on the received, and the data under the predetermined directory of user's selection are added to transmission circle Face.
In conjunction with first aspect present invention, first aspect first embodiment, first aspect second embodiment, first aspect The 4th embodiment of third embodiment or first aspect, in the 5th embodiment of first aspect present invention, when the short distance When communication is near-field communication NFC, the method also includes:
The first terminal and the second terminal establish near field communication, comprising:
The first terminal detects whether the first terminal is less than preset threshold at a distance from the second terminal;
When the test results is yes, the first terminal is established NFC with the second terminal and is connect.
Second aspect of the present invention provides a kind of terminal of data transmission, comprising:
Detection module, for detecting whether first terminal and second terminal establish near field communication;
Transport interface module, for when the testing result of the detection module, which is, is, the first terminal to show transmission Interface, the transport interface is for receiving the data to be sent sent to the second terminal.
In conjunction with second aspect of the present invention, in second aspect of the present invention first embodiment, the transport interface is to be suspended in When the suspended window of the first terminal current display interface,
The transport interface module, specifically for receiving the data to be sent shown in mobile current display interface to described The move of suspended window;
The transport interface module is specifically used for according to the mobile data to be sent of the move to the suspension Window.
In conjunction with second aspect of the present invention, in second aspect of the present invention second embodiment, the transport interface is to be suspended in When the suspension ball of the first terminal current display interface,
The transport interface module is specifically used for after the mobile suspension ball, detects the suspension ball and show currently It in the preset range of stop place whether include data to be sent on interface;
The transport interface module is specifically used for when the test results is yes, and the first terminal passes through the suspension ball Receive the data to be sent in the suspension ball preset range.
In conjunction with second aspect of the present invention second embodiment, in second aspect of the present invention third embodiment, the transmission Interface is when being suspended in the suspended window of the first terminal current display interface,
The transport interface module, specifically for judge the suspension ball rest on current location residence time it is whether big In preset time threshold;
The transport interface module is specifically used for when the judgment result is yes, and the first terminal passes through the suspension ball Receive the data to be sent in the suspension ball preset range.
In conjunction with second aspect of the present invention, in the 4th embodiment of second aspect of the present invention, the transport interface includes addition When button,
The transport interface module triggers the triggering command of addition button specifically for receiving user;
The transport interface module is specifically used for showing the data under predetermined directory according to the triggering command;
The transport interface module is specifically used for user based on the received and chooses instruction, the predetermined directory that user is chosen Under data be added to the transport interface.
In conjunction with second aspect of the present invention, second aspect first embodiment, second aspect second embodiment, second aspect The 4th embodiment of third embodiment or second aspect, in the 5th embodiment of second aspect of the present invention, the short distance is logical When letter is near-field communication NFC, the terminal further include: communication building block;
The detection module, it is default specifically for whether the detection first terminal is less than at a distance from the second terminal Threshold value;
The communication building block is specifically used for when the test results is yes, establishing the first terminal and described second NFC connection between terminal.
As can be seen from the above technical solutions, the embodiment of the present invention has the advantage that
When the user for holding first terminal and second terminal respectively is close to each other, detecting first terminal with second terminal is It is no to establish near field communication, when the test results is yes, first terminal show transport interface, transport interface for receive to The data to be sent that second terminal is sent, compared with prior art, terminal are to show transport interface from trend user, are used Family is not necessarily to recall the operation of transport interface, and this improves conveniences when user's use, thus improve user for The good experience of product.
Detailed description of the invention
Technical solution in order to illustrate the embodiments of the present invention more clearly, below will be to institute in embodiment and description of the prior art Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention Example, for those of ordinary skill in the art, without creative efforts, can also obtain according to these attached drawings Obtain other attached drawings.
Fig. 1 is one embodiment schematic diagram of data transmission method in the embodiment of the present invention;
Fig. 2 is one embodiment schematic diagram of the terminal of data transmission in the embodiment of the present invention;
Fig. 3 is another embodiment schematic diagram of the terminal of data transmission in the embodiment of the present invention;
Fig. 4 is the interaction schematic diagram in the embodiment of the present invention between two terminals of data transmission;
Fig. 5 is an entity apparatus schematic diagram of the terminal of data transmission in the embodiment of the present invention.
Specific embodiment
The embodiment of the invention provides the terminals that a kind of data transmission method and data transmit, close for establishing between terminal When distance communication connects, automatic Display transport interface reduces the operation that user calls transport interface, improves convenience and use The Product Experience at family.
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work It encloses.
Below by specific embodiment, it is described in detail respectively.
Referring to Fig. 1, the embodiment of the present invention provides a kind of data transmission method, comprising:
101, it detects first terminal and whether second terminal establishes near field communication;
In the embodiment of the present invention, first terminal and second terminal are all to have the terminal of short-range communication function, work as use When the data that the user of terminal wants to carry out between first terminal and second terminal are transmitted, real-time detection first terminal and second is eventually Whether end establishes near field communication.
102, when the test results is yes, the first terminal shows transport interface, the transport interface for receive to The data to be sent that the second terminal is sent.
In the embodiment of the present invention, when detecting that first terminal and second terminal have built up near field communication, Show transport interface on the terminal screen of first terminal, the transport interface for receive sent to second terminal it is pending Send data.
In the embodiment of the present invention, when detecting first terminal and second terminal establishes near field communication, automatic Display Transport interface, user are not necessarily to recall the operation of transport interface, and this improves conveniences when user's use, to mention High good experience of the user for product.
Optionally, in some embodiments of the present invention, transport interface is to be suspended in hanging for first terminal current display interface Floating window receives the data to be sent sent to second terminal, comprising:
Receive the move of the data to be sent that show in mobile current display interface to suspended window;
According to the mobile data to be sent of move to suspended window.
In the embodiment of the present invention, when transport interface is suspended window, data to be sent are moved to suspended window, so that transmission Interface is more diversified.
Optionally, in some embodiments of the present invention, transport interface is to be suspended in hanging for first terminal current display interface Floating ball receives the data to be sent sent to second terminal, comprising:
After mobile suspension ball, detect suspension ball in current display interface in the preset range of stop place whether include There are data to be sent;
When suspension ball has data to be sent in the preset range of stop place in current display interface, first terminal is logical Cross the data to be sent in suspension ball reception suspension ball preset range.
In the embodiment of the present invention, when transport interface is suspension ball, on mobile suspension ball to data to be sent, to connect Data to be sent are received, so that transport interface is more abundant.
Optionally, in some embodiments of the present invention, first terminal receives suspension ball preset range by the suspension ball Interior data to be sent, specifically include:
Judge that suspension ball rests on whether residence time of current location is greater than preset time threshold;
When the residence time that suspension ball rests on current location being greater than preset time threshold, first terminal passes through suspension Ball receives the data to be sent in suspension ball preset range.
In the embodiment of the present invention, when transport interface is suspension ball, on mobile suspension ball to data to be sent, when reaching After a certain period of time, suspension ball receives the data to be sent in suspension ball preset range, so that the move mode of data to be sent is more Flexibly.
Optionally, in some embodiments of the present invention, transport interface include addition button, receive to the second terminal into The data to be sent that row is sent, comprising:
Receive the triggering command that user triggers addition button;
According to triggering command, the data under predetermined directory are shown;
User chooses instruction based on the received, and the data under the predetermined directory of user's selection are added to transport interface.
In the embodiment of the present invention, increase the selection mode for the data to be sent that transport interface has when adding button, so that The selection mode of data to be sent is more intuitive.
Optionally, in some embodiments of the present invention, when short-range communication is NFC, further includes:
First terminal and second terminal establish near field communication, comprising:
Whether first terminal detection first terminal is less than preset threshold at a distance from second terminal;
When first terminal is less than preset threshold at a distance from second terminal, first terminal and second terminal establish NFC company It connects.
In the embodiment of the present invention, when increase short-range communication is NFC, first terminal and second terminal establish short-range communication Connection Step, so that scheme is more specific.
It should be noted that transport interface can be suspended window or suspension ball, Huo Zhe in the above embodiment of the present invention There is addition button in transport interface, there can also be other forms when implementing, be not specifically limited.
For ease of understanding, data transmission method in the embodiment of the present invention is carried out with a practical application scene below detailed Description:
In the present invention, first terminal and second terminal are all to have the terminal of short-range communication function, it is assumed that first terminal It is all mobile phone with second terminal, and the close range communication techniques of mobile phone use NFC technique, when holding first terminal (i.e. A hand Machine) a user want when being sent to data to be sent in the second terminal (i.e. B mobile phone) that b user holds, two users are by A Mobile phone and B mobile phone are close.
Whether detection A mobile phone is less than the preset threshold establishing NFC and connecting with the distance of B mobile phone, when distance is close enough, A It establishes NFC connection between mobile phone and B mobile phone, after NFC connection is established, shows transport interface on the screen of A mobile phone, it will be to It sends data and B mobile phone is sent to by transport interface.
If transport interface is suspended window, suspended window ratio A mobile phone screen is small, and the position in A mobile phone screen, size It can be adjusted according to user demand with shape, a user is to be sent what is sent in current display interface on A mobile phone Data are moved to suspended window, and mobile movement generates move, and A mobile phone receives move, according to move it is mobile to Suspended window is sent data to, so as to make B mobile phone receive data to be sent.
If transport interface is suspension ball, suspension ball ratio A mobile phone screen is small, and the position in A mobile phone screen, size It can be adjusted according to user demand with shape, receive the mode of data to be sent are as follows: the mobile suspension ball of a user is in A Position on mobile phone screen detects in the preset range of suspension ball so that data to be sent are within the scope of suspension ball Data to be sent, judge whether the residence time of suspension ball in the position is greater than preset time threshold, it is big when the residence time When preset time threshold, the data to be sent in suspension ball preset range are received.
Transport interface can also include addition button, and a user clicks addition button in the transport interface of A mobile phone, receives The triggering command that user triggers addition button opens a predetermined directory according to triggering command, is used for user's display data, User selects the data for needing to send from predetermined directory, receives user and chooses instruction, under the predetermined directory that user is chosen Data are added to transport interface.
Referring to Fig. 2, the embodiment of the present invention provides a kind of terminal of data transmission, comprising:
Detection module 201, for detecting whether first terminal and second terminal establish near field communication;
Transport interface module 202, for when the testing result of detection module 201, which is, is, first terminal to show transmission circle Face, transport interface is for receiving the data to be sent sent to second terminal.
In the embodiment of the present invention, when detection module 201 detects that first terminal and second terminal are established short-range communication and connected It connecing, 202 automatic Display transport interface of transport interface module, user is not necessarily to recall the operation of transport interface, this improves Convenience when user uses, to improve user for the good experience of product.
Optionally, in some embodiments of the present invention, transport interface is to be suspended in hanging for first terminal current display interface When floating window,
Transport interface module 202, specifically for receiving the data to be sent shown in mobile current display interface to suspension The move of window;
Transport interface module 202 is specifically used for according to the mobile data to be sent of move to suspended window.
Optionally, in some embodiments of the present invention, transport interface is to be suspended in hanging for first terminal current display interface When floating ball,
Transport interface module 202 is specifically used for after mobile suspension ball, and detection suspension ball stops in current display interface It whether include data to be sent in the preset range of position;
Transport interface module 202, specifically for when suspension ball is in current display interface in the preset range of stop place When having outgoing data, first terminal receives the data to be sent in suspension ball preset range by suspension ball.
Optionally, in some embodiments of the present invention,
Transport interface module 202, specifically for judge suspension ball rest on current location residence time whether be greater than it is pre- If time threshold;
Transport interface module 202, when the residence time specifically for resting on current location when suspension ball is greater than preset Between threshold value when, first terminal receives the data to be sent in the suspension ball preset range by the suspension ball.
Optionally, in some embodiments of the present invention, when transport interface includes addition button,
Transport interface module 202 triggers the triggering command of addition button specifically for receiving user;
Transport interface module 202 is specifically used for showing the data under predetermined directory according to triggering command;
Transport interface module 202 is specifically used for user based on the received and chooses instruction, under the predetermined directory that user is chosen Data be added to the transport interface.
Optionally, as shown in figure 3, in some embodiments of the present invention, when short-range communication is near-field communication NFC, terminal Further include: communication building block 301,
Whether detection module 201 is less than preset threshold at a distance from the second terminal specifically for detection first terminal;
Communication building block 301, specifically for being less than in advance at a distance from second terminal when detection module detection first terminal If when threshold value, establishing the NFC connection between first terminal and second terminal.
Below with a concrete application scene to the interaction in the embodiment of the present invention between the module of the terminal of data transmission It is described in detail:
As shown in figure 4, first terminal and second terminal are all to have the terminal of short-range communication function, it is assumed that first terminal It is all mobile phone with second terminal, and the close range communication techniques of mobile phone use NFC technique, when holding first terminal (i.e. A hand Machine) a user want when being sent to data to be sent in the second terminal (i.e. B mobile phone) that b user holds, two users are by A Mobile phone and B mobile phone are close.
Whether the detection A mobile phone of detection module 201 on A mobile phone is less than with the distance of B mobile phone is established the default threshold that NFC is connected Value is established between the communication building block 301 on communication building block 301 and B mobile phone on A mobile phone when distance is close enough NFC connection, after NFC connection is established, transport interface module 202 shows transport interface on the screen of A mobile phone, will be pending Data are sent to be sent to B mobile phone by transport interface.
If transport interface is suspended window, suspended window ratio A mobile phone screen is small, and the position in A mobile phone screen, size It can be adjusted according to user demand with shape, a user is to be sent what is sent in current display interface on A mobile phone Data are moved to suspended window, and transport interface module 202 generates move according to mobile movement, and transport interface module 202 connects Move is received, according to the mobile data to be sent of move to suspended window, so as to make B mobile phone receive number to be sent According to.
If transport interface is suspension ball, suspension ball ratio A mobile phone screen is small, and the position in A mobile phone screen, size It can be adjusted according to user demand with shape, receive the mode of data to be sent are as follows: the mobile suspension ball of a user is in A Position on mobile phone screen, so that data to be sent are within the scope of suspension ball, transport interface module 202 detects suspension Data to be sent in the preset range of ball, judge whether the residence time of suspension ball in the position is greater than preset time threshold Value receives the data to be sent in suspension ball preset range when the residence time being greater than preset time threshold.
Transport interface can also include addition button, and a user clicks addition button, transmission in the transport interface of A mobile phone The triggering command that interface module 202 receives user's triggering addition button is opened a predetermined directory, is used for according to triggering command To user's display data, user selects the data for needing to send from predetermined directory, and transport interface module 202 receives user and chooses Data under the predetermined directory of user's selection are added to transport interface by instruction.
The embodiment of the invention also provides a kind of terminals, as shown in figure 5, for ease of description, illustrating only and the present invention The relevant part of embodiment, it is disclosed by specific technical details, please refer to present invention method part.The terminal can be Including mobile phone, tablet computer, PDA (Personal Digital Assistant, personal digital assistant), POS (Point of Sales, point-of-sale terminal) etc. any terminal device, taking the terminal as an example:
Fig. 5 shows the block diagram of the part-structure of mobile phone relevant to terminal provided in an embodiment of the present invention.With reference to figure 5, mobile phone include: radio frequency (Radio Frequency, RF) circuit 510, memory 520, input unit 530, display unit 540, The components such as sensor 550, voicefrequency circuit 560, proximity communication module 570, processor 580 and power supply 590.This field skill Art personnel are appreciated that handset structure shown in Fig. 5 does not constitute the restriction to mobile phone, may include more or more than illustrating Few component perhaps combines certain components or different component layouts.
It is specifically introduced below with reference to each component parts of the Fig. 5 to mobile phone:
RF circuit 510 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station After downlink information receives, handled to processor 580;In addition, the data for designing uplink are sent to base station.In general, RF circuit 510 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuit 510 can also be communicated with network and other equipment by wireless communication. Any communication standard or agreement, including but not limited to global system for mobile communications (Global can be used in above-mentioned wireless communication System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution, LTE), Email, short message service (Short Messaging Service, SMS) etc..
Memory 520 can be used for storing software program and module, and processor 580 is stored in memory 520 by operation Software program and module, thereby executing the various function application and data processing of mobile phone.Memory 520 can mainly include Storing program area and storage data area, wherein storing program area can application journey needed for storage program area, at least one function Sequence (such as sound-playing function, image player function etc.) etc.;Storage data area can be stored to be created according to using for mobile phone Data (such as audio data, phone directory etc.) etc..It, can be in addition, memory 520 may include high-speed random access memory Including nonvolatile memory, for example, at least a disk memory, flush memory device or other volatile solid-states Part.
Input unit 530 can be used for receiving the number or character information of input, and generate with the user setting of mobile phone with And the related key signals input of function control.Specifically, input unit 530 may include that touch panel 531 and other inputs are set Standby 532.Touch panel 531, also referred to as touch screen, collect user on it or nearby touch operation (such as user use The operation of any suitable object or attachment such as finger, stylus on touch panel 531 or near touch panel 531), and root Corresponding attachment device is driven according to preset formula.Optionally, touch panel 531 may include touch detecting apparatus and touch Two parts of controller.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, Transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into touching Point coordinate, then gives processor 580, and can receive order that processor 580 is sent and be executed.Furthermore, it is possible to using electricity The multiple types such as resistive, condenser type, infrared ray and surface acoustic wave realize touch panel 531.In addition to touch panel 531, input Unit 530 can also include other input equipments 532.Specifically, other input equipments 532 can include but is not limited to secondary or physical bond One of disk, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.
Display unit 540 can be used for showing information input by user or be supplied to user information and mobile phone it is various Menu.Display unit 540 may include display panel 541, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure Show panel 541.Further, touch panel 531 can cover display panel 541, when touch panel 531 detect it is on it or attached After close touch operation, processor 580 is sent to determine the type of touch event, is followed by subsequent processing device 580 according to touch event Type corresponding visual output is provided on display panel 541.Although in Fig. 5, touch panel 531 and display panel 541 It is that the input and input function of mobile phone are realized as two independent components, but in some embodiments it is possible to by touch-control Panel 531 and display panel 541 are integrated and that realizes mobile phone output and input function.
Mobile phone may also include at least one sensor 550, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light Light and shade adjust the brightness of display panel 541, proximity sensor can close display panel 541 when mobile phone is moved in one's ear And/or backlight.As a kind of motion sensor, accelerometer sensor can detect (generally three axis) acceleration in all directions Size, can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture, (for example horizontal/vertical screen is cut Change, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;May be used also as mobile phone The other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared sensor of configuration, details are not described herein.
Voicefrequency circuit 560, loudspeaker 561, microphone 562 can provide the audio interface between user and mobile phone.Audio-frequency electric Electric signal after the audio data received conversion can be transferred to loudspeaker 561, be converted to sound by loudspeaker 561 by road 560 Signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 562, is turned after being received by voicefrequency circuit 560 It is changed to audio data, then by after the processing of audio data output processor 580, such as another mobile phone is sent to through RF circuit 510, Or audio data is exported to memory 520 to be further processed.
Proximity communication module 570 belongs to short range wireless transmission technology, and mobile phone can be with by proximity communication module 570 User is helped to carry out data transmission over short with other mobile phone users.
Processor 580 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone, is led to It crosses operation or executes the software program and/or module being stored in memory 520, and call and be stored in memory 520 Data execute the various functions and processing data of mobile phone, to carry out integral monitoring to mobile phone.Optionally, processor 580 can wrap Include one or more processing units;Preferably, processor 580 can integrate application processor and modem processor, wherein answer With the main processing operation system of processor, user interface and application program etc., modem processor mainly handles wireless communication. It is understood that above-mentioned modem processor can not also be integrated into processor 580.
Mobile phone further includes the power supply 590 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply pipe Reason system and processor 580 are logically contiguous, to realize management charging, electric discharge and power managed by power-supply management system Etc. functions.
Although being not shown, mobile phone can also include camera, bluetooth module etc., and details are not described herein.
In embodiments of the present invention, the detection module 201 of the terminal of data transmission can be realized by processor 580, be transmitted Interface module 202 can control display unit 540 by processor 580 and realize that communication building block 301 can be by short-range communication Module 570 is realized.
Optionally, in some embodiments of the present invention,
Processor 580 is also used to receive the mobile finger of the data to be sent that show in mobile current display interface to suspended window It enables;
Processor 580 is also used to according to the mobile data to be sent of move to suspended window.
Optionally, in some embodiments of the present invention,
Processor 580 is also used to after mobile suspension ball, detect suspension ball in current display interface stop place it is pre- If whether including data to be sent in range;
Processor 580 is also used to have outgoing data in the preset range of stop place in current display interface when suspension ball When, first terminal receives the data to be sent in suspension ball preset range by suspension ball.
Optionally, in some embodiments of the present invention,
Processor 580 is also used to judge that suspension ball rests on whether residence time of current location is greater than preset time threshold Value;
Processor 580 is also used to when the residence time that suspension ball rests on current location being greater than preset time threshold, First terminal receives the data to be sent in the suspension ball preset range by the suspension ball.
Optionally, in some embodiments of the present invention,
Processor 580 is also used to receive the triggering command that user triggers addition button;
Processor 580 is also used to show the data under predetermined directory according to triggering command;
Processor 580 is also used to user based on the received and chooses instruction, and the data under the predetermined directory of user's selection are added Add to the transport interface.
Optionally, in some embodiments of the present invention,
Processor 580 is also used to detect whether first terminal is less than preset threshold at a distance from the second terminal;
Proximity communication module 570 is used to be less than default threshold at a distance from second terminal when detection module detection first terminal When value, the NFC connection between first terminal and second terminal is established
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey The medium of sequence code.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to before Stating embodiment, invention is explained in detail, those skilled in the art should understand that: it still can be to preceding Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these It modifies or replaces, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.

Claims (6)

1. a kind of data transmission method characterized by comprising
Whether detection first terminal and second terminal establish near field communication;
When the test results is yes, the first terminal shows transport interface, and the transport interface is for receiving to described second The data to be sent that terminal is sent;
The transport interface is the suspension ball for being suspended in the first terminal current display interface, described to receive to described second eventually Hold the data to be sent sent, comprising:
After the mobile suspension ball, detect the suspension ball in current display interface in the preset range of stop place whether It include data to be sent;
When the test results is yes, the first terminal is received described in the suspension ball preset range by the suspension ball Data to be sent.
2. the method according to claim 1, wherein the first terminal receives described hang by the suspension ball The data to be sent in floating ball preset range, specifically include:
Judge that the suspension ball rests on whether residence time of current location is greater than preset time threshold;
When the judgment result is yes, the first terminal is received described in the suspension ball preset range by the suspension ball Data to be sent.
3. method according to any one of claim 1 to 2, which is characterized in that when the short-range communication is logical near field When believing NFC, the method also includes:
The first terminal and the second terminal establish near field communication, comprising:
The first terminal detects whether the first terminal is less than preset threshold at a distance from the second terminal;
When the test results is yes, the first terminal is established NFC with the second terminal and is connect.
4. a kind of terminal of data transmission characterized by comprising
Detection module, for detecting whether first terminal and second terminal establish near field communication;
Transport interface module, for when the testing result of the detection module, which is, is, the first terminal to show transport interface, The transport interface is for receiving the data to be sent sent to the second terminal;
The transport interface is transport interface module when being suspended in the suspension ball of the first terminal current display interface, After the movement suspension ball, the suspension ball is detected in current display interface in the preset range of stop place It whether include data to be sent;
The transport interface module is specifically used for when the test results is yes, and the first terminal is received by the suspension ball The data to be sent in the suspension ball preset range.
5. terminal according to claim 4, which is characterized in that
The transport interface module, specifically for judge the suspension ball rest on current location residence time whether be greater than it is pre- If time threshold;
The transport interface module is specifically used for when the judgment result is yes, and the first terminal is received by the suspension ball The data to be sent in the suspension ball preset range.
6. the terminal according to any one of claim 4 to 5, which is characterized in that the short-range communication is near-field communication When NFC, the terminal further include: communication building block;
The detection module, specifically for detecting whether the first terminal is less than default threshold at a distance from the second terminal Value;
The communication building block is specifically used for when the test results is yes, establishing the first terminal and the second terminal Between NFC connection.
CN201510751329.6A 2015-11-05 2015-11-05 A kind of data transmission method and the terminal of data transmission Active CN105430600B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510751329.6A CN105430600B (en) 2015-11-05 2015-11-05 A kind of data transmission method and the terminal of data transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510751329.6A CN105430600B (en) 2015-11-05 2015-11-05 A kind of data transmission method and the terminal of data transmission

Publications (2)

Publication Number Publication Date
CN105430600A CN105430600A (en) 2016-03-23
CN105430600B true CN105430600B (en) 2019-03-01

Family

ID=55508472

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510751329.6A Active CN105430600B (en) 2015-11-05 2015-11-05 A kind of data transmission method and the terminal of data transmission

Country Status (1)

Country Link
CN (1) CN105430600B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105872661A (en) * 2016-03-30 2016-08-17 联想(北京)有限公司 Information processing method and electronic device
CN106331372B (en) * 2016-09-14 2018-01-23 广东欧珀移动通信有限公司 Data transmission method and mobile terminal
CN106453845B (en) * 2016-09-14 2019-08-20 广东欧珀移动通信有限公司 A kind of data transmission method and equipment
CN106331370B (en) * 2016-09-14 2019-02-05 Oppo广东移动通信有限公司 A kind of data transmission method and terminal device
CN108769206B (en) * 2018-05-30 2021-06-01 努比亚技术有限公司 Data synchronization method, terminal and storage medium
CN109471605A (en) * 2018-11-14 2019-03-15 维沃移动通信有限公司 A kind of information processing method and terminal device
CN110335673A (en) * 2019-07-10 2019-10-15 浙江和也健康科技有限公司 A kind of magnetic therapy experiencing system and method based on mobile radio network
CN110515580B (en) * 2019-09-02 2022-08-19 联想(北京)有限公司 Display control method, device and terminal
CN114118461A (en) * 2021-11-09 2022-03-01 肇庆市城市规划设计院 Smart city system applying cloud platform and using method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101617304A (en) * 2007-01-29 2009-12-30 索尼株式会社 Support the shared home media platform of multi-user's control
CN102832975A (en) * 2012-08-14 2012-12-19 华为终端有限公司 Data transmission method, data transmission device and terminal with touch screen
CN103036597A (en) * 2012-12-12 2013-04-10 华为终端有限公司 Method and device of sharing resources among devices in close range
CN103294466A (en) * 2013-05-09 2013-09-11 北京小米科技有限责任公司 Method and device for displaying background image of application
CN103475788A (en) * 2013-09-24 2013-12-25 广东欧珀移动通信有限公司 Method and system for rapidly sharing files among mobile equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101617304A (en) * 2007-01-29 2009-12-30 索尼株式会社 Support the shared home media platform of multi-user's control
CN102832975A (en) * 2012-08-14 2012-12-19 华为终端有限公司 Data transmission method, data transmission device and terminal with touch screen
CN103036597A (en) * 2012-12-12 2013-04-10 华为终端有限公司 Method and device of sharing resources among devices in close range
CN103294466A (en) * 2013-05-09 2013-09-11 北京小米科技有限责任公司 Method and device for displaying background image of application
CN103475788A (en) * 2013-09-24 2013-12-25 广东欧珀移动通信有限公司 Method and system for rapidly sharing files among mobile equipment

Also Published As

Publication number Publication date
CN105430600A (en) 2016-03-23

Similar Documents

Publication Publication Date Title
CN105430600B (en) A kind of data transmission method and the terminal of data transmission
CN104135501B (en) Page sharing method, Apparatus and system
CN104168175B (en) Message group sending method and terminal in instant messaging
CN104238918B (en) List View component slippage display methods and device
CN106502826B (en) Data backup and transmission method and mobile terminal
CN106681860B (en) A kind of data back up method and data backup device
CN103346921B (en) User management method and relevant device and communication system
CN104426919A (en) Page sharing method, device and system
CN107590375A (en) Unlocking method and related product
CN106484326B (en) A kind of data transmission processing method and mobile terminal
CN107193664A (en) A kind of display methods of message, device and mobile terminal
CN103489303A (en) Remote control method and device
CN106534288B (en) A kind of data transmission method and mobile terminal
CN106445596A (en) Method and device for managing setting items
CN106445336A (en) Fast acquisition method for electronic resource and mobile terminal
CN107046595A (en) Announcement information processing method, device and mobile terminal
CN108431812A (en) A kind of method that head portrait is shown and head portrait display device
CN106534452A (en) Quick communication method and apparatus, and mobile terminal
CN109040433A (en) Mobile terminal and the method, apparatus to receive calls
CN106569815A (en) Message display method and terminal
CN106603740B (en) It is connected to the network abnormal processing method and terminal device
CN107045418A (en) A kind of method, device, computer installation and the storage medium of information input
CN107678822B (en) A kind of information processing method and device, terminal and readable storage medium storing program for executing
CN107066374A (en) A kind of data processing method and mobile terminal
CN105847408A (en) Data synchronization method and device and equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 519085 Guangdong Zhuhai science and technology innovation coastal Meizu Technology Building

Patentee after: MEIZU TECHNOLOGY Co.,Ltd.

Address before: 519000 technology innovation coastal Meizu science and technology building, Zhuhai, Guangdong

Patentee before: Meizu Technology (China) Co.,Ltd.