[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN105245634A - File transfer method, device and system - Google Patents

File transfer method, device and system Download PDF

Info

Publication number
CN105245634A
CN105245634A CN201510680088.0A CN201510680088A CN105245634A CN 105245634 A CN105245634 A CN 105245634A CN 201510680088 A CN201510680088 A CN 201510680088A CN 105245634 A CN105245634 A CN 105245634A
Authority
CN
China
Prior art keywords
address
static
opposite equip
terminal equipment
hot spot
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
CN201510680088.0A
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.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510680088.0A priority Critical patent/CN105245634A/en
Publication of CN105245634A publication Critical patent/CN105245634A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to the technical field of communication, specifically to a file transfer method, device and system. The method comprises: generating a static Internet protocol IP address when a WIFI hotspot created by an opposite device is accessed; adopting the static IP address to establish connection with the opposite device and transfer files. In the invention, the static Internet protocol IP address is generated when the WIFI hotspot created by the opposite device is accessed, and the static IP address is adopted to establish connection with the opposite device and transfer files, thereby preventing the situation where it takes a long time to dynamically assign IP addresses and improving the file transferring efficiency. In addition, a home-terminal device generates an IP address and uses the IP address, achieving good stability.

Description

Document transmission method, device and system
Technical field
The disclosure relates to the communications field, particularly relates to a kind of document transmission method, device and system.
Background technology
In daily life, user may need the file transfer in a smart machine (transmitting terminal) in another smart machine (receiving terminal), in order to achieve the above object, general document transmission process is as follows: two smart machines are by Wireless Fidelity (WirelessFidelity, WIFI) focus connects, in connection procedure, the smart machine creating WIFI hot spot can be another smart machine dynamic assignment Internet Protocol (InternetProtocol, IP) address.
In above-mentioned document transmission process, IP address assignment needs to take several seconds usually, makes whole flow process consuming time longer, causes the efficiency of file transfer low; Dynamic IP address allocation, may occur distributing failed situation, less stable.
Summary of the invention
For overcoming Problems existing in correlation technique, the disclosure provides a kind of document transmission method, device and system.
According to the first aspect of disclosure embodiment, provide a kind of document transmission method, described method comprises:
When accessing the WIFI hot spot that opposite equip. creates, generate static Internet protocol IP address;
Described static ip address and described opposite equip. is adopted to connect and transfer files.
According to a kind of implementation of disclosure first aspect, described generation static ip address, comprising:
Obtain current time;
According to described current time and pre-defined algorithm in setting IP address range, generate described static ip address.
According to the another kind of implementation of disclosure first aspect, described setting IP address range is 192.168.43.2 ~ 192.168.43.254.
According to the another kind of implementation of disclosure first aspect, described method also comprises:
Forbidding domain name resolution service.
According to the second aspect of disclosure embodiment, provide a kind of file transfer means, described device comprises:
Generation module, for when accessing the WIFI hot spot that opposite equip. creates, generates static Internet protocol IP address;
Transport module, connects and transfer files for adopting described static ip address and described opposite equip..
According to a kind of implementation of disclosure second aspect, described generation module, comprising:
Obtain submodule, for obtaining current time;
Generate submodule, for according to described current time and pre-defined algorithm in setting IP address range, generate described static ip address.
According to the another kind of implementation of disclosure second aspect, described setting IP address range is 192.168.43.2 ~ 192.168.43.254.
According to the another kind of implementation of disclosure second aspect, described device also comprises:
Processing module, for forbidding domain name resolution service.
According to the third aspect of disclosure embodiment, provide a kind of file transfer means, described device comprises:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
When accessing the WIFI hot spot that opposite equip. creates, generate static Internet protocol IP address;
Described static ip address and described opposite equip. is adopted to connect and transfer files.
According to the fourth aspect of disclosure embodiment, provide a kind of document transmission system, described system comprises first terminal equipment and the second terminal equipment,
Described first terminal equipment, for creating WIFI hot spot;
Described second terminal equipment, when accessing the WIFI hot spot that described first terminal equipment creates, generates static Internet protocol IP address; Described static ip address and described first terminal equipment is adopted to connect and transfer files.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
In the disclosure, be connected with opposite equip. by first adopting the acquiescence frequency range WiFi technology of low frequency, and after confirmation opposite equip. and local device all can support the setting frequency range WiFi technology of high frequency, the WiFi technology of setting frequency range is adopted to be connected with opposite equip. and transfer files, both avoid the too low problem of speed always adopting low-frequency range transmission to exist, turn avoid the problem directly using high band to carry out transmitting the equipment that exists not support.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in specification and to form the part of this specification, shows embodiment according to the invention, and is used from specification one and explains principle of the present invention.
Fig. 1 is the application scenarios figure according to an exemplary embodiment.
Fig. 2 is the flow chart of a kind of document transmission method according to an exemplary embodiment.
Fig. 3 is the flow chart of a kind of document transmission method according to an exemplary embodiment.
Fig. 4 is the flow chart of a kind of document transmission method according to an exemplary embodiment.
Fig. 5 is the block diagram of a kind of file transfer means according to an exemplary embodiment.
Fig. 6 is the block diagram of a kind of file transfer means according to an exemplary embodiment.
Fig. 7 is the block diagram of the device of a kind of file transfer according to an exemplary embodiment.
Fig. 8 is the block diagram of a kind of document transmission system according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Execution mode described in following exemplary embodiment does not represent all execution modes consistent with the present invention.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present invention are consistent.
For the ease of the description of embodiment, below first simply introduce the application scenarios of embodiment in the disclosure, see Fig. 1, this scene comprises local device 1 and opposite equip. 2.
Local device 1 and opposite equip. 2 are all provided with for carrying out file transfer applications, when needs carry out file transfer, local device 1 accesses the WIFI hot spot that opposite equip. 2 creates, local device 1 exports a static IP, then adopt this IP address and opposite equip. 2 connect and carry out file transfer, detailed step sees below literary composition and describes.
Wherein, local device 1 and opposite equip. 2 include but are not limited to intelligent watch, smart mobile phone or panel computer.File transfer applications can be fast biography, dodge biography, face-to-face fast biography etc.
It should be noted that, kind and the quantity of above-described equipment are only citing, and the disclosure is not restricted this.
Fig. 2 is the flow chart of a kind of document transmission method according to an exemplary embodiment, and the method is performed by the local device in aforementioned applications scene, and see Fig. 2, the method comprises:
In step s 11, when accessing the WIFI hot spot that opposite equip. creates, static Internet protocol IP address is generated.
In step s 12, static ip address and opposite equip. is adopted to connect and transfer files.
In the disclosure, when accessing the WIFI hot spot that opposite equip. creates, generate static Internet protocol IP address (only need spend to complete several seconds zero point), static ip address and opposite equip. is adopted to connect and transfer files, avoid dynamic IP address allocation to need to take a long time, improve the efficiency of file transfer; Secondly, local device oneself generates IP address and uses, good stability.
Fig. 3 is the flow chart of a kind of document transmission method according to an exemplary embodiment, and the method is performed by the local device in aforementioned applications scene, and see Fig. 3, the method comprises:
In the step s 21, WIFI hot spot is searched for.
In step S22, select according to user the WIFI hot spot accessing opposite equip. establishment.
As shown the WIFI hot spot title searched, the WIFI hot spot title that user clicks opposite equip. establishment can access.
Wherein, the opposite equip. creating WIFI hot spot both can be the transmitting terminal of file transfer, also can be the receiving terminal of file transfer, specifically can be specified by file transfer applications.
In step S23, send authentication information to opposite equip., this authentication information comprises access pin.
In the present embodiment, when connecting with opposite equip., need through certification, namely send authentication information to opposite equip., this authentication information comprises access pin.Local device generates access pin according to the title of this WIFI hot spot and preset algorithm (as hash algorithm), adopts the WIFI hot spot that this access pin i.e. accessible opposite equip. creates.This preset algorithm is stored concurrently in local device and opposite equip., and opposite equip., when verifying the access pin of local device, adopts above-mentioned preset algorithm equally.
In step s 24 which, when certification is passed through, static Internet protocol IP address is generated.
In the present embodiment, generate static ip address can comprise:
Obtain current time; Specifically can obtain current system time by the setting function called in local device, this setting function, for obtaining the time of millisecond magnitude, adopts the time of millisecond magnitude to generate static ip address, can avoid IP address and other device conflicts of generation;
According to current time and pre-defined algorithm in setting IP address range, generate static ip address.
Wherein, setting IP address range is 192.168.43.2 ~ 192.168.43.254.
Such as, provide a random number generator, input parameter is system time, exports as an IP address in setting IP address range.
In step s 25, static ip address and opposite equip. is adopted to connect and transfer files.
In the present embodiment, can comprise with the process of opposite equip. transfer files:
When local device is transmitting terminal, sending transmission request to opposite equip., when receiving the transmission response that opposite equip. returns, sending file to opposite equip..When sending transmission request or file to opposite equip., source IP address is above-mentioned static ip address, and destination address is the IP address of opposite equip..Because opposite equip. is that WIFI hot spot creates end, therefore the IP address of opposite equip. can be agreement IP address, and such as, when setting IP address range is 192.168.43.2 ~ 192.168.43.254, the IP ground of opposite equip. is 192.168.43.1.
When local device is receiving terminal, receive the transmission request that opposite equip. sends, return transmission response to opposite equip., receive the file that opposite equip. sends.When receiving the transmission request of opposite equip. transmission, source IP address is the IP address of opposite equip., and destination address can be the subnet number of setting IP address range.Because opposite equip. is that WIFI hot spot creates end, therefore the IP address of opposite equip. can be agreement IP address, and such as, when setting IP address range is 192.168.43.2 ~ 192.168.43.254, the IP ground of opposite equip. is 192.168.43.1.And opposite equip. is when sending transmission request, and do not know the IP address of local device, and now in local area network (LAN), only have local device recipient, so can directly adopt subnet number as destination address, as 192.168.43.0.And when receiving the file of opposite equip. transmission, source IP address is the IP address of opposite equip., and destination address is above-mentioned static ip address.
When local device is receiving terminal, before opposite equip. sends transmission request, static ip address can also be sent to opposite equip. by message.
Further, the method also comprises:
Forbidding domain name mapping (DomainNameSystem, DNS) service, to improve bandwidth utilization rate, and then improves efficiency of transmission.Because, when local device connects a WIFI hot spot, other application (application beyond file transfer applications) in local device can be attempted sending data to outer net, the network that WIFI hot spot now will be used to provide is to carry out dns resolution, if but have disabled DNS, the network using WIFI hot spot to provide would not be removed again, thus other application occupied bandwidths can be avoided, improve the availability of bandwidth, improve file transmission efficiency.
In the disclosure, when accessing the WIFI hot spot that opposite equip. creates, generating static Internet protocol IP address, adopting static ip address and opposite equip. to connect and transfer files, avoid dynamic IP address allocation to need to take a long time, improve the efficiency of file transfer; Secondly, local device oneself generates IP address and uses, good stability.
Fig. 4 is the flow chart of a kind of document transmission method according to an exemplary embodiment, and as shown in Figure 4, wherein first terminal equipment is opposite equip. above, and the second terminal equipment is local device above, and the method comprises the following steps:
In step S31, first terminal equipment creates WIFI hot spot.
When user needs to carry out file transfer, create WIFI hot spot by file transfer applications, the equipment creating WIFI hot spot both can be the transmitting terminal of file transfer, also can be the receiving terminal of file transfer, specifically can be specified by file transfer applications.
In step s 32, the second terminal equipment search WIFI hot spot.
In step S33, the second terminal equipment selects access first terminal equipment to create WIFI hot spot according to user.
As shown the WIFI hot spot title searched, the WIFI hot spot title that user clicks opposite equip. establishment can access.
In step S34, the second terminal equipment sends authentication information to first terminal equipment, and this authentication information comprises access pin.
In the present embodiment, when connecting with first terminal equipment, need through certification, namely send authentication information to first terminal equipment, this authentication information comprises access pin.Second terminal equipment generates access pin according to the title of this WIFI hot spot and preset algorithm (as hash algorithm), adopts the WIFI hot spot that this access pin i.e. accessible first terminal equipment creates.This preset algorithm is stored concurrently in the second terminal equipment and first terminal equipment, and first terminal equipment, when verifying the access pin of the second terminal equipment, adopts above-mentioned preset algorithm equally.
In step s 35, first terminal equipment sends certification by message to the second terminal equipment, and certification is used to indicate the second terminal device authentication by message and passes through.
In step S36, the second terminal equipment generates static Internet protocol IP address.
In the present embodiment, generate static ip address can comprise:
Obtain current time; Specifically can obtain current system time by the setting function called in local device, this setting function, for obtaining the time of millisecond magnitude, adopts the time of millisecond magnitude to generate static ip address, can avoid IP address and other device conflicts of generation;
According to current time and pre-defined algorithm in setting IP address range, generate static ip address.
Wherein, setting IP address range is 192.168.43.2 ~ 192.168.43.254.
Such as, provide a random number generator, input parameter is system time, exports as an IP address in setting IP address range.
In step S37, the second terminal equipment adopts static ip address and first terminal equipment to connect and transfer files.
In the present embodiment, the process of the second terminal equipment and first terminal device transmission file can comprise:
When the second terminal equipment is transmitting terminal, sending transmission request to first terminal equipment, when receiving the transmission response that first terminal equipment returns, sending file to first terminal equipment.When sending transmission request or file to first terminal equipment, source IP address is above-mentioned static ip address, and destination address is the IP address of first terminal equipment.Because first terminal equipment is that WIFI hot spot creates end, therefore the IP address of first terminal equipment can be agreement IP address, and such as, when setting IP address range is 192.168.43.2 ~ 192.168.43.254, the IP ground of first terminal equipment is 192.168.43.1.
When the second terminal equipment is receiving terminal, receive the transmission request that first terminal equipment sends, return transmission response to first terminal equipment, receive the file that first terminal equipment sends.When receiving the transmission request of first terminal equipment transmission, source IP address is the IP address of first terminal equipment, and destination address can be the subnet number of setting IP address range.Because first terminal equipment is that WIFI hot spot creates end, therefore the IP address of first terminal equipment can be agreement IP address, and such as, when setting IP address range is 192.168.43.2 ~ 192.168.43.254, the IP ground of first terminal equipment is 192.168.43.1.And first terminal equipment is when sending transmission request, and do not know the IP address of the second terminal equipment, and now in local area network (LAN), only have the second terminal equipment recipient, so can directly adopt subnet number as destination address, as 192.168.43.0.And when receiving the file of first terminal equipment transmission, source IP address is the IP address of first terminal equipment, and destination address is above-mentioned static ip address.
When the second terminal equipment is receiving terminal, before first terminal equipment sends transmission request, static ip address can also be sent to first terminal equipment by message.
Further, the method also comprises:
Second terminal equipment forbidding domain name resolution service DNS, to improve bandwidth utilization rate, and then improves efficiency of transmission.Because, when the second terminal equipment connects a WIFI hot spot, other application (application beyond file transfer applications) in second terminal equipment can be attempted sending data to outer net, the network that WIFI hot spot now will be used to provide is to carry out dns resolution, if but have disabled DNS, the network using WIFI hot spot to provide would not be removed again, thus other application occupied bandwidths can be avoided, improve the availability of bandwidth, improve file transmission efficiency.
In the disclosure, when accessing the WIFI hot spot that first terminal equipment creates, generating static Internet protocol IP address, adopting static ip address and first terminal equipment to connect and transfer files, avoid dynamic IP address allocation to need to take a long time, improve the efficiency of file transfer; Secondly, the second terminal equipment oneself generates IP address and uses, good stability.
Fig. 5 is the block diagram of a kind of file transfer means according to an exemplary embodiment, and this file transfer means or can be integrated on local device for aforementioned local device, and as shown in Figure 5, this device comprises:
Generation module 401, for when accessing the WIFI hot spot that opposite equip. creates, generates static Internet protocol IP address;
Transport module 402, connects and transfer files for adopting static ip address and opposite equip..
In the disclosure, when accessing the WIFI hot spot that opposite equip. creates, generating static Internet protocol IP address, adopting static ip address and opposite equip. to connect and transfer files, avoid dynamic IP address allocation to need to take a long time, improve the efficiency of file transfer; Secondly, local device oneself generates IP address and uses, good stability.
Fig. 6 is the block diagram of a kind of file transfer means according to an exemplary embodiment, and this file transfer means or can be integrated on local device for aforementioned local device, and as shown in Figure 6, this device comprises:
Generation module 501, for when accessing the WIFI hot spot that opposite equip. creates, generates static Internet protocol IP address;
Transport module 502, connects and transfer files for adopting static ip address and opposite equip..
In the present embodiment, generation module 501, comprising:
Obtain submodule 5011, for obtaining current time; Specifically can obtain current system time by the setting function called in local device, this setting function, for obtaining the time of millisecond magnitude, adopts the time of millisecond magnitude to generate static ip address, can avoid IP address and other device conflicts of generation;
Generate submodule 5012, for according to current time and pre-defined algorithm in setting IP address range, generate static ip address.
Wherein, setting IP address range is 192.168.43.2 ~ 192.168.43.254.
Further, device also comprises:
Search module 503, for searching for WIFI hot spot.
Select module 504, for selecting the WIFI hot spot accessing opposite equip. establishment according to user.
Authentication module 505, for sending authentication information to opposite equip., this authentication information comprises access pin.
Authentication module 505 can generate access pin according to the title of this WIFI hot spot and preset algorithm (as hash algorithm), adopts the WIFI hot spot that this access pin i.e. accessible opposite equip. creates.This preset algorithm is stored concurrently in this device and opposite equip., and opposite equip., when the access pin of this device is verified, adopts above-mentioned preset algorithm equally.
Correspondingly, generation module 501 when certification is passed through, can generate static Internet protocol IP address.In the present embodiment, transport module 502 may be used for:
When this device is transmitting terminal, sending transmission request to opposite equip., when receiving the transmission response that opposite equip. returns, sending file to opposite equip..When sending transmission request or file to opposite equip., source IP address is above-mentioned static ip address, and destination address is the IP address of opposite equip..Because opposite equip. is that WIFI hot spot creates end, therefore the IP address of opposite equip. can be agreement IP address, and such as, when setting IP address range is 192.168.43.2 ~ 192.168.43.254, the IP ground of opposite equip. is 192.168.43.1.
When this device is receiving terminal, receive the transmission request that opposite equip. sends, return transmission response to opposite equip., receive the file that opposite equip. sends.When receiving the transmission request of opposite equip. transmission, source IP address is the IP address of opposite equip., and destination address can be the subnet number of setting IP address range.Because opposite equip. is that WIFI hot spot creates end, therefore the IP address of opposite equip. can be agreement IP address, and such as, when setting IP address range is 192.168.43.2 ~ 192.168.43.254, the IP ground of opposite equip. is 192.168.43.1.And opposite equip. is when sending transmission request, and do not know the IP address of this device, and now in local area network (LAN), only have this device recipient, so can directly adopt subnet number as destination address, as 192.168.43.0.And when receiving the file of opposite equip. transmission, source IP address is the IP address of opposite equip., and destination address is above-mentioned static ip address.
When this device is receiving terminal, before opposite equip. sends transmission request, static ip address can also be sent to opposite equip. by message.
Further, this device also comprises:
Processing module 506, for forbidding domain name resolution service DNS, to improve bandwidth utilization rate, and then improves efficiency of transmission.Because, when this device connects a WIFI hot spot, other application (application beyond file transfer applications) in this device can be attempted sending data to outer net, the network that WIFI hot spot now will be used to provide is to carry out dns resolution, if but have disabled DNS, the network using WIFI hot spot to provide would not be removed again, thus other application occupied bandwidths can be avoided, improve the availability of bandwidth, improve file transmission efficiency.
In the disclosure, when accessing the WIFI hot spot that opposite equip. creates, generating static Internet protocol IP address, adopting static ip address and opposite equip. to connect and transfer files, avoid dynamic IP address allocation to need to take a long time, improve the efficiency of file transfer; Secondly, this device oneself generates IP address and uses, good stability.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
Fig. 7 is the block diagram of a kind of device 120 for file transfer according to an exemplary embodiment.Such as, device 120 can be mobile terminal (as smart mobile phone etc.).
With reference to Fig. 7, device 120 can comprise following one or more assembly: processing components 122, memory 124, electric power assembly 126, multimedia groupware 128, audio-frequency assembly 130, the interface 132 of I/O (I/O), sensor cluster 134, and communications component 136.
The integrated operation of the usual control device 120 of processing components 122, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 122 can comprise one or more processor 1220 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 122 can comprise one or more module, and what be convenient between processing components 122 and other assemblies is mutual.Such as, processing components 122 can comprise multi-media module, mutual with what facilitate between multimedia groupware 128 and processing components 122.
Memory 124 is configured to store various types of data to be supported in the operation of equipment 120.The example of these data comprises for any application program of operation on device 120 or the instruction of method, contact data, telephone book data, message, picture, video etc.Memory 124 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
The various assemblies that electric power assembly 126 is device 120 provide electric power.Electric power assembly 126 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 120 and be associated.
Multimedia groupware 128 is included in the screen providing an output interface between described device 120 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 128 comprises a front-facing camera and/or post-positioned pick-up head.When equipment 120 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 130 is configured to export and/or input audio signal.Such as, audio-frequency assembly 130 comprises a microphone (MIC), and when device 120 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The audio signal received can be stored in memory 124 further or be sent via communications component 136.In certain embodiments, audio-frequency assembly 130 also comprises a loud speaker, for output audio signal.
I/O interface 132 is for providing interface between processing components 122 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor cluster 134 comprises one or more transducer, for providing the state estimation of various aspects for device 120.Such as, sensor cluster 134 can detect the opening/closing state of equipment 120, the relative positioning of assembly, such as described assembly is display and the keypad of device 120, the position of all right checkout gear 120 of sensor cluster 134 or device 120 1 assemblies changes, the presence or absence that user contacts with device 120, the variations in temperature of device 120 orientation or acceleration/deceleration and device 120.Sensor cluster 134 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor cluster 134 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor cluster 134 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communications component 136 is configured to the communication being convenient to wired or wireless mode between device 120 and other equipment.Device 120 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 136 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communications component 136 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 120 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the memory 124 of instruction, above-mentioned instruction can perform said method by the processor 1220 of device 120.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of device, make device enough perform a kind of document transmission method, described method comprises:
When accessing the WIFI hot spot that opposite equip. creates, generate static Internet protocol IP address;
Static ip address and opposite equip. is adopted to connect and transfer files.
According to a kind of implementation of the present disclosure, generate static ip address, comprising:
Obtain current time;
According to current time and pre-defined algorithm in setting IP address range, generate static ip address.
According to another kind of implementation of the present disclosure, setting IP address range is 192.168.43.2 ~ 192.168.43.254.
According to another kind of implementation of the present disclosure, described method also comprises:
Forbidding domain name resolution service.
Fig. 8 is the block diagram of a kind of document transmission system according to an exemplary embodiment, and as shown in Figure 8, system comprises first terminal equipment 161 and the second terminal equipment 162,
First terminal equipment 161, for creating WIFI hot spot;
Second terminal equipment 162, when accessing the WIFI hot spot that first terminal equipment 161 creates, generates static Internet protocol IP address; Static ip address and first terminal equipment 161 is adopted to connect and transfer files.
In the disclosure, when accessing the WIFI hot spot that first terminal equipment creates, generating static Internet protocol IP address, adopting static ip address and first terminal equipment to connect and transfer files, avoid dynamic IP address allocation to need to take a long time, improve the efficiency of file transfer; Secondly, the second terminal equipment oneself generates IP address and uses, good stability.
Those skilled in the art, at consideration specification and after putting into practice invention disclosed herein, will easily expect other embodiment of the present invention.The application is intended to contain any modification of the present invention, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present invention and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Specification and embodiment are only regarded as exemplary, and true scope of the present invention and spirit are pointed out by claim below.
Should be understood that, the present invention is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.Scope of the present invention is only limited by appended claim.

Claims (10)

1. a document transmission method, is characterized in that, described method comprises:
When accessing the Wireless Fidelity WIFI hot spot that opposite equip. creates, generate static Internet protocol IP address;
Described static ip address and described opposite equip. is adopted to connect and transfer files.
2. method according to claim 1, is characterized in that, described generation static ip address, comprising:
Obtain current time;
According to described current time and pre-defined algorithm in setting IP address range, static ip address described in stochastic generation.
3. method according to claim 2, is characterized in that, described setting IP address range is 192.168.43.2 ~ 192.168.43.254.
4. the method according to any one of claim 1-3, is characterized in that, described method also comprises:
Forbidding domain name resolution service.
5. a file transfer means, is characterized in that, described device comprises:
Generation module, for when accessing the WIFI hot spot that opposite equip. creates, generates static Internet protocol IP address;
Transport module, connects and transfer files for adopting described static ip address and described opposite equip..
6. device according to claim 5, is characterized in that, described generation module, comprising:
Obtain submodule, for obtaining current time;
Generate submodule, for according to described current time and pre-defined algorithm in setting IP address range, generate described static ip address.
7. device according to claim 6, is characterized in that, described setting IP address range is 192.168.43.2 ~ 192.168.43.254.
8. the device according to any one of claim 5-7, is characterized in that, described device also comprises:
Processing module, for forbidding domain name resolution service.
9. a file transfer means, is characterized in that, described device comprises:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
When accessing the WIFI hot spot that opposite equip. creates, generate static Internet protocol IP address;
Described static ip address and described opposite equip. is adopted to connect and transfer files.
10. a document transmission system, is characterized in that, described system comprises first terminal equipment and the second terminal equipment,
Described first terminal equipment, for creating WIFI hot spot;
Described second terminal equipment, when accessing the WIFI hot spot that described first terminal equipment creates, generates static Internet protocol IP address; Described static ip address and described first terminal equipment is adopted to connect and transfer files.
CN201510680088.0A 2015-10-19 2015-10-19 File transfer method, device and system Pending CN105245634A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510680088.0A CN105245634A (en) 2015-10-19 2015-10-19 File transfer method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510680088.0A CN105245634A (en) 2015-10-19 2015-10-19 File transfer method, device and system

Publications (1)

Publication Number Publication Date
CN105245634A true CN105245634A (en) 2016-01-13

Family

ID=55043131

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510680088.0A Pending CN105245634A (en) 2015-10-19 2015-10-19 File transfer method, device and system

Country Status (1)

Country Link
CN (1) CN105245634A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105979554A (en) * 2016-07-29 2016-09-28 深圳市三体科技有限公司 Intelligent connection method and system on basis of WIFI hotspot
CN113778955A (en) * 2021-09-15 2021-12-10 京东方科技集团股份有限公司 Method and device for opening file across devices and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1901474A (en) * 2006-07-11 2007-01-24 杭州华为三康技术有限公司 IP address distributing method and device
CN101719937A (en) * 2009-11-30 2010-06-02 中兴通讯股份有限公司 Method and system for updating terminal device
CN104185294A (en) * 2014-08-04 2014-12-03 广东欧珀移动通信有限公司 Identification method and identification apparatus of mobile phone hot spots
CN104202714A (en) * 2014-08-05 2014-12-10 深圳市元征科技股份有限公司 Mobile terminal near field communication method and system for heterogeneous operating system
CA2868573A1 (en) * 2013-10-24 2015-04-24 Alldata Llc Vehicle diagnostic systems and methods

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1901474A (en) * 2006-07-11 2007-01-24 杭州华为三康技术有限公司 IP address distributing method and device
CN101719937A (en) * 2009-11-30 2010-06-02 中兴通讯股份有限公司 Method and system for updating terminal device
CA2868573A1 (en) * 2013-10-24 2015-04-24 Alldata Llc Vehicle diagnostic systems and methods
CN104185294A (en) * 2014-08-04 2014-12-03 广东欧珀移动通信有限公司 Identification method and identification apparatus of mobile phone hot spots
CN104202714A (en) * 2014-08-05 2014-12-10 深圳市元征科技股份有限公司 Mobile terminal near field communication method and system for heterogeneous operating system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
LILO: "Android4.0设置静态IP方法,http://blog.sina.com.cn/s/blog_62a975b101015ybv.html", 《新浪博客》 *
ZYP009: "android wifi设置静态ip地址的方法,http://blog.csdn.net/zyp009/article/details/21242073", 《CSDN》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105979554A (en) * 2016-07-29 2016-09-28 深圳市三体科技有限公司 Intelligent connection method and system on basis of WIFI hotspot
CN113778955A (en) * 2021-09-15 2021-12-10 京东方科技集团股份有限公司 Method and device for opening file across devices and readable storage medium

Similar Documents

Publication Publication Date Title
US10887935B2 (en) Apparatus, system, and method of wirelessly transmitting and receiving data
CN104378801A (en) Method and device for having access to wireless network
CN105243318A (en) User equipment control right determining method and apparatus and terminal device
CN104460365A (en) Equipment control method and device
CN104394600A (en) Method and device for transmitting files
CN105472698A (en) Wireless network access method and device
CN104618511A (en) Intelligent device detection method and device
CN105704655A (en) Media data sharing method and media data sharing device between terminals
CN104093216A (en) Method and device for wireless data transmission
CN106452924A (en) Method and device for synchronizing wireless network configuration
CN104158854B (en) Resource share method and device
CN104837178A (en) Network accessing method and device
CN105933465A (en) Method and device for accessing wireless network
CN105207813A (en) Intelligent equipment sorting method and apparatus
CN105306567B (en) Method and device for terminal connection
CN104243607A (en) Method and device for acquiring equipment information
CN105245634A (en) File transfer method, device and system
CN105430642B (en) Document transmission method and device
CN106341872A (en) Router accessing method and apparatus
CN105577521A (en) Method, device and system for friend grouping
CN105430423A (en) Video backup method, device and system
CN104486390A (en) Method and device for sharing data
CN104468870A (en) Network address translation (NAT) window duration detection method and device
CN104579900A (en) VPN switching method and VPN switching device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160113

RJ01 Rejection of invention patent application after publication