CN108696547A - Document transmission method, apparatus and system - Google Patents

Document transmission method, apparatus and system Download PDF

Info

Publication number
CN108696547A
CN108696547A CN201710113909.1A CN201710113909A CN108696547A CN 108696547 A CN108696547 A CN 108696547A CN 201710113909 A CN201710113909 A CN 201710113909A CN 108696547 A CN108696547 A CN 108696547A
Authority
CN
China
Prior art keywords
terminal
transmission
parameter information
connection
reception terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710113909.1A
Other languages
Chinese (zh)
Inventor
何祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201710113909.1A priority Critical patent/CN108696547A/en
Priority to PCT/CN2017/115682 priority patent/WO2018157646A1/en
Publication of CN108696547A publication Critical patent/CN108696547A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention provides a kind of document transmission method, apparatus and system, wherein this method includes:Reception terminal will be sent to locally for the parameter information being connect with reception terminal by way of acoustic code by sending terminal;It sends terminal and receives the connection request for receiving terminal in response to parameter information;It sends terminal and Wireless Fidelity Wi-Fi connection is established with terminal is received according to connection request;It sends terminal and is based on Wi-Fi connection to reception terminal transmission file.Through the invention, it solves the problems, such as to need to be improved terminal hardware by the way of the transmission of short distance file in the related technology that cost is caused to increase, has achieved the effect that cost-effective and promoted user experience.

Description

Document transmission method, apparatus and system
Technical field
The present invention relates to the communications fields, in particular to a kind of document transmission method, apparatus and system.
Background technology
Nowadays intelligent terminal is quickly grown, especially smart mobile phone, and in the various functions of smart mobile phone in addition to phone, Except the basic functions such as information and storage business card, various social activities, the application of sharing function are also more and more.For example, in two people Between, audio-video document is closely carried out by mobile terminal, various application software are shared, transmit, be a comparison allusion quotation The application scenarios of type.
For short distance file, common bluetooth, Wireless Fidelity Wi-Fi both, both are required for using Family searches for list of devices nearby, finds corresponding device name, then click connection/pairing again after opening control switch, Then carry out file transfer operation again, use it is comparatively laborious, it is not convenient enough.
Specifically, common two kinds of files are in the related art:One is fast matched to realize by NFC It is right.Another kind is the HotKnot technologies based on touch screen, supports the mobile phone screen of the technology to stick together simultaneously by two, so Realize that file transmits by Wi-Fi (hot spot is direct-connected) afterwards.
However above-mentioned prior art has the disadvantage that or problem:
(1) quick pairing and transmission based on NFC, it is necessary first to which hardware device supports NFC, is similarly also required to outside hardware The support that establishing is set, and then cost can be increased.
(2) the quick matching technology based on HotKnot, to the software of touch screen component and its chip firmware and terminal Platform requires, and can also increase overall cost.
For the above problem in the related technology, not yet there is effective solution at present.
Invention content
An embodiment of the present invention provides a kind of document transmission method, apparatus and systems, at least to solve to adopt in the related technology With short distance file transmit mode need to be improved terminal hardware cause cost to increase the problem of.
According to an aspect of the invention, there is provided a kind of document transmission method, including:Send terminal will locally for The parameter information for receiving terminal connection is sent to the reception terminal by way of acoustic code;The transmission terminal receives described Receive connection request of the terminal in response to the parameter information;The transmission terminal is whole according to the connection request and the reception Wireless Fidelity Wi-Fi connection is established at end;The transmission terminal is based on the Wi-Fi connection to the reception terminal transmission file.
Optionally, the terminal that sends will be sent out locally for the parameter information being connect with reception terminal by way of acoustic code Being sent to the reception terminal includes:The transmission terminal is packaged the parameter information by specified format;The transmission The parameter information after encapsulation is recycled by audio resource to the reception terminal and is sent by terminal.
Optionally, it will be sent by way of acoustic code locally for the parameter information being connect with reception terminal in transmission terminal To before the reception terminal, the method further includes:The transmission terminal obtains the parameter information, wherein the parameter Information includes at least one of:IP address, device identification ID, the device type for sending terminal.
Optionally, Wireless Fidelity Wi-Fi is established according to the connection request and the reception terminal in the transmission terminal After connection, the method further includes:The transmission terminal stops by way of acoustic code to described in reception terminal transmission Parameter information, and discharge the occupied device resource in transmission process.
According to another aspect of the present invention, a kind of document transmission method is provided, including:It receives terminal and passes through acoustic code Mode, which receives, sends the parameter information for being connect with the reception terminal that terminal is sent;The reception terminal is according to the ginseng Information is counted to the transmission connection request;It is established and the reception terminal according to the connection request in the transmission terminal After Wi-Fi connection, the terminal that receives receives the file for sending terminal transmission.
Optionally, it is described receive terminal received by way of acoustic code send terminal send be used for and the reception terminal The parameter information of connection includes:The terminal that receives receives the parameter information after the transmission terminal enclosure;The reception terminal Parameter information after encapsulation is parsed, and extracts the parameter information.
Optionally, the reception terminal includes to the transmission connection request according to the parameter information:The reception is eventually End sends connection request by the direct-connected interfaces of WI-FI to the transmission terminal.
Optionally, it is established according to the connection request in the transmission terminal and connect it with the WI-FI for receiving terminal Afterwards, the method further includes:The terminal that receives stops receiving the ginseng that the transmission terminal is sent by way of acoustic code Number information, and discharge the occupied device resource in transmission process.
According to a further aspect of the invention, a kind of file transfer means are provided, are applied to send end side, including: First pairing management module, for institute will to be sent to by way of acoustic code locally for the parameter information being connect with reception terminal State reception terminal;Direct-connected authentication module, the connection request for receiving the reception terminal in response to the parameter information;The One Wi-Fi connection proxy module, for establishing Wi-Fi connection according to the connection request and the reception terminal;First file Transmission module, for being based on the Wi-Fi connection to the reception terminal transmission file.
Optionally, the first pairing management module includes:Encapsulation unit, for being believed the parameter by specified format Breath is packaged;Transmission unit, for being recycled the parameter information after encapsulation to the reception terminal by audio resource It sends.
Optionally, sound will be passed through locally for the parameter information being connect with reception terminal in the first pairing management module The mode of code is sent to before the reception terminal, the first Wi-Fi connection proxy module, is additionally operable to obtain the parameter letter Breath, wherein the parameter information includes at least one of:IP address, device identification ID, the equipment class for sending terminal Type.
Optionally, the first Wi-Fi connection proxy module is additionally operable to whole according to the connection request and the reception End is established after Wireless Fidelity Wi-Fi connection, stops sending the parameter information to the reception terminal by way of acoustic code, And discharge the occupied device resource in transmission process.
According to a further aspect of the invention, a kind of file transfer means are provided, are applied to receive end side, including: Second pairing management module, for received by way of acoustic code send that terminal sends for being connect with the reception terminal Parameter information;Second Wi-Fi connection proxy module, for according to the parameter information to the transmission connection request;Second text Part transmission module, after the Wi-Fi connection in the transmission terminal according to connection request foundation with the reception terminal, Receive the file for sending terminal transmission.
Optionally, the second pairing management module includes:Receiving unit, for receive it is described transmission terminal enclosure after parameter Information;Processing unit for being parsed to the parameter information after encapsulation, and extracts the parameter information.
Optionally, the second Wi-Fi connection proxy module is additionally operable to whole to the transmission by Wi-Fi direct interface End sends connection request.
Optionally, the second Wi-Fi connection proxy module is additionally operable to connect with described according to connection request foundation After the Wi-Fi connection for receiving terminal, the terminal that receives stops receiving the institute that the transmission terminal is sent by way of acoustic code Parameter information is stated, and discharges the occupied device resource in transmission process.
According to a further aspect of the invention, a kind of Transmission system of file is provided, including:Above application is whole in sending The file transfer means and above application of end side are in the file transfer means for receiving end side.
The embodiments of the present invention also provide a kind of storage mediums.Optionally, in the present embodiment, above-mentioned storage medium can To be arranged to store the program code for executing following steps:It will lead to locally for the parameter information being connect with reception terminal The mode for crossing acoustic code is sent to reception terminal;Receive the connection request for receiving terminal in response to parameter information;It is asked according to connection It asks and establishes Wireless Fidelity Wi-Fi connection with reception terminal;Based on Wi-Fi connection to receive terminal transmission file.
Through the invention, realization file can be combined by way of acoustic code with reception terminal with WI-FI by sending terminal Transmission so that send terminal and receive terminal it is not necessary that hot spot authentication property and password is arranged, into without changing to hardware Become, leads to cost to solve to need to be improved terminal hardware by the way of the transmission of short distance file in the related technology The problem of increase, has achieved the effect that cost-effective and has promoted user experience.
Description of the drawings
Attached drawing described herein is used to provide further understanding of the present invention, and is constituted part of this application, this hair Bright illustrative embodiments and their description are not constituted improper limitations of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is the flow chart one of document transmission method according to the ... of the embodiment of the present invention;
Fig. 2 is document transmission method flowchart 2 according to the ... of the embodiment of the present invention;
Fig. 3 is the structural schematic diagram one of file transfer means according to the ... of the embodiment of the present invention;
Fig. 4 is the structural schematic diagram two of file transfer means according to the ... of the embodiment of the present invention;
Fig. 5 is direct-connected authentication management module status migration schematic diagram according to the ... of the embodiment of the present invention;
Fig. 6 is the flow chart for the method for realizing shortcut file transmission by way of acoustic code according to the present embodiment.
Specific implementation mode
Come that the present invention will be described in detail below with reference to attached drawing and in conjunction with the embodiments.It should be noted that not conflicting In the case of, the features in the embodiments and the embodiments of the present application can be combined with each other.
It should be noted that term " first " in description and claims of this specification and above-mentioned attached drawing, " Two " etc. be for distinguishing similar object, without being used to describe specific sequence or precedence.
Embodiment 1
A kind of document transmission method is provided in the present embodiment, and Fig. 1 is file transmission side according to the ... of the embodiment of the present invention The flow chart one of method, as shown in Figure 1, the flow includes the following steps:
Step S102:Sending terminal will be sent locally for the parameter information being connect with reception terminal by way of acoustic code To reception terminal;
Step S104:It sends terminal and receives the connection request for receiving terminal in response to parameter information;
Step S106:It sends terminal and Wireless Fidelity Wi-Fi connection is established with terminal is received according to connection request;
Step S108:It sends terminal and is based on Wi-Fi connection to reception terminal transmission file.
Above-mentioned steps S102 to step S108 through this embodiment, acoustic code can be passed through by sending terminal with terminal is received Mode with Wi-Fi be combined realize file transmission so that send terminal with receive terminal without be arranged hot spot authentication property and Password is needed by the way of the transmission of short distance file into without being changed to hardware to solve in the related technology It is improved the problem of causing cost to increase to terminal hardware, achieved the effect that cost-effective and promotes user experience.
In the optional embodiment of the present embodiment, the S102 in the present embodiment sends terminal will be locally for whole with reception The parameter information of end connection is sent to reception terminal mode by way of acoustic code:
Step S102-1:Terminal is sent to be packaged parameter information by specified format;
Step S102-2:Terminal is sent to recycle the parameter information after encapsulation to reception terminal transmission by audio resource.
It should be noted that before step S102, sends terminal and be required for opening the mode of acoustic code with terminal is received, with Just initialization is completed.
In another optional embodiment of the present embodiment, terminal is sent by local use in the step S02 of the present embodiment Before the parameter information being connect with reception terminal is sent to by way of acoustic code and receives terminal, the method for the present embodiment may be used also To include:It sends terminal to get parms information, wherein parameter information includes at least one of:It sends the IP address of terminal, set Standby mark ID, device type.
It should be noted that needing to open Wi-Fi direct before obtaining the parameter information.
In another optional embodiment of the present embodiment, terminal is sent according to connection request in the S104 of the present embodiment After establishing Wireless Fidelity Wi-Fi connection with reception terminal, the method for the present embodiment can also include:Terminal stopping is sent to pass through The mode of acoustic code sends parameter information to terminal is received, and discharges the occupied device resource in transmission process.
It should be noted that in specific application scenarios, send terminal based on loud speaker by way of acoustic code to connecing The mic for receiving terminal carries out data transmission;Wherein, acoustic code transmission needs to occupy audio frequency apparatus in activation, when stopping transmitting, It is corresponding just to need to discharge these device resources.
It should be noted that above-mentioned transmission terminal is equivalent to a handshake authentication with the process for receiving terminal foundation connection; After the completion of the handshake authentication, terminal is sent with terminal is received and establishes connection;Therefore, it is sending terminal and is receiving terminal foundation company Rear both sides are met to need to update connection status.
Embodiment two
A kind of document transmission method is present embodiments provided, Fig. 2 is document transmission method stream according to the ... of the embodiment of the present invention Journey figure two, as shown in Fig. 2, the step of this method includes:
Step S202:It receives terminal and is received by way of acoustic code and send the terminal that is used for and receives that terminal is sent and connect Parameter information;
Step S204:Receive terminal according to parameter information to send connection request;
Step S206:It is established with after the Wi-Fi connection of reception terminal according to connection request sending terminal, receives terminal and connect Transmit and receive the file of terminal transmission.
It should be noted that the present embodiment from receive terminal be described, in above-described embodiment one from send eventually End is corresponding.In addition, be transmission terminal in the case where sending file due to sending terminal, and in the case where receiving file Exactly receive terminal.Therefore, terminal can also be received by sending terminal;That is, the operation performed by above-mentioned reception terminal, It is also that can execute, and send the operation performed by terminal to send terminal, and it is also that can execute to receive terminal.
In an optional embodiment of the present embodiment, step S202 receives terminal and receives transmission by way of acoustic code What terminal was sent, which is used for, with the mode for receiving the parameter information that terminal is connect, may include:
Step S202-1:It receives terminal and receives the parameter information after sending terminal enclosure;
Step S202-2:It receives the parameter information after terminal-pair encapsulation to be parsed, and extracting parameter information.
In another optional embodiment of the present embodiment, receive terminal according to parameter information to send connection request packet It includes;It receives terminal and connection request is sent to terminal is sent by Wi-Fi direct interface.
In another optional embodiment of the present embodiment, established and reception terminal according to connection request sending terminal Wi-Fi connection after, the method for the present embodiment can also include:It receives terminal stopping and receives transmission by way of acoustic code eventually The parameter information sent is held, and discharges the occupied device resource in transmission process.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but it is very much In the case of the former be more preferably embodiment.Based on this understanding, technical scheme of the present invention is substantially in other words to existing The part that technology contributes can be expressed in the form of software products, which is stored in a storage In medium (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be mobile phone, calculate Machine, server or network equipment etc.) execute method described in each embodiment of the present invention.
Embodiment three
A kind of file transfer means are additionally provided in the present embodiment, and the device is real for realizing above-described embodiment and preferably Mode is applied, repeating no more for explanation had been carried out.As used below, the soft of predetermined function may be implemented in term " module " The combination of part and/or hardware.Although device described in following embodiment is preferably realized with software, hardware, or The realization of the combination of software and hardware is also that may and be contemplated.
Fig. 3 is the structural schematic diagram one of file transfer means according to the ... of the embodiment of the present invention, which is applied to send eventually End side, as shown in figure 3, the device includes:
First pairing management module 32, the side for acoustic code will to be passed through locally for the parameter information being connect with reception terminal Formula is sent to reception terminal;
Direct-connected authentication module 34, with first pairing management module 32 be of coupled connections, for receive receive terminal in response to The connection request of parameter information;
First Wi-Fi connection proxy module 36, is of coupled connections with direct-connected authentication module 34, for according to connection request with connect It receives terminal and establishes Wi-Fi connection;
First document transmission module 38 is of coupled connections with the first Wi-Fi connection proxy module 36, for being connected based on WI-FI It connects to reception terminal transmission file.
Optionally, which includes:Encapsulation unit, for being carried out to parameter information by specified format Encapsulation;Transmission unit is of coupled connections with encapsulation unit, for being recycled the parameter information after encapsulation to reception by audio resource Terminal is sent.
Optionally, acoustic code will be passed through locally for the parameter information being connect with reception terminal in the first pairing management module 32 Mode be sent to receive terminal before, which is additionally operable to the information that gets parms, wherein ginseng Number information includes at least one of:Send IP address, device identification ID, the device type of terminal.
Optionally, the first Wi-Fi connection proxy module 36 is additionally operable to established wirelessly with terminal is received according to connection request After fidelity Wi-Fi connection, stop sending parameter information to reception terminal by way of acoustic code, and discharge in transmission process Occupied device resource.
Example IV
Fig. 4 is the structural schematic diagram two of file transfer means according to the ... of the embodiment of the present invention, which is applied to receive eventually End side, as shown in figure 4, the device includes:
Second pairing management module 42, for received by way of acoustic code send terminal send be used for and receive terminal The parameter information of connection;
Second Wi-Fi connection proxy module 44 is of coupled connections with the second pairing management module 42, for according to parameter information To transmission connection request;
Second document transmission module 46 is of coupled connections with the second Wi-Fi connection proxy module 44, for sending terminal root It is established with after the Wi-Fi connection of reception terminal according to connection request, receives the file for sending terminal transmission.
It is applied in end side, with above-described embodiment three it should be noted that the device in the present embodiment is applied to receive End side device is sent to correspond to.In addition, being to send terminal, and receiving file in the case where sending file due to sending terminal In the case of be exactly to receive terminal.Therefore, terminal can also be received by sending terminal;That is, above application is whole in receiving The device at end it could also be possible that applied to the device for sending terminal, likewise, applied to the device for sending terminal it could also be possible that Applied to the device for receiving terminal.
Therefore, if the device either sender can also recipient, the first matched pair transistor in embodiment three It can be same module that module 32, which is managed, with the second pairing management module 42 in the present embodiment;Identical reason, above-described embodiment The first Wi-Fi connection proxy module 36 and the second Wi-Fi connection proxy module 44 in three and the first document transmission module 38 Same module is may each be with the second document transmission module 46.
Certainly, if necessary to be provided separately above-mentioned module in same terminal, as individual module.
Optionally, which includes:Receiving unit, for receiving the parameter after sending terminal enclosure Information;Processing unit is of coupled connections with receiving unit, and for being parsed to the parameter information after encapsulation, and extracting parameter is believed Breath.
Optionally, the second Wi-Fi connection proxy module 44 is additionally operable to send to terminal is sent by Wi-Fi direct interface Connection request.
Optionally, the second Wi-Fi connection proxy module 44 is additionally operable to establishing according to connection request and receiving terminal After Wi-Fi connection, receives terminal and stop receiving the parameter information for sending terminal transmission by way of acoustic code, and discharge and passing Occupied device resource during defeated.
Embodiment five
A kind of Transmission system of file is present embodiments provided, which includes:It is applied to send terminal in embodiment three It is applied to receive the file transfer means of end side in the file transfer means and example IV of side.
It should be noted that above-mentioned modules can be realized by software or hardware, for the latter, Ke Yitong Following manner realization is crossed, but not limited to this:Above-mentioned module is respectively positioned in same processor;Alternatively, above-mentioned modules are with arbitrary The form of combination is located in different processors.
To keep structure of the invention and advantage clearer, the structure of the present invention is made further below in conjunction with attached drawing Description.
The above embodiment of the present invention one to four is illustrated below by the alternative embodiment of the present invention;
In this alternative embodiment by taking Android platform as an example, this alternative embodiment provides a kind of based on acoustic code and Wi- Shortcut file transmitting device direct-connected Fi, the device can be divided into application layer and ccf layer from software systems level and (or cry and be System layer).
Wherein, function module of the device in application layer includes:Acoustic code switch control module, pairing management module (phase When in upper embodiment three and four first pairing management module and second pairing management module), Wi-Fi connection proxy module (being equivalent to the first Wi-Fi connection proxy module and the second Wi-Fi connection proxy module in embodiment three and four), file pass Defeated management module (is equivalent to the first file transfer management module and the second file transfer management mould in embodiment three and four Block).
Function module of the device in ccf layer include:Direct-connected interface administration module, direct-connected authentication management module are (quite Direct-connected authentication management module in example three and four is applied in above-mentioned);Wherein, direct authentication management module is in existing software systems base On plinth, in conjunction with the interface scheme design that acoustic code is matched, modification is extended.
The above-mentioned module in the present embodiment will be illustrated below;
Acoustic code switch control module, for opening and closing the quick matching operation of acoustic code;Wherein, after completing pairing process It is automatic to terminate related procedure and close related peripherals, it during pairing, can also be turned off manually if necessary, namely cancel fast Prompt matching operation.
Quick pairing management module, for distinguishing transmission terminal and receiving terminal;Wherein, for sending terminal, for obtaining The machine Wi-Fi direct information (including address, id, device type etc.) is taken, and adds direct-connected identification information, after encapsulation is packaged, It is cycled through away by loud speaker.Terminal is received, microphone apparatus is used to open, monitors the sonic data received, matching is straight Identification information even simultaneously parses relevant parameter, obtains direct-connected information.
It should be noted that it can be that acoustic code sends terminal to send terminal, sends terminal and acoustic code transmission terminal can also It is two individual terminals.
Wi-Fi connection proxy module, for the direct-connected state management module as quick pairing management module and ccf layer Bridge, provide the calling to the direct-connected correlation function interface of ccf layer, including start it is direct-connected, terminate direct-connected, connection status The monitoring of the broadcast message of variation and the acquisition of facility information etc., and these information or data are given to quick matched pair transistor Module is managed, to continue flow below.
Document transmission module, for providing the transfer function based on Wi-Fi P2P technologies, main includes transmitting-receiving control pipe The functions such as reason, file preservation, progress prompt.Wherein transmitting-receiving control pipe reason is fast matched management module and is directly invoked.Emphasis is, After completing quick pairing flow, startup file sends or receives process flow.
The direct-connected interface administration module of ccf layer, the interface for handling application layer Wi-Fi connection proxy module call, directly The even pretreatment of parameter and abnormal judgement, notice readjustment of connection status etc..
Direct-connected authentication management module, in the original fundamentals of management of system platform, connected applications layer to pass through acoustic code skill The incoming data of art, extend the sub- state that corresponding Wi-Fi P2P are fast connected, and have modified Wi-Fi P2P connections, shake hands and recognize Demonstrate,prove relevant logic transition relationship.
Fig. 5 is direct-connected authentication management module status migration schematic diagram according to the ... of the embodiment of the present invention, as shown in figure 5, here Newly-increased sub- state, namely quick handshake authentication state, specially correspond to this quick connection mode.It has been opened in Wi-Fi direct In the case of opening, direct-connected interface administration module is passed to parameter (above-mentioned address, id, device type etc.), initiates direct-connected Request, can at this time move to quick handshake authentication state, and centre has skipped scanning device, invited connection and confirm the mistake invited Journey.In addition, when being exactly into quick handshake authentication state, direct designated packet role (GO in Wi-Fi direct agreement or Person GC), skip conventional grouped negotiation state so that the transition process of entire connection status is more quick, and connection procedure is more Quickly, user experience has been advanced optimized.
This alternative embodiment is described in detail below in conjunction with specific embodiment;Fig. 6 is according to the logical of the present embodiment Cross the mode of acoustic code realize shortcut file transmission method flow chart, the flow include software initialization with send terminal, Quick pairing and the authentication logic process flow of reception terminal, step include:
Step S601:It sends terminal and opens the quick transmitting switch of acoustic code, complete related initialization, include mainly audio resource Acquisition.Meanwhile receiving terminal and also opening acoustic code switch, complete initial work.
Step S602:It sends terminal and first passes through Wi-Fi connection proxy module opening Wi-Fi direct by matching management module It switchs (ignoring automatically if having already turned on), and obtains the direct-connected required parameter information of the machine, including address, id and equipment class Type etc..
Step S603:The parameter information that terminal will be got by matching management module is sent, in addition quick pairing mark After information, it is packaged by specific format using the mode of acoustic code, then calls audio resource, cycled through.
Step S604:After terminal is received by matching management module startup connection monitoring processing, above-mentioned sound is received quickly Code data and corresponding parsing, direct-connected corresponding parameter information is extracted according to identification information.
Step S605:Terminal is received by matching management module by Wi-Fi connection proxy module, is passed to direct-connected required ginseng Number recalls the direct-connected interface of ccf layer, attempts and sends terminal and establish quick connection.
Step S606:It sends terminal and receives the direct-connected request that reception terminal is sent, pass through direct-connected authentication management module check Relevant parameter, and start corresponding state transition.
Step S607:It sends terminal and receives terminal, established and connected by handshake authentication, update connection status later.
Step S608:It sends terminal and receives terminal, receiving ccf layer by application layer Wi-Fi connection proxy module sends Connection status variation notice after, terminate this quick pairing flow by matching management module, then opened by acoustic code It closes control module and corresponds to release device resource.
Step S609:Send terminal, application layer document transmission module, by fileinfo to be transmitted and correlating markings number According to reception terminal is issued, after user confirms, by established connection, start file transmission.
The embodiments of the present invention also provide a kind of storage mediums.Optionally, in the present embodiment, above-mentioned storage medium can To be arranged to store the program code for executing following steps:
S1 will be sent to reception terminal locally for the parameter information being connect with reception terminal by way of acoustic code;
S2 receives the connection request for receiving terminal in response to parameter information;
S3 establishes Wireless Fidelity Wi-Fi connection according to connection request with terminal is received;
S4 is based on Wi-Fi connection to reception terminal transmission file.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to:USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or The various media that can store program code such as CD.
Optionally, the specific example in the present embodiment can refer to described in above-described embodiment and optional embodiment Example, details are not described herein for the present embodiment.
Obviously, those skilled in the art should be understood that each module of the above invention or each step can be with general Computing device realize that they can be concentrated on a single computing device, or be distributed in multiple computing devices and formed Network on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored It is performed by computing device in the storage device, and in some cases, it can be with different from shown in sequence execution herein The step of going out or describing, either they are fabricated to each integrated circuit modules or by them multiple modules or Step is fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific hardware and softwares to combine.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, any made by repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (17)

1. a kind of document transmission method, which is characterized in that including:
The reception will be sent to eventually locally for the parameter information being connect with reception terminal by way of acoustic code by sending terminal End;
The connection request for sending terminal and receiving the reception terminal in response to the parameter information;
The transmission terminal establishes Wireless Fidelity Wi-Fi connection according to the connection request and the reception terminal;
The transmission terminal is based on the Wi-Fi connection to the reception terminal transmission file.
2. according to the method described in claim 1, it is characterized in that, the transmission terminal will be connect locally for reception terminal Parameter information be sent to the reception terminal by way of acoustic code and include:
The transmission terminal is packaged the parameter information by specified format;
The parameter information after encapsulation is recycled by audio resource to the reception terminal and is sent by the transmission terminal.
3. method according to claim 1 or 2, which is characterized in that will connect locally for reception terminal sending terminal The parameter information connect is sent to by way of acoustic code before the reception terminal, and the method further includes:
The transmission terminal obtains the parameter information, wherein the parameter information includes at least one of:The transmission is eventually IP address, device identification ID, the device type at end.
4. method according to claim 1 or 2, which is characterized in that the transmission terminal according to the connection request with The reception terminal is established after Wireless Fidelity Wi-Fi connection, and the method further includes:
The transmission terminal stopping sends the operation of the parameter information by way of acoustic code to the reception terminal, and discharges The occupied device resource in transmission process.
5. a kind of document transmission method, which is characterized in that including:
It receives terminal and receives the parameter information being used for and the reception terminal is connect for sending terminal transmission by way of acoustic code;
The reception terminal is according to the parameter information to the transmission connection request;
After the transmission terminal is connect according to connection request foundation with the WI-FI for receiving terminal, the reception is eventually End receives the file for sending terminal transmission.
6. according to the method described in claim 5, it is characterized in that, the reception terminal receives transmission eventually by way of acoustic code What end was sent is used for includes with the parameter information that the reception terminal is connect:
The terminal that receives receives the parameter information after the transmission terminal enclosure;
Parameter information after the reception terminal-pair encapsulation is parsed, and extracts the parameter information.
7. according to the method described in claim 6, it is characterized in that, the reception terminal according to the parameter information to the hair The connection request is sent to include:
The reception terminal sends connection request by Wi-Fi direct interface to the transmission terminal.
8. according to claim 5 to 7 any one of them method, which is characterized in that in the transmission terminal according to the connection Request is established with after the Wi-Fi connection for receiving terminal, and the method further includes:
The terminal that receives stops receiving the parameter information that the transmission terminal is sent by way of acoustic code, and discharges Occupied device resource in transmission process.
9. a kind of file transfer means are applied to send end side, which is characterized in that including:
First pairing management module, for will be sent by way of acoustic code locally for the parameter information being connect with reception terminal To the reception terminal;
Direct-connected authentication module, the connection request for receiving the reception terminal in response to the parameter information;
First Wi-Fi connection proxy module, for establishing Wi-Fi connection according to the connection request and the reception terminal;
First document transmission module, for being based on the Wi-Fi connection to the reception terminal transmission file.
10. device according to claim 9, which is characterized in that described first, which matches management module, includes:
Encapsulation unit is packaged the parameter information for passing through specified format;
Transmission unit is sent for being recycled the parameter information after encapsulation to the reception terminal by audio resource.
11. device according to claim 9 or 10, which is characterized in that match management module by local use described first Before the parameter information being connect with reception terminal is sent to the reception terminal by way of acoustic code,
The first Wi-Fi connection proxy module is additionally operable to obtain the parameter information, wherein the parameter information include with It is at least one lower:IP address, device identification ID, the device type for sending terminal.
12. device according to claim 9 or 10, which is characterized in that
The first Wi-Fi connection proxy module is additionally operable to establish wirelessly according to the connection request and the reception terminal After fidelity Wi-Fi connection, stop sending the parameter information to the reception terminal by way of acoustic code, and discharge and passing Occupied device resource during defeated.
13. a kind of file transfer means are applied to receive end side, which is characterized in that including:
Second pairing management module, for received by way of acoustic code send terminal send be used for and the receptions terminal company The parameter information connect;
Second Wi-Fi connection proxy module, for according to the parameter information to the transmission connection request;
Second document transmission module, for being established and the reception terminal according to the connection request in the transmission terminal After WI-FI connections, the file for sending terminal transmission is received.
14. device according to claim 13, which is characterized in that second, which matches management module, includes:
Receiving unit, for receive it is described transmission terminal enclosure after parameter information;
Processing unit for being parsed to the parameter information after encapsulation, and extracts the parameter information.
15. device according to claim 13, which is characterized in that
The second Wi-Fi connection proxy module is additionally operable to send to connect to the transmission terminal by Wi-Fi direct interface to ask It asks.
16. according to claim 13 to 15 any one of them device, which is characterized in that second Wi-Fi connection acts on behalf of mould Block is additionally operable to established according to the connection request with after the Wi-Fi connection for receiving terminal, and the reception terminal stops The parameter information that the transmission terminal is sent is received by way of acoustic code, and discharges occupied in transmission process set Standby resource.
17. a kind of Transmission system of file, which is characterized in that including:Any one of the claim 9 to 12 is applied to send The file transmission dress for being applied to receive end side of the file transfer means of end side and any one of the claim 13 to 16 It sets.
CN201710113909.1A 2017-02-28 2017-02-28 Document transmission method, apparatus and system Pending CN108696547A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710113909.1A CN108696547A (en) 2017-02-28 2017-02-28 Document transmission method, apparatus and system
PCT/CN2017/115682 WO2018157646A1 (en) 2017-02-28 2017-12-12 File transmission method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710113909.1A CN108696547A (en) 2017-02-28 2017-02-28 Document transmission method, apparatus and system

Publications (1)

Publication Number Publication Date
CN108696547A true CN108696547A (en) 2018-10-23

Family

ID=63370640

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710113909.1A Pending CN108696547A (en) 2017-02-28 2017-02-28 Document transmission method, apparatus and system

Country Status (2)

Country Link
CN (1) CN108696547A (en)
WO (1) WO2018157646A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111372325A (en) * 2020-02-21 2020-07-03 华为技术有限公司 Method and device for establishing Wi-Fi point-to-point connection

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114826591A (en) * 2022-05-26 2022-07-29 京东方科技集团股份有限公司 Cross-device data transmission method, system and terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103974457A (en) * 2014-04-09 2014-08-06 歌尔声学股份有限公司 Connecting method of wireless devices, wireless device and wireless communication system
CN104702678A (en) * 2015-02-13 2015-06-10 腾讯科技(深圳)有限公司 Document transmission method and device
CN104883720A (en) * 2015-05-29 2015-09-02 北京奇虎科技有限公司 Object network access method, object network access guiding and control methods, and corresponding terminals
CN105144757A (en) * 2013-04-26 2015-12-09 三星电子株式会社 Communication service in communication modes
WO2016000560A1 (en) * 2014-06-30 2016-01-07 Tencent Technology (Shenzhen) Company Limited File transmission method, file transmission apparatus, and file transmission system
CN105517111A (en) * 2015-12-10 2016-04-20 广东欧珀移动通信有限公司 Methods and apparatuses for connecting devices with network

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105144757A (en) * 2013-04-26 2015-12-09 三星电子株式会社 Communication service in communication modes
CN103974457A (en) * 2014-04-09 2014-08-06 歌尔声学股份有限公司 Connecting method of wireless devices, wireless device and wireless communication system
WO2016000560A1 (en) * 2014-06-30 2016-01-07 Tencent Technology (Shenzhen) Company Limited File transmission method, file transmission apparatus, and file transmission system
CN104702678A (en) * 2015-02-13 2015-06-10 腾讯科技(深圳)有限公司 Document transmission method and device
CN104883720A (en) * 2015-05-29 2015-09-02 北京奇虎科技有限公司 Object network access method, object network access guiding and control methods, and corresponding terminals
CN105517111A (en) * 2015-12-10 2016-04-20 广东欧珀移动通信有限公司 Methods and apparatuses for connecting devices with network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111372325A (en) * 2020-02-21 2020-07-03 华为技术有限公司 Method and device for establishing Wi-Fi point-to-point connection

Also Published As

Publication number Publication date
WO2018157646A1 (en) 2018-09-07

Similar Documents

Publication Publication Date Title
US10516988B2 (en) Profile processing method, profile processing apparatus, user terminal, and eUICC
EP3565369B1 (en) Esim card activation method, wireless router and computer storage medium
EP3005763B1 (en) Utilization and configuration of wireless docking environments
CN107079236A (en) The system and method for the different types of registration of the IMS service on SIM for managing Wireless Telecom Equipment
EP3484199B1 (en) Virtual card downloading method and terminal
CN112422758B (en) LTE cellular mobile network communication method
CN104584490B (en) Data transmission method for uplink and device
EP3005759A1 (en) Access control for wireless docking
CN108419226A (en) A kind of method and bluetooth equipment connected between bluetooth equipment
WO2014189661A1 (en) Wireless docking architecture
EP2941058B1 (en) Near field communication method and device
US10298446B2 (en) Methods, apparatuses, and system for device management
CN108702603A (en) A kind of method and apparatus communicated by virtual client identification module
CN108476212A (en) Dynamic wlan connections
CN110324808A (en) Switching method, device and the mobile terminal of configuration file
KR102050379B1 (en) Method and appratus for moving call
WO2016179966A1 (en) Method for realizing network access, terminal and computer storage medium
CN105281809A (en) Auxiliary bluetooth low-power-consumption equipment pairing method and system
CN108696547A (en) Document transmission method, apparatus and system
KR20120098215A (en) Method for providing virtualized information
WO2016176454A1 (en) Service set determination based upon device type identifier
US9253814B1 (en) Wireless communication device and method for interacting with a wireless hotspot
CN108616856A (en) A kind of communication means, intelligence module and the storage medium of intelligence module
CN110418430B (en) Application sending and receiving method and device, storage medium and electronic device
CN109964533A (en) For providing system, user equipment, server, computer program product and the method for the access to mobile communication service

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181023