CN106101174A - A kind of method and apparatus transmitting data - Google Patents

A kind of method and apparatus transmitting data Download PDF

Info

Publication number
CN106101174A
CN106101174A CN201610357066.5A CN201610357066A CN106101174A CN 106101174 A CN106101174 A CN 106101174A CN 201610357066 A CN201610357066 A CN 201610357066A CN 106101174 A CN106101174 A CN 106101174A
Authority
CN
China
Prior art keywords
terminal
point
data
uplink time
time section
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610357066.5A
Other languages
Chinese (zh)
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.)
Guangzhou Kugou Computer Technology Co Ltd
Original Assignee
Guangzhou Kugou Computer 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 Guangzhou Kugou Computer Technology Co Ltd filed Critical Guangzhou Kugou Computer Technology Co Ltd
Priority to CN201610357066.5A priority Critical patent/CN106101174A/en
Publication of CN106101174A publication Critical patent/CN106101174A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks

Abstract

The embodiment of the invention discloses a kind of method and apparatus transmitting data, belong to field of computer technology.Described method includes: first terminal receives the download request of the target data that the second terminal sends;Described first terminal obtains the Point-to-Point Data uplink time section preset;Described first terminal, in described Point-to-Point Data uplink time section, sends described target data to described second terminal.Use the present invention, it is ensured that being normally carried out of current data service.

Description

A kind of method and apparatus transmitting data
Technical field
The present invention relates to field of computer technology, particularly to a kind of method and apparatus transmitting data.
Background technology
Along with computer technology and the development of network technology, between two terminals, number can be transmitted to use point-to-point mode According to.
In prior art, terminal A sends data download request to server, and server receives the data that terminal A sends After downloading request, storage can be had the address information of terminal B of these data to send to terminal A by server, and terminal A can be to end End B sends data download request, after terminal B receives the data download request that terminal A sends, and will be on backstage from trend terminal A sends this data.
During realizing the present invention, inventor finds that prior art at least there is problems in that
Terminal B sends data on backstage from trend terminal A, and user now may be currently in use terminal B and transmit other number According to, so, terminal B can be affected and transmit other data, thus affect being normally carried out of current data service.
Summary of the invention
In order to solve problem of the prior art, embodiments provide a kind of method and apparatus transmitting data.Institute State technical scheme as follows:
First aspect, it is provided that a kind of method transmitting data, described method includes:
First terminal receives the download request of the target data that the second terminal sends;
Described first terminal obtains the Point-to-Point Data uplink time section preset;
Described first terminal, in described Point-to-Point Data uplink time section, sends described number of targets to described second terminal According to.
Optionally, described method also includes:
Described first terminal obtains the Point-to-Point Data uploading speed preset;
Described first terminal, in described Point-to-Point Data uplink time section, sends described number of targets to described first terminal According to, including:
Described first terminal is in described Point-to-Point Data uplink time section, with described Point-to-Point Data uploading speed, to Described first terminal sends described target data.
So, the method controlling data uploading speed is provided the user.
Optionally, described method also includes:
Described first terminal obtains the Point-to-Point Data preset and uploads connected mode;
Described first terminal, in described Point-to-Point Data uplink time section, sends described number of targets to described first terminal According to, including:
Described first terminal, in described Point-to-Point Data uplink time section, uploads connection side based on described Point-to-Point Data Formula, sends described target data to described first terminal.
So, the method controlling to upload connected mode is provided the user.
Optionally, described method also includes:
When described first terminal detects the idsplay order uploading data volume that user inputs, total data has been uploaded in display Amount.
So, the method that fast browsing has uploaded total amount of data is provided the user.
Optionally, described first terminal, in described Point-to-Point Data uplink time section, sends institute to described second terminal State target data, including:
If described first terminal receives the described number of targets that the multiple terminals including the second terminal send respectively According to download request, the most described first terminal, in described Point-to-Point Data uplink time section, based on the plurality of terminal is stepped on Putting in order of the grade of record account, sends described target data to the plurality of terminal successively.
Second aspect, it is provided that a kind of device transmitting data, described device includes:
Receiver module, for receiving the download request of the target data that the second terminal sends;
Acquisition module, for obtaining default Point-to-Point Data uplink time section;
Sending module, in described Point-to-Point Data uplink time section, sends described target to described second terminal Data.
Optionally, described acquisition module, it is additionally operable to:
Obtain the Point-to-Point Data uploading speed preset;
Described sending module, is additionally operable to:
In described Point-to-Point Data uplink time section, with described Point-to-Point Data uploading speed, to described first terminal Send described target data.
Optionally, described acquisition module, it is additionally operable to:
Obtain the Point-to-Point Data preset and upload connected mode;
Described sending module, is additionally operable to:
In described Point-to-Point Data uplink time section, upload connected mode based on described Point-to-Point Data, to described One terminal sends described target data.
Optionally, described device also includes:
Display module, for when described first terminal detects the idsplay order uploading data volume that user inputs, aobvious Show and upload total amount of data.
Optionally, described sending module, it is used for:
If described first terminal receives the described number of targets that the multiple terminals including the second terminal send respectively According to download request, the most described first terminal, in described Point-to-Point Data uplink time section, based on the plurality of terminal is stepped on Putting in order of the grade of record account, sends described target data to the plurality of terminal successively.
The technical scheme that the embodiment of the present invention provides has the benefit that
In the embodiment of the present invention, after first terminal receives the download request of the target data that the second terminal sends, first Terminal can obtain default Point-to-Point Data uplink time section, and then, first terminal is when default Point-to-Point Data is uploaded Between in section, send target data to the second terminal.It is more idle that Point-to-Point Data uplink time section can be arranged on terminal Time period, so, terminal, when uploading target data, does not interferes with being normally carried out of current data service.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, in embodiment being described below required for make Accompanying drawing be briefly described, it should be apparent that, below describe in accompanying drawing be only some embodiments of the present invention, for From the point of view of those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to obtain other according to these accompanying drawings Accompanying drawing.
Fig. 1 is a kind of method flow diagram transmitting data that the embodiment of the present invention provides;
Fig. 2 is that the one that the embodiment of the present invention provides arranges Point-to-Point Data uplink time section schematic diagram;
Fig. 3 is that the one that the embodiment of the present invention provides arranges Point-to-Point Data uploading speed schematic diagram;
Fig. 4 is that the one that the embodiment of the present invention provides arranges Point-to-Point Data and uploads connected mode schematic diagram;
Fig. 5 is the structural representation of a kind of device transmitting data that the embodiment of the present invention provides;
Fig. 6 is the structural representation of a kind of device transmitting data that the embodiment of the present invention provides;
Fig. 7 is the structural representation of a kind of terminal that the embodiment of the present invention provides.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention Formula is described in further detail.
Embodiments providing a kind of method transmitting data, the executive agent of the method can be terminal.Wherein, Terminal can be mobile phone, computer etc., is provided with shared data-application and (is such as provided with the fast of point-to-point transmission system in terminal Thunder application program, the KuGoo application program etc. of point-to-point transmission system is installed), this terminal can be provided with processor, deposit Reservoir, transceiver etc..Processor may be used for transmitting the process of data and processes, and memorizer may be used for being stored in transmission number Needing the data of storage during according to, transceiver may be used for sending and receiving message and data, is also provided with in this terminal Screen, screen is displayed for sharing the interface etc. of data-application, can be the screen of touch.In the present embodiment, As a example by terminal is as computer, carrying out the detailed description of scheme, other situation is similar to therewith, and the present embodiment is not repeated.
In the embodiment of the present invention, the terminal being previously mentioned is fitted with share data-application, and when default Long, terminal, to the background server (being called for short server below) of shared data-application, sends the shared number self stored According to the mark of (being called for short data below), after server receives the mark of the data that each terminal sends, can be by the mark of data Carry out corresponding with the positional information of terminal stores, and wherein, can include the network address of terminal in positional information, or put right Unique mark etc. of some uploading system.As it is shown in figure 1, the handling process of the method can comprise the following steps that
Step 101, first terminal receives the download request of the target data that the second terminal sends.
In force, user is mounted with to share data-application, as being provided with point-to-point transmission system in the second terminal The sudden peal of thunder application program of system, then triggers and opens this application program, use the individual account of oneself and password to log in, user Wanting to download certain file (such as a film etc., follow-up referred to as target data) in this application program, user can be in search Input frame inputs the mark (title of film) of target data, then clicks on search button, trigger the second terminal to server (sharing the background server of data-application), sends the download request of target data, downloads in request and carry number of targets According to mark.Being previously stored with the mark of data and the corresponding relation of positional information in server, server receives second eventually The download request of the target data that end sends, can therefrom resolve the mark of this target data, then from the data prestored Mark and positional information corresponding relation in, determine the positional information that the mark of target data is corresponding.Server gets mesh After the positional information of the mark correspondence of mark data, the positional information got can be sent to the second terminal.Second terminal connects Receiving the positional information that server sends, the second terminal can send under target data to the first terminal that positional information is corresponding Carry request, the download request of target data carries the mark of target data.
It addition, if positional information includes the positional information of multiple terminal, then the second terminal can be the most respectively to this Multiple terminals send the detection data preset, and after these multiple terminals receive default detection data, determine that data are default Detection data, then send to the second terminal and receive confirmation message, and the second terminal may determine that the detection data preset from transmission are opened Beginning timing, these multiple terminals are after receiving default detection data, and the reception of feedback confirms the duration that message is used, if Second terminal receives receiving of first terminal feedback and confirms that the duration that message is used is the shortest, it is determined that the second terminal is with first eventually Network quality between end is best, then can send the download request of target data, the download of target data to first terminal Request carries the mark of target data.
Step 102, first terminal obtains the Point-to-Point Data uplink time section preset.
In force, technical staff can be arranged Point-to-Point Data uplink time section and set in shared data-application Put option.As in figure 2 it is shown, user is if it is intended to arrange Point-to-Point Data uplink time section, then can click on shared market demand Setting options in program, triggering terminal shows uploads setting options, download setting options and some other setting options, uses Family can be clicked on and upload setting options, and triggering terminal shows to upload and arranges interface, uploads to arrange and is provided with point-to-point number in interface According to some other setting options such as uplink time section setting options, user can click on Point-to-Point Data uplink time section and arrange choosing , triggering terminal shows uploads initial time input frame, uploads end time input frame, and user can be respectively when uploading initial Between input frame, upload end time input frame input initial time and end time, then click on confirmation button, triggering terminal is protected Deposit initial time and the end time of Point-to-Point Data uplink time section.In like manner, user can be in the shared data of first terminal Arranging Point-to-Point Data uplink time section in application program, such as, Point-to-Point Data uplink time section is 22:00~24:00.
After first terminal receives the target data download request that the second terminal sends, can therefrom resolve target data Mark, then can obtain default Point-to-Point Data uplink time section.
Step 103, first terminal, in Point-to-Point Data uplink time section, sends target data to the second terminal.
In force, after first terminal gets default Point-to-Point Data uplink time section, if current time point In default Point-to-Point Data uplink time section, then first terminal can obtain the number of targets identifying correspondence of target data According to, send target data to the second terminal immediately, if current time point is not in default Point-to-Point Data uplink time section In, then in first terminal can wait until Point-to-Point Data uplink time section, obtain the target data that the mark of target data is corresponding, Target data is sent to the second terminal.Such as, the Point-to-Point Data uplink time section of user setup is 22:00~24:00, if First terminal receives the download request of the target data that the second terminal sends at 9 in the morning, then can be at 22:00~24:00 In, send target data to the second terminal.
Optionally, user can also arrange maximum Point-to-Point Data uploading speed, and namely first terminal is in transmission data Time, data can be transmitted in default Point-to-Point Data uploading speed, first terminal can obtain default Point-to-Point Data Uploading speed;The process of step 103 can be such that
First terminal, in Point-to-Point Data uplink time section, with Point-to-Point Data uploading speed, sends to first terminal Target data.
In force, technical staff can arrange user's Point-to-Point Data uploading speed in shared data-application Setting options.Interface is additionally provided with Point-to-Point Data uploads data speed setting options, user as it is shown on figure 3, upload to arrange Point-to-Point Data can be clicked on and upload data speed setting options, triggering terminal display maximum data uploading speed input frame, use Family can input maximum Point-to-Point Data uploading speed in maximum uploading speed input frame, then clicks on confirmation button, triggers Terminal preserves maximum Point-to-Point Data uploading speed.In like manner, user can set in the shared data-application of first terminal Putting Point-to-Point Data uploading speed, such as, maximum Point-to-Point Data uploading speed is 100 kilobits/second.
After first terminal receives the target data download request that the second terminal sends, default point-to-point number can be obtained According to uploading speed.
After first terminal gets default Point-to-Point Data uploading speed, if current time point is right at default point In point data uplink time section, then first terminal can obtain the target data identifying correspondence of target data, then with maximum Uploading speed is default Point-to-Point Data uploading speed, sends target data to the second terminal immediately, if the current time Point is not in default Point-to-Point Data uplink time section, then in first terminal can wait until Point-to-Point Data uplink time section, Obtaining the target data that the mark of target data is corresponding, the Point-to-Point Data being then default with maximum uploading speed uploads speed Degree, sends target data to the second terminal.Such as, the Point-to-Point Data uplink time section of user setup is 22:00~24:00, The Point-to-Point Data uploading speed preset is 100 kilobits/second, sends out if first terminal receives the second terminal at 9 in the morning The download request of the target data sent, then can be 100 at default Point-to-Point Data uploading speed in 22:00~24:00 Within kilobits/second, send target data to the second terminal.
Optionally, user can also arrange Point-to-Point Data and upload connected mode, and namely first terminal is in transmission data Time, can be according to default Point-to-Point Data connected mode transmission data, first terminal can obtain default Point-to-Point Data Upload connected mode;The process of step 103 can be such that
First terminal, in Point-to-Point Data uplink time section, uploads connected mode based on Point-to-Point Data, to first eventually End sends target data.
Wherein, Point-to-Point Data is uploaded connected mode and is included: (Transmission Control Protocol passes TCP Transport control protocol discuss) connect, UDP (User Datagram Protocol, User Datagram Protocol) connect.TCP is connected, Needing to carry out three-way handshake before transmission data, as a example by first terminal and the second terminal, namely the second terminal is to first terminal Sending connection request, after first terminal receives connection request, send to the second terminal and connect confirmation message, the second terminal receives After connecting confirmation message, response message ACK (Acknowledgement confirms character) can be sent to first terminal, this Time, the second terminal is set up TCP with first terminal and is connected.First terminal, when the second terminal sends target data, can directly make Using UDP connected mode, second terminal corresponding to the second terminal address sends data, as connecting to TCP, sets up Three-way handshake, such that it is able to shorten the duration of transmission objectives data.
In force, technical staff can be arranged user's Point-to-Point Data and upload connection in shared data-application Mode setting options.As shown in Figure 4, upload to arrange and interface is additionally provided with Point-to-Point Data uploads data connection approach choosing is set , user can click on Point-to-Point Data and upload connected mode setting options, and triggering terminal shows that two kinds of Point-to-Point Data are uploaded Connected mode, user can click on arbitrary Point-to-Point Data and upload the choice box that connected mode is corresponding, selects the point-to-point of correspondence Data upload connected mode, then click on confirmation button, and triggering terminal preserves Point-to-Point Data and uploads connected mode.In like manner, use Family can arrange Point-to-Point Data in the shared data-application of first terminal and upload connected mode, and such as, user is Arranging Point-to-Point Data in the shared data-application of one terminal and uploading connected mode is that transmission control protocol connects.
After first terminal receives the target data download request that the second terminal sends, default point-to-point number can be obtained According to uploading connected mode.
First terminal gets after default Point-to-Point Data uploads connected mode, time if TCP connects and current Between put in default Point-to-Point Data uplink time section, then first terminal can obtain the target that the mark of target data is corresponding Data, and set up TCP connection (namely first terminal and the second terminal carry out three-way handshake), send mesh to the second terminal immediately Mark data, if current time point is not in default Point-to-Point Data uplink time section, then first terminal can wait until a little To in point data uplink time section, obtain the target data that the mark of target data is corresponding, and set up TCP and connect, then to the Two terminals send target data.If UDP connects, and current time point is in default Point-to-Point Data uplink time section In, then first terminal can obtain the target data that the mark of target data is corresponding, and with UDP connected mode, immediately to the Two terminals send target data, if current time point is not in default Point-to-Point Data uplink time section, then first eventually In end can wait until Point-to-Point Data uplink time section, obtain the target data that the mark of target data is corresponding, with UDP connection side Formula, sends target data to the second terminal, and such as, the Point-to-Point Data uploading speed of user setup is 22:00~24:00, in advance If maximum Point-to-Point Data connected mode be UDP, if first terminal at 9 in the morning receive second terminal send target The download request of data, then with UDP connected mode, can send target data to the second terminal in 22:00~24:00.
Optionally, first terminal can send target data, corresponding step according to the grade of the logon account of terminal The process of 103 can be such that
If first terminal receives the download of the target data that the multiple terminals including the second terminal send respectively Request, then first terminal is in Point-to-Point Data uplink time section, and the arrangement of the grade of logon accounts based on multiple terminals is suitable Sequence, sends target data to multiple terminals successively.
In force, first terminal is except receiving the download request of the target data that the second terminal sends, and first eventually End can also receive the download request of the target data that other terminal sends, if first terminal receives includes that the second terminal exists The download request of the target data that interior multiple terminals send respectively, first terminal can send grade acquisition to server please Ask, carry in grade obtains request and send, to first terminal, the mark that target data downloads the logon account of the terminal asked. After server receives the grade acquisition request that first terminal sends, server can be searched each grade and obtain each terminal in request The mark of logon account, corresponding grade, the mark of the logon account then sending each terminal to first terminal corresponding etc. Level.First terminal can be arranged according to the height of the grade of the logon account of this each terminal in Point-to-Point Data uplink time section Row order, sends target data to this each terminal, and the terminal namely preferentially logged in the logon account that grade is high sends mesh Mark data.Such as, in the multiple terminals downloading request sending target data to first terminal, the logon account of the second terminal The highest grade, then first terminal can preferentially to second terminal send target data, mesh can sent to the second terminal After mark data, send target data to other terminal successively.
The embodiment of the present invention additionally provides, and user checks the method uploading total amount of data, and corresponding process can be as follows,
When first terminal detects the idsplay order uploading data volume that user inputs, total amount of data has been uploaded in display.
In force, technical staff can be arranged and uploaded total amount of data option in shared data-application.If User wants the account checking oneself to upload total amount of data, can in shared data-application, input personal account with And password logs in, can then click on and upload total amount of data option, it is upper that first terminal then can detect that user inputs Passing the idsplay order of data volume, first terminal can show has uploaded total amount of data, such as 50 gigabits.
It addition, the embodiment of the present invention additionally provides, user checks the method uploading list, and corresponding process can be as Under:
In force, technical staff can be arranged and uploading list option in shared data-application.If used Family wants the account checking oneself uploading list, can input personal account and password logs in, then can point Hitting and upload list option, first terminal then can detect the idsplay order uploading list that user inputs, and first eventually End can show is uploading list, and first terminal can be uploaded in list, and the corresponding each file uploaded shows Show upload progress (as uploaded 80.1% etc.).
In the embodiment of the present invention, after first terminal receives the download request of the target data that the second terminal sends, first Terminal can obtain default Point-to-Point Data uplink time section, and then, first terminal is when default Point-to-Point Data is uploaded Between in section, send target data to the second terminal.It is more idle that Point-to-Point Data uplink time section can be arranged on terminal Time period, so, terminal, when uploading target data, does not interferes with being normally carried out of current data service.
Based on identical technology design, the embodiment of the present invention additionally provides a kind of device transmitting data, as it is shown in figure 5, This device includes:
Receiver module 510, for receiving the download request of the target data that the second terminal sends;
Acquisition module 520, for obtaining default Point-to-Point Data uplink time section;
Sending module 530, in described Point-to-Point Data uplink time section, sends described mesh to described second terminal Mark data.
Optionally, described acquisition module 520, it is additionally operable to:
Obtain the Point-to-Point Data uploading speed preset;
Described sending module 530, is additionally operable to:
In described Point-to-Point Data uplink time section, with described Point-to-Point Data uploading speed, to described first terminal Send described target data.
Optionally, described acquisition module 520, it is additionally operable to:
Obtain the Point-to-Point Data preset and upload connected mode;
Described sending module 530, is additionally operable to:
In described Point-to-Point Data uplink time section, upload connected mode based on described Point-to-Point Data, to described One terminal sends described target data.
Optionally, as shown in Figure 6, described device also includes:
Display module 540, is used for when described first terminal detects the idsplay order uploading data volume that user inputs, Total amount of data has been uploaded in display.
Optionally, described sending module 530, it is used for:
If described first terminal receives the described number of targets that the multiple terminals including the second terminal send respectively According to download request, the most described first terminal, in described Point-to-Point Data uplink time section, based on the plurality of terminal is stepped on Putting in order of the grade of record account, sends described target data to the plurality of terminal successively.
In the embodiment of the present invention, after first terminal receives the download request of the target data that the second terminal sends, first Terminal can obtain default Point-to-Point Data uplink time section, and then, first terminal is when default Point-to-Point Data is uploaded Between in section, send target data to the second terminal.It is more idle that Point-to-Point Data uplink time section can be arranged on terminal Time period, so, terminal, when uploading target data, does not interferes with being normally carried out of current data service.
It should be understood that the device of the transmission data of above-described embodiment offer is when transmitting data, only with above-mentioned each merit The division of energy module is illustrated, and in actual application, can distribute above-mentioned functions by different functions as desired Module completes, and the internal structure of the device that will transmit data is divided into different functional modules, with complete described above entirely Portion or partial function.It addition, the device of transmission data that above-described embodiment provides belongs to the embodiment of the method for transmission data Same design, it implements process and refers to embodiment of the method, repeats no more here.
Refer to Fig. 7, it illustrates the structural representation of terminal involved by the embodiment of the present invention, this terminal may be used for The method that the transmission data provided in above-described embodiment are provided.Specifically:
Terminal 700 can include RF (Radio Frequency, radio frequency) circuit 110, include one or more meters The memorizer 120 of calculation machine readable storage medium storing program for executing, input block 130, display unit 140, sensor 150, voicefrequency circuit 160, WiFi (wireless fidelity, Wireless Fidelity) module 170, include one or more than one process core process The parts such as device 180 and power supply 190.It will be understood by those skilled in the art that the terminal structure shown in Fig. 7 is not intended that right The restriction of terminal, can include that ratio illustrates more or less of parts, or combine some parts, or different parts cloth Put.Wherein:
RF circuit 110 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, by base station After downlink information receives, transfer to one or more than one processor 180 processes;It addition, be sent to relating to up data Base station.Generally, RF circuit 110 includes but not limited to antenna, at least one amplifier, tuner, one or more agitator, use Family identity module (SIM) card, transceiver, bonder, LNA (Low Noise Amplifier, low-noise amplifier), duplex Device etc..Additionally, RF circuit 110 can also be communicated with network and other equipment by radio communication.Described radio communication can make By arbitrary communication standard or agreement, include but not limited to GSM (Global System ofMobile communication, entirely Ball mobile communcations system), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (Short Messaging Service, Short Message Service) etc..
Memorizer 120 can be used for storing software program and module, and processor 180 is stored in memorizer 120 by operation Software program and module, thus perform various function application and data process.Memorizer 120 can mainly include storing journey Sequence district and storage data field, wherein, storage program area can store the application program (ratio needed for operating system, at least one function Such as sound-playing function, image player function etc.) etc.;Storage data field can store the number that the use according to terminal 700 is created According to (such as voice data, phone directory etc.) etc..Additionally, memorizer 120 can include high-speed random access memory, it is also possible to bag Include nonvolatile memory, for example, at least one disk memory, flush memory device or other volatile solid-state parts. Correspondingly, memorizer 120 can also include Memory Controller, to provide processor 180 and input block 130 to memorizer The access of 120.
Input block 130 can be used for receiving numeral or the character information of input, and produces and user setup and function Control relevant keyboard, mouse, action bars, optics or the input of trace ball signal.Specifically, input block 130 can include touching Sensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touches display screen or Trackpad, can collect use Family thereon or neighbouring touch operation (such as user uses any applicable object such as finger, stylus or adnexa at touch-sensitive table Operation on face 131 or near Touch sensitive surface 131), and drive corresponding attachment means according to formula set in advance.Optional , Touch sensitive surface 131 can include touch detecting apparatus and two parts of touch controller.Wherein, touch detecting apparatus detection is used The touch orientation at family, and detect the signal that touch operation brings, transmit a signal to touch controller;Touch controller is from touch Receive touch information on detection device, and be converted into contact coordinate, then give processor 180, and processor 180 can be received The order sent also is performed.Furthermore, it is possible to use the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave Realize Touch sensitive surface 131.Except Touch sensitive surface 131, input block 130 can also include other input equipments 132.Specifically, Other input equipments 132 can include but not limited to physical keyboard, function key (such as volume control button, switch key etc.), One or more in trace ball, mouse, action bars etc..
Display unit 140 can be used for the information that inputted by user of display or the information being supplied to user and terminal 700 Various graphical user interface, these graphical user interface can be made up of figure, text, icon, video and its combination in any. Display unit 140 can include display floater 141, optionally, can use LCD (Liquid Crystal Display, liquid crystal Show device), the form such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display floater 141.Further, Touch sensitive surface 131 can cover display floater 141, when Touch sensitive surface 131 detects thereon or neighbouring touching After touching operation, send processor 180 to determine the type of touch event, with preprocessor 180 according to the type of touch event Display floater 141 provides corresponding visual output.Although in the figure 7, Touch sensitive surface 131 and display floater 141 are conducts Two independent parts realize input and input function, but in some embodiments it is possible to by Touch sensitive surface 131 and display Panel 141 is integrated and realizes input and output function.
Terminal 700 may also include at least one sensor 150, such as optical sensor, motion sensor and other sensings Device.Specifically, optical sensor can include ambient light sensor and proximity transducer, and wherein, ambient light sensor can be according to environment The light and shade of light regulates the brightness of display floater 141, and proximity transducer can cut out display when terminal 700 moves in one's ear Panel 141 and/or backlight.As the one of motion sensor, Gravity accelerometer can detect in all directions (generally Three axles) size of acceleration, can detect that size and the direction of gravity time static, can be used for identifying the application (ratio of mobile phone attitude Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;Extremely Other sensors such as the gyroscope that can also configure in terminal 700, barometer, drimeter, thermometer, infrared ray sensor, at this Repeat no more.
Voicefrequency circuit 160, speaker 161, microphone 162 can provide the audio interface between user and terminal 700.Audio frequency The signal of telecommunication after the voice data conversion that circuit 160 can will receive, is transferred to speaker 161, speaker 161 is converted to sound Tone signal exports;On the other hand, the acoustical signal of collection is converted to the signal of telecommunication by microphone 162, voicefrequency circuit 160 after receiving Being converted to voice data, then after being processed by voice data output processor 180, through RF circuit 110, to be sent to such as, another is eventually End, or voice data is exported to memorizer 120 to process further.Voicefrequency circuit 160 is also possible that earphone jack, To provide the communication of peripheral hardware earphone and terminal 700.
WiFi belongs to short range wireless transmission technology, and terminal 700 can help user's transceiver electronics by WiFi module 170 Mail, browsing webpage and access streaming video etc., it has provided the user wireless broadband internet and has accessed.Although Fig. 7 illustrates WiFi module 170, but it is understood that, it is also not belonging to must be configured into of terminal 700, can exist as required completely Omit in the scope of the essence not changing invention.
Processor 180 is the control centre of terminal 700, utilizes various interface and each portion of the whole mobile phone of connection Point, it is stored in the software program in memorizer 120 and/or module by running or performing, and calls and be stored in memorizer 120 Interior data, perform the various functions of terminal 700 and process data, thus mobile phone is carried out integral monitoring.Optionally, processor 180 can include one or more process core;Preferably, processor 180 can integrated application processor and modem processor, Wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes nothing Line communicates.It is understood that above-mentioned modem processor can not also be integrated in processor 180.
Terminal 700 also includes the power supply 190 (such as battery) powered to all parts, it is preferred that power supply can be by electricity Management system is logically contiguous with processor 180, thus realizes management charging, electric discharge and power consumption by power-supply management system The functions such as management.Power supply 190 can also include one or more direct current or alternating current power supply, recharging system, power supply event Barrier testing circuit, power supply changeover device or the random component such as inverter, power supply status indicator.
Although not shown, terminal 700 can also include photographic head, bluetooth module etc., does not repeats them here.Specifically in this reality Executing in example, the display unit of terminal 700 is touch-screen display, and terminal 700 also includes memorizer, and one or one Above program, one of them or more than one program is stored in memorizer, and be configured to by one or one with Upper processor performs to state one or more than one program comprises the instruction for carrying out following operation:
First terminal receives the download request of the target data that the second terminal sends;
Described first terminal obtains the Point-to-Point Data uplink time section preset;
Described first terminal, in described Point-to-Point Data uplink time section, sends described number of targets to described second terminal According to.
Optionally, described method also includes:
Described first terminal obtains the Point-to-Point Data uploading speed preset;
Described first terminal, in described Point-to-Point Data uplink time section, sends described number of targets to described first terminal According to, including:
Described first terminal is in described Point-to-Point Data uplink time section, with described Point-to-Point Data uploading speed, to Described first terminal sends described target data.
Optionally, described method also includes:
Described first terminal obtains the Point-to-Point Data preset and uploads connected mode;
Described first terminal, in described Point-to-Point Data uplink time section, sends described number of targets to described first terminal According to, including:
Described first terminal, in described Point-to-Point Data uplink time section, uploads connection side based on described Point-to-Point Data Formula, sends described target data to described first terminal.
Optionally, described method also includes:
When described first terminal detects the idsplay order uploading data volume that user inputs, total data has been uploaded in display Amount.
Optionally, described first terminal, in described Point-to-Point Data uplink time section, sends institute to described second terminal State target data, including:
If described first terminal receives the described number of targets that the multiple terminals including the second terminal send respectively According to download request, the most described first terminal, in described Point-to-Point Data uplink time section, based on the plurality of terminal is stepped on Putting in order of the grade of record account, sends described target data to the plurality of terminal successively.
In the embodiment of the present invention, after first terminal receives the download request of the target data that the second terminal sends, first Terminal can obtain default Point-to-Point Data uplink time section, and then, first terminal is when default Point-to-Point Data is uploaded Between in section, send target data to the second terminal.It is more idle that Point-to-Point Data uplink time section can be arranged on terminal Time period, so, terminal, when uploading target data, does not interferes with being normally carried out of current data service.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can pass through hardware Complete, it is also possible to instruct relevant hardware by program and complete, program can be stored in the storage of a kind of computer-readable In medium, storage medium mentioned above can be read only memory, disk or CD etc..
These are only presently preferred embodiments of the present invention, not in order to limit the present invention, all in the spirit and principles in the present invention Within, any modification, equivalent substitution and improvement etc. made, should be included within the scope of the present invention.

