CN110392364A - Data transmission method, device, storage medium and electronic equipment - Google Patents
Data transmission method, device, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN110392364A CN110392364A CN201810350125.5A CN201810350125A CN110392364A CN 110392364 A CN110392364 A CN 110392364A CN 201810350125 A CN201810350125 A CN 201810350125A CN 110392364 A CN110392364 A CN 110392364A
- Authority
- CN
- China
- Prior art keywords
- terminal
- data transmission
- wireless
- data
- wireless data
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/70—Services for machine-to-machine communication [M2M] or machine type communication [MTC]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
Abstract
This application discloses a kind of data transmission method, device, storage medium and electronic equipments.The data transmission method includes: to obtain the target data for needing to transmit when needing the data by first terminal to be transferred to second terminal;Foundation is connect with the wireless data transmission of the second terminal;Pass through wireless data transmission unit, the target data is transmitted to the second terminal by the first terminal, the first terminal and the second terminal all have the wireless data transmission unit, which is the wireless near field communication unit based on high carrier frequency.The data transmission bauds between terminal can be improved in the application.
Description
Technical field
The application belongs to field of communication technology more particularly to a kind of data transmission method, device, storage medium and electronics are set
It is standby.
Background technique
With the continuous development of technology, the update of terminal device is getting faster, and user often eliminates old terminal, and
Use new terminal.When user replaces new terminal, generally require on the Data Migration to new terminal in old terminal, i.e., terminal it
Between need to carry out data transmission.However, since the data stored in terminal are more and more, in the related technology, data transmission bauds
It is lower.
Summary of the invention
The embodiment of the present application provides a kind of data transmission method, device, storage medium and electronic equipment, and terminal can be improved
Between data transmission bauds.
The embodiment of the present application provides a kind of data transmission method, comprising:
When needing the data by first terminal to be transferred to second terminal, the target data for needing to transmit is obtained;
Foundation is connect with the wireless data transmission of the second terminal;
By wireless data transmission unit, the target data is transmitted to the second terminal by the first terminal,
The first terminal and the second terminal all have the wireless data transmission unit, and the wireless data transmission unit is base
In the wireless near field communication unit of high carrier frequency.
The embodiment of the present application provides a kind of data transmission device, comprising:
Module is obtained, for obtaining the mesh for needing to transmit when needing the data by first terminal to be transferred to second terminal
Mark data;
Link block is connect for establishing with the wireless data transmission of the second terminal;
Transmission module, for by wireless data transmission unit, the target data to be transmitted to by the first terminal
The second terminal, the first terminal and the second terminal all have the wireless data transmission unit, the no line number
It is the wireless near field communication unit based on high carrier frequency according to transmission unit.
The embodiment of the present application provides a kind of storage medium, is stored thereon with computer program, when the computer program exists
When being executed on computer, so that the computer executes the step in data transmission method provided by the embodiments of the present application.
The embodiment of the present application also provides a kind of electronic equipment, including memory, and processor, the processor is by calling institute
The computer program stored in memory is stated, for executing the step in data transmission method provided by the embodiments of the present application.
It is understood that in the present embodiment, since the data transmission between first terminal and second terminal is to pass through base
It is completed in the wireless near field communication unit of high carrier frequency, and the wireless near field communication unit based on high carrier frequency
Its message transmission rate is high, therefore the data transmission bauds between terminal can be improved in the present embodiment.
Detailed description of the invention
With reference to the accompanying drawing, by the way that detailed description of specific embodiments of the present invention, technical solution of the present invention will be made
And its advantages are apparent.
Fig. 1 is the flow diagram of data transmission method provided by the embodiments of the present application.
Fig. 2 is another flow diagram of data transmission method provided by the embodiments of the present application.
Fig. 3 to Fig. 5 is the schematic diagram of a scenario of data transmission method provided by the embodiments of the present application.
Fig. 6 is the structural schematic diagram of data transmission device provided by the embodiments of the present application.
Fig. 7 is another structural schematic diagram of data transmission device provided by the embodiments of the present application.
Fig. 8 is the structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Fig. 9 is another structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Specific embodiment
Schema is please referred to, wherein identical component symbol represents identical component, the principle of the present invention is to implement one
It is illustrated in computing environment appropriate.The following description be based on illustrated by the specific embodiment of the invention, should not be by
It is considered as the limitation present invention other specific embodiments not detailed herein.
Referring to Fig. 1, Fig. 1 is the flow diagram of data transmission method provided by the embodiments of the present application.It is understood that
It is that the executing subject of the embodiment of the present application can be first terminal, and the first terminal can be such as smart phone or plate
The equipment of computer etc..The process of data transmission method provided in this embodiment may include:
In step s101, when needing the data by first terminal to be transferred to second terminal, the mesh for needing to transmit is obtained
Mark data.
With keeping updating for technology, user often eliminates old terminal, and uses new terminal.When user more renews
When terminal, generally require to need to carry out data transmission between terminal on the Data Migration to new terminal in old terminal.It is this
Data transmission is normally referred to as data removal of home.In the related technology, can by bluetooth connection or establish the connection of personal hot spot come
Realize data removal of home.However, in the related technology, the speed of data transmission is still lower, for example moves to the data of 30G or so
It moves and probably needs 10 to 20 minutes.
In the step S101 of the embodiment of the present application, for example, when needing the data of first terminal being transferred to second terminal
When, first terminal can first obtain the target data for needing to transmit.
For example, first terminal is the old terminal that user uses before, second terminal is the new terminal of user's purchase.User needs
The data of first terminal are transferred to second terminal, first terminal can first obtain the target data for needing to transmit at this time.
In step s 102, it establishes and is connect with the wireless data transmission of the second terminal.
In step s 103, by wireless data transmission unit, by the target data by the first terminal be transmitted to this
Two terminals, the first terminal and the second terminal all have the wireless data transmission unit, which is base
In the wireless near field communication unit of high carrier frequency.
For example, step S102 and S103 may include:
After first terminal gets the target data for needing to be transferred to second terminal, first terminal can pass through no line number
According to transmission unit, foundation is connect with the wireless data transmission of second terminal.
In the present embodiment, first terminal and second terminal all have above-mentioned wireless data transmission unit.Wherein, this is wireless
Data transmission unit is the wireless near field communication unit based on high carrier frequency.
In one embodiment, above-mentioned wireless data transmission unit can be integrated circuit (Integrated
Circuit, IC) chip.Extremely high frequency (Extremely high frequency, EHF) is packaged in the IC chip
Antenna, so that height can be realized based on high carrier frequency (for example, 60GHz) between the terminal of the IC chip by making to be equipped with
The data of speed are wirelessly transferred (for example, the transmission speed for reaching as high as 6GB/s).In one embodiment, it is integrated that this is installed
The wireless transmission of data can be realized between the terminal of circuit chip by electromagnetic signal.
It is understood that the wireless near field communication based on high carrier frequency has low-power consumption, small in size, transmission rate
Fastly, the advantages that non-contact transmission, the function of pluging and playing module can also be realized, the signal integrity that can be greatly improved, branch
It holds more flexible system to realize, reduces stand-by power consumption, increase the safety of amplitude of bandwidth and data transmission, it is compatible to high-speed video
The features such as support of signal.
It should be noted that high carrier frequency can be that by the carrier frequency of the data wireless transmission of high speed.It is high
Carrier frequency can be some specific carrier frequency, be also possible to a carrier wave frequency range, such as 30GHz-300GHz, the application
Embodiment is not specifically limited in this embodiment.In one embodiment, which can be 60GHz.
In one embodiment, the above-mentioned IC chip for being packaged with extremely high frequency antenna can be independent data and pass
Defeated chip is also possible to together with other integrated chips in terminal.
After setting up wireless data transmission connection between first terminal and second terminal, first terminal can be by wireless
Target data is transmitted to second terminal by data transmission unit, to complete data transmission.
It is understood that in the present embodiment, since the data transmission between first terminal and second terminal is to pass through base
It is completed in the wireless near field communication unit of high carrier frequency, and the wireless near field communication unit based on high carrier frequency
Its message transmission rate is high, therefore the data transmission bauds between terminal can be improved in the present embodiment.
Referring to Fig. 2, Fig. 2 is another flow diagram of data transmission method provided by the embodiments of the present application, process can
To include:
In step s 201, when needing the data by first terminal to be transferred to second terminal, first terminal, which obtains, to be needed
The target data of transmission.
For example, user has purchased a new equipment, for example, second terminal, and the used equipment that user uses before is, for example,
First terminal.User needs all data that will be stored in first terminal to be transferred to second terminal now.That is, when needing first
When the data of terminal are transferred to second terminal, first terminal can first obtain the target data for needing to transmit.
In step S202, first terminal obtains the storage total capacity and residual storage capacity of second terminal.
In step S203, first terminal calculates the ratio that the residual storage capacity accounts for the storage total capacity.
For example, step S202 and S203 may include:
After getting target data, the storage total capacity of the available second terminal of first terminal and remaining storage are held
Amount.
It should be noted that in one embodiment, above-mentioned storage total capacity can refer to the stored memory of terminal
(ROM) capacity, and residual storage capacity can refer to the capacity of the current unappropriated stored memory (ROM) of terminal.
After the storage total capacity and residual storage capacity for getting second terminal, first terminal can calculate second end
The residual storage capacity at end accounts for its percentage for storing total capacity.
After the residual storage capacity for obtaining second terminal accounts for its percentage for storing total capacity, first terminal be can detecte
Whether the percentage reaches preset percentage value.
If detecting, the percentage is not up to preset percentage value, then first terminal can execute other operations, such as
Target data is transferred to second terminal by way of bluetooth connection.
If detecting, the percentage reaches preset percentage value, then entering step in S204.
In step S204, if the ratio reaches preset percentage value, first terminal passes through wireless data transmission unit
Foundation is connect with the wireless data transmission of second terminal, and the first terminal and the second terminal all have wireless data transmission list
Member, the wireless data transmission unit are the wireless near field communication unit based on high carrier frequency.
For example, in general, there is no other users data in new equipment other than system data.Therefore it is remained in new equipment
It is bigger that remaining memory capacity accounts for its percentage for storing total capacity.Therefore, when the residual storage capacity for detecting second terminal accounts for
When its percentage for storing total capacity reaches preset percentage value, it is believed that second terminal is a new equipment, it can
Think that second terminal is the new equipment short using the time.In such a case, it is possible to think that user is currently at data removal of home
In application scenarios.
At this point, first terminal can be established and be connected with the wireless data transmission of second terminal by wireless data transmission unit
It connects.Wherein, in the present embodiment, the first terminal and the second terminal all have wireless data transmission unit, the wireless data
Transmission unit is the wireless near field communication unit based on high carrier frequency.
In the present embodiment, above-mentioned wireless data transmission unit can for integrated circuit (Integrated Circuit,
IC) chip.Extremely high frequency (Extremely high frequency, EHF) antenna is packaged in the IC chip, thus
Make to be equipped with the data that can realize high speed between the terminal of the IC chip based on high carrier frequency (for example, 60GHz)
It is wirelessly transferred (for example, the transmission speed for reaching as high as 6GB/s).In one embodiment, which is installed
Terminal between can pass through electromagnetic signal realize data wireless transmission.
It is understood that the wireless near field communication based on high carrier frequency has low-power consumption, small in size, transmission rate
Fastly, the advantages that non-contact transmission, the function of pluging and playing module can also be realized, the signal integrity that can be greatly improved, branch
It holds more flexible system to realize, reduces stand-by power consumption, increase the safety of amplitude of bandwidth and data transmission, it is compatible to high-speed video
The features such as support of signal.
It should be noted that high carrier frequency can be that by the carrier frequency of the data wireless transmission of high speed.It is high
Carrier frequency can be some specific carrier frequency, be also possible to a carrier wave frequency range, such as 30GHz-300GHz, the application
Embodiment is not specifically limited in this embodiment.In one embodiment, which can be 60GHz.
In one embodiment, the above-mentioned IC chip for being packaged with extremely high frequency antenna can be independent data and pass
Defeated chip is also possible to together with other integrated chips in terminal.
In step S205, by wireless data transmission unit, which is transmitted to second terminal by first terminal.
For example, first terminal sets up the biography of the wireless data between second terminal by wireless data transmission unit
After defeated connection, target data can be transmitted to second terminal by the wireless data transmission unit by first terminal.That is, first
Terminal sends target data to the wireless data transmission unit of second terminal, to make by its wireless data transmission unit
Second terminal receives the target data.
In step S206, during the target data is transmitted to second terminal by first terminal, if detecting
The first terminal is in non-mute mode, then first terminal is adjusted to silent mode.
In step S207, first terminal obtains the indicating mode of second terminal.
In step S208, if the indicating mode of second terminal is non-mute mode, first terminal sends control instruction
To the second terminal, which is used to indicate the second terminal and indicating mode is adjusted to silent mode.
For example, step S206, S207 and S208 may include:
During by target data by this terminal transmission to second terminal, first terminal can detecte mentioning for this terminal
Whether awake mode is silent mode.
If detecting, this terminal is in non-mute mode, such as this terminal is currently at sound prompting mode or vibration mentions
Awake mode, then the indicating mode of this terminal can be adjusted to silent mode by first terminal.
Also, first terminal can also obtain the indicating mode of second terminal.If detecting the prompting mould of second terminal
Formula is non-mute mode, then first terminal can send control instruction to the second terminal.The control instruction is used to indicate this
Indicating mode is adjusted to silent mode by second terminal.
It should be noted that in one embodiment, based on the wireless near field communication of high carrier frequency, in transmitting terminal
During equipment (such as first terminal) sends data to be transmitted to receiving device (such as second terminal), due to being set to transmitting terminal
Standby wireless data transmission unit (IC chip for being such as the packaged with extremely high frequency antenna) alignment between receiving device is wanted
Ask high.It therefore,, can be by first during target data is transmitted to second terminal by first terminal in the present embodiment
The indicating mode of terminal and second terminal is adjusted to silent mode, thus avoid in data transmission procedure because first terminal and/
Or second terminal occurs to vibrate and lead to the wireless data transmission list between first terminal and second terminal when receiving message
Member can not be aligned and resulting data-transmission interruptions.
In one embodiment, the present embodiment can also be applied to the biggish transmitting scene of data volume.For example, first is whole
It holds after getting the target data for needing to transmit, whether the data volume that can detecte the target data is more than preset threshold.If
The data volume for detecting the target data is more than preset threshold, then first terminal can be built by wireless data transmission unit
The vertical wireless data transmission between second terminal is connect, and uses wireless data transmission unit, by target data by first terminal
It is transmitted to second terminal.
In one embodiment, the step of target data is transmitted to second terminal by first terminal in S205, can wrap
Include following steps:
Target data is divided into data block by first terminal, and by the transmission of data blocks to second terminal.
For example, target data can be divided into multiple data blocks by first terminal, so that the transmission time of each data block
Less than or equal to preset time.For example, preset time can be 1 second or 2 seconds, etc..
It is understood that being divided into data block to transmit target data, the flexibility of data transmission can be improved
And efficiency of transmission, the data after facilitating Transmission retransmit.
In one embodiment, the present embodiment can also include the following steps:
When detecting that the data between first terminal and second terminal transmit disconnecting, record transmission information, the biography
Defeated information includes that the data block of transmission has been completed in the data block and/or target data for do not complete in target data transmission.
So, after the wireless near field communication being interrupted between first terminal and second terminal restores again, first
Terminal can inquire the transmission information being recorded, and be sent in target data according to the transmission information being recorded to second terminal
The data block of transmission is not completed.
For example, target data is divided into 10 data blocks by first terminal, this 10 data block number consecutivelies are 1-10.
Wireless near field communication during this 10 data blocks are transferred to second terminal, between first terminal and second terminal
It interrupts suddenly.At this point, first terminal can recorde transmission information, such as the transmission information is that number is completed is 1-5 to terminal
The transmission of data block, and number the data block for being 6-10 and not yet transmitted.
After detecting that the wireless near field communication being interrupted between first terminal and second terminal restores again, first
Terminal can inquire the transmission information being recorded, and be sent in target data according to the transmission information being recorded to second terminal
The data block of transmission is not completed.For example, first terminal continues that the data block for being 6-10 will be numbered and passes through wireless data transmission unit
It is sent to second terminal.
Hereby it is achieved that the breakpoint transmission between first terminal and second terminal.
In one embodiment, if first terminal detects that the data volume for the target data that needs transmit is less than default threshold
Value, but the difference of the data volume of target data and preset threshold be less than preset difference value, then it is considered that target data still compared with
Greatly.For example, preset threshold is 10GB, and target data is 9.5GB, and difference between the two is 0.5GB, and preset difference value is
1GB, at this time still it is considered that the data volume of target data is larger.
In this case, the residual electric quantity of available terminal of first terminal, if detecting the residue of this terminal
Charge value is less than default power threshold, then first terminal can also be established by wireless data transmission unit with second terminal it
Between wireless data transmission connection, and by wireless data transmission unit by target data high-speed transfer to second terminal, thus
Avoid first terminal electric quantity consumption caused by the overlong time because of transmission objectives data too fast.
Alternatively, if first terminal detects that the data volume for the target data that needs transmit is less than preset threshold, but number of targets
According to data volume and the difference of preset threshold be less than preset difference value, then in the remaining operation of available terminal of first terminal
Deposit capacity.If the remaining running memory capacity of first terminal is less than preset capacity threshold value, then first terminal can also pass through nothing
Line data transmission unit is established to be connected the wireless data transmission between second terminal, and passes through wireless data transmission unit for mesh
High speed data transfer is marked to second terminal, to avoid first terminal operation card caused by the overlong time because of transmission objectives data
?.
Fig. 3 to Fig. 5 is please referred to, Fig. 3 to Fig. 5 is the schematic diagram of a scenario of data transmission method provided by the embodiments of the present application.
For example, user has purchased a new terminal, for example, second terminal, and the old terminal used before is, for example,
One terminal.It wherein, include the IC chip for being packaged with extremely high frequency antenna in the first terminal and the second terminal.Installation
Having can realize that the data of high speed wirelessly pass based on high carrier frequency (for example, 60GHz) between the terminal of the IC chip
Defeated (for example, the transmission speed for reaching as high as 6GB/s).
For example, said integrated circuit chip is mounted on the middle part of the rear shell of first terminal and second terminal in the present embodiment
Position.When needing to carry out data transmission by said integrated circuit chip between first terminal and second terminal, user can be incited somebody to action
First terminal and second terminal rear shell stick together each other, so that the IC chip of the two can be aligned.In first terminal
With high speed data transfer can be carried out after second terminal successful match.Certainly, in other embodiments, said integrated circuit core
Piece also may be mounted at the other positions of the terminal in addition to rear shell, and the present embodiment is specifically limited not to this.
In order to facilitate use, user needs the data in first terminal being transferred to second terminal.That is, being currently at terminal
The application scenarios of data removal of home.
For example, as shown in figure 3, user need by first terminal short message, contact person, music, photograph album, application software,
These data of e-book are moved to second terminal.
At this point, first terminal can first obtain the short message for needing to transmit in this terminal, contact person, music, photograph album, using soft
These data of part, e-book, and these data are determined as target data.
Then, whether the data volume that first terminal can detecte target data is more than preset threshold.For example, preset threshold is
10GB.For example, in the present embodiment it has been more than preset threshold that terminal, which detects that the data volume of target data is 30GB,.This
In the case of, the data volume that first terminal can inquire that user currently needs to transmit is larger, if opens high speed data transfer.Example
Such as, in the present embodiment, user has selected unlatching high speed data transfer, as shown in Figure 4.
Later, first terminal can prompt user that the rear shell of the rear shell of first terminal and second terminal is attached to one each other
It rises, and the IC chip for being packaged with extremely high frequency antenna of first terminal and second terminal is made to be packaged with extremely high frequency antenna
IC chip is aligned with each other.For example, the IC chip for being packaged with extremely high frequency antenna installed on first terminal is the
One chip, the IC chip for being packaged with extremely high frequency antenna installed in second terminal are the second chip.That is, passing through the first core
Piece and the second chip, first terminal can set up wireless data transmission with second terminal and connect.
After being successfully established wireless data transmission connection between first terminal and second terminal, first terminal can pass through
Target data is transferred to the second chip of second terminal by its first chip installed, so that target data is transmitted to second eventually
End.For example, first terminal and the wireless data transmission schematic diagram of second terminal are as shown in Figure 5.
Referring to Fig. 6, Fig. 6 is the structural schematic diagram of data transmission device provided by the embodiments of the present application.Data transmission dress
Setting 300 may include: to obtain module 301, link block 302, transmission module 303.
Module 301 is obtained, for when needing the data by first terminal to be transferred to second terminal, obtaining what needs transmitted
Target data.
Link block 302 is connect for establishing with the wireless data transmission of the second terminal.
Transmission module 303, for by wireless data transmission unit, the target data to be transmitted by the first terminal
To the second terminal, the first terminal and the second terminal all have the wireless data transmission unit, described wireless
Data transmission unit is the wireless near field communication unit based on high carrier frequency.
In one embodiment, the link block 302 can be used for:
If the data volume for detecting the target data is more than preset threshold, by the wireless data transmission unit,
Foundation is connect with the wireless data transmission of the second terminal.
In one embodiment, the transmission module 303 can be used for:
The target data is divided into data block, and the data block is transmitted to described second by the first terminal
Terminal.
Referring to Figure 7 together, Fig. 7 is another structural schematic diagram of data transmission device provided by the embodiments of the present application.In
In one embodiment, data transmission device 300 can also include: computing module 304, setup module 305.
Computing module 304, for obtaining the storage total capacity and residual storage capacity of the second terminal;Calculate institute
State the ratio that residual storage capacity accounts for the storage total capacity.
So, the link block 302, can be used for: if the ratio reaches preset percentage value, pass through the nothing
Line data transmission unit, foundation are connect with the wireless data transmission of the second terminal.
Setup module 305, in the mistake that the target data is transmitted to the second terminal by the first terminal
Cheng Zhong, if detecting, the first terminal is in non-mute mode, and the first terminal is adjusted to silent mode;Obtain institute
State the indicating mode of second terminal;If the indicating mode of the second terminal is non-mute mode, control instruction is sent to institute
Second terminal is stated, the control instruction is used to indicate the second terminal and indicating mode is adjusted to silent mode.
The embodiment of the present application provides a kind of computer-readable storage medium, computer program is stored thereon with, when described
When computer program executes on computers, so that the computer is executed as in data transmission method provided in this embodiment
Step.
The embodiment of the present application also provides a kind of electronic equipment, including memory, and processor, the processor is by calling institute
The computer program stored in memory is stated, for executing the step in data transmission method provided in this embodiment.
For example, above-mentioned electronic equipment can be the mobile terminals such as tablet computer or smart phone.Referring to Fig. 8,
Fig. 8 is the structural schematic diagram of electronic equipment provided by the embodiments of the present application.
The mobile terminal 400 may include the components such as wireless data transmission unit 401, memory 402, processor 403.This
Field technical staff is appreciated that mobile terminal structure shown in Fig. 8 does not constitute the restriction to mobile terminal, may include
Than illustrating more or fewer components, certain components or different component layouts are perhaps combined.
Wireless data transmission unit 401 can be integrated circuit (Integrated Circuit, IC) chip.It is integrated at this
Extremely high frequency (Extremely high frequency, EHF) antenna is packaged in circuit chip, to make to be equipped with the integrated electricity
It can realize that the data of high speed are wirelessly transferred (for example, most between the terminal of road chip based on high carrier frequency (for example, 60GHz)
The high transmission speed up to 6GB/s).In one embodiment, being equipped between the terminal of the IC chip can lead to
Cross the wireless transmission that electromagnetic signal realizes data.
Memory 402 can be used for storing application program and data.It include that can hold in the application program that memory 402 stores
Line code.Application program can form various functional modules.Processor 403 is stored in the application journey of memory 402 by operation
Sequence, thereby executing various function application and data processing.
Processor 403 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part by running or execute the application program being stored in memory 402, and is called and is stored in memory 402
Data execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.
In the present embodiment, the processor 403 in mobile terminal can be according to following instruction, will be one or more
The corresponding executable code of the process of application program is loaded into memory 402, and is run by processor 403 and be stored in storage
Application program in device 402, to realize step:
When needing the data by first terminal to be transferred to second terminal, the target data for needing to transmit is obtained;
Foundation is connect with the wireless data transmission of the second terminal;
By wireless data transmission unit, the target data is transmitted to the second terminal by the first terminal,
The first terminal and the second terminal all have the wireless data transmission unit, and the wireless data transmission unit is base
In the wireless near field communication unit of high carrier frequency.
Referring to Fig. 9, electronic equipment 500 may include wireless data transmission unit 501, memory 502, processor 503,
The components such as input unit 504, output unit 505.
Wireless data transmission unit 501 can be integrated circuit (Integrated Circuit, IC) chip.It is integrated at this
Extremely high frequency (Extremely high frequency, EHF) antenna is packaged in circuit chip, to make to be equipped with the integrated electricity
It can realize that the data of high speed are wirelessly transferred (for example, most between the terminal of road chip based on high carrier frequency (for example, 60GHz)
The high transmission speed up to 6GB/s).In one embodiment, being equipped between the terminal of the IC chip can lead to
Cross the wireless transmission that electromagnetic signal realizes data.
Memory 502 can be used for storing application program and data.It include that can hold in the application program that memory 502 stores
Line code.Application program can form various functional modules.Processor 503 is stored in the application journey of memory 502 by operation
Sequence, thereby executing various function application and data processing.
Processor 503 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part by running or execute the application program being stored in memory 502, and is called and is stored in memory 502
Data execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.
Input unit 504 can be used for receiving number, character information or the user's characteristic information (such as fingerprint) of input, and
Generate keyboard related with user setting and function control, mouse, operating stick, optics or trackball signal input.
Output unit 505 can be used for showing information input by user or the information and mobile terminal that are supplied to user
Various graphical user interface, these graphical user interface can be made of figure, text, icon, video and any combination thereof.
Output unit may include display panel.
In the present embodiment, the processor 503 in mobile terminal can be according to following instruction, will be one or more
The corresponding executable code of the process of application program is loaded into memory 502, and is run by processor 503 and be stored in storage
Application program in device 502, to realize step:
When needing the data by first terminal to be transferred to second terminal, the target data for needing to transmit is obtained;
Foundation is connect with the wireless data transmission of the second terminal;
By wireless data transmission unit, the target data is transmitted to the second terminal by the first terminal,
The first terminal and the second terminal all have the wireless data transmission unit, and the wireless data transmission unit is base
In the wireless near field communication unit of high carrier frequency.
In one embodiment, processor 503 executes the foundation and the wireless data transmission of the second terminal connects
It when the step connect, can execute: if the data volume for detecting the target data is more than preset threshold, pass through the no line number
According to transmission unit, foundation is connect with the wireless data transmission of the second terminal.
In one embodiment, it is described foundation connect with the wireless data transmission of the second terminal the step of it
Before, processor 503 can also be performed: obtain the storage total capacity and residual storage capacity of the second terminal;Described in calculating
Residual storage capacity accounts for the ratio of the storage total capacity.
It so, can when processor 503 executes the step established and connect with the wireless data transmission of the second terminal
To execute: if the ratio reaches preset percentage value, by the wireless data transmission unit, establishing with described second eventually
The wireless data transmission at end connects.
In one embodiment, processor 503 can also be performed: the target data is being passed by the first terminal
During transporting to the second terminal, if detecting, the first terminal is in non-mute mode, by the first terminal
It is adjusted to silent mode;Obtain the indicating mode of the second terminal;If the indicating mode of the second terminal is non-mute mould
Formula then sends control instruction to the second terminal, and the control instruction is used to indicate the second terminal for indicating mode tune
Whole is silent mode.
In one embodiment, processor 503, which executes, described is transmitted to the target data by the first terminal
It when the step of the second terminal, can execute: the target data is divided into data block, and by the data block by described
First terminal is transmitted to the second terminal.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, it may refer to the detailed description above with respect to data transmission method, details are not described herein again.
Data transmission method in the data transmission device provided by the embodiments of the present application and foregoing embodiments belongs to together
One design can run either offer method in the data transmission method embodiment on the data transmission device,
Specific implementation process is detailed in the data transmission method embodiment, and details are not described herein again.
It should be noted that those of ordinary skill in the art can for the data transmission method described in the embodiment of the present application
With understand realize the embodiment of the present application described in data transmission method all or part of the process, be can by computer program come
Relevant hardware is controlled to complete, the computer program can be stored in a computer-readable storage medium, such as be stored in
It in memory, and is executed by least one processor, in the process of implementation may include the embodiment such as the data transmission method
Process.Wherein, the storage medium can be magnetic disk, CD, read-only memory (ROM, Read Only Memory), random
Access/memory body (RAM, Random Access Memory) etc..
For the data transmission device of the embodiment of the present application, each functional module be can integrate in a processing core
In piece, it is also possible to modules and physically exists alone, can also be integrated in two or more modules in a module.On
It states integrated module both and can take the form of hardware realization, can also be realized in the form of software function module.The collection
If at module realized in the form of software function module and when sold or used as an independent product, also can store
In one computer-readable storage medium, the storage medium is for example read-only memory, disk or CD etc..
Above to a kind of data transmission method, device, storage medium and electronic equipment provided by the embodiment of the present application
It is described in detail, used herein a specific example illustrates the principle and implementation of the invention, the above reality
The explanation for applying example is merely used to help understand method and its core concept of the invention;Meanwhile for those skilled in the art,
According to the thought of the present invention, there will be changes in the specific implementation manner and application range, in conclusion in this specification
Appearance should not be construed as limiting the invention.
Claims (10)
1. a kind of data transmission method characterized by comprising
When needing the data by first terminal to be transferred to second terminal, the target data for needing to transmit is obtained;
Foundation is connect with the wireless data transmission of the second terminal;
By wireless data transmission unit, the target data is transmitted to the second terminal by the first terminal, it is described
First terminal and the second terminal all have the wireless data transmission unit, and the wireless data transmission unit is based on height
The wireless near field communication unit of carrier frequency.
2. data transmission method according to claim 1, which is characterized in that the foundation is wireless with the second terminal
The step of data transmission connection, comprising:
If detecting, the data volume of the target data is more than preset threshold, by the wireless data transmission unit, is established
It is connect with the wireless data transmission of the second terminal.
3. data transmission method according to claim 1, which is characterized in that in the nothing of the foundation and the second terminal
Before the step of line number is connected according to transmission, further includes:
Obtain the storage total capacity and residual storage capacity of the second terminal;
Calculate the ratio that the residual storage capacity accounts for the storage total capacity;
The step of foundation is connect with the wireless data transmission of the second terminal, comprising: if the ratio reaches default hundred
Divide ratio, then by the wireless data transmission unit, foundation is connect with the wireless data transmission of the second terminal.
4. data transmission method according to claim 1, which is characterized in that the method also includes:
During the target data is transmitted to the second terminal by the first terminal, if detecting described first
Terminal is in non-mute mode, then the first terminal is adjusted to silent mode;
Obtain the indicating mode of the second terminal;
If the indicating mode of the second terminal is non-mute mode, control instruction is sent to the second terminal, the control
System instruction is used to indicate the second terminal and indicating mode is adjusted to silent mode.
5. data transmission method according to claim 1, which is characterized in that it is described by the target data by described first
The step of terminal transmission to second terminal, comprising:
The target data is divided into data block, and the data block is transmitted to described second eventually by the first terminal
End.
6. a kind of data transmission device characterized by comprising
Module is obtained, for obtaining the number of targets for needing to transmit when needing the data by first terminal to be transferred to second terminal
According to;
Link block is connect for establishing with the wireless data transmission of the second terminal;
The target data is transmitted to by the first terminal described for by wireless data transmission unit by transmission module
Second terminal, the first terminal and the second terminal all have the wireless data transmission unit, and the wireless data passes
Defeated unit is the wireless near field communication unit based on high carrier frequency.
7. data transmission device according to claim 6, which is characterized in that the link block is used for:
If detecting, the data volume of the target data is more than preset threshold, by the wireless data transmission unit, is established
It is connect with the wireless data transmission of the second terminal.
8. data transmission device according to claim 6, which is characterized in that described device further include:
Computing module, for obtaining the storage total capacity and residual storage capacity of the second terminal;The residue is calculated to deposit
Storage capacity accounts for the ratio of the storage total capacity;
The link block, is used for: if the ratio reaches preset percentage value, by the wireless data transmission unit,
Foundation is connect with the wireless data transmission of the second terminal.
9. a kind of storage medium, is stored thereon with computer program, which is characterized in that when the computer program on computers
When execution, so that the computer executes the method as described in any one of claims 1 to 5.
10. a kind of electronic equipment, including memory, processor, which is characterized in that the processor is by calling the memory
The computer program of middle storage, for executing the method as described in any one of claims 1 to 5.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810350125.5A CN110392364B (en) | 2018-04-18 | 2018-04-18 | Data transmission method, device, storage medium and electronic equipment |
PCT/CN2019/082145 WO2019201138A1 (en) | 2018-04-18 | 2019-04-10 | Method and device for data transmission, storage medium, and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810350125.5A CN110392364B (en) | 2018-04-18 | 2018-04-18 | Data transmission method, device, storage medium and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110392364A true CN110392364A (en) | 2019-10-29 |
CN110392364B CN110392364B (en) | 2021-02-26 |
Family
ID=68240541
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810350125.5A Active CN110392364B (en) | 2018-04-18 | 2018-04-18 | Data transmission method, device, storage medium and electronic equipment |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110392364B (en) |
WO (1) | WO2019201138A1 (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103781187A (en) * | 2012-10-19 | 2014-05-07 | 华为终端有限公司 | File transmission controlling method and terminal |
CN105379029A (en) * | 2013-01-30 | 2016-03-02 | 凯萨股份有限公司 | Shielded ehf connector assemblies |
CN105577242A (en) * | 2015-12-16 | 2016-05-11 | 北京橙鑫数据科技有限公司 | User equipment and electronic business card sending method |
CN105827023A (en) * | 2015-07-27 | 2016-08-03 | 维沃移动通信有限公司 | Wireless charging method between terminals and terminals |
CN106658354A (en) * | 2016-09-14 | 2017-05-10 | 广东欧珀移动通信有限公司 | Data transmission method and equipment |
CN106787232A (en) * | 2016-11-30 | 2017-05-31 | 合肥宝龙达信息技术有限公司 | The automatic switchover system and method for a kind of wireless charging and Wireless Data Transmission |
CN107579775A (en) * | 2017-08-24 | 2018-01-12 | 上海与德科技有限公司 | A kind of data transmission method, device, mobile terminal and storage medium |
CN107770881A (en) * | 2017-10-27 | 2018-03-06 | 三星(中国)半导体有限公司 | Transmit the method and device of data |
CN108696849A (en) * | 2017-04-07 | 2018-10-23 | Oppo广东移动通信有限公司 | Data transmission method, device, storage medium and electronic equipment |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5511230B2 (en) * | 2009-06-12 | 2014-06-04 | キヤノン株式会社 | COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM |
CN102571696B (en) * | 2010-12-08 | 2015-02-25 | 爱国者电子科技有限公司 | File management terminal |
-
2018
- 2018-04-18 CN CN201810350125.5A patent/CN110392364B/en active Active
-
2019
- 2019-04-10 WO PCT/CN2019/082145 patent/WO2019201138A1/en active Application Filing
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103781187A (en) * | 2012-10-19 | 2014-05-07 | 华为终端有限公司 | File transmission controlling method and terminal |
CN105379029A (en) * | 2013-01-30 | 2016-03-02 | 凯萨股份有限公司 | Shielded ehf connector assemblies |
CN105827023A (en) * | 2015-07-27 | 2016-08-03 | 维沃移动通信有限公司 | Wireless charging method between terminals and terminals |
CN105577242A (en) * | 2015-12-16 | 2016-05-11 | 北京橙鑫数据科技有限公司 | User equipment and electronic business card sending method |
CN106658354A (en) * | 2016-09-14 | 2017-05-10 | 广东欧珀移动通信有限公司 | Data transmission method and equipment |
CN106787232A (en) * | 2016-11-30 | 2017-05-31 | 合肥宝龙达信息技术有限公司 | The automatic switchover system and method for a kind of wireless charging and Wireless Data Transmission |
CN108696849A (en) * | 2017-04-07 | 2018-10-23 | Oppo广东移动通信有限公司 | Data transmission method, device, storage medium and electronic equipment |
CN107579775A (en) * | 2017-08-24 | 2018-01-12 | 上海与德科技有限公司 | A kind of data transmission method, device, mobile terminal and storage medium |
CN107770881A (en) * | 2017-10-27 | 2018-03-06 | 三星(中国)半导体有限公司 | Transmit the method and device of data |
Also Published As
Publication number | Publication date |
---|---|
WO2019201138A1 (en) | 2019-10-24 |
CN110392364B (en) | 2021-02-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106990912B (en) | Method for controlling SIM card and SD card and electronic equipment for realizing the card | |
WO2021031856A1 (en) | Nfc-based communication method and device | |
CN108292934B (en) | Electronic device | |
WO2021052421A1 (en) | Near field communication method and electronic device | |
CN105653486A (en) | Mobile terminal and method for reusing USB ports of processors thereof | |
CN107408755A (en) | Antenna equipment and the electronic equipment with the antenna equipment | |
CN108242837A (en) | The method of the charging of electronic equipment and control electronics | |
CN106502826A (en) | Data backup and transmission method and mobile terminal | |
US20170154327A1 (en) | Mobile Payment Method and Apparatus and Near Field Communication Device | |
KR20150141437A (en) | Method and electronic device for controlling carrier aggregation in a wireless communication system | |
CN104936128A (en) | Off-line data transfer method, device and system | |
CN104901991A (en) | Methods, devices and system for transferring virtual resource | |
CN103269374A (en) | Method, device and equipment for recording synchronization | |
CN104065693A (en) | Method, device and system for accessing network data in webpage applications | |
CN104123276A (en) | Method, device and system for intercepting popup windows in browser | |
CN106445743A (en) | Data backup transmission method and mobile terminal | |
CN109951400A (en) | Instruction sending method, device, electronic equipment and the readable storage medium storing program for executing of terminal | |
CN111273955A (en) | Thermal restoration plug-in optimization method and device, storage medium and electronic equipment | |
CN107193662A (en) | A kind of information synchronization method and mobile terminal based on dual system | |
US11385690B2 (en) | Electronic device for switching between communication channels and control method thereof | |
KR20150133509A (en) | Method for managing data flow and device for the same | |
CN110797985B (en) | Coil switching method and device, storage medium and electronic equipment | |
CN110392364A (en) | Data transmission method, device, storage medium and electronic equipment | |
CN216625389U (en) | Wireless charging equipment | |
KR102188685B1 (en) | Apparatas and method for generating application packages |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |