CN107294227A - A kind of data transmission method, terminal and computer-readable recording medium - Google Patents
A kind of data transmission method, terminal and computer-readable recording medium Download PDFInfo
- Publication number
- CN107294227A CN107294227A CN201710515615.1A CN201710515615A CN107294227A CN 107294227 A CN107294227 A CN 107294227A CN 201710515615 A CN201710515615 A CN 201710515615A CN 107294227 A CN107294227 A CN 107294227A
- Authority
- CN
- China
- Prior art keywords
- terminal
- data
- electricity
- itself
- sent
- 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.)
- Withdrawn
Links
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J50/00—Circuit arrangements or systems for wireless supply or distribution of electric power
- H02J50/20—Circuit arrangements or systems for wireless supply or distribution of electric power using microwaves or radio frequency waves
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J50/00—Circuit arrangements or systems for wireless supply or distribution of electric power
- H02J50/80—Circuit arrangements or systems for wireless supply or distribution of electric power involving the exchange of data, concerning supply or distribution of electric power, between transmitting devices and receiving devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0261—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Power Engineering (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention discloses a kind of data entry device, wherein, methods described is applied to the terminal with radio-circuit, and methods described includes:When the electricity of itself be less than the first preset value when, obtain itself the first configuration information and data to be transmitted attribute information;Determined to transmit the electricity size that the data need according to first configuration information and the attribute information of data to be transmitted;The terminal being connected to being set up with itself sends the first request for carrying electricity size in need;The radio-circuit module of itself is controlled to receive the electricity that the terminal is sent;The data are sent to the terminal.The embodiment of the invention discloses a kind of terminal and computer-readable recording medium, by implementing such scheme, data can not only be transmitted during information transfer by realizing, can also transmission energy, so as to avoid during information transfer is carried out because terminal power deficiency causes information transfer to fail, and then improve the success rate of information transfer.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of data transmission method, terminal and computer-readable storage
Medium.
Background technology
With the fast development of the communication technology, terminal increasingly develops to intelligentized direction, such as current smart mobile phone
Or tablet personal computer, its function is also more and more, and the mobile communication terminal is not the simple mutually interconnection for being used for meeting people already
System, more as highly important mobile personal recreation terminal in people's daily life.Figure can be sent mutually between two terminals
Piece, video or working document etc..
At present when two terminals carry out data transmission, either data sender or data receiver, each to letter
The processing of breath is required to use the power reserve of itself, can not realize the transfer of energy.Particularly passed in prolonged data
Defeated, such as during the transmission that heap file is carried out by wireless data, receiving terminal not only needs to receive file, in addition it is also necessary to right
The file of reception is handled, and this process needs substantial amounts of calculating, even results in heating, very consumed energy.In addition, also having
Be exactly those skilled in the art it is contemplated that, during the reception of data is carried out, size, the data of received data
The difference of the form of coding etc., the processing mode of terminal log evidence would also vary from, while required for handling these data
Energy be also not quite similar.In the prior art, during carrying out information transfer between two terminals, either two movements are whole
Hold (such as two mobile phones), or (such as desktop computer and mobile phone or a flat board electricity between immobile terminal and mobile terminal
Brain), the process of information transfer only transmitting data information does not carry out the transmission of energy.
The content of the invention
In view of this, the embodiment of the present invention is expected to provide a kind of data transmission method, terminal and computer-readable storage medium
Matter, solves in prior art during information transfer only transmitting data information, it is impossible to carry out the transmission of energy
The problem of, data can not only be transmitted during information transfer by realizing, additionally it is possible to transmission energy, entered so as to avoid
Because terminal power deficiency causes information transfer to fail during row information transmission, and then improve the success rate of information transfer.
To reach above-mentioned purpose, the technical proposal of the invention is realized in this way:
In a first aspect, the embodiment of the present invention provides a kind of data transmission method, methods described is applied to have radio-circuit
The terminal of module, methods described includes:
When the electricity of itself be less than the first preset value when, obtain itself the first configuration information and data to be transmitted attribute
Information;
Determined to transmit the electricity that the data need according to first configuration information and the attribute information of data to be transmitted
Size;
The terminal being connected to being set up with itself sends first and asked, wherein, carry electricity in need in first request
Measure size;
The radio-circuit module of itself is controlled to receive the electricity that the terminal is sent;
The data are sent to the terminal.
Second aspect, the embodiment of the present invention provides a kind of terminal, and the terminal at least includes:Radio-circuit module, processing
Device, memory and communication bus, wherein:
The radio-circuit module, for receiving or sending electricity;
The communication bus, for realizing the connection communication between processor and memory;
The memory, for data storage transmission procedure;
The processor, the data distributing program stored for performing in memory, to realize following steps:
When the electricity of itself be less than the first preset value when, obtain itself the first configuration information and data to be transmitted attribute
Information;
Determined to transmit the electricity that the data need according to first configuration information and the attribute information of data to be transmitted
Size;
The terminal being connected to being set up with itself sends first and asked, wherein, carry electricity in need in first request
Measure size;
The radio-circuit module of itself is controlled to receive the electricity that the terminal is sent;
The data are sent to the terminal.
The third aspect, the embodiment of the present invention provides a kind of computer-readable recording medium, the computer-readable storage medium
Be stored with data distributing program in matter, and the data distributing program realizes above-mentioned data transmission method when being executed by processor
Step.
A kind of data transmission method, terminal and computer-readable recording medium that embodiments of the invention are provided, wherein,
First when the electricity of itself is less than the first preset value, obtain the first configuration information of itself and the attribute of data to be transmitted is believed
Breath;Then determine that the electricity for transmitting the data needs is big according to first configuration information and the attribute information of data to be transmitted
It is small, and the terminal being connected to being set up with itself sends the first request, wherein, carry electricity in need in first request big
It is small;The radio-circuit module of itself is controlled to receive the electricity that the terminal is sent again;The data are sent to the terminal, such as
This, can send a part of electricity, to ensure when the process carried out data transmission is when the not enough power supply of itself to other side's request
Data transfer can be completed, and data can not only be transmitted during information transfer by realizing, additionally it is possible to transmission energy, so that
Avoid during information transfer is carried out because terminal power deficiency causes information transfer to fail, and then improve information transfer
Success rate.
Brief description of the drawings
Fig. 1 is a kind of hardware architecture diagram for the mobile terminal for realizing each embodiment of the invention;
Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention;
Fig. 3 is a kind of implementation process schematic diagram of data transmission method provided in an embodiment of the present invention;
Fig. 4 is the composition structural representation for the terminal that the embodiment of the present invention carries out charge transport;
Fig. 5 is the interface schematic diagram of first terminal before the embodiment of the present invention carries out data transmission;
Fig. 6 is the interface schematic diagram of second terminal before the embodiment of the present invention carries out data transmission;
Fig. 7 is the another interface schematic diagram of first terminal before the embodiment of the present invention carries out data transmission;
Fig. 8 is another terminal interface schematic diagram that deformation region of the embodiment of the present invention is deformed upon;
Fig. 9 is a kind of composition structural representation of terminal provided in an embodiment of the present invention.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is only
Be conducive to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can be mixed
Ground is used.
Terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as mobile phone, flat board
Computer, notebook computer, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
Media player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. are moved
Move the fixed terminals such as terminal, and numeral TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special
Outside element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, its hardware architecture diagram for a kind of mobile terminal of realization each embodiment of the invention, the shifting
Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit
103rd, A/V (audio/video) input block 104, sensor 105, display unit 106, user input unit 107, interface unit
108th, the part such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1
Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal can be included than illustrating more or less parts,
Either combine some parts or different parts arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station
Downlink information receive after, handled to processor 110;In addition, up data are sent into base station.Generally, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating
Frequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, WCDMA), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, FDD Long Term Evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user's transmitting-receiving electricity by WiFi module 102
Sub- mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 1 shows
Go out WiFi module 102, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal, completely can be according to need
To be omitted in the essential scope for do not change invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 1 00
When under the isotypes such as formula, speech recognition mode, broadcast reception mode, it is that radio frequency unit 101 or WiFi module 102 are received or
The voice data stored in memory 109 is converted into audio signal and is output as sound.Moreover, audio output unit 103
The audio output related to the specific function that mobile terminal 1 00 is performed can also be provided (for example, call signal receives sound, disappeared
Breath receives sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..
A/V input blocks 104 are used to receive audio or video signal.A/V input blocks 104 can include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042,1041 pairs of graphics processor is in video acquisition mode
Or the view data progress of the static images or video obtained in image capture mode by image capture apparatus (such as camera)
Reason.Picture frame after processing may be displayed on display unit 106.Picture frame after being handled through graphics processor 1041 can be deposited
Storage is transmitted in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio (voice) data after processing can
To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model.
Microphone 1042 can implement various types of noises and eliminate (or suppression) algorithm to eliminate (or suppression) in reception and send sound
The noise produced during frequency signal or interference.
Mobile terminal 1 00 also includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity transducer can close when mobile terminal 1 00 is moved in one's ear
Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axles) size of acceleration, size and the direction of gravity are can detect that when static, the application available for identification mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
The other sensors such as hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can be wrapped
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal
The key signals input that family is set and function control is relevant.Specifically, user input unit 107 may include contact panel 1071 with
And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation of the user on or near it
(such as user is using any suitable objects such as finger, stylus or annex on contact panel 1071 or in contact panel 1071
Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, touch detecting apparatus detects the touch orientation of user, and detects touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
It is converted into contact coordinate, then gives processor 110, and the order sent of reception processing device 110 and can be performed.In addition, can
To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can be wrapped
Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, with preprocessor 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel
1061 be input and the output function that mobile terminal is realized as two independent parts, but in certain embodiments, can
By contact panel 1071 and the input that is integrated and realizing mobile terminal of display panel 1061 and output function, not do specifically herein
Limit.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 1 00.For example,
External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing
Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 1 00 or can be with
For transmitting data between mobile terminal 1 00 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area
And storage data field, wherein, application program (the such as sound that storing program area can be needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data field can be stored uses created data (such as according to mobile phone
Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, it can also include non-easy
The property lost memory, for example, at least one disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection
Individual part, by operation or performs and is stored in software program and/or module in memory 109, and calls and be stored in storage
Data in device 109, perform the various functions and processing data of mobile terminal, so as to carry out integral monitoring to mobile terminal.Place
Reason device 110 may include one or more processing units;It is preferred that, processor 110 can integrated application processor and modulatedemodulate mediate
Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main
Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 1 00 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put
The function such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 1 00 can also will not be repeated here including bluetooth module etc..
For the ease of understanding the embodiment of the present invention, the communications network system that the mobile terminal of the present invention is based on is entered below
Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system
Unite as the LTE system of universal mobile communications technology, UE (User Equipment, use of the LTE system including communicating connection successively
Family equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS lands
Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation
204。
Specifically, UE201 can be above-mentioned terminal 100, and here is omitted.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connected with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide UE201 to EPC203 access.
EPC203 can include MME (Mobility Management Entity, mobility management entity) 2031, HSS
(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and
Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and
There is provided carrying and connection management for the control node of signaling between EPC203.HSS2032 is all to manage for providing some registers
Such as function of attaching position register (not shown) etc, and some are preserved about the use such as service features, data rate
The special information in family.All customer data can be transmitted by SGW2034, and PGW2035 can provide UE 201 IP
Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources
Point, it selects and provided available strategy and charging control decision-making with charge execution function unit (not shown) for strategy.
IP operation 204 can include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia
System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And following new network system etc., do not limit herein.Based on above-mentioned mobile terminal hardware configuration and communications network system, carry
Go out the inventive method each embodiment.
Embodiment one
The embodiment of the present invention provides a kind of data transmission method, and Fig. 3 is a kind of data transfer provided in an embodiment of the present invention
The implementation process schematic diagram of method, as shown in figure 3, the described method comprises the following steps:
Step S301, when the electricity of itself is less than the first preset value, obtains the first configuration information and to be transmitted of itself
The attribute information of data.
Here, step S301 obtains the first configuration information of itself and treated when the electricity of itself is less than the first preset value
The attribute information of transmission data can be realized by terminal, it is possible to further be mobile terminal, for example, can be mobile
Phone (mobile phone), iPad, notebook, wearable intelligent wrist-watch etc. have the mobile terminal of wireless communication ability, can also be not
Just the terminal device with computing function moved, such as desktop computer etc..
First preset value can be that terminal is set when dispatching from the factory by production firm or by user according to certainly
What the demand of body was set.Such as, the capacity of end cell is 2500 milliamperes (mA), and the first preset value could be arranged to battery capacity
20%, that is to say, that the first preset value be 500mA.
First configuration information can be the configuration information of the processor of itself, such as described first configuration information can be with
But it is not limited to include the frequency of processor, memory size.The attribute information of the data to be transmitted includes but is not limited to:It is to be transmitted
Size, the coded system of data.
In embodiments of the present invention, before two terminal transmission datas, the electricity of itself can be detected by sending the terminal of data,
And judge whether the electricity of itself is less than default threshold value (namely the first preset value), it is less than the first preset value in self electric quantity
When enter step S301.
Step S302, determines to transmit the data need according to first configuration information and the attribute information of data to be transmitted
The electricity size wanted.
Here it is possible to calculate or match transmission according to first configuration information and the attribute information of data to be transmitted
The size for the electricity that the data need.
In actual implementation process, step S302 can be realized by following two modes:
First way:Calculated according to the attribute information of first configuration information and data to be transmitted according to preset algorithm
Transmit the electricity size that the data need;
The second way:According to matching somebody with somebody that first configuration information and the lookup of the attribute information of data to be transmitted are prestored
The mapping table of the electricity size of confidence breath, the attribute information of data and needs determines that the electricity that the transmission data need is big
It is small.
The mapping table of the electricity size of the configuration information, the attribute information of data and needs can be the life of terminal
The configuration information of terminal that is used when producing manufacturer according to existing historic transmission data and transmit data attribute information and
Transmit the electricity foundation of these data needs.Such as use the terminal transmission 10M sizes of processor frequencies 1GHz, coded format
The electricity needed for GB2312 data is 50mA, then this corresponding relation can be stored in relativity table.
Step S303, is asked to itself setting up the terminal being connected transmission first, wherein, carried in first request
The electricity size needed.
Here, described first the terminal for asking to be connected with itself is asked to send the electricity required for transmission data.
In embodiments of the present invention, first will be referred to as the terminal of executive agent, that is, the terminal of transmission data
Terminal, the terminal that will be connected with itself foundation, that is, the terminal of reception data are referred to as second terminal.
After second terminal receives first request, the described first request is parsed, obtaining first terminal needs
The electricity wanted.To first terminal send electricity before, second terminal firstly the need of confirm the electricity of itself how much, and judge from
Whether the current electricity of body is higher than a default threshold value, when the current electricity of second terminal itself is higher than default threshold value
When, second terminal sends electricity to first terminal.
The default threshold value can just be set by the production firm of second terminal when dispatching from the factory, and immobilize
Or be configured according to the actual conditions of itself by user.The battery capacity of such as second terminal is 3000mA,
The threshold value can be the 70% of battery capacity, that is, 2100mA.That is, when the electricity of second terminal is more than 2100mA
Shi Caihui sends electricity to first terminal.
At present, have been realized in realizing power transmission by wireless technologys such as wifi, bluetooths.Fig. 4 is real for the present invention
The composition structural representation that example carries out the terminal of charge transport is applied, as shown in figure 4, terminal 401 and 402 all includes radio-circuit,
The circuit 411 of such as terminal 401 and the circuit 421 of terminal 402.Terminal 401 includes one or more antennas such as antenna 412.
Each antenna in antenna 412 can be coupled to the respective branch 413 of the radio-circuit between circuit 411 and antenna 412.Each
Circuit branch 413 may include in adjustable circuit 414 a corresponding adjustable circuit (for example, for the branch upload
The signal passed enters the adjustable circuit of line phase and/or amplitude regulation).Terminal 402 may include via wireless path 406 and one
Or multiple antennas 412 exchange one or more antennas such as antenna 422 of wireless power signal and/or wireless communication signals.My god
Each antenna in line 422 can be coupled to the respective branch 423 of the radio-circuit between radio-circuit 421 and the antenna 422.
Each circuit branch 413 may include a corresponding adjustable circuit in adjustable circuit 414 (for example, in the branch
The signal of upper transmission enters the adjustable circuit of line phase and/or amplitude regulation).By using adjustable circuit such as circuit 414
Circuit with 424 is adjusted to enter line phase and/or amplitude, and the aerial array of terminal 401 and/or 402 can be used for performing and nothing
The transmitting of line signal and/or the associated beam steering operation of reception.Beam steering operation can be for example performed dynamically, with true
Protect wireless power transmission operation or wireless communication operation passage path 406 is performed efficiently, even if terminal 401 and 402 is relative
In each other with surrounding environment move.
During wireless power transmission is operated, in the circuit 411 in the terminal 401 and circuit in terminal 402
Wireless power transmission circuit in 421 can be used for transmitting electric power between devices.Electricity can be used in first equipment such as terminal 401
Road 411, circuit 414 and the passage path 106 of antenna 412 are wirelessly transferred to electric power.Second equipment such as terminal 402 can make
Transmitted wireless power is received with antenna 422, circuit 424 and circuit 421.
During radio communication (for example, communication in extremely high frequency or other suitable frequencies), terminal 401 can lead to
Path 106 is crossed by transmission of wireless signals to terminal 402.Terminal 401 can be for example using circuit 411, adjustable circuit 414 and day
Line 412 transmits the wireless communication signals wireless communication signals using antenna 422, adjustable circuit 424 and circuit 421 by terminal
402 receive.
By above-mentioned technology, second terminal can send electricity to first terminal.
Step S304, controls the radio-circuit module of itself to receive the electricity that the terminal is sent.
Here, using the existing technology that power transmission is carried out by network, the radio-circuit module of itself can be controlled
Receive the electricity sent eventually.
Step S305, the data are sent to the terminal.
Explanation is needed exist for, it can be controlled certainly in step S304 that step S305 sends the data to the terminal
The radio-circuit module of body is performed after receiving the electricity completion that the terminal is sent, and itself can also be controlled with step S304
The electricity that radio-circuit module receives the terminal transmission is performed simultaneously.
In other embodiments of the present invention, first is sent in the step S303 terminals being connected to setting up with itself to ask
The step of before, methods described also includes:Judge whether the electricity size for transmitting the data needs is more than the 3rd preset value, its
In, if the electricity size for transmitting the data needs is more than the 3rd preset value, into step S303;If transmission is described
The electricity size that data need is not less than the 3rd preset value, into step S304.
It should be noted that the 3rd preset value is much smaller than first preset value, such as the first preset value is 500mA
When, the 3rd preset value is probably 15mA, or smaller, that is to say, that if the electricity very little that data to be transmitted needs, that
Avoid the need for carrying out the transmission of electricity, directly transmit data.
The attribute information of the data to be transmitted at least includes the size of data to be transmitted, in other embodiments, in institute
State when the electricity of itself is less than the first preset value, obtain itself first configuration information and data to be transmitted attribute information
After step, methods described also includes:
If the size of data to be transmitted be more than the 4th preset value, determine itself and with itself set up be connected terminal away from
From;
If itself and the distance with itself setting up the terminal being connected determine itself and built with itself less than the 5th preset value
First connected mode of the terminal of vertical connection;
If first connected mode is default connected mode, by itself with the terminal according to the second connected mode
Set up connection.
That is, when data to be transmitted than it is larger when, e.g. 100Mb (assuming that the 4th preset value be 50Mb), then
Can judge whether the distance of two terminals carried out data transmission is less than a threshold value, if the distance of two terminals be 5 meters (assuming that
5th preset value is 10 meters), the connected mode of two terminals is now can determine whether, if the data cube computation of two terminals is by base station
Set up, then the larger data of transmission are certain to expend many data traffics, can be two when two terminals are closer to the distance
Individual terminal sets up bluetooth connection.
A kind of data transmission method that embodiments of the invention are provided, first when the electricity of itself is less than the first preset value
When, obtain itself the first configuration information and data to be transmitted attribute information;Then according to first configuration information and treating
The attribute information for transmitting data determines the electricity size that the transmission data need, and the terminal being connected to being set up with itself is sent
First request, wherein, carry electricity size in need in first request;The radio-circuit module of itself is controlled to receive again
The electricity that the terminal is sent;The data are sent to the terminal, in this way, working as the electricity of itself in the process carried out data transmission
A part of electricity can be sent to other side's request when amount is not enough, to ensure that data transfer can be completed, realized in information transfer
During can not only transmit data, additionally it is possible to transmission energy, thus avoid carry out information transfer during because of end
End not enough power supply causes information transfer to fail, and then improves the success rate of information transfer.
Embodiment two
Based on foregoing embodiment, the embodiment of the present invention provides a kind of data transmission method again, applied to terminal, the terminal
At least include radio-circuit, the described method comprises the following steps:
Step 21, first terminal is detected after the operational order for sending data, obtains the current electric quantity of itself.
Here, the operational order is the operational order that user sends, for example, it may be default certain gestures are (upper to slide
Gesture), it can also be default phonetic order.
Step 22, the first terminal judges whether the current electric quantity of itself is less than the first preset value.
Here, first preset value can be that terminal is set when dispatching from the factory by production firm or by user
Set according to the demand of itself.
In embodiments of the present invention, if the first terminal current electric quantity of itself is less than first preset value, enter
Enter step 23;If the first terminal current electric quantity of itself is not less than first preset value, into step 221.
Step 23, the first terminal obtain itself the first configuration information and data to be sent attribute information.
Step 24, the first terminal determines to send according to first configuration information and the attribute information of data to be sent
The electricity size that the data need.
In embodiments of the present invention, first terminal described in the first terminal is according to first configuration information and to be sent
The attribute information determination of data can export a prompt message after sending the electricity size that the data need, and Fig. 5 is this hair
The interface schematic diagram of first terminal before bright embodiment carries out data transmission, as shown in figure 5, carrying shown in first terminal output 501
Show information, point out user's current residual electricity and send the electricity that data need, and ask user to choose whether that request sends electricity
Amount, enters step 25 after user clicks on "Yes" button.
Step 25, the second terminal that the first terminal is connected to being set up with itself, which sends first, asks.
Here, described first ask for asking to send the electricity that transmission data need, and institute to the second terminal
State and electricity size in need is carried in the first request.
Step 26, the second terminal receives and parses through first request, the electricity size needed.
Step 27, the second terminal sends the 3rd to the first terminal and asked.
Here, the second configuration information of the second terminal is carried in the 3rd request, the described 3rd asks to be used for
The first terminal is asked to determine that the second terminal receives the electricity that data to be sent need according to second configuration information
Measure size.
Step 28, the first terminal receives and parses through the 3rd request, obtains second configuration information.
Step 29, the first terminal is according to being determined second configuration information and the attribute information of data to be sent
Second terminal receives the electricity size that the data need.
Here, the step 29 can be realized by following two modes:
First way:Calculated according to the attribute information of second configuration information and data to be transmitted according to preset algorithm
The second terminal receives the electricity size that the data need;
The second way:According to matching somebody with somebody that second configuration information and the lookup of the attribute information of data to be transmitted are prestored
The mapping table of the electricity size of confidence breath, the attribute information of data and needs determines that the second terminal receives the data
The electricity size needed.
Step 210, the first terminal sends first to the second terminal and responded.
Here, first response is the response message for the described 3rd request.Carried in first response
State second terminal and receive the electricity size that the data need.
Step 211, the second terminal receives and parses through first response, obtains itself receiving the electricity that data need
Size.
Here, the second terminal determine itself receive data need electricity size be in order to determine if by first eventually
The electricity size that end needs is sent to after first terminal, and whether the electricity of self residual enough receives the data, if described the
Two terminals send out after the electricity of first terminal needs remaining not enough power supply to receive the data, then also result in transmission
Data failure.
Step 212, the second terminal judges the difference for the electricity that itself current electricity needs with the first terminal
Whether it is more than and itself receives the electricity size that data need.
Here, if the difference for the electricity that the current electricity of the second terminal itself needs with the first terminal is more than
Itself receives the electricity size that data need, then even if it is surplus after the electricity of first terminal needs to illustrate that second terminal is sent out
Remaining electricity can ensure that itself can receive data, now into step 213, if the current electricity of the second terminal itself
The electricity size that the difference for the electricity that amount needs with the first terminal is not more than itself reception data needs enters step 214.
Fig. 6 is the interface schematic diagram of second terminal before the embodiment of the present invention carries out data transmission, if as shown in fig. 6, institute
The difference for stating the electricity that the current electricity of second terminal itself needs with the first terminal is more than what itself reception data needed
Electricity size, the prompt message shown in second terminal output 601 points out user's current residual electricity, receives the electricity of data consumption
Amount and the electricity sent to first terminal, ask user to determine whether that first terminal is sent, the "Yes" in Fig. 6 are clicked on as user
Enter step 213 after button.
Step 213, the second terminal controls the radio-circuit of itself to send the electricity needed to the first terminal.
Step 214, the second terminal is determined to the electricity size sent to first terminal.
Here, the second terminal according to itself current electricity and itself receive data need electricity be determined to
The electricity size that first terminal is sent, i.e. the current electricity of the electricity size second terminal itself that can be sent to first terminal
Amount, which is subtracted, itself receives the difference that the electricity of data needs is obtained.
Step 215, the second terminal sends first message to the first terminal.
Here, the electricity size of first terminal can be sent to by the second terminal being carried in the first message.
Step 216, the first terminal receives and parses through first message, and itself can be sent to by obtaining the second terminal
Electricity size.
Step 217, the first terminal judge that itself current electric quantity and the second terminal can send electricity and
Whether it is more than and itself sends the electricity size that the data need.
Here, if can send electricity of itself current electric quantity of the first terminal and the second terminal and be more than
Itself sends the electricity size that the data need, then into step 218;If itself current electric quantity of the first terminal and institute
The electricity size electricity that second terminal can be sent and that no more than itself transmission data needs is stated, then terminates flow.
Fig. 7 is the another interface schematic diagram of first terminal before the embodiment of the present invention carries out data transmission, as shown in fig. 7, working as
If it is electricity and described more than itself transmission that itself current electric quantity of the first terminal and the second terminal can be sent
The electricity size that data need, second terminal can export the prompt message shown in 701, point out user's current residual electricity, send
The electricity that the electricity and other side that data need can be sent, asks user to determine whether that second terminal sends the second message, when
User, which clicks on, enters step 218 after the "Yes" button in Fig. 7.
Step 218, the first terminal sends the second message to the second terminal.
Here, second message is used to notify the second terminal to send the electricity that the second terminal can be sent.
Step 219, the second terminal is received after the second message, controls the radio-circuit of itself to the first terminal
Send the electricity that the second terminal can be sent.
Step 220, the first terminal controls the radio-circuit of itself to receive the electricity that the second terminal is sent.
Step 221, the first terminal sends data to the second terminal.
It should be noted that be may be referred in the present embodiment with the explanation of same steps in other embodiments or concept other
Description in embodiment.
The embodiment of the present invention provides a kind of data transmission method, wherein, detect user in first terminal and send transmission number
According to operational order after, first confirm that whether the electricity of itself is less than the first preset value, if the electricity of itself be less than it is first pre-
If value, it is determined that itself send the electricity size that data need, and the electricity size of needs is carried on into transmission in the first request
To second terminal, second terminal now it needs to be determined that itself receive data need electricity size, and ensure electricity is sent
It is enough to the dump energy after first terminal on the premise of receiving data, controls the radio-circuit of itself to be sent to first terminal,
First terminal controls the radio-circuit of itself to receive the electricity that second terminal is sent, and sends data to second terminal, so, hair
Send and ensure that the electricity of first terminal is enough to support before data and send out data, and the electricity of second terminal is also enough to support to connect
Data are received, the success rate of transmission data is improved.
Embodiment three
Based on foregoing embodiment, the embodiment of the present invention provides a kind of data transmission method again, and the data transmission method should
For terminal, the terminal at least includes that the radio-circuit of electricity can be transmitted.Fig. 8 is another number provided in an embodiment of the present invention
According to transmission method, as shown in figure 8, the described method comprises the following steps:
Step S801, first terminal is detected after the operational order for sending data, and the 3rd message is sent to second terminal.
Here, the 3rd message is to be used to notify the second terminal to send data to second terminal.
Step S802, the second terminal is received after the 3rd message, judges whether the electricity of itself is preset less than first
Value.
Here, if the second terminal electricity of itself is less than first preset value, into step S803;If institute
The electricity for stating second terminal itself is not less than first preset value, into step S8XX.
Step S803, the second terminal sends second to the first terminal and asked.
Here, described second ask to be used to send in electricity, and the second request to first terminal request to carry described the
Second configuration information of two terminals and the current electric quantity of the second terminal.
Step S804, the first terminal is received after the second request, judges whether the electricity of itself is more than second and presets
Value.
Here, if the first terminal electricity of itself is more than the second preset value, into step S805;If described
The one terminal electricity of itself is not more than the second preset value, terminates flow.
Step S805, the first terminal determines according to the attribute information of second configuration information and data to be transmitted
Two terminals receive the electricity size that the data need;
Here, the step S805 can be realized by following two modes:
First way:Calculated according to the attribute information of second configuration information and data to be transmitted according to preset algorithm
The second terminal receives the electricity size that the data need;
The second way:According to matching somebody with somebody that second configuration information and the lookup of the attribute information of data to be transmitted are prestored
The mapping table of the electricity size of confidence breath, the attribute information of data and needs determines that the second terminal receives the data
The electricity size needed.
Step S806, the first terminal is determined according to the first configuration information of itself and the attribute information of data to be transmitted
The first terminal transmits the electricity size that the data need.
Step S807, the first terminal judge the electricity of itself with transmit the electricity that the data need difference whether
More than the electricity for receiving the data needs.
Here, if the first terminal electricity of itself is more than reception with transmitting the difference for the electricity that the data need
During the electricity that the data need, into step S808;If the first terminal electricity of itself is needed with transmitting the data
When the difference for the electricity wanted is not more than the electricity for receiving the data needs, into step S809.
Step S808, the first terminal controls the radio-circuit module of itself to be sent to the second terminal and receives described
The electricity that data need.
Step S809, the electricity that the first terminal needs according to itself electricity and self transmission data be determined to
The electricity size that second terminal is sent.
Step S810, the first terminal judges the electricity for the electricity and second terminal itself that can be sent to second terminal
And whether be more than and receive the electricity that the data need.
Here, if the electricity that can be sent to second terminal of the first terminal and the electricity of second terminal itself and
More than the electricity that the data need is received, into step S811;If what the first terminal can be sent to second terminal
The electricity that is electricity and no more than receiving the data needs of electricity and second terminal itself, terminates flow.
Step S811, the first terminal, which controls the radio-circuit module of itself to be sent to the second terminal, to be sent
Electricity.
Step S812, the first terminal sends the data to the second terminal.
In data transmission method provided in an embodiment of the present invention, first terminal first detects user and sends transmission data
After operational order, the 3rd message is sent to second terminal.The second terminal is received after the 3rd message, judges the electricity of itself
Whether the first preset value is less than, if the second terminal electricity of itself is less than first preset value, the second terminal
The second request that request sends electricity is sent to the first terminal;The first terminal determines that first terminal transmits data respectively
The electricity needed and the second terminal receive the electricity that data need, and subtract second terminal in the electricity of first terminal itself
The dump energy after the electricity that data need is received to be enough to support the electricity of itself for sending data and second terminal to add first
Terminal send electricity be enough to support received data on the premise of carry out data transmission, it is ensured that the success rate of data transfer.
Example IV
The embodiment of the present invention provides a kind of terminal, and Fig. 9 shows for a kind of composition structure of terminal provided in an embodiment of the present invention
It is intended to, as shown in figure 9, the terminal 900 at least includes:Processor 901, memory 902, communication bus 903 and radio-circuit
904, wherein:
The processor 901, the data distributing program stored for performing in memory, to realize following steps:
When the electricity of itself be less than the first preset value when, obtain itself the first configuration information and data to be transmitted attribute
Information;
Determined to transmit the electricity that the data need according to first configuration information and the attribute information of data to be transmitted
Size;
The terminal being connected to being set up with itself sends first and asked, wherein, carry electricity in need in first request
Measure size;
The radio-circuit module of itself is controlled to receive the electricity that the terminal is sent;
The data are sent to the terminal.
In other embodiments of the present invention, the processor 901, is additionally operable to perform the data transfer journey stored in memory
Sequence, to realize following steps:
When the electricity of itself is higher than the second preset value, receives and the second request that the terminal being connected is sent set up with itself,
Wherein, the second configuration information of the terminal is carried in second request;
Determine that the terminal receives the data need according to the attribute information of second configuration information and data to be transmitted
The electricity size wanted;
Control the radio-circuit module of itself to be sent to the terminal and receive the electricity that the data need;
The data are sent to the terminal.
In other embodiments of the present invention, the attribute information according to first configuration information and data to be transmitted is true
Surely the electricity size that the data need is transmitted, including:
Calculated according to first configuration information and the attribute information of data to be transmitted according to preset algorithm and transmit the number
According to the electricity size of needs;Or,
The configuration information prestored, data are searched according to first configuration information and the attribute information of data to be transmitted
Attribute information and the mapping table of the electricity size needed determine the electricity size that the transmission data need.
In other embodiments of the present invention, it is described to itself set up the step of terminal that be connected sends the first request it
Before, the processor 901 is additionally operable to perform the data distributing program stored in memory, to realize following steps:
Judge whether the electricity size for transmitting the data needs is more than the 3rd preset value, wherein, if transmitting the number
It is more than the 3rd preset value according to the electricity size of needs, is asked to itself setting up the terminal being connected transmission first.
In other embodiments of the present invention, the step of receiving electricity that the data need is sent to the terminal described
Before, the processor 901, is additionally operable to perform the data distributing program stored in memory, to realize following steps:
Judge the electricity of itself and transmit whether the difference for the electricity that the data need is more than the reception data needs
Electricity, wherein, receive what the data needed when the electricity of itself is more than with transmitting the difference for the electricity that the data need
During electricity, sent to the terminal and receive the electricity that the data need.
In other embodiments of the present invention, the attribute information of the data to be transmitted is at least big including data to be transmitted
It is small, accordingly, described when the electricity of itself is less than the first preset value, obtain the first configuration information and number to be transmitted of itself
According to attribute information the step of after, the processor 901 is additionally operable to perform the data distributing program that stores in memory, with
Realize following steps::
If the size of data to be transmitted be more than the 4th preset value, determine itself and with itself set up be connected terminal away from
From;
If itself and the distance with itself setting up the terminal being connected determine itself and built with itself less than the 5th preset value
First connected mode of the terminal of vertical connection;
If first connected mode is not default connected mode, by itself with the terminal according to default connection
Mode sets up connection.
The memory 902, for data storage transmission procedure;
The communication bus 903, for realizing the connection communication between processor and memory;
The radio-circuit module 904, for receiving or sending electricity.
Embodiment five
The embodiment of the present invention provides a kind of computer-readable recording medium, and the computer-readable recording medium storage has one
Individual or multiple programs, one or more of programs can be by one or more computing device, to realize following steps:
When the electricity of itself be less than the first preset value when, obtain itself the first configuration information and data to be transmitted attribute
Information;
Determined to transmit the electricity that the data need according to first configuration information and the attribute information of data to be transmitted
Size;
The terminal being connected to being set up with itself sends first and asked, wherein, carry electricity in need in first request
Measure size;
The radio-circuit module of itself is controlled to receive the electricity that the terminal is sent;
The data are sent to the terminal.
It should be noted that one or more program in the embodiment of the present invention is used when can be and carry out data transmission
Data distributing program.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property is included, so that process, method, article or device including a series of key elements not only include those key elements, and
And also including other key elements being not expressly set out, or also include for this process, method, article or device institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Also there is other identical element in process, method, article or the device of key element.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Understood based on such, technical scheme is substantially done to prior art in other words
Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are to cause a station terminal equipment (can be mobile phone, computer, clothes
It is engaged in device, air conditioner, or network equipment etc.) perform method described by each embodiment of the invention.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram are described.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which is produced, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair
Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of data transmission method, it is characterised in that methods described is applied to the terminal with radio-circuit module, the side
Method includes:
When the electricity of itself is less than the first preset value, obtains the first configuration information of itself and the attribute of data to be transmitted is believed
Breath;
Determined to transmit the electricity size that the data need according to first configuration information and the attribute information of data to be transmitted;
The terminal being connected to being set up with itself sends the first request for carrying electricity size in need;
The radio-circuit module of itself is controlled to receive the electricity that the terminal is sent;
The data are sent to the terminal.
2. method as described in claim 1, it is characterised in that methods described also includes:
When the electricity of itself is higher than the second preset value, receives and the second request that the terminal being connected is sent is set up with itself, wherein,
The second configuration information of the terminal is carried in second request;
Determine that the terminal receives what the data needed according to the attribute information of second configuration information and data to be transmitted
Electricity size;
Control the radio-circuit module of itself to be sent to the terminal and receive the electricity that the data need;
The data are sent to the terminal.
3. the method as described in claim 1 or 2, it is characterised in that described according to first configuration information and to be transmitted
The step of attribute information of data determines the electricity size of the transmission data needs includes:
Calculated according to first configuration information and the attribute information of data to be transmitted according to preset algorithm and transmit the data need
The electricity size wanted;Or,
Configuration information, the category of data prestored according to first configuration information and the lookup of the attribute information of data to be transmitted
Property information and the mapping table of the electricity size needed determine the electricity size that the transmission data need.
4. method as described in claim 1, it is characterised in that send first in the terminal being connected to being set up with itself
Before the step of request, methods described also includes:
Judge whether the electricity size for transmitting the data needs is more than the 3rd preset value, wherein, if transmitting the data needs
The electricity size wanted is more than the 3rd preset value, is asked to itself setting up the terminal being connected transmission first.
5. method as described in claim 2, it is characterised in that receive the data needs in described sent to the terminal
Electricity the step of before, methods described also includes:
Judge the electricity of itself and transmit whether the difference for the electricity that the data need is more than the electricity that the reception data need
Amount, wherein, receive the electricity that the data need when the difference of the electricity of itself and the electricity for transmitting the data needs is more than
When, sent to the terminal and receive the electricity that the data need.
6. method as described in claim 1, it is characterised in that the attribute information of the data to be transmitted at least includes to be passed
The size of transmission of data, accordingly, described when the electricity of itself is less than the first preset value, obtains the first configuration information of itself
After the step of with the attribute information of data to be transmitted, methods described also includes:
If the size of data to be transmitted is more than the 4th preset value, determines itself and the distance for the terminal being connected is set up with itself;
If itself and the distance with itself setting up the terminal being connected are less than the 5th preset value, determine itself and connect with itself foundation
First connected mode of the terminal connect;
If first connected mode is default connected mode, itself and the terminal are set up according to the second connected mode
Connection.
7. a kind of terminal, it is characterised in that the terminal at least includes:Radio-circuit module, processor, memory and communication are total
Line, wherein:
The radio-circuit module, for receiving or sending electricity;
The communication bus, for realizing the connection communication between processor and memory;
The memory, for data storage transmission procedure;
The processor, the data distributing program stored for performing in memory, to realize following steps:
When the electricity of itself is less than the first preset value, obtains the first configuration information of itself and the attribute of data to be transmitted is believed
Breath;
Determined to transmit the electricity size that the data need according to first configuration information and the attribute information of data to be transmitted;
The terminal being connected to being set up with itself sends first and asked, wherein, carry electricity in need in first request big
It is small;
The radio-circuit module of itself is controlled to receive the electricity that the terminal is sent;
The data are sent to the terminal.
8. terminal as described in claim 7, it is characterised in that the processor, is additionally operable to perform what is stored in memory
Data distributing program, to realize following steps:
When the electricity of itself is higher than the second preset value, receives and the second request that the terminal being connected is sent is set up with itself, wherein,
The second configuration information of the terminal is carried in second request;
Determine that the terminal receives what the data needed according to the attribute information of second configuration information and data to be transmitted
Electricity size;
Control the radio-circuit module of itself to be sent to the terminal and receive the electricity that the data need;
The data are sent to the terminal.
9. terminal as described in claim 7, it is characterised in that send first in the terminal being connected to being set up with itself
Before the step of request, the processor is additionally operable to perform the data distributing program stored in memory, to realize following step
Suddenly:
Judge whether the electricity size for transmitting the data needs is more than the 3rd preset value, wherein, if transmitting the data needs
The electricity size wanted is more than the 3rd preset value, is asked to itself setting up the terminal being connected transmission first.
10. a kind of computer-readable recording medium, it is characterised in that the data that are stored with the computer-readable recording medium are passed
Defeated program, realizes the data transfer as any one of claim 1 to 6 when the data distributing program is executed by processor
The step of method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710515615.1A CN107294227A (en) | 2017-06-29 | 2017-06-29 | A kind of data transmission method, terminal and computer-readable recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710515615.1A CN107294227A (en) | 2017-06-29 | 2017-06-29 | A kind of data transmission method, terminal and computer-readable recording medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107294227A true CN107294227A (en) | 2017-10-24 |
Family
ID=60099174
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710515615.1A Withdrawn CN107294227A (en) | 2017-06-29 | 2017-06-29 | A kind of data transmission method, terminal and computer-readable recording medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107294227A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112055340A (en) * | 2020-09-04 | 2020-12-08 | 深圳职业技术学院 | Terminal working mode adjusting method in Internet of things |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05130273A (en) * | 1991-10-31 | 1993-05-25 | Nec Corp | Request allocation multiple connection control system |
CN101471463A (en) * | 2007-12-29 | 2009-07-01 | 鸿富锦精密工业(深圳)有限公司 | Electronic device and charging method thereof |
CN102611786A (en) * | 2011-01-20 | 2012-07-25 | 纬创资通股份有限公司 | Mobile communication device and file transmission control method thereof |
-
2017
- 2017-06-29 CN CN201710515615.1A patent/CN107294227A/en not_active Withdrawn
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05130273A (en) * | 1991-10-31 | 1993-05-25 | Nec Corp | Request allocation multiple connection control system |
CN101471463A (en) * | 2007-12-29 | 2009-07-01 | 鸿富锦精密工业(深圳)有限公司 | Electronic device and charging method thereof |
CN102611786A (en) * | 2011-01-20 | 2012-07-25 | 纬创资通股份有限公司 | Mobile communication device and file transmission control method thereof |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112055340A (en) * | 2020-09-04 | 2020-12-08 | 深圳职业技术学院 | Terminal working mode adjusting method in Internet of things |
CN112055340B (en) * | 2020-09-04 | 2023-03-10 | 深圳职业技术学院 | Terminal working mode adjusting method in Internet of things |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107277216A (en) | A kind of volume adjusting method, terminal and computer-readable recording medium | |
CN107517494A (en) | A kind of display methods of terminal battery electricity quantity, terminal and computer-readable recording medium | |
CN107463481A (en) | Data interactive method, mobile terminal and storage medium | |
CN107527200A (en) | A kind of payment management method, mobile terminal and computer-readable recording medium | |
CN107314774A (en) | A kind of digital map navigation method, equipment and computer-readable recording medium | |
CN107528369A (en) | Terminal and its wireless charging control method, computer-readable recording medium | |
CN107844333A (en) | One kind applies method for cleaning, mobile terminal and computer-readable recording medium | |
CN107340833A (en) | Terminal temperature control method, terminal and computer-readable recording medium | |
CN107613489A (en) | A kind of wireless charging method, hotspot equipment, terminal and storage medium | |
CN107580359A (en) | Hotspot sharing method, mobile terminal and computer-readable recording medium | |
CN107181700A (en) | Control method, mobile terminal and the storage medium of application program for mobile terminal | |
CN107749919A (en) | A kind of application program page display method and equipment | |
CN107580350A (en) | A kind of signal intensity switching method, equipment and computer-readable recording medium | |
CN107728838A (en) | A kind of terminal display management method, mobile terminal and computer-readable recording medium | |
CN107172605A (en) | A kind of Emmergency call method, mobile terminal and computer-readable recording medium | |
CN107506039A (en) | Mobile terminal, data transmission method and computer-readable storage medium | |
CN107390856A (en) | A kind of method, mobile terminal and storage medium for reducing mobile terminal power consumption | |
CN107276991A (en) | Load method, equipment and the computer-readable recording medium of Web page | |
CN107766088A (en) | Interface optimization method, system and computer-readable recording medium | |
CN107706981A (en) | A kind of wireless charging method and wireless charging device | |
CN107659344A (en) | Antenna handover trigger control method, communication terminal and computer-readable storage medium | |
CN107423065A (en) | Method, mobile terminal and the computer-readable recording medium that a kind of application is attended to anything else | |
CN108449736A (en) | A kind of data transmission method, terminal and computer readable storage medium | |
CN107580357A (en) | Limitation communication means, equipment and the computer-readable storage medium of a kind of black list user | |
CN108040116A (en) | Information push method, router and computer-readable recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20171024 |
|
WW01 | Invention patent application withdrawn after publication |