Claims (10)

1. the method transmitting data, it is characterised in that described method includes:
First terminal receives the download request of the target data that the second terminal sends;
Described first terminal obtains the Point-to-Point Data uplink time section preset;
Described first terminal, in described Point-to-Point Data uplink time section, sends described target data to described second terminal.
Method the most according to claim 1, it is characterised in that described method also includes:
Described first terminal obtains the Point-to-Point Data uploading speed preset;
Described first terminal, in described Point-to-Point Data uplink time section, sends described target data to described first terminal, Including:
Described first terminal is in described Point-to-Point Data uplink time section, with described Point-to-Point Data uploading speed, to described First terminal sends described target data.
Method the most according to claim 1, it is characterised in that described method also includes:
Described first terminal obtains the Point-to-Point Data preset and uploads connected mode;
Described first terminal, in described Point-to-Point Data uplink time section, sends described target data to described first terminal, Including:
Described first terminal, in described Point-to-Point Data uplink time section, uploads connected mode based on described Point-to-Point Data, Described target data is sent to described first terminal.
Method the most according to claim 1, it is characterised in that described method also includes:
When described first terminal detects the idsplay order uploading data volume that user inputs, total amount of data has been uploaded in display.
Method the most according to claim 1, it is characterised in that described first terminal is at described Point-to-Point Data uplink time In section, send described target data to described second terminal, including:
If described first terminal receives the described target data that the multiple terminals including the second terminal send respectively Download request, the most described first terminal in described Point-to-Point Data uplink time section, login account based on the plurality of terminal Putting in order of the grade at family, sends described target data to the plurality of terminal successively.
6. the device transmitting data, it is characterised in that described device includes:
Receiver module, for receiving the download request of the target data that the second terminal sends;
Acquisition module, for obtaining default Point-to-Point Data uplink time section;
Sending module, in described Point-to-Point Data uplink time section, sends described target data to described second terminal.
Device the most according to claim 6, it is characterised in that described acquisition module, is additionally operable to:
Obtain the Point-to-Point Data uploading speed preset;
Described sending module, is additionally operable to:
In described Point-to-Point Data uplink time section, with described Point-to-Point Data uploading speed, send to described first terminal Described target data.
Device the most according to claim 1, it is characterised in that described acquisition module, is additionally operable to:
Obtain the Point-to-Point Data preset and upload connected mode;
Described sending module, is additionally operable to:
In described Point-to-Point Data uplink time section, upload connected mode based on described Point-to-Point Data, to described first eventually End sends described target data.
Device the most according to claim 1, it is characterised in that described device also includes:
Display module, for when described first terminal detects the idsplay order uploading data volume that user inputs, display is Upload total amount of data.
Device the most according to claim 1, it is characterised in that described sending module, is used for:
If described first terminal receives the described target data that the multiple terminals including the second terminal send respectively Download request, the most described first terminal in described Point-to-Point Data uplink time section, login account based on the plurality of terminal Putting in order of the grade at family, sends described target data to the plurality of terminal successively.
CN201610357066.5A 2016-05-25 2016-05-25 A kind of method and apparatus transmitting data Pending CN106101174A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610357066.5A CN106101174A (en) 2016-05-25 2016-05-25 A kind of method and apparatus transmitting data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610357066.5A CN106101174A (en) 2016-05-25 2016-05-25 A kind of method and apparatus transmitting data

Publications (1)

Publication Number Publication Date
CN106101174A true CN106101174A (en) 2016-11-09

Family

ID=57230985

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610357066.5A Pending CN106101174A (en) 2016-05-25 2016-05-25 A kind of method and apparatus transmitting data

Country Status (1)

Country Link
CN (1) CN106101174A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109309611A (en) * 2017-07-26 2019-02-05 深圳艾派网络科技股份有限公司 The point-to-point text in multiple terminals connects file reception mutual exclusion method and system in transmission

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1956382A (en) * 2006-10-31 2007-05-02 华为技术有限公司 Download method and system at unbusy time
CN101018172A (en) * 2007-02-09 2007-08-15 浪潮电子信息产业股份有限公司 A method for optimizing the P2P transfer in the MAN
CN101110750A (en) * 2007-08-20 2008-01-23 阳术国 Processing method for implementing resource sharing of built-in equipment based on p2p technology
CN101141475A (en) * 2007-10-15 2008-03-12 中兴通讯股份有限公司 Wireless network data booking download system and method
CN101141459A (en) * 2007-10-25 2008-03-12 南京远古科技有限公司 Method of implementing data transmission or stream media transmission using combination of HTTP and P2P
CN101286928A (en) * 2008-05-08 2008-10-15 蒋一 Method for realizing P2P stream media system based on bandwidth guaranty technique
CN101626401A (en) * 2009-08-06 2010-01-13 中兴通讯股份有限公司 System and method for splitting and disposing content
CN101640623A (en) * 2008-07-31 2010-02-03 国际商业机器公司 Method and equipment for searching resource in peer-to-peer network
CN101651708A (en) * 2009-07-07 2010-02-17 北京大学 Topological construction method of P2P streaming media network
CN101710904A (en) * 2009-12-21 2010-05-19 中国科学院计算技术研究所 P2p flow optimization method and system thereof
CN102223411A (en) * 2011-06-15 2011-10-19 奇智软件(北京)有限公司 Method and system for downloading file by adopting P2P (Peer-to-Peer) technology and client side
CN102244670A (en) * 2010-05-13 2011-11-16 北京大学 Idle node assistance method for P2P (peer-to-peer) file transmission
CN102833168A (en) * 2012-08-31 2012-12-19 北京东土科技股份有限公司 Data transmission method and device based on time triggering mechanism
CN104954197A (en) * 2015-04-29 2015-09-30 广东欧珀移动通信有限公司 Multitask transmission speed detection method and device
CN105306179A (en) * 2014-06-05 2016-02-03 北京风行在线技术有限公司 Method and equipment for controlling P2P data transmission

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1956382A (en) * 2006-10-31 2007-05-02 华为技术有限公司 Download method and system at unbusy time
CN101018172A (en) * 2007-02-09 2007-08-15 浪潮电子信息产业股份有限公司 A method for optimizing the P2P transfer in the MAN
CN101110750A (en) * 2007-08-20 2008-01-23 阳术国 Processing method for implementing resource sharing of built-in equipment based on p2p technology
CN101141475A (en) * 2007-10-15 2008-03-12 中兴通讯股份有限公司 Wireless network data booking download system and method
CN101141459A (en) * 2007-10-25 2008-03-12 南京远古科技有限公司 Method of implementing data transmission or stream media transmission using combination of HTTP and P2P
CN101286928A (en) * 2008-05-08 2008-10-15 蒋一 Method for realizing P2P stream media system based on bandwidth guaranty technique
CN101640623A (en) * 2008-07-31 2010-02-03 国际商业机器公司 Method and equipment for searching resource in peer-to-peer network
CN101651708A (en) * 2009-07-07 2010-02-17 北京大学 Topological construction method of P2P streaming media network
CN101626401A (en) * 2009-08-06 2010-01-13 中兴通讯股份有限公司 System and method for splitting and disposing content
CN101710904A (en) * 2009-12-21 2010-05-19 中国科学院计算技术研究所 P2p flow optimization method and system thereof
CN102244670A (en) * 2010-05-13 2011-11-16 北京大学 Idle node assistance method for P2P (peer-to-peer) file transmission
CN102223411A (en) * 2011-06-15 2011-10-19 奇智软件(北京)有限公司 Method and system for downloading file by adopting P2P (Peer-to-Peer) technology and client side
CN102833168A (en) * 2012-08-31 2012-12-19 北京东土科技股份有限公司 Data transmission method and device based on time triggering mechanism
CN105306179A (en) * 2014-06-05 2016-02-03 北京风行在线技术有限公司 Method and equipment for controlling P2P data transmission
CN104954197A (en) * 2015-04-29 2015-09-30 广东欧珀移动通信有限公司 Multitask transmission speed detection method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘文林,李梅,吴誉兰: "《计算机系统安全》", 30 October 2009 *
菜菜: ""迅雷怎么限制上传速度 迅雷下载限制上传速度图文教程"", 《当下软件园》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109309611A (en) * 2017-07-26 2019-02-05 深圳艾派网络科技股份有限公司 The point-to-point text in multiple terminals connects file reception mutual exclusion method and system in transmission

Similar Documents

Publication Publication Date Title
CN103294515B (en) A kind of methods, devices and systems for obtaining application program
CN104780164B (en) A kind of method and apparatus of running game client
CN105824958A (en) Method, device and system for inquiring log
CN104869468A (en) Method and apparatus for displaying screen information
CN103347003B (en) A kind of Voice over Internet method, Apparatus and system
CN104135728B (en) Method for connecting network and device
CN103310004A (en) Method, device and equipment for displaying number of unread messages
CN104065693A (en) Method, device and system for accessing network data in webpage applications
CN106068020A (en) Hinting abnormal states method and device
CN106254910A (en) A kind of method and apparatus recording image
CN103179026B (en) Communication means in user interactive system, system and server and client side
CN105389259B (en) A kind of method, apparatus and system for carrying out Application testing
CN104216915A (en) Webpage processing method, device and terminal equipment
CN106375774A (en) Live broadcast room display content control method, apparatus and system
CN106034114A (en) Multimedia information sharing method and device
CN104699501B (en) A kind of method and device for running application program
CN104423822A (en) Automated test script recording method and device
CN104660769B (en) A kind of methods, devices and systems for adding associated person information
CN104239332A (en) Webpage content processing method, webpage content processing device and browser client side
CN106294168A (en) A kind of method and system carrying out Application testing
CN104363590A (en) Access point connection method and device
CN104516624A (en) Method and device for inputting account information
CN103561155B (en) Send the method for note, device and terminal
CN106547874A (en) Multimedia recommendation method and device
CN106878153A (en) A kind of message sharing method and device and mobile terminal, server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 510660 Guangzhou City, Guangzhou, Guangdong, Whampoa Avenue, No. 315, self - made 1-17

Applicant after: Guangzhou KuGou Networks Co., Ltd.

Address before: 510000 B1, building, No. 16, rhyme Road, Guangzhou, Guangdong, China 13F

Applicant before: Guangzhou KuGou Networks Co., Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20161109

RJ01 Rejection of invention patent application after publication