CN108462953A - File transmission method and device, electronic equipment and storage medium - Google Patents
File transmission method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN108462953A CN108462953A CN201810278104.7A CN201810278104A CN108462953A CN 108462953 A CN108462953 A CN 108462953A CN 201810278104 A CN201810278104 A CN 201810278104A CN 108462953 A CN108462953 A CN 108462953A
- Authority
- CN
- China
- Prior art keywords
- network
- receiving device
- transmission
- network connection
- access point
- 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/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
- 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
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/15—Setup of multiple wireless link connections
- H04W76/16—Involving different core network technologies, e.g. a packet-switched [PS] bearer in combination with a circuit-switched [CS] bearer
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a file transmission method, a file transmission device, electronic equipment and a storage medium, wherein the method comprises the following steps: the sending equipment establishes a first network connection with the receiving equipment based on short-distance wireless transmission; the sending equipment transmits the data in the target file to the receiving equipment through the first network connection; the sending equipment establishes a second network connection for multipoint simultaneous transmission with the receiving equipment through the first network connection; and the sending equipment is switched from the first network connection to the second network connection, and the surplus data which is not transmitted in the target file is transmitted to the receiving equipment continuously through the second network connection. Therefore, the method combines two wireless communication modes to transmit the file, solves the technical problems of long starting time of a transmission channel and low transmission speed caused by a single communication mode, and improves the efficiency and the safety of file transmission.
Description
Technical field
The present invention relates to technical field of electronic equipment more particularly to a kind of document transmission method, device, electronic equipment and deposit
Storage media.
Background technology
With the development of wireless communication technique, people more frequently establish various types of nothings using wireless communication protocol
Line communications, to meet the needs of user transmits file under special scenes.
In the related technology, there are various drawbacks using single communication transmission file, with Bluetooth transmission protocol
For Wi-Fi transport protocols, when transmitting file using Bluetooth technology, transmission speed is slow and transmission range is limited, using Wi-
When Fi agreements transmit file, need to open Wi-Fi Hotspot in the sending device for sending file, then receiving device searches
Input password establishes connection after stating Wi-Fi Hotspot, and so as to cause establishing, the time that hot spot and connection hot spot expend is long.
Invention content
The present invention is directed to solve at least some of the technical problems in related technologies.
For this purpose, first purpose of the present invention is to propose a kind of document transmission method.This method combines two kinds of channel radios
Letter mode transmits file, is primarily based on the first network that short range wireless transmission is established between equipment and connects, passes through first network
While the quick interface channel transmission file of connection, confidence is matched in second network connection of the transmission foundation based on high-speed network
Breath, then according to the second network connection configuration information establish the high speed between equipment connection, then switch to high speed connection on after
Resume defeated file so that during establishing the second network connection, also can transmission objectives file, and do not depend on artificial behaviour
Make the connection that the second network is realized in automation, to improve efficiency and the safety of file destination transmission, solves using single
The transmission channel startup time that one communication mode is brought is long, and the slow technical problem of transmission speed improves the efficiency of transmission file
And safety.
Second object of the present invention is to propose a kind of file transfer means.
Third object of the present invention is to propose a kind of electronic equipment.
Fourth object of the present invention is to propose a kind of non-transitorycomputer readable storage medium.
The 5th purpose of the present invention is to propose a kind of computer program product.
To achieve the goals above, first aspect present invention embodiment proposes a kind of document transmission method, including following
Step:
Sending device is established first network with receiving device based on short range wireless transmission and is connect;
Sending device is connected by the first network, the data into receiving device transmission objectives file;
Sending device is connected by first network, is established with receiving device and is connected for the second network of multiple spot simultaneous transmission
It connects;
Sending device is switched to the second network connection from first network connection, continues to set to reception by the second network connection
The remaining data not transmitted in standby transmission objectives file.
The document transmission method of the embodiment of the present invention, first sending device are built based on short range wireless transmission with receiving device
Vertical first network connection, and connected by the first network, then the data into receiving device transmission objectives file are sent out
It send equipment to be connected by first network, establishes the second network connection for multiple spot simultaneous transmission with receiving device, finally send
Equipment is switched to the second network connection from first network connection, is continued to receiving device, transmission objectives by the second network connection
The remaining data not transmitted in file.This method combines two kinds of communications to transmit file as a result, is primarily based on short distance
The first network between equipment is established in wireless transmission, while transmitting file by the quick interface channel of first network, transmission
The configuration information of the second network connection based on high-speed network is established, then the high speed established between equipment according to configuration information connects
It connects, then switches in high speed connection and continue to transmit file so that during establishing the second network connection, can also transmit
File destination, and the connection that the second network is realized in manual operation automation is not depended on, to improve file destination transmission
Efficiency and safety solve the transmission channel brought using single communication mode long, the slow technology of transmission speed that starts the time
Problem improves efficiency and the safety of transmission file.
In addition, document transmission method according to the above embodiment of the present invention, can also have following additional technical characteristic:
In an embodiment of the invention, sending device is connected by the first network, is established with the receiving device
For the second network connection of multiple spot simultaneous transmission, including:The sending device is connected by the first network, is connect to described
Receiving unit sends the configuration information of first network access point;The sending device described in first network connection reception by connecing
Receiving unit send first network request, and with the receiving device establish based on the first network access point described second
Network connection;Wherein, the configuration information is carried in the first networking request.
In an embodiment of the invention, the sending device receives the receiving device by first network connection
First sent, which networks, asks, and establishes second network based on the first network access point with the receiving device and connect
It connects, including:The sending device extracts the configuration information of first network access point from the first networking request, to extraction
The configuration information of first network access point is verified;The sending device is established after being verified with the receiving device
Second network connection based on the first network access point.
In an embodiment of the invention, the configuration information of the first network access point of extraction is verified, including:Institute
State configuration of the sending device using the configuration information for the first network access point being locally stored and the first network access point of extraction
Information is compared;The sending device is when comparing two accordant configuration informations, by being connect to the first network extracted
The verification of the configuration information of access point.
In an embodiment of the invention, the sending device is connected by the first network, with the receiving device
The second network connection for multiple spot simultaneous transmission is established, including:The sending device is connected by the first network and is received
The configuration information for the second network access point that the receiving device is sent;The sending device by the first network connect to
The receiving device sends second and networks request, and establish with the receiving device based on second network access point second
Network connection;Wherein, the configuration information of the second network access point is carried in the second networking request.
In an embodiment of the invention, the sending device is connected to the receiving device by the first network and is sent out
It send the second networking to ask, and the second network connection based on second network access point is established with the receiving device, including:
The configuration information of the second network access point received is carried and is sent in the second networking request by the sending device
The receiving device;The sending device receives the message that is verified that the receiving device sends, and with the receiving device
Establish second network connection based on the second network access point.
In an embodiment of the invention, the sending device is based on short range wireless transmission and establishes first with receiving device
Network connection, including:Around sending device detection with the matched facility information of the short range wireless transmission;Wherein,
The facility information of the receiving device is included at least in the facility information, the facility information of the receiving device is connect described
Receiving unit is in what the when of can search for state was broadcasted by the short range wireless transmission;The sending device is set according to the reception
Standby facility information is established the first network with the receiving device and is connect.
In an embodiment of the invention, facility information and the reception of the sending device according to the receiving device
Equipment establishes the first network connection, including:The sending device by the facility information detected in the form of a list
It is illustrated in display interface;After the facility information that sending device detects the receiving device is selected, with the reception
Equipment establishes the first network connection.
In an embodiment of the invention, the sending device is connected by the first network, to the receiving device
Data in transmission objectives file, including:The sending device is chosen needs from the All Files of storage and is set to the reception
The file destination of standby transmission;The sending device verifies the size and/or format of the file destination;The hair
Send equipment after being verified, the data in the file destination are transferred to the reception by first network connection to be set
It is standby.
In an embodiment of the invention, institute of the sending device between the sending device and the receiving device
When stating the second network connection and being successfully established, the location point where the data of the current transmission of the file destination is recorded;It is described logical
Second network connection is crossed to continue to transmit the remaining data not transmitted in the file destination to the receiving device, including:
When the sending device is switched to second network connection from first network connection, opened from the location point of record
Begin, continues to the receiving device to transmit the remaining data by second network connection, the remaining data is described
Data after location point.
In order to achieve the above object, second aspect of the present invention embodiment proposes a kind of file transfer means, including:
First establishes module, and establishing first network for being based on short range wireless transmission and receiving device connect;
First transmission module is connected for passing through the first network, into the receiving device transmission objectives file
Data;
Second establishes module, is connected for passing through the first network, is established with the receiving device and is used for multicast communication
The second network connection;
Second transmission module passes through described for being switched to second network connection from first network connection
Two network connections continue to transmit the remaining data not transmitted in the file destination to the receiving device.
The file transfer means of the embodiment of the present invention, first sending device are built based on short range wireless transmission with receiving device
Vertical first network connection, and connected by the first network, to receiving device transmission objectives file, then sending device is logical
First network connection is crossed, the second network connection is established with receiving device, last sending device is switched to the from first network connection
Two network connections are continued by the second network connection to receiving device, the remaining data not transmitted in transmission objectives file.By
This, which combines two kinds of communications to transmit files, be primarily based on short range wireless transmission establish between equipment the
One network connection, while transmitting file by the quick interface channel of first network, the configuration of high-speed network is established in transmission
Information, then the connection of the high speed between equipment is established according to configuration information, it then switches in high speed connection and continues to transmit file, make
During establishing the second network connection, also can transmission objectives file, and do not depend on manual operation automation realize
The connection of second network solves to improve efficiency and the safety of file destination transmission using single communication mode band
The transmission channel startup time come is long, the slow technical problem of transmission speed, improves efficiency and the safety of transmission file.
In addition, file transfer means according to the above embodiment of the present invention, can also have following additional technical characteristic:
In an embodiment of the invention, second module is established, be additionally operable to:Between sending device and the receiving device
Second network connection when being successfully established, record the location point where the data of the current transmission of the file destination;Institute
The second transmission module is stated, is specifically used for:When being switched to second network connection from first network connection, from the institute of record
It states location point to start, continues to the receiving device to transmit the remaining data, remaining data by second network connection
For the data after the location point.
In an embodiment of the invention, second module is established, be specifically used for:Transmission unit, for passing through described first
Network connection sends the configuration information of first network access point to the receiving device;First establishing unit, for by described
First network connection receives the receiving device is sent first and networks request, and is established based on described the with the receiving device
Second network connection of one network access point;Wherein, the configuration information of first network access point is carried in the request that networks.
In an embodiment of the invention, first establishing unit is specifically used for:It networks from described first and extracts the in request
The configuration information of one network access point verifies the configuration information of the first network access point of extraction;It is logical in verification
Later, second network connection based on the first network access point is established with the receiving device.
In an embodiment of the invention, first establishing unit is specifically used for:It is accessed using the first network being locally stored
The configuration information of point is compared with the configuration information of the first network access point of extraction, is comparing two accordant configuration informations
When, pass through the verification of the configuration information to the first network access point extracted.
In an embodiment of the invention, second module is established, including:Receiving unit, for passing through the first network
Connection receives the configuration information for the second network access point that the receiving device is sent;Second establishes unit, for by described
First network connects to the receiving device and sends the second networking request, and is established with the receiving device and be based on second net
Second network connection of network access point;Wherein, the configuration information of the second network access point is carried in the second networking request.
In an embodiment of the invention, second unit is established, be specifically used for:By the second network access point received
Configuration information carries in networking request, is sent to the receiving device;It is logical to receive the verification that the receiving device is sent
Message is crossed, and second network connection based on second network access point is established with the receiving device.
In an embodiment of the invention, first module is established, including:Probe unit, for detect around with it is described
The matched facility information of short range wireless transmission;Wherein, believe including at least the equipment of the receiving device in the facility information
Breath, the facility information of the receiving device are to be in the when of can search for state in the receiving device to pass by the short-distance wireless
Defeated broadcast;First network establishes unit, for establishing institute with the receiving device according to the facility information of the receiving device
State first network connection.
In an embodiment of the invention, first network establishes unit, is specifically used for:The facility information that will be detected
It is illustrated in display interface in the form of a list;It is and described after monitoring that the facility information of the receiving device is selected
Receiving device establishes the first network connection.
In an embodiment of the invention, the first transmission module is specifically used for:It chooses and needs from the All Files of storage
The file destination transmitted to the receiving device;The size and/or format of the file destination are verified;It is verifying
By rear, the data of the file destination are transferred to the receiving device by first network connection.
In order to achieve the above object, third aspect present invention embodiment proposes a kind of electronic equipment, including:Shell, processor,
Memory, circuit board and power circuit, wherein circuit board is placed in the space interior that shell surrounds, and processor and memory are set
It sets on circuit boards;Power circuit, for being each circuit or the device power supply of above-mentioned electronic equipment;Memory can for storing
Execute program code;Processor is run by reading the executable program code stored in memory and executable program code
Corresponding program, for executing the document transmission method as described in above-described embodiment.
In order to achieve the above object, fourth aspect present invention embodiment proposes a kind of non-transitory computer-readable storage medium
Matter is stored thereon with computer program, which is characterized in that is realized as described in above-described embodiment when the program is executed by processor
Document transmission method.
In order to achieve the above object, fifth aspect present invention embodiment proposes a kind of computer program product, which is characterized in that
The document transmission method as described in above-described embodiment is realized when the instruction processing unit in the computer program product executes.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partly become from the following description
Obviously, or practice through the invention is recognized.
Description of the drawings
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments
Obviously and it is readily appreciated that, wherein:
A kind of flow diagram for document transmission method that Fig. 1 is provided by the embodiment of the present invention;
A kind of flow diagram for specific document transmission method that Fig. 2 is provided by the embodiment of the present invention;
The flow diagram for the specific document transmission method of another kind that Fig. 3 is provided by the embodiment of the present invention;
The flow diagram for another specific document transmission method that Fig. 4 is provided by the embodiment of the present invention;
The flow diagram for another specific document transmission method that Fig. 5 is provided by the embodiment of the present invention;
The flow diagram for also a kind of specific document transmission method that Fig. 6 is provided by the embodiment of the present invention;
Fig. 7 is the schematic diagram that receiving device is in the state that can search for;
Fig. 8 is the schematic diagram of other equipment near sending device search;
Fig. 9 is that sending device shows the list of devices schematic diagram searched;
Figure 10 is that receiving device interface connects inquiry message schematic diagram;
Figure 11 is the file transport interface schematic diagram of sending device;
A kind of structural schematic diagram for file transfer means that Figure 12 is provided by the embodiment of the present invention;
A kind of structural schematic diagram for specific file transfer means that Figure 13 is provided by the embodiment of the present invention;
The structural schematic diagram for the specific file transfer means of another kind that Figure 14 is provided by the embodiment of the present invention;
The structural schematic diagram for another specific file transfer means that Figure 15 is provided by the embodiment of the present invention;And
The structural schematic diagram for a kind of electronic equipment that Figure 16 is provided by the embodiment of the present invention.
Specific implementation mode
The embodiment of the present invention is described below in detail, the example of the embodiment is shown in the accompanying drawings, wherein phase from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached drawing
The embodiment of description is exemplary, it is intended to for explaining the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings the document transmission method, device and electronic equipment of the embodiment of the present invention are described.
Wherein, the executive agent of the document transmission method of the embodiment of the present invention is the hair that file is sent in document transmission process
It send equipment and receives the receiving device of file, above-mentioned sending device and receiving device can be mobile phone, tablet computer and a number
Word assistant etc. can commonly pass through the hardware device of wireless network transmissions file.
A kind of flow diagram for document transmission method that Fig. 1 is provided by the embodiment of the present invention.As shown in Figure 1, this article
Part transmission method may include:
Step 101, sending device is established first network with receiving device based on short range wireless transmission and is connect.
Wherein, short range wireless transmission includes bluetooth, infrared transmission and near-field communication (Near Field
Communication, abbreviation NFC) etc. wireless transmission protocols, such wireless transmission protocol nothing can be quickly established in short distance
Line transmission channel realizes low-power consumption and quickly and easily data transmission.
It should be noted that for an equipment, when opening of device short range wireless transmission mechanism after, this sets
Standby entrance can be searched state, can be searched for by other neighbouring equipment for opening identical short range wireless transmission mechanism
It arrives, it is of course also possible to search the existing other equipment for opening identical short range wireless transmission mechanism nearby.
In embodiments of the present invention, when sending device needs to transmit file to receiving device, sending device and reception are set
It is standby to open identical short range wireless transmission function, for example bluetooth is opened, alternatively, opening NFC.Open short distance
The sending device and receiving device of wireless transmission function can enter the state that can be searched, that is to say, that two equipment can
To search other side mutually.
In an embodiment of the invention, the sending device for opening identical short range wireless transmission function may search for
To the facility information of receiving device.Specifically, receiving device by short range wireless transmission, can broadcast the equipment letter of itself
Breath.Wherein, facility information can be the information such as unit type or the title of receiving device.In turn, if receiving device open it is short
Range wireless transmission mechanism is identical as sending device, then receives the format of the information of two device broadcasts and letter that sending device is sent out
The format of breath is identical, and sending device can detect the information that receiving device is sent out, to be based on short range wireless transmission mechanism
The first network established between sending device connects, for example, when sending device and receiving device are switched on Bluetooth function, and
And after being matched between two equipment, so that it may to establish blueteeth network connection.
Step 102, sending device is connected by first network, the data into receiving device transmission objectives file.
Specifically, after sending device is established first network with receiving device and connected, user can select at sending device end
The data in the file destination for needing to transmit to receiving device are selected, it, will be in file destination after carrying out safety verification to file destination
Data by first network connection be transferred to receiving device.
In an embodiment of the invention, sending device and receiving device are established after first network connect, sending device
It can remind whether user selects transmission file by modes such as pop-ups, if user selects transmission file, sending device to jump to
File transport interface, and show All Files that sending device end stores to user in the form of a list, user's selection need to
Data in the file destination of receiving device transmission, wherein file destination can be that document, picture and video etc. are various types of
File.
Further, in order to improve the safety of transmission file, sending device can verify file destination.Most
Eventually, the data in file destination are transferred to reception by sending device after file destination is verified by first network connection
Equipment.
Step 103, sending device is connected by first network, and second for multiple spot simultaneous transmission is established with receiving device
Network connection.
Specifically, while sending device is connected by first network to receiving device transmission objectives file, Ke Yitong
Cross first network connection, the configuration information of transmission network access point.A kind of possibly realization method, sending device and receiving device
Between establish after first network connection, sending device can continue to create first network access point (such as Wi-Fi heat
Point), and the configuration information of first network access point is sent to receiving device by the first network connection having built up.Its
In, may include the information such as title, the password of the network access point that sending device is established in configuration information.Alternatively possiblely
Realization method, receiving device creates second network access point, and the configuration information of the second network access point is passed through
The first network connection of foundation is sent to sending device.
Further, after sending device or receiving device receive the configuration information of one of network access point, just
The request that networks can be sent to one of network access point, according to the configuration information to be built between two equipment
Vertical second network connection.
Wherein, above-mentioned second network connection can be Wi-Fi, ultra wide band (Ultra Wideband, abbreviation UWB) and LiFi
Etc. transmission rates it is high and can support the wireless network of multiple spot simultaneous transmission, in next step sending device and receiving device switching
After carrying out file transmission to the second network connection, transmission speed can be improved, shortens transmission time, advanced optimizes making for user
With experience.
Step 104, sending device is switched to the second network connection from first network connection, is continued by the second network connection
The remaining data not transmitted into receiving device transmission objectives file.
Specifically, sending device is with receiving device after establishing the second network connection, sending device and receiving device it
Between can be transmitted data based on the second network connection.Since the second network connection is the high wireless network of transmission rate,
In order to improve the efficiency of transmission of file destination, after the second network connection is established between sending device and receiving device, so that it may
To connect the transmission link of file destination from first network, it is switched to the second network connection, then passes through the second network connection
Continue to receiving device, the remaining data not transmitted in transmission objectives file.
The document transmission method of the embodiment of the present invention, first sending device are built based on short range wireless transmission with receiving device
Vertical first network connection, and being connected by first network, to receiving device transmission objectives file, then sending device passes through the
One network connection establishes the second network connection with receiving device, and last sending device is switched to the second net from first network connection
Network connects, and is continued to receiving device by the second network connection, the remaining data not transmitted in transmission objectives file.Exist as a result,
Sending device and receiving device are established after first network connect, and begin to transmission objectives file, and establishing the second of high speed
After network connection, file destination is switched in the network of the high speed and is transmitted, so that in the mistake for establishing the second network connection
Cheng Zhong, also can transmission objectives file, to improve file destination transmission efficiency.And it is connected and is transmitted by first network
The configuration information of second network connection so that process is established in the second network connection, does not depend on manual operation, can be realized automatically
Networking process saves the time that network is established.
Quickly connecting between equipment is first established based on short range wireless transmission agreement in the present embodiment and to transmit foundation high
Fast channel configuration information, then establish the high wireless network of transmission rate according to configuration information, then switch in high speed connection after
Defeated file is resumed, the file transmission of high-speed between equipment is realized, solves the transmission channel brought using single communication mode
The startup time is long, the slow technical problem of transmission speed, improves efficiency and the safety of transmission file.
Based on above-described embodiment, passed based on short-distance wireless to clearly describe sending device in previous embodiment
Defeated that the specific implementation process that first network is connect is established with receiving device, the embodiment of the present invention proposes a kind of specific file biography
Transmission method, a kind of flow diagram for specific document transmission method that Fig. 2 is provided by the embodiment of the present invention.
As shown in Fig. 2, on the basis of embodiment as shown in Figure 1, step 101 may comprise steps of:
Step 201, sending device detection surrounding and the matched facility information of short range wireless transmission.
Wherein, facility information includes the facility information of receiving device, and the facility information of receiving device can received
Equipment, which is in, can search for broadcasting by short range wireless transmission when state.
Specifically, after receiving device opens short range wireless transmission mechanism, which, which is entrance, can be searched state, and
The facility information of itself is broadcasted by short range wireless transmission, and then sending device opens identical short range wireless transmission mechanism
Later, detect surrounding with the matched facility information of short range wireless transmission, since receiving device opens and sending device phase
Same short range wireless transmission mechanism, so the facility information of receiving device broadcast can be detected by sending device.
For example, after sending device and receiving device are switched on Bluetooth function, receiving device is by bluetooth to surrounding
Bluetooth signal is broadcasted, includes the information such as model and the bluetooth title of receiving device in Bluetooth signal, and other equipment is allowed to search for
The Bluetooth signal of the equipment.Bluetooth signal around sending device detection initiates to call, in detectable letter to other equipment
In number strength range, each Bluetooth signal including the Bluetooth signal comprising receiving device is detected, and obtain setting in signal
Standby information.
Step 202, sending device is established first network with receiving device according to the facility information of receiving device and is connect.
It specifically, can be with after sending device detects the facility information matched with short range wireless transmission of surrounding
The facility information detected is illustrated in display interface in the form of a list, when the equipment that sending device monitors receiving device
After information is selected, establishes first network with receiving device and connect.
In the present embodiment, sending device is in the form of a list illustrated in the facility information detected the display of sending device
It is selected for user in interface, user selects the facility information of the receiving device interacted with sending device from list, sends
Equipment detect receiving device facility information it is selected after, then be based on the corresponding short range wireless transmission of facility information establish with
The first network of receiving device connects.
For example, sending device selects to receive in lists to set by pre-set bluetooth title or NFC label
Standby information.After the facility information that sending device detects receiving device is selected, carries out pairing with receiving device and establish biography
Transmission link forms the first network connection based on short range wireless transmission, so as to shorten the stand-by period of transmission file, for
Family provides the transmission mode that can quickly start.
In conclusion the document transmission method of the embodiment of the present invention, surrounding and short-distance wireless are detected by sending device
Matched facility information is transmitted, establishing first network with receiving device according to the facility information of receiving device connect, to be based on
Short range wireless transmission establishes the quick connection between equipment, reduces the stand-by period that user transmits file, optimizes connection
The operating process of equipment.
Based on above-described embodiment, in order to which more clearly description sending device is connected by first network, to receiving device
The detailed process of data in transmission objectives file, the embodiment of the present invention propose another specific document transmission method, Fig. 3
By the flow diagram for the specific document transmission method of another kind that the embodiment of the present invention provides.
As shown in figure 3, on the basis of embodiment as shown in Figure 1, step 102 may comprise steps of:
Step 301, sending device chooses the file destination for needing to transmit to receiving device in the file of storage.
Specifically, sending device and receiving device are established after first network connect, the display interface of sending device passes through
The modes such as pop-up or reminder message remind whether user selects transmission file, if user selects transmission file, sending device to redirect
To file transport interface, and show that the All Files of sending device end storage, user can pass through to user in the form of a list
It the modes such as chooses and selects the file to be transmitted for needing to transmit to receiving device.
Step 302, sending device verifies the size and/or format of file destination.
Wherein, in order to improve the safety of transmission, avoid network hacker using the loophole in short range wireless transmission agreement
Rogue program is propagated, for example, to avoid network hacker using the remote code in bluetooth network encapsulation protocol in android system
The infection other equipment such as bluetooth stack information leakage loophole in loophole or linux system is executed, sending device can be to target
The size and/or format of file are verified, to ensure to send the safety of file.
For example, when file destination is document, sending device verifies the size of file destination, when the size of file destination is super
When crossing the propagation threshold of preset document class file, which does not allow to be transmitted, alternatively, when file destination is compressed package
When, sending device can verify the format of file in compressed package, and refusal transmission may carry the file of rogue program.
Step 303, after being verified, the data in file destination are transferred to by first network connection and are connect by sending device
Receiving unit.
The document transmission method of the embodiment of the present invention passes through first network after the file verification to be transmitted chosen to user
File to be transmitted is transmitted in connection, while by quickly connecting transmission file, also improves the safety of transmission, reduces transmission
The risk that file is brought.
Based on above-described embodiment, in order to which more clearly description sending device is built by first network connection with receiving device
The detailed process of the second network connection for multiple spot simultaneous transmission is found, the embodiment of the present invention proposes another specific file
Transmission method.
Specifically, the flow signal for another specific document transmission method that Fig. 4 is provided by the embodiment of the present invention
Figure, as shown in figure 4, on the basis of embodiment as shown in Figure 1, step 103 may comprise steps of:
Step 401, sending device is connected by first network, matches confidence to receiving device transmission first network access point
Breath.
Specifically, being established between sending device and receiving device after first network connection, sending device can continue to create
A first network access point is built, which is the access point of the high-speed network for multiple spot simultaneous transmission,
Such as Wi-Fi Hotspot, then sending device the configuration information of first network access point is connected by the first network that has built up
Receiving device is given in sending and receiving.Wherein, it in the configuration information of first network access point may include sending device is established network
The information such as title, the password of access point.
Step 402, sending device by first network connect receive receiving device send first network ask, and with connect
Receiving unit establishes the second network connection based on first network access point;Wherein, first network is carried in the first networking request to connect
The configuration information of access point.
Wherein, receiving device receive sending device transmission first network access point configuration information after, Ke Yigen
The first network established according to information access sending devices such as the title of the first network access point in the configuration information and passwords connects
Access point.
When specific implementation, when receiving device accesses first network access point, established first network can be first passed through and connected
Connect the first networking request that the configuration information for carrying first network access point is sent to sending device, wherein the first networking request
The configuration information of the first network access point of middle carrying includes the verification informations such as title and the password of first network access point.Into
And sending device receives the configuration information of the carrying first network access point of receiving device transmission by first network
After first networking request, networks from first and extract the configuration information of first network access point in asking, to the first net of extraction
The configuration information of network access point is verified, and after being verified, and receiving device is allowed to access first network access point, to
The second network connection based on first network access point is set up with receiving device.
When specific implementation, after sending device receives the first networking request of receiving device transmission, from networking request
Extract the configuration information of first network access point, such as the title and password of first network access point, and using being locally stored
The title and password of first network access point and title in the configuration information of first network access point extracted and password into
Row compares, if two accordant configuration informations, by the verification to the first network access point configuration information extracted, and to connecing
The message that the first network access point configuration information that receiving unit is sent is verified.To which sending device is set up with receiving device
The second network connection based on network access point.
In conclusion the document transmission method of the embodiment of the present invention, sending device extracts first from the first networking request
The configuration information of network access point simultaneously verifies the configuration information, establishes the second network with receiving device after being verified
Connection can ensure that receiving device accesses correct second network connection, avoid establishing with illegal equipment when handover network
Connection, to improve the safety of file transmission.
Based on above-described embodiment, in order to which more clearly description sending device is built by first network connection with receiving device
The detailed process of vertical second network connection, the embodiment of the present invention propose another specific document transmission method.
Specifically, the flow signal for another specific document transmission method that Fig. 5 is provided by the embodiment of the present invention
Figure, as shown in figure 5, on the basis of embodiment as shown in Figure 1, step 103 may comprise steps of:
Step 501, sending device connects matching for the second network access point for receiving that receiving device is sent by first network
Confidence ceases.
Specifically, being established between sending device and receiving device after first network connection, receiving device can continue to create
Second network access point is built, which is the access point of the high-speed network for multiple spot simultaneous transmission,
Such as Wi-Fi Hotspot, and the configuration information of the second network access point is sent to by the first network connection having built up
Send equipment.Wherein, it in the configuration information of the second network access point may include receiving device is established the second network access point
The information such as title, password.
Step 502, sending device is connected to receiving device by first network and sends the second networking request, and is set with reception
It is standby to establish the second network connection based on the second network access point, wherein to carry the second network access point in the second networking request
Configuration information.
Specifically, sending device receive receiving device transmission the second network access point configuration information after, Ke Yigen
The second networking request of the second network connection of access is generated according to the configuration information, and is connected to receiving device and sent out by first network
It send the second of the configuration information for carrying the second network access point to network to ask.In turn, after receiving device receives networking request,
It can be verified from the configuration information for entering to extract the second network access point in the request of the second net, and after being verified, be allowed
Sending device accesses the second network access point, connects to set up the second network based on the second network access point with sending device
It connects.
In an embodiment of the invention, when receiving device verifies the configuration information of the second network access point, reception is set
Standby first network from second extracts the configuration information of the second network access point in request, such as the title of the second network access point and close
Code, and match confidence using the title of the second network access point and password that are locally stored and the second network access point extracted
Title in breath compares with password, if two accordant configuration informations, passes through matching for the second network access point to extracting
The verification of confidence breath, and the message being verified is sent to sending device.To which receiving device and sending device are established based on the
Second network connection of two network access points.
It, can be first in display interface after receiving device receives the second networking request as a kind of possible realization method
Show inquiry request, wherein inquiry request allows sending device to access the network access point for asking whether.For example, can
To provide " refusal " and " permission " two touch key-press, the selection for receiving user on display interface." permit when user touches
Perhaps " when button, which is triggered, and after receiving device monitors triggering command, networks from second and extracts the second net in asking
The configuration information of network access point, and utilize the configuration information for the second network access point being locally stored and the second network extracted
The configuration information of access point compares, if two accordant configuration informations, passes through matching for the second network access point to extracting
The verification of confidence breath.
In conclusion the document transmission method of the embodiment of the present invention, receiving device extracts second from the second networking request
The configuration information of network access point simultaneously verifies the configuration information, establishes the second network with sending device after being verified
Connection can ensure that sending device accesses correct second network connection, avoid establishing with illegal equipment when handover network
Connection, to improve the safety of file transmission.
Based on above-described embodiment, in order to which more clearly description sending device is switched to the second network from first network connection
Connection is continued by the second network connection to receiving device, the detailed process for the remaining data not transmitted in transmission objectives file,
The embodiment of the present invention additionally provides a kind of specific document transmission method.
Specifically, the flow signal for another specific document transmission method that Fig. 6 is provided by the embodiment of the present invention
Figure, as shown in fig. 6, on the basis of embodiment as shown in Figure 1, step 104 may comprise steps of:
Step 601, sending device records file destination current transmission after establishing the second network connection with receiving device
Location point where data.
Specifically, sending device after establishing the second network connection with receiving device, records file destination first in real time
Location point where the data transmitted in network connection, wherein location point may include the address of file destination and the text that has transmitted
The information such as the size of part, can accurately obtain in file destination that transmission data has accounted for the ratio of file destination total data by location point
Example, for example, current file has transmitted 31% etc..Then, sending device preserves unfinished transformation task and file destination is current
Location point information where the data of transmission avoids switching transmission network from leading to loss of data.
Step 602, sending device continues to transmit by the second network connection since the location point of record to receiving device
Remaining data in file destination, wherein remaining data is the data after location point.
Specifically, when sending device with receiving device after establishing the second network connection, sending device is by file destination
Transmission link be switched to the second network connection from first network connection, and continue to execute transformation task.Sending device obtains first
Take the location point where the transmission data of the file destination of storage, according in transformation task file destination total data and position
Point information calculates the remaining data in file destination, then since the location point of record, by the second network connection to reception
Equipment continues the remaining data after the location point in transmission objectives file.
The document transmission method of the embodiment of the present invention, while connecting transmission data by first network, by file destination
Transmission link be switched to the second high network connection of transmission rate and transmit remaining data, shorten file transmission time,
The efficiency for improving file destination transmission, is conducive to user experience.
In order to clearly describe the realization process of the document transmission method described in previous embodiment, below with Fig. 7-
Figure 11 is described in detail as a specific embodiment.
For example, when needing to transmit file between two equipment, user can open the bluetooth of two equipment, make to set
Standby entrance can be searched state, as shown in fig. 7, at this point, receiving device broadcasts the facility information of its own by Bluetooth signal.Such as
Shown in Fig. 8, sending device starts to detect neighbouring Bluetooth signal, is set with searching for existing other of Bluetooth signal of sending out nearby
It is standby.When all Bluetooth signals around sending device has detected, by the facility information carried in the Bluetooth signal detected with
The form of list is shown in the display interface of sending device, for selection by the user, as shown in Figure 9.By in Fig. 9 it is found that send
Equipment detects two equipment for sending out Bluetooth signal, and facility information is respectively Spider-Man-Parker and batman-Wei En, is sent
Equipment provides " connection " push button function for each facility information and is selected for user, after user selects a certain facility information, sends
Equipment sends Bluetooth connection request to the corresponding equipment of the facility information, if for example, the facility information of receiving device is Spider-Man-
Parker, then after user clicks subsequent " connection " button of Spider-Man-Parker, sending device sends bluetooth connection to receiving device and asks
It asks.In turn, it after receiving device receives the Bluetooth connection request that sending device is sent, can be shown in the display interface of receiving device
Show that Bluetooth connection inquiry information confirms for user, as shown in Figure 10, Tu10Zhong, the outstanding gloomy facility information for indicating sending device should
Facility information can be voluntarily arranged by the user of sending device, such as name and the pet name etc. that could be provided as user.If user
Accept button shown in Figure 10 is clicked, then receiving device establishes bluetooth connection with sending device.Further, bluetooth company is established
After connecing, user selects to transmit file destination to be transmitted to receiving device in the document presentation list of sending device, and passes through indigo plant
Tooth is connected to receiving device transmission objectives file, as shown in figure 11.In Figure 11, left side indicates the file that sending device is sent, right
Side indicates the file that receiving device receives.The user of sending device can be pressed by clicking " select file " shown in Figure 11
Button, selection need the file destination sent to be transferred to receiving device.
While sending device starts to send file destination to receiving device, sending device establishes a Wi-Fi Hotspot,
And the configuration information of the Wi-Fi Hotspot is sent to receiving device by the bluetooth connection of foundation, wherein configuration information can wrap
Include the Wi-Fi access points such as service set (Service Set Identifier, abbreviation SSID) and the password of Wi-Fi Hotspot letter
Breath.After receiving device receives the configuration information of sending device transmission, transmission is automatically connected to according to the configuration information of reception and is set
The standby Wi-Fi Hotspot established.It is remaining based on Wi-Fi connection transmission after sending device and receiving device establish Wi-Fi connection
File and the subsequently selected transmission of user file, to realize the high-speed transfer of file.
In order to realize that above-described embodiment, the present invention also propose that a kind of file transfer means, Figure 12 are one implementation of the present invention
The file transfer means structure of example is intended to.As shown in figure 12, this document transmitting device includes:First establishes the biography of module 110, first
Defeated module 120, second establish module 130 and the second transmission module 140
First establishes module 110, and establishing first network for being based on short range wireless transmission and receiving device connect.
First transmission module 120, for being connected by first network, the data into receiving device transmission objectives file.
Second establishes module 130, for being connected by first network, is established for multiple spot simultaneous transmission with receiving device
Second network connection.
Second transmission module 140 passes through the second network connection for being switched to the second network connection from first network connection
Continue the remaining data not transmitted into receiving device transmission objectives file.
Further, in a kind of possible realization method of the embodiment of the present invention, second establishes module, is additionally operable to sending
When the second network connection between equipment and receiving device is successfully established, where the data for recording the current transmission of file destination
Location point.Second transmission module, when specifically for being switched to the second network connection from first network connection, from the location point of record
Start, transmission remaining data is continued to receiving device by the second network connection, remaining data is the data after location point.
In a kind of possible realization method of the embodiment of the present invention, as shown in figure 13, in the base of embodiment as shown in figure 12
On plinth, second, which establishes module 130, includes:
Transmission unit 131 matches confidence for being connected by first network to receiving device transmission first network access point
Breath.
First establishing unit 132 is asked for connecting the first networking that reception receiving device is sent by first network, and
The second network connection based on first network access point is established with receiving device, wherein carries the first net in the first networking request
The configuration information of network access point.
Specifically, first establishing unit 132 be used for from first network request in extraction first network access point match confidence
Breath, verifies the configuration information of the first network access point of extraction, after being verified, is established based on the with receiving device
Second network connection of one network access point.
Being verified example as one kind, using the first network access point that is locally stored configuration information and extract
The configuration information of first network access point is compared, and when comparing two accordant configuration informations, passes through to extracting
The verification of the configuration information of one network access point.
In a kind of possible realization method of the embodiment of the present invention, as shown in figure 14, in the base of embodiment as shown in figure 12
On plinth, second, which establishes module 130, includes:
Receiving unit 133, for matching for the second network access point by first network connection reception receiving device transmission
Confidence ceases.
Second establishes unit 134, for pass through first network connect to receiving device send second network request, and with connect
Receiving unit establishes the second network connection based on the second network access point, wherein carries the second network in the second networking request and connects
The configuration information of access point.
Specifically, second establishes the configuration information of second network access point of the unit 134 for that will receive and carries the
In two networking requests, it is sent to receiving device, then receive receiving device transmission is verified message, and is built with receiving device
Be based on the second network connection of the second network access point.
In a kind of possible realization method of the embodiment of the present invention, as shown in figure 15, in the base of embodiment as shown in figure 12
On plinth, first, which establishes module 110, includes:
Probe unit 111, for around detect with the matched facility information of short range wireless transmission, wherein equipment letter
Include at least the facility information of receiving device in breath, the facility information of receiving device be receiving device be in can search for state when
It is broadcasted by short range wireless transmission.
First network establishes unit 112, for establishing first network with receiving device according to the facility information of receiving device
Connection.
Specifically, first network establish unit 112 for the facility information detected is illustrated in the form of a list it is aobvious
Show interface, after monitoring that the facility information of receiving device is selected, establishes first network with receiving device and connect.
In a kind of possible realization method of the embodiment of the present invention, the first transmission module 120 is specifically used for the institute from storage
There is the file destination chosen in file and need to transmit to receiving device, and the size and/or format of file destination verified,
Then after being verified, the data in file destination are transferred to receiving device by first network connection.
In conclusion the file transfer means of the embodiment of the present invention, first first, which establishes module 110, is based on short-distance wireless
Transmission is established first network with receiving device and is connect, and the first transmission module 120 is connected by the first network, to receiving device
Then data in transmission objectives file second are established module 130 and are connected by first network, the second net is established with receiving device
Network connect, the second last transmission module 140 from first network connection be switched to the second network connection, by the second network connection after
Continue to receiving device, the remaining data not transmitted in transmission objectives file.The device is establishing the first net with receiving device as a result,
After network connection, transmission objectives file is begun to, and after establishing the second network connection of high speed, file destination is switched to this
Transmitted in the network of high speed so that during establishing the second network connection, also can transmission objectives file, to carry
The high efficiency of file destination transmission.And the configuration information of the second network connection of transmission is connected by first network so that the
Process is established in two network connections, is not depended on manual operation automation and is realized networking process, saves the time that network is established.
In the present embodiment, files are transmitted in conjunction with two kinds of communications, solves and brought using single communication mode
The transmission channel startup time is long, the slow technical problem of transmission speed, improves efficiency and the safety of transmission file.
In order to realize that above-described embodiment, the present invention also propose a kind of electronic equipment.
Figure 13 is the structural schematic diagram for a kind of electronic equipment that one embodiment of the invention proposes.As shown in figure 13, the electronics
Equipment 120 includes:Shell 121, processor 122, memory 123, circuit board 124 and power circuit 125, wherein circuit board 124
It is placed in the space interior that shell 121 surrounds, processor 122 and the setting of memory 123 are on circuit boards;Power circuit 125 is used
In each circuit or the device power supply for above-mentioned electronic equipment 120;Memory 123 is for storing executable program code;Processing
Device 122 runs program corresponding with executable program code by reading the executable program code stored in memory 123,
For realizing the document transmission method as described in above-described embodiment.
In order to realize that above-described embodiment, the present invention also propose a kind of non-transitorycomputer readable storage medium, deposit thereon
Computer program is contained, the document transmission method as described in above-described embodiment is realized when which is executed by processor.
In order to realize that above-described embodiment, the present invention also propose a kind of computer program product, when the computer program product
In instruction the document transmission method as described in above-described embodiment is realized when being executed by processor.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not
It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office
It can be combined in any suitable manner in one or more embodiments or example.In addition, without conflicting with each other, the skill of this field
Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples
It closes and combines.
In addition, term " first ", " second " are used for description purposes only, it is not understood to indicate or imply relative importance
Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or
Implicitly include at least one this feature.In the description of the present invention, the meaning of " plurality " is at least two, such as two, three
It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing custom logic function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discuss suitable
Sequence, include according to involved function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (system of such as computer based system including processor or other can be held from instruction
The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicating, propagating or passing
Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment
It sets.The more specific example (non-exhaustive list) of computer-readable medium includes following:Electricity with one or more wiring
Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable
Medium, because can be for example by carrying out optical scanner to paper or other media, then into edlin, interpretation or when necessary with it
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the present invention can be realized with hardware, software, firmware or combination thereof.Above-mentioned
In embodiment, software that multiple steps or method can in memory and by suitable instruction execution system be executed with storage
Or firmware is realized.Such as, if realized in another embodiment with hardware, following skill well known in the art can be used
Any one of art or their combination are realized:With for data-signal realize logic function logic gates from
Logic circuit is dissipated, the application-specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene can compile
Journey gate array (FPGA) etc..
Those skilled in the art are appreciated that realize all or part of step that above-described embodiment method carries
Suddenly it is that relevant hardware can be instructed to complete by program, the program can be stored in a kind of computer-readable storage medium
In matter, which includes the steps that one or a combination set of embodiment of the method when being executed.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, it can also
That each unit physically exists alone, can also two or more units be integrated in a module.Above-mentioned integrated mould
The form that hardware had both may be used in block is realized, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized in the form of software function module and when sold or used as an independent product, can also be stored in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above
The embodiment of the present invention is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as the limit to the present invention
System, those skilled in the art can be changed above-described embodiment, change, replace and become within the scope of the invention
Type.
Claims (10)
1. a kind of document transmission method, which is characterized in that including:
Sending device is established first network with receiving device based on short range wireless transmission and is connect;
The sending device is connected by the first network, the data into the receiving device transmission objectives file;
The sending device is connected by the first network, and second for multiple spot simultaneous transmission is established with the receiving device
Network connection;
The sending device is switched to second network connection from first network connection, passes through second network connection
Continue to transmit the remaining data not transmitted in the file destination to the receiving device.
2. according to the method described in claim 1, it is characterized in that, further including:
When second network connection of the sending device between the sending device and the receiving device is successfully established,
Record the location point where the data of the current transmission of the file destination;
It is described to continue to transmit the residue that do not transmit in the file destination to the receiving device by second network connection
Data, including:
When the sending device is switched to second network connection from first network connection, from the location point of record
Start, continues to the receiving device to transmit the remaining data by second network connection, the remaining data is institute
State the data after location point.
3. according to the method described in claim 1, it is characterized in that, the sending device is connected by the first network, with
The receiving device establishes the second network connection for multiple spot simultaneous transmission, including:
The sending device is connected by the first network, matches confidence to receiving device transmission first network access point
Breath;
The sending device is networked by first that first network connection receives that the receiving device sends and is asked, and with institute
It states receiving device and establishes second network connection based on the first network access point;Wherein, the first networking request
The middle configuration information for carrying first network access point.
4. according to the method described in claim 3, it is characterized in that, the sending device connects reception by the first network
The first networking request that the receiving device is sent, and establish the institute based on the first network access point with the receiving device
The second network connection is stated, including:
The sending device extracts the configuration information of first network access point from the first networking request, described in extraction
The configuration information of first network access point is verified;
The sending device establishes described the based on the first network access point with the receiving device after being verified
Two network connections.
5. according to the method described in claim 4, its feature is being, the first network access point of described pair of extraction is matched
Confidence breath is verified, including:
The sending device is connect using the configuration information of first network access point and the first network of extraction being locally stored
The configuration information of access point is compared;
The sending device passes through the first network access point to extracting when comparing two accordant configuration informations
The verification of configuration information.
6. according to the method described in claim 1, it is characterized in that, the sending device is connected by the first network, with
The receiving device establishes the second network connection for multiple spot simultaneous transmission, including:
The sending device receives matching for the second network access point of the receiving device transmission by first network connection
Confidence ceases;
The sending device is connected to the receiving device by the first network and sends the second networking request, and is connect with described
Receiving unit establishes second network connection based on second network access point;Wherein, it is taken in the second networking request
Configuration information with the second network access point.
7. according to the method described in claim 6, it is characterized in that, the sending device is connected by the first network to institute
State receiving device and send second and network request, and establish with the receiving device based on second network access point described the
Two network connections, including:
The configuration information of the second network access point received is carried and is sent out in the second networking request by the sending device
Give the receiving device;
The sending device receives the message that is verified of the receiving device transmission, and is established based on institute with the receiving device
State second network connection of the second network access point.
8. a kind of file transfer means, which is characterized in that including:
First establishes module, and establishing first network for being based on short range wireless transmission and receiving device connect;
First transmission module is connected for passing through the first network, the data into the receiving device transmission objectives file;
Second establishes module, is connected for passing through the first network, is established with the receiving device and is used for multiple spot simultaneous transmission
The second network connection;
Second transmission module passes through second net for being switched to second network connection from first network connection
Network connection continues to transmit the remaining data not transmitted in the file destination to the receiving device.
9. a kind of electronic equipment, which is characterized in that including:Shell, processor, memory, circuit board and power circuit, wherein
Circuit board is placed in the space interior that shell surrounds, and processor and memory setting are on circuit boards;Power circuit, for being
State each circuit or the device power supply of electronic equipment;Memory is for storing executable program code;Processor is deposited by reading
The executable program code stored in reservoir runs program corresponding with executable program code, and 1- is required for perform claim
7 any one of them document transmission methods.
10. a kind of non-transitorycomputer readable storage medium, is stored thereon with computer program, which is characterized in that the program
Such as claim 1-7 any one of them document transmission methods are realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810278104.7A CN108462953B (en) | 2018-03-30 | 2018-03-30 | File transmission method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810278104.7A CN108462953B (en) | 2018-03-30 | 2018-03-30 | File transmission method and device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108462953A true CN108462953A (en) | 2018-08-28 |
CN108462953B CN108462953B (en) | 2021-09-21 |
Family
ID=63237847
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810278104.7A Active CN108462953B (en) | 2018-03-30 | 2018-03-30 | File transmission method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108462953B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110784940A (en) * | 2019-11-14 | 2020-02-11 | 新乡学院 | Method and electronic device for network connection |
CN112153094A (en) * | 2019-06-28 | 2020-12-29 | Oppo广东移动通信有限公司 | Data transmission control method and device between electronic devices |
CN112203248A (en) * | 2020-09-27 | 2021-01-08 | 尚科宁家(中国)科技有限公司 | Cleaning system |
CN112672121A (en) * | 2019-10-16 | 2021-04-16 | Oppo广东移动通信有限公司 | Mobile terminal screen projection system, mobile terminal, control method and projection display equipment |
CN113271324A (en) * | 2020-02-14 | 2021-08-17 | 深圳市万普拉斯科技有限公司 | File transmission method and device, electronic equipment and readable storage medium |
EP4258710A4 (en) * | 2020-12-31 | 2024-07-10 | Huawei Tech Co Ltd | Method for transmitting data in near field, device and system |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103368611A (en) * | 2012-03-27 | 2013-10-23 | 腾讯科技(深圳)有限公司 | Method and mobile terminal for file transfer |
US20140220900A1 (en) * | 2008-12-23 | 2014-08-07 | Interdigital Patent Holdings, Inc. | Data transfer between wireless devices |
CN104010309A (en) * | 2014-05-19 | 2014-08-27 | 百度在线网络技术(北京)有限公司 | Method for establishing connection between access point and terminal and terminal |
US8914001B1 (en) * | 2007-10-23 | 2014-12-16 | Sprint Communications Company L.P. | Simple network database protocol |
CN105472038A (en) * | 2016-01-07 | 2016-04-06 | 腾讯科技(深圳)有限公司 | Control method, control apparatus and control system for file transmission |
CN105577635A (en) * | 2015-07-31 | 2016-05-11 | 东莞酷派软件技术有限公司 | File transmission method and mobile terminals |
CN106912085A (en) * | 2017-04-25 | 2017-06-30 | 努比亚技术有限公司 | A kind of client and WI FI connection methods |
CN107707538A (en) * | 2017-09-27 | 2018-02-16 | 广东欧珀移动通信有限公司 | Data transmission method, device, mobile terminal and computer-readable recording medium |
-
2018
- 2018-03-30 CN CN201810278104.7A patent/CN108462953B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8914001B1 (en) * | 2007-10-23 | 2014-12-16 | Sprint Communications Company L.P. | Simple network database protocol |
US20140220900A1 (en) * | 2008-12-23 | 2014-08-07 | Interdigital Patent Holdings, Inc. | Data transfer between wireless devices |
CN103368611A (en) * | 2012-03-27 | 2013-10-23 | 腾讯科技(深圳)有限公司 | Method and mobile terminal for file transfer |
CN104010309A (en) * | 2014-05-19 | 2014-08-27 | 百度在线网络技术(北京)有限公司 | Method for establishing connection between access point and terminal and terminal |
CN105577635A (en) * | 2015-07-31 | 2016-05-11 | 东莞酷派软件技术有限公司 | File transmission method and mobile terminals |
CN105472038A (en) * | 2016-01-07 | 2016-04-06 | 腾讯科技(深圳)有限公司 | Control method, control apparatus and control system for file transmission |
CN106912085A (en) * | 2017-04-25 | 2017-06-30 | 努比亚技术有限公司 | A kind of client and WI FI connection methods |
CN107707538A (en) * | 2017-09-27 | 2018-02-16 | 广东欧珀移动通信有限公司 | Data transmission method, device, mobile terminal and computer-readable recording medium |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112153094A (en) * | 2019-06-28 | 2020-12-29 | Oppo广东移动通信有限公司 | Data transmission control method and device between electronic devices |
CN112153094B (en) * | 2019-06-28 | 2024-03-19 | Oppo广东移动通信有限公司 | Method and device for controlling data transmission between electronic devices |
CN112672121A (en) * | 2019-10-16 | 2021-04-16 | Oppo广东移动通信有限公司 | Mobile terminal screen projection system, mobile terminal, control method and projection display equipment |
CN112672121B (en) * | 2019-10-16 | 2023-02-17 | Oppo广东移动通信有限公司 | Mobile terminal screen projection system, mobile terminal, control method and projection display equipment |
CN110784940A (en) * | 2019-11-14 | 2020-02-11 | 新乡学院 | Method and electronic device for network connection |
CN113271324A (en) * | 2020-02-14 | 2021-08-17 | 深圳市万普拉斯科技有限公司 | File transmission method and device, electronic equipment and readable storage medium |
CN112203248A (en) * | 2020-09-27 | 2021-01-08 | 尚科宁家(中国)科技有限公司 | Cleaning system |
EP4258710A4 (en) * | 2020-12-31 | 2024-07-10 | Huawei Tech Co Ltd | Method for transmitting data in near field, device and system |
Also Published As
Publication number | Publication date |
---|---|
CN108462953B (en) | 2021-09-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108462953A (en) | File transmission method and device, electronic equipment and storage medium | |
US11336481B2 (en) | Wireless communication system, communication apparatus, setting information providing method, setting information obtaining method, and computer program | |
US9826438B2 (en) | Electronic device and method for operating an electronic device | |
CN104159226B (en) | Method for connecting network and device | |
KR101315079B1 (en) | Method of transferring application data from a first device to a second device, and a data transfer system | |
US9525736B2 (en) | Content continuation system and method | |
CN101796798B (en) | Method of and device for transferring content | |
CN101002450B (en) | Method, device and software for updating data in mobile devices | |
TWI512489B (en) | Multi-screen interactive method, center equipment, terminal equipment and systems | |
CN104363666B (en) | The method and apparatus being wirelessly connected are established with external equipment in the electronic device | |
EP3068104B1 (en) | Sharing method and system for media file | |
CN106713418B (en) | Reset result confirmation method, device, server and mobile terminal | |
EP2941058B1 (en) | Near field communication method and device | |
KR20130107617A (en) | Wireless communication terminal and method and apparatus for managing wireless direct access communication group for the wireless communication terminal | |
WO2018107593A1 (en) | Method and device for sharing file between different terminals | |
CN104054389B (en) | Method and apparatus for establishing wireless local area network link between portable terminal | |
WO2019184805A1 (en) | Network switching method, communication apparatus and communication device | |
CN104584490A (en) | Data transmitting method and device | |
CN105636041A (en) | Networking method and apparatus for intelligent device | |
CN104980503B (en) | The information-pushing method and equipment of a kind of POS terminal as Wi-Fi hotspot | |
CN105025085B (en) | A kind of information-pushing method based on Wi-Fi hotspot, equipment and system | |
CN106790743A (en) | Information transferring method, device and mobile terminal | |
KR20090123626A (en) | An user-aware home network system using the cellular phone and method thereof | |
CN105516972A (en) | Network connection method and device | |
CN108174372A (en) | Method for network access, device, electronic equipment and storage 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |