CN106454938A - Information sharing method, terminal and router - Google Patents

Information sharing method, terminal and router Download PDF

Info

Publication number
CN106454938A
CN106454938A CN201610879127.4A CN201610879127A CN106454938A CN 106454938 A CN106454938 A CN 106454938A CN 201610879127 A CN201610879127 A CN 201610879127A CN 106454938 A CN106454938 A CN 106454938A
Authority
CN
China
Prior art keywords
terminal
wireless network
mark
wireless
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610879127.4A
Other languages
Chinese (zh)
Other versions
CN106454938B (en
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.)
Shenzhen Qianhai Big Data Resource Management Center Co ltd
Original Assignee
Nubia Technology Co Ltd
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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201610879127.4A priority Critical patent/CN106454938B/en
Publication of CN106454938A publication Critical patent/CN106454938A/en
Application granted granted Critical
Publication of CN106454938B publication Critical patent/CN106454938B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0247Traffic management, e.g. flow control or congestion control based on conditions of the access network or the infrastructure network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0055Transmission or use of information for re-establishing the radio link
    • H04W36/0077Transmission or use of information for re-establishing the radio link of access information of target access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/16Gateway arrangements

Landscapes

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

Abstract

The embodiment of the invention discloses an information sharing method capable of sharing Wi-Fi access point information in a specific place and accordingly improving intelligence of wireless network connection of a terminal and interaction performance of a user and the terminal. The information sharing method comprises the steps of detecting a network connection state of a first terminal; when detecting that the first terminal is connected with a first wireless network, obtaining first access point information corresponding to the first wireless network and an ID of a second terminal corresponding to the first wireless network, wherein the first wireless network is a target wireless network corresponding to the second terminal; and when detecting that the first terminal is disconnected with the first wireless network but is connected with a second wireless network, sending the first access point information and the ID of the second terminal to a first wireless router, wherein the second wireless network is a target wireless network corresponding to the first terminal, and the first wireless router is the wireless router corresponding to the second wireless network. The embodiment of the invention also provides a terminal and a router.

Description

A kind of information sharing method, terminal and router
Technical field
The present invention relates to Information Sharing Technology in wireless communication technology, more particularly to a kind of information sharing method, terminal and Router.
Background technology
In daily life, due to using WiMAX (Wi-Fi, WIreless-FIdelit) so that user is being When communication, browse webpage, send and receive e-mail, music download, digital photograph transmission, Streaming Media, the function such as online game when, no Need to worry that speed is slow and spends high problem again, therefore, Wi-Fi becomes user and uses a kind of most wide wireless network transmissions skill Art.
In prior art, the coverage of wireless network is more and more extensive at home, for example, hotel, residential quarter, airport And the place of coffee shop etc has Wi-Fi to provide.When user goes to travel, handle official business or lie fallow, it is possible in above-mentioned place Wireless networking is carried out using mobile terminal.Specifically, user is input into the Wi-Fi access point letter in some place on mobile terminals Breath carries out wireless networking.
With widely using for Wi-Fi, the record of Wi-Fi access-in point information is had become as user and is being entered using mobile terminal The steps necessary of row wireless networking.But, when user will carry out wireless network connection in a new place, user is accomplished by The Wi-Fi access-in point information in the new place is re-entered in the new place (for example:Title and password) wireless network connection is realized, As Wi-Fi access-in point information is different in different places, therefore, every user did not carry out Wi-Fi connection Place, user will carry out the input of Wi-Fi access-in point information in the place for being not connected with wireless network, realize wireless network Connection, such internetwork connection mode causes user and the interactive performance of mobile terminal to be deteriorated.
Content of the invention
For solving above-mentioned technical problem, the embodiment of the present invention is expected to provide a kind of information sharing method, terminal and router, Wi-Fi access-in point information can be shared in particular place, and it is intelligent that the wireless network so as to improve terminal connects, and lifting is used The interactive performance of family and terminal.
The technical scheme is that and be achieved in that:
A kind of information sharing method is embodiments provided, is applied in first terminal, including:
The network connection state of the first terminal is detected, the network connection state is the nothing of first terminal connection The state of gauze network;
When detecting with the first wireless network in connection status, obtain first wireless network corresponding first and connect Access point information and the mark of the corresponding second terminal of first wireless network, first wireless network is the second terminal Corresponding target radio network;
When disconnecting with first wireless network when detecting, and being in connection status with second wireless network, will The mark of first access-in point information and the second terminal is sent to the first wireless router, and the second wireless network is The corresponding target radio network of the first terminal, first wireless router is that the second wireless network is corresponding wireless Router.
In such scheme, the network connection state for detecting the first terminal, including:
Obtain the current location of the first terminal;
By judging target BS cell range that the current location belongs to, the wireless of the first terminal connection is detected Network;
When the current location is in the range of the first mark base station cell, detect the first terminal whether with described first Wireless network connects, and the first object base station cell is that second terminal corresponding first presets base station cell;
When the current location is in the range of the second mark base station cell, detect the first terminal whether with described second Wireless network connects, and the second target BS cell is that first terminal corresponding second presets base station cell.
The embodiment of the present invention additionally provides a kind of information sharing method, is applied in the first wireless router, including:
Receive the first access-in point information of first terminal transmission and the mark of second terminal;
Judge whether the first terminal meets pre-conditioned, when the first terminal meets described pre-conditioned, will The mark of first access-in point information and the second terminal is added in the second access-in point information, the second access point letter Cease for the corresponding access-in point information of first wireless router;
When the mark of the second terminal is searched, carried out according to second access-in point information and the second terminal Wireless network connects.
In such scheme, described to judge whether the first terminal meets pre-conditioned, including:
Count the connection number of times that the first terminal accesses the second wireless network every time;
According to the connection number of times and the contrast of the default connection number of times, judge whether the first terminal meets default Condition;
Accordingly, described judge the first terminal whether meet pre-conditioned after, methods described also includes:
If the connection number of times judges that the first terminal meets described pre-conditioned more than default connection number of times;
If the connection number of times is less than or equal to the default connection number of times, judge that the first terminal is unsatisfactory for described Pre-conditioned.
In such scheme, described to judge whether the first terminal meets pre-conditioned, including:
Obtain the mark of the first terminal;
According to mark and the matching result of the default mark of the first terminal, judge whether the first terminal is full Foot is pre-conditioned;
Accordingly, described judge the first terminal whether meet pre-conditioned after, methods described also includes:
If the mark of the first terminal is mated with the default mark, judge that the first terminal meets described pre- If condition;
If the mark of the first terminal is mismatched with the default mark, judge that the first terminal is unsatisfactory for institute State pre-conditioned.
A kind of first terminal is embodiments provided, including:
Detector unit, for detecting the network connection state of the first terminal, the network connection state is described the The state of the wireless network of one terminal connection;
First acquisition unit, for when the detector unit is detected and is in connection status with the first wireless network, obtaining The mark of corresponding first access-in point information of first wireless network and the corresponding second terminal of first wireless network is taken, First wireless network is the corresponding target radio network of the second terminal;
First transmitting element, for disconnecting with first wireless network when detector unit is detected, and with When second wireless network is in connection status, first access-in point information that the acquiring unit is obtained and described second is eventually The mark at end is sent to the first wireless router, and the second wireless network is the corresponding Target Wireless net of the first terminal Network, first wireless router is the corresponding wireless router of the second wireless network.
In above-mentioned terminal, the first acquisition unit, it is additionally operable to obtain the current location of the first terminal;
The detector unit, specifically for by judging what the current location of first acquisition unit acquisition belonged to Target BS cell range, detects the wireless network of the first terminal connection;When the current location is little in the first mark base station When in the range of area, detect whether the first terminal is connected with first wireless network, the first object base station cell is Second terminal corresponding first presets base station cell;When the current location is in the range of the second mark base station cell, institute is detected State whether first terminal is connected with the second wireless network, the second target BS cell is first terminal corresponding second Default base station cell.
A kind of first wireless router is embodiments provided, including:
Receiving unit, for receiving the first access-in point information of first terminal transmission and the mark of second terminal;
Judging unit, pre-conditioned for judging whether the first terminal meets;
Adding device, for when the judging unit judges that the first terminal meets described pre-conditioned, by institute The mark of first access-in point information and the second terminal of stating receiving unit reception is added in the second access-in point information, Second access-in point information is the corresponding access-in point information of first wireless router;
Connection unit, for search when search unit the second terminal mark when, added according to the adding device Plus second access-in point information carry out wireless network with the second terminal and be connected.
In above-mentioned router, first wireless router also includes:Statistic unit;
The statistic unit, accesses the connection number of times of the second wireless network every time for counting the first terminal;
The judging unit, specifically for the connection number of times and the default connection that are counted according to the statistic unit The contrast of number of times, judges whether the first terminal meets pre-conditioned;And if the connection number of times is more than default connection number of times, Then judge that the first terminal meets described pre-conditioned;And if the connection number of times is less than or equal to the default connection time Number, then judge that the first terminal is unsatisfactory for described pre-conditioned.
In above-mentioned router, first wireless router also includes:Second acquisition unit;
The second acquisition unit, for obtaining the mark of the first terminal;
The judging unit, the mark of the first terminal specifically for being obtained according to the acquiring unit is pre- with described The matching result that bidding is known, judges whether the first terminal meets pre-conditioned;And if mark and the institute of the first terminal Default mark coupling is stated, then judges that the first terminal meets described pre-conditioned;And if the mark of the first terminal Mismatch with the default mark, then judge that the first terminal is unsatisfactory for described pre-conditioned.
A kind of information sharing method, terminal and router is embodiments provided, by detecting the net of first terminal Network connection status;When detect with the first wireless network in connection status when, obtain the first wireless network corresponding first connect Access point information and the mark of the corresponding second terminal of the first wireless network, the first wireless network is for the corresponding target of second terminal no Gauze network;When disconnecting with the first wireless network when detecting, and being in connection status with second wireless network, first is connect The mark of access point information and second terminal is sent to the first wireless router, and second wireless network is the corresponding target of first terminal Wireless network, the first wireless router is the corresponding wireless router of second wireless network.Using above-mentioned technic relization scheme, by In first terminal when the corresponding wireless network of other routers (the first wireless network) is linked into, the first terminal will can connect Enter the terminal iidentification of other-end (second terminal) and the access-in point information (first of the first wireless network of first wireless network Access-in point information) get, so, when first terminal is connected to oneself corresponding router (the first wireless router), just The mark of the first access-in point information for getting and second terminal can be sent in the first wireless router so that this The second terminal directly can be connected upper second wireless network when the mark of second terminal is searched by one wireless router, Like this, Wi-Fi access-in point information can be shared in the region that the wireless network that the first wireless router is provided is covered, makes Obtaining second terminal can directly carry out being connected to for wireless network when capped region is entered, and embody the nothing of terminal Line network connection intelligent, and lift the interactive performance of user and terminal.
Description of the drawings
Fig. 1 is to realize a kind of hardware architecture diagram of optional terminal of each embodiment of the present invention;
Fig. 2 is the communication system that the mobile terminal of the present invention is operable to;
Fig. 3 is a kind of flow chart of information sharing method provided in an embodiment of the present invention;
Fig. 4 is a kind of schematic diagram of information sharing system provided in an embodiment of the present invention;
Fig. 5 is the schematic diagram that a kind of wireless network provided in an embodiment of the present invention arranges interface;
A kind of flow chart of information sharing method that Fig. 6 is also provided for the embodiment of the present invention;
Fig. 7 is that specifically a kind of of offer judges whether first terminal meets pre-conditioned flow chart to the embodiment of the present invention;
Fig. 8 a kind of judges whether first terminal meets pre-conditioned flow process for what the embodiment of the present invention was also specifically provided Figure;
Fig. 9 is the schematic diagram that a kind of first wireless router provided in an embodiment of the present invention arranges interface;
A kind of interaction figure of exemplary information sharing method that Figure 10 is also provided for the embodiment of the present invention;
Figure 11 is a kind of structural representation one of first terminal provided in an embodiment of the present invention;
Figure 12 is a kind of structural representation two of first terminal provided in an embodiment of the present invention;
Figure 13 is a kind of structural representation one of the first router provided in an embodiment of the present invention;
Figure 14 is a kind of structural representation two of the first router provided in an embodiment of the present invention;
Figure 15 is a kind of structural representation three of the first router provided in an embodiment of the present invention;
Figure 16 is a kind of structural representation four of the first router provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described.
The mobile terminal of each embodiment of the present invention is realized referring now to Description of Drawings.In follow-up description, use For representing the suffix of such as " module ", " part " or " unit " of element only for being conducive to the explanation of the present invention, itself Not specific meaning.Therefore, " module " mixedly can be used with " part ".
It should be noted that a kind of focus acquisition device provided in an embodiment of the present invention can be terminal, such as computer Or mobile terminal etc. can use the electronic equipment of browser.
Wherein, mobile terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can be included such as Mobile phone, smart phone, notebook computer, digit broadcasting receiver, personal digital assistant (PDA), panel computer (PAD), The mobile terminal of portable media player (PMP), guider etc. and such as numeral TV's, desk computer etc. Fixed terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that, except being used in particular for moving Outside the element of dynamic purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is that the hardware configuration of a kind of optional mobile terminal for realizing each embodiment of the present invention is illustrated.
Mobile terminal 1 can include wireless communication unit 110, audio/video (A/V) input block 120, user input list Unit 130, sensing unit 140, output unit 150, memorizer 160, interface unit 170, controller 180 and power subsystem 190 etc. Deng.Fig. 1 shows the mobile terminal with various assemblies, it should be understood that being not required for implementing all components for illustrating. More or less of component can alternatively be implemented.Will be discussed in more detail below the element of mobile terminal.
Wireless communication unit 110 generally includes one or more assemblies, its allow mobile terminal 1 and wireless communication system or Radio communication between network.For example, wireless communication unit can include mobile communication module 112, wireless Internet module 113rd, at least one of short range communication module 114 and location information module 115.
Mobile communication module 112 sends radio signals to base station (for example, access point, node B etc.), exterior terminal And at least one of server and/or receive from it radio signal.Such radio signal can be logical including voice Words signal, video calling signal or the various types of data for sending and/or receiving according to text and/or Multimedia Message.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.The module can be internally or externally It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by the module can include WLAN (WLAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave accesses), HSDPA (high-speed downlink packet access) etc..
Short range communication module 114 be for supporting the module of junction service.Some examples of short-range communication technology include indigo plant ToothTM, RF identification (RFID), Infrared Data Association (IrDA), ultra broadband (UWB), purple honeybeeTMEtc..
Location information module 115 be for check or obtain mobile terminal positional information module.Location information module Typical case be global positioning system (GPS) module.According to current technology, the location information module as GPS calculates From the range information of three or more satellites and correct time information and for the Information application triangulation for calculating, from And calculate according to longitude, latitude and highly accurately three-dimensional current location information.Currently, for calculating position and temporal information Position and the error of temporal information that method is calculated using three satellites and by using an other satellite correction.This Outward, GPS module can be by Continuous plus current location information in real time come calculating speed information.
User input unit 130 can generate key input data to control each of mobile terminal according to the order of user input Plant operation.User input unit 130 allows the various types of information of user input, and can include keyboard, metal dome, touch Plate (resistance that for example, detection causes due to being touched, pressure, the sensitive component of the change of electric capacity etc.), roller, rocking bar etc. Deng.Especially, when touch pad is superimposed upon on display unit 151 as a layer, touch screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 1, (for example, mobile terminal 1 open or close state), The position of mobile terminal 1, user are for the presence or absence of the contact (that is, touch input) of mobile terminal 1, the orientation of mobile terminal 1, shifting The acceleration or deceleration movement of dynamic terminal 1 and direction etc., and generate order or the letter of operation for controlling mobile terminal 1 Number.For example, when mobile terminal 1 is embodied as sliding-type mobile phone, it is to engage that sensing unit 140 can sense the sliding-type number On or off is closed.In addition, sensing unit 140 can detect whether whether power subsystem 190 provide electric power or interface unit 170 Couple with external device (ED).Sensing unit 140 can will be retouched to this with reference to touch screen below including proximity transducer 141 State.
Interface unit 170 is connected, as at least one external device (ED), the interface that can pass through with mobile terminal 1.For example, outward Part device can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or wireless FPDP, memory card port, the port for device of the connection with identification module, audio input/output (I/O) port, Video i/o port, ear port etc..Identification module can store the various letters for verifying user using mobile terminal 1 Cease and subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) etc. can be included. In addition, the device (hereinafter referred to as " identifying device ") with identification module can take the form of smart card, therefore, identifying device Can be connected with mobile terminal 1 via port or other attachment means.Interface unit 170 can be used for receiving from external device (ED) Input (for example, data message, electric power etc.) and the input for receiving is transferred to one or more in mobile terminal 1 Element or can be used for transmission data between mobile terminal and external device (ED).
In addition, when mobile terminal 1 is connected with external base, interface unit 170 can serve as allowing by which by electric power The path of mobile terminal 1 is provided from base or can serve as allowing the various command signals from base input to transmit by which Path to mobile terminal.The various command signals being input into from base or electric power may serve as recognizing whether mobile terminal is accurate True the signal on base.Output unit 150 is configured to provide output letter with vision, audio frequency and/or tactile manner Number (for example, audio signal, video signal, alarm signal, vibration signal etc.).Output unit 150 can include display unit 151 etc..
Display unit 151 may be displayed on the information for processing in mobile terminal 1.For example, when mobile terminal 1 is logical in phone During words pattern, display unit 151 can show and call or other communicate (for example, text messaging, multimedia file downloads Etc.) related user interface (UI) or graphic user interface (GUI).When mobile terminal 1 is in video calling pattern or figure As acquisition mode when, display unit 151 can show the image of capture and/or the image of reception, illustrate video or image and UI of correlation function or GUI etc..
Meanwhile, when the display unit 151 and touch pad touch screen with formation superposed on one another as a layer, display unit 151 can serve as input equipment and output device.Display unit 151 can include liquid crystal display (LCD), thin film transistor (TFT) In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least A kind of.Some in these display may be constructed such that transparence, and to allow user from outside viewing, this is properly termed as transparent Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific The embodiment that wants, mobile terminal 1 can include two or more display units (or other display devices), for example, mobile Terminal can include outernal display unit (not shown) and inner display unit (not shown).It is defeated that touch screen can be used for detection touch Enter pressure and touch input position and touch input area.
Memorizer 160 can store software program for the process and control operation for being executed by controller 180 etc., Huo Zheke Temporarily to store the data for having exported or will having exported (for example, telephone directory, message, still image, video etc.).And And, memorizer 160 can be with storage with regard to the vibration of various modes that exports when touching and being applied to touch screen and audio signal Data.
Memorizer 160 can include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, many Media card, card-type memorizer (for example, SD or DX memorizer etc.), random access storage device (RAM), static random-access storage Device (SRAM), read only memory (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..And, mobile terminal 1 can execute memorizer 160 with by network connection Store function network storage device cooperation.
Controller 180 generally controls the overall operation of mobile terminal.For example, controller 180 is executed and voice call, data The related control of communication, video calling etc. and process.In addition, controller 180 can be included for reproducing (or playback) many matchmakers The multi-media module 181 of volume data, multi-media module 181 can be constructed in controller 180, or it is so structured that and control Device 180 is separated.Controller 180 can be with execution pattern identifying processing, by the handwriting input for executing on the touchscreen or picture Draw input and be identified as character or image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides operation each unit Appropriate electric power needed for part and component.
Various embodiments described herein can be with using such as computer software, hardware or its any combination of calculating Machine computer-readable recording medium is implementing.Hardware is implemented, embodiment described herein can be by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can Program gate array (FPGA), processor, controller, microcontroller, microprocessor, be designed to execute function described herein At least one in electronic unit is implementing, and in some cases, such embodiment can be implemented in controller 180. Software is implemented, the embodiment of such as process or function can with allow to execute the single of at least one function or operation Software module is implementing.Software code can be come by the software application (or program) that is write with any appropriate programming language Implement, software code can be stored in memorizer 160 and be executed by controller 180.
So far, according to its function, mobile terminal is described.Below, for the sake of brevity, will description such as folded form, Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc. is used as showing Example.Therefore, the present invention can be applied to any kind of mobile terminal, and be not limited to slide type mobile terminal.
As shown in Figure 1 mobile terminal 1 is may be constructed such that using via the such as wired of frame or packet transmission data Operate with wireless communication system and satellite-based communication system.
Referring now to the communication system that Fig. 2 description is wherein operable to according to the mobile terminal of the present invention.
Such communication system can use different air interfaces and/or physical layer.For example, used by communication system Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications system System (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc..As non-limiting example, under The description in face is related to cdma communication system, but such teaching is equally applicable to other types of system.
With reference to Fig. 2, cdma wireless communication system can include that multiple mobile terminal 1s, multiple base stations (BS) 270, base station are controlled Device (BSC) processed 275 and mobile switching centre (MSC) 280.MSC 280 is configured to and Public Switched Telephony Network (PSTN) 290 Form interface.MSC 280 is also structured to form interface with the BSC 275 that can be couple to BS 270 via back haul link.Return If journey circuit can be constructed according to any one in the interface that Ganji knows, the interface includes such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that system can include multiple BSC 2750 as shown in Figure 2.
Each BS 270 can service one or more subregions (or region), by multidirectional antenna or the day of sensing specific direction Each subregion that line is covered is radially away from BS 270.Or, each subregion can be by for two of diversity reception or more Multiple antennas are covered.Each BS 270 may be constructed such that the multiple frequency distribution of support, and each frequency distribution has specific frequency Spectrum (for example, 1.25MHz, 5MHz etc.).
Intersecting that subregion and frequency are distributed can be referred to as CDMA Channel.BS 270 can also be referred to as base station transceiver System (BTS) or other equivalent terms.In this case, term " base station " can be used for broadly representing single BSC 275 and at least one BS 270.Base station can also be referred to as " cellular station ".Or, each subregion of specific BS 270 can be claimed For multiple cellular stations.
As shown in Figure 2, broadcast singal is sent to broadcsting transmitter (BT) 295 mobile terminal 1 that operate in system. In fig. 2 it is shown that several global positioning system (GPS) satellite 300, satellite 300 helps position in multiple mobile terminal 1s extremely Few one.
In fig. 2, multiple satellites 300 are depicted, it is understood that be, it is possible to use any number of satellite obtains useful Location information.As the location information module 115 shown in Fig. 1 GPS module be generally configured to satellite 300 coordinate with Obtain the location information that wants.Substitute GPS tracking technique or outside GPS tracking technique, it is possible to use movement can be tracked Other technology of the position of terminal.In addition, at least one gps satellite 300 can optionally or additionally process satellite dmb Transmission.
Used as a typical operation of wireless communication system, BS 270 receives the reverse link from various mobile terminal 1s Signal.Mobile terminal 1 generally participates in call, information receiving and transmitting and other types of communication.Each of the reception of specific BS 270 is reverse Link signal is processed in specific BS 270.The data of acquisition are forwarded to the BSC 275 of correlation.BSC provides call Resource allocation and the mobile management function of the coordination including the soft switching process between BS 270.BSC 275 will also be received Data are routed to MSC 280, and which provides the extra route service for forming interface with PSTN 290.Similarly, PSTN 290 form interfaces with MSC 280, and MSC and BSC 275 forms interface, and BSC 275 correspondingly controls BS 270 with by forward direction Link signal is sent to mobile terminal 1.
Based on above-mentioned mobile terminal hardware configuration and communication system, each embodiment of the inventive method is proposed.
Embodiment one
A kind of information sharing method is embodiments provided, is applied in first terminal, as shown in figure 3, the method Can include:
S101, the network connection state of detection first terminal, the network connection state is the wireless of the first terminal connection The state of network.
A kind of information sharing method provided in an embodiment of the present invention be based on the basis of a kind of information sharing system framework Realize.As shown in figure 4, a kind of information sharing system can include:First terminal, the second wireless network is provided for the first terminal First wireless router of network connection, the first object base station that service is provided for the first terminal, second terminal, second whole for this End provides the second wireless router of the first wireless network connection, provides the second target BS of service for the first terminal.
It should be noted that in the embodiment of the present invention, the corresponding number of cells of target BS can be multiple, as long as terminal Current location be located at multiple target BS cells in a target BS cell.In the embodiment of the present invention first is eventually End, second terminal, the first wireless router, second wireless router etc. are all the general designations of a kind equipment.
It should be noted that being based on above- mentioned information shared system, the first user belonging to first terminal necessarily has through resident The place that stays, for example, dwelling, office etc., therefore, the first object cell in the embodiment of the present invention is exactly that first terminal exists The serving BS during place that the dwelling of first user and office etc. are often gone, the first wireless router then exists for first terminal First user is in the above-mentioned wireless router for often going in place.In the same manner, the second target BS has the second terminal Serving BS of the second user when place is often gone to, the second wireless router is then for second terminal in second user in above-mentioned normal The wireless router for going in place.
Wherein, target BS cell be terminal access wireless network when often go the corresponding cell in place.Target BS is little The information in area is set in advance in end side, target BS cell information include the identification information of Target cell, title, The information such as geographical position numbering.According to target BS cell information, the base station belonging to target BS cell is just would know that, residing Geographical position.Place is often gone to refer to that user often connects terminal into wireless network herein.
Specifically, the history wireless network link information of itself that terminal can be counted and affiliated base station cell information are true The fixed corresponding target BS cell of the target BS.Wherein, history wireless network link information includes that terminal is accessed wirelessly every time The duration of network, and terminal corresponding base station cell when accessing wireless network every time, can also be accessed no every time including terminal The connection number of times of gauze network, and access every time wireless network when the corresponding base station cell of the terminal.
Further, the concrete mode of above-mentioned determination target BS cell can be that statistics terminal accesses wireless network every time Duration, and the terminal corresponding base station cell when accessing every time wireless network, and growing up during connection that wireless network is accumulative When preset time period numerical value, the corresponding base station cell of the terminal is used as the target BS cell.
Specifically, according to the time of wireless network and the time of disconnection of wireless network is accessed, terminal can be counted and is connect every time Enter the duration of wireless network, and the mobile terminal corresponding base station cell when accessing wireless network every time, and record the duration With the base station cell information.By adding up the duration of wireless network is accessed, certain place corresponding to the wireless network can be weighed Be whether terminal owning user often go to place.
In embodiments of the present invention, in above- mentioned information shared system, the first wireless router (provides the second wireless network Network) and the second wireless router (provide the first wireless network) can be that first terminal and second terminal provide the first wireless network Connection and second wireless network connection.The terminal can be judged by the positional information of acquisition terminal in the embodiment of the present invention Whether in the cell of oneself corresponding target BS, and then may determine that the wireless network of terminal connection is oneself Router in the place that often goes is provided.
It should be noted that a kind of information sharing method for providing in the embodiment of the present invention is to stand in a terminal (first Terminal) angle description information sharing process, for first terminal, the first terminal can be carried out in network connection realization Net function.Network connection state in the embodiment of the present invention refers to the state of the wireless network of first terminal connection, i.e., first eventually The wireless network of the current connection in end is that first user often goes first wireless router in place to provide, or first user is very The wireless router (for example, the second wireless router) for going in place is provided.
In embodiments of the present invention, the process for carrying out information sharing can be to share wireless network between different terminals in fact Access-in point information process.Therefore, it is premise that the terminal in the embodiment of the present invention is just being connected with wireless network.In reality of the present invention Apply in example, first terminal will first detect the network connection state of oneself, determine the wireless network for itself connecting be by first The second wireless network that wireless router is provided, or provided by other wireless routers (for example, the second wireless router) First wireless network.
Specifically, the process of the network connection state of the detection first terminal itself in the embodiment of the present invention can be:The One terminal obtains the current location of first terminal, and the first terminal is by judging target BS cell model that current location belongs to Enclose, detect the wireless network of first terminal connection;When current location is in the range of the first mark base station cell, first terminal is detected Whether first terminal is connected with the first wireless network, and the first object base station cell is that second terminal corresponding first presets base station Cell;When current location is in the range of the second mark base station cell, first terminal detection first terminal whether with the second wireless network Network connects, and the second target BS cell is that first terminal corresponding second presets base station cell.
Optionally, first terminal obtains the current location information of itself, can pass through global positioning system or detection the Base station cell information belonging to one terminal is current is obtaining.
It should be noted that the cell that first object base station cell is serviced for first terminal for first object base station, second Target BS cell is the cell that the second target BS is serviced for second terminal.
In embodiments of the present invention, first terminal can pass through itself current location information, judge that oneself connects Wireless network be oneself often to go to place, still go to very much place.
Further, first terminal detect itself when whether being connected with the first wireless network, as first terminal is permissible Know the wireless network for oneself often going to place, therefore, the first terminal can judge connection by current access point information Wireless network is the first wireless network, first wireless network not for oneself often removing the wireless network in place, specifically, the One terminal detects the account (the first access-in point information) of wireless network and the account of the wireless network for oneself often going to place differs During cause, detect first terminal and be connected with the first wireless network.
Exemplary, as shown in fig. 5, it is assumed that the corresponding wireless network of mobile phone A (first terminal) in the embodiment of the present invention For little A.Mobile phone A is by the detection to the connection account in wireless network setting interface:The mobile phone A is now connecting It is little B, as the first wireless network in the embodiment of the present invention is the corresponding wireless network of non-first terminal, therefore, works as mobile phone A When connecting little B, characterize mobile phone A and be connected with the first wireless network.
Optionally, the terminal in the embodiment of the present invention can be mobile phone, panel computer etc. with wireless network access function Electronic equipment or Wearable, the embodiment of the present invention is not restricted.
Optionally, the wireless network in the embodiment of the present invention can be the network that the wireless technologys such as Wi-Fi are realized.
S102, when detecting with the first wireless network in connection status, obtain first wireless network corresponding the One access-in point information and the mark of the corresponding second terminal of the first wireless network, first wireless network is corresponded to for second terminal Target radio network.
After the network connection state of first terminal detection first terminal, network connection state can have two kinds, and this first Terminal is connected with the first wireless network or is connected with second wireless network, when first terminal is detected is and first wireless network During network connection, as the first terminal be connected with first wireless network, therefore, the first terminal can be by the second no circuit Corresponding first access-in point information of first wireless network is obtained by device, due to the first wireless network be by the second wireless router There is provided, that is to say, that second wireless network is the wireless network that the corresponding second user of second terminal is often gone in place, therefore, First terminal can obtain the mark of the second terminal by the second wireless router, and first wireless network is second terminal pair The target radio network that answers.
It should be noted that the router that the target radio network in the embodiment of the present invention can be often gone in place for terminal The wireless network of offer.For example, the corresponding target radio network of first terminal is second wireless network, the corresponding mesh of second terminal Mark wireless network can be the first wireless network.
Optionally, the mark of second terminal can be the terminal name of user setup, or the dispatching from the factory of terminal itself Mark, can also be the user name of the corresponding target radio network of first terminal, the form sheet of the mark of specific second terminal Inventive embodiments are not restricted.
S103, disconnect with the first wireless network when detecting, and with second wireless network in connection status when, will The mark of the first access-in point information and second terminal is sent to the first wireless router, and the second wireless network is first terminal pair The target radio network that answers, first wireless router is the corresponding wireless router of second wireless network.
First terminal detects the network connection state of oneself when being to be connected with the first wireless network, obtains first wireless After the mark of corresponding first access-in point information of network and the corresponding second terminal of the first wireless network, due to first end End constantly can be moved, and the first terminal can move to the place that oneself often goes from the place that oneself seldom goes, therefore, when When first terminal occurs above-mentioned situation, the first terminal network connection state is exactly to disconnect with the first wireless network, and with Second wireless network is in connection status, and at this moment, the first terminal has returned to the specific field such as house of oneself it is determined that saying Institute, then, the first terminal just can send the mark of the first access-in point information for obtaining before and second terminal to first Wireless router so that the wireless connection information of the second terminal that is stored with the first wireless routing correlation, so, follow-up second When the corresponding second user of terminal comes particular place (for example, the house) of first user, the second terminal just directly can be entered Being connected to of row second wireless network.
The embodiment of the present invention additionally provides a kind of information sharing method, is applied in the first wireless router, as Fig. 6 institute Show, the method can include:
The mark of S201, the first access-in point information of reception first terminal transmission and second terminal.
Part based on embodiment above, it is known that, the first access point letter that first terminal can be sent by first terminal The mark of breath and second terminal is sent in corresponding first wireless router of the first terminal, i.e., first wireless router connects Have received the first access-in point information of above-mentioned first terminal transmission and the mark of second terminal.
S202, to judge whether first terminal meets pre-conditioned, when the first terminal meets pre-conditioned, first is connect The mark of access point information and second terminal is added in the second access-in point information, and second access-in point information is the first wireless routing The corresponding access-in point information of device.
It should be noted that in the embodiment of the present invention, the first wireless router can receive what any one terminal sent Information, but as the first wireless router is the router in the place that second user is often gone, therefore, for wireless network Privacy and security consideration, access-in point information and other-end that the first wireless router is sent for all terminals for receiving Mark to be screened, only allow the information that the user in Chang Laiben place such to second user sends to process.Example Such as, when the first wireless router is for the router of user's A family, like this, the first wireless router is only receiving use During the mark of the first access-in point information of family A transmission and second terminal, can just be added in the second access-in point information.Therefore, right For the first wireless router, after the first access-in point information of first terminal transmission and the mark of second terminal is received, The identity of the first terminal can be confirmed, see terminal corresponding with oneself, i.e. the first wireless router for whether setting Judge whether first terminal meets pre-conditioned.
Optionally, pre-conditioned in the embodiment of the present invention can be the owner in the first wireless router place place or master One terminal being had of people, or the terminal had by some users that can be added that owner is arranged, specifically Form can be with sets itself, the embodiment of the present invention is not restricted.
It should be noted that the access-in point information in the embodiment of the present invention can carry out network for its corresponding wireless network Required information during access, for example, the account of wireless network and password etc..
S203, when the mark of second terminal is searched, carried out wirelessly with the second terminal according to the second access-in point information Network connection.
When first terminal meets pre-conditioned, the first wireless router with the addition of the first access-in point information and second terminal Mark after, owner's second user of second terminal may go to the region of the first wireless network covering, and at this moment, first no Line router may search for the mark of second terminal, as the mark of second terminal is had stored in the first wireless router , and corresponding for the second terminal the first access-in point information is added on the second access point letter in the first wireless router Breath is suffered, and therefore, the first wireless router directly can cause second terminal with the second wireless network according to the second access-in point information Network carries out wireless network connection.
A kind of information sharing method, terminal and router is embodiments provided, by detecting the net of first terminal Network connection status;When detect with the first wireless network in connection status when, obtain the first wireless network corresponding first connect Access point information and the mark of the corresponding second terminal of the first wireless network, the first wireless network is for the corresponding target of second terminal no Gauze network;When disconnecting with the first wireless network when detecting, and being in connection status with second wireless network, first is connect The mark of access point information and second terminal is sent to the first wireless router, and second wireless network is the corresponding target of first terminal Wireless network, the first wireless router is the corresponding wireless router of second wireless network.Using above-mentioned technic relization scheme, by In first terminal when the corresponding wireless network of other routers (the first wireless network) is linked into, the first terminal will can connect Enter the terminal iidentification of other-end (second terminal) and the access-in point information (first of the first wireless network of first wireless network Access-in point information) get, so, when first terminal is connected to oneself corresponding router (the first wireless router), just The mark of the first access-in point information for getting and second terminal can be sent in the first wireless router so that this The second terminal directly can be connected upper second wireless network when the mark of second terminal is searched by one wireless router, Like this, Wi-Fi access-in point information can be shared in the region that the wireless network that the first wireless router is provided is covered, makes Obtaining second terminal can directly carry out being connected to for wireless network when capped region is entered, and embody the nothing of terminal Line network connection intelligent, and lift the interactive performance of user and terminal.
Embodiment two
Based on embodiment one, the first wireless router for embodiments providing in a kind of information sharing method judges Whether first terminal meets pre-conditioned method, as shown in fig. 7, the method can include:
S301, statistics first terminal access the connection number of times of second wireless network every time.
S302, according to connection number of times and default connection number of times contrast, judge whether first terminal meets pre-conditioned.
If S303 connection number of times judges that first terminal meets pre-conditioned more than default connection number of times.
If S304 connection number of times judges that first terminal is unsatisfactory for pre-conditioned less than or equal to default connection number of times.
It should be noted that the first wireless router judge first terminal whether meet pre-conditioned method be to first The process verified by the identity of terminal.Pre-conditioned in the embodiment of the present invention can characterize first terminal identity for default Decision condition.
The embodiment of the present invention is to carry out first terminal judging identity according to the connection number of times of wireless network, specifically, the One wireless router can obtain the historical connection information with regard to first terminal in current connection second wireless network connection, i.e., Statistics first terminal accesses the connection number of times of the accumulation of second wireless network every time.So in the first wireless router, is obtained After the connection number of times of one terminal accumulation, it is right that first wireless router just can be carried out according to connection number of times and default connection number of times Than judging whether first terminal meets pre-conditioned.
It is understood that when pre-conditioned be the owner of the first wireless router when, the owner of the first wireless router Or the terminal for being used of owner must be connection most several of number of times on first wireless router, therefore, the One wireless router can pass through, by the contrast of the connection number of times of the first terminal for counting on and default connection number of times, to judge the Owner belonging to the one terminal whether owner of first wireless router.
Optionally, the setting numerical value of preset times is higher preferably, so can accurately just judge belonging to first terminal User is the owner of the first wireless router.
Specifically, if connection number of times characterizes the owner exactly first belonging to the first terminal more than default connection number of times It is pre-conditioned that the owner of wireless router, i.e. the first wireless router judge that first terminal meets;If connection number of times less than etc. In default connection number of times, then characterize owner, i.e., first that the owner belonging to the first terminal is not the first wireless router wireless It is pre-conditioned that router judges that first terminal is unsatisfactory for.
Based on embodiment one, the first wireless router that the embodiment of the present invention is additionally provided in a kind of information sharing method is sentenced Whether disconnected first terminal meets pre-conditioned method, as shown in figure 8, the method can include:
S401, the mark of acquisition first terminal.
S402, the mark according to first terminal and the matching result of default mark, judge whether first terminal meets default Condition.
If the mark of S403 first terminal is mated with default mark, judge that first terminal meets pre-conditioned.
If the mark of S404 first terminal is mismatched with default mark, judge that first terminal is unsatisfactory for pre-conditioned.
It should be noted that the first wireless router judge first terminal whether meet pre-conditioned method be to first The process verified by the identity of terminal.Pre-conditioned in the embodiment of the present invention can characterize first terminal identity for default Decision condition.
The embodiment of the present invention is to carry out first terminal judging identity according to the mark of terminal, specifically, the first no circuit The mark of first terminal, i.e. the first wireless router can be obtained by device can obtain the mark of first terminal.So first After wireless router obtains the mark of first terminal, first wireless router just can according to the mark of first terminal with pre- Bidding knowledge is mated, pre-conditioned to judge whether first terminal meets.
It should be noted that the arranging for default mark in the embodiment of the present invention can be the owner of the first wireless router The mark of the terminal having, or the terminal for allowing to share of owner's setting of the first wireless router etc..Wherein, mark is preset Number can be at least one, specific quantity determines, the embodiment of the present invention is not limited by the owner of the first wireless router System.
Exemplary, as shown in figure 9, user can pass through the default mark that computer arranges interface to the first wireless router Be configured, for example, mobile phone that the owner of the first wireless router has be designated " mobile phone A ", then default being designated is set " mobile phone A ".
It is understood that when pre-conditioned be the owner of the first wireless router when, the owner of the first wireless router Or the terminal for being used of owner can be set to preset mark in first wireless router, therefore, the first no circuit Can pass through to be mated the mark of the first terminal for getting with default mark by device, judge belonging to first terminal The owner whether owner of first wireless router.
Optionally, the mark of the terminal that the owner for arranging the first wireless router of position for presetting mark has, so passes through Coupling can accurately just judge that the user belonging to first terminal is the owner of the first wireless router.
Specifically, if the mark of first terminal is mated with default mark, characterize the owner belonging to the first terminal and (use Family) to judge that first terminal meets pre-conditioned for owner, i.e. first wireless router of exactly the first wireless router.If first The mark of terminal is mismatched with default mark, then characterize the master that the owner belonging to the first terminal is not the first wireless router It is pre-conditioned that people, i.e. the first wireless router judge that first terminal is unsatisfactory for.
Embodiment three
A kind of information sharing method provided in an embodiment of the present invention, as shown in Figure 10, the method can include:
S501, mobile phone 1 detect the network connection state of itself, and the network connection state is the wireless network that the mobile phone 1 connects The state of network.
S502, when detecting with wireless network 1 in connection status, it is corresponding wireless that mobile phone 1 obtains the wireless network 1 The account of network 1 and the mark of password and the 1 corresponding mobile phone 2 of wireless network, the wireless network 1 is the corresponding target of mobile phone 2 Wireless network.
S503, disconnect with wireless network 1 when detecting, and with wireless network 2 in connection status when, mobile phone 1 will The mark of the account of wireless network 1 and password and mobile phone 2 is sent to TP-LINK 1, and the wireless network 2 is the corresponding mesh of mobile phone 1 Mark wireless network, the TP-LINK 1 is the corresponding wireless router of wireless network 2.
It is pre-conditioned that S504, TP-LINK 1 judges whether mobile phone 1 meets, when the mobile phone 1 meets pre-conditioned, will be no The mark of the account of gauze network 1 and password and mobile phone 2 is added in the account and password of wireless network 2, the account of the wireless network 2 Number and password be the corresponding access-in point information of TP-LINK 1.
S505, when the mark of mobile phone 2 is searched, TP-LINK 1 is according to account and password and the mobile phone of wireless network 2 2 carry out wireless network connection.
Example IV
As shown in figure 11, a kind of first terminal 1 is embodiments provided, and the terminal 1 can include:
Detector unit 10, for detecting the network connection state of the first terminal, the network connection state is described The state of the wireless network of first terminal connection.
First acquisition unit 11, for detecting with the first wireless network in connection status when the detector unit 10 When, obtain corresponding first access-in point information of the first wireless network and the corresponding second terminal of first wireless network Mark, first wireless network is the corresponding target radio network of the second terminal.
First transmitting element 12, for disconnecting with first wireless network when detector unit 10 is detected, And with second wireless network in connection status when, first access-in point information that the acquiring unit is obtained and described the The mark of two terminals is sent to the first wireless router, and the second wireless network is the corresponding Target Wireless of the first terminal Network, first wireless router is the corresponding wireless router of the second wireless network.
Optionally, the first acquisition unit 11, is additionally operable to obtain the current location of the first terminal.
The detector unit 10, specifically for being belonged to by judging the current location that the first acquisition unit 11 is obtained In target BS cell range, detect the wireless network of first terminal connection;When base is marked first in the current location When in cell range of standing, detect whether the first terminal is connected with first wireless network, the first object base station is little Area is that second terminal corresponding first presets base station cell;When the current location is in the range of the second mark base station cell, inspection Survey whether the first terminal is connected with the second wireless network, the second target BS cell is that first terminal is corresponding Second presets base station cell.
Optionally, the terminal in the embodiment of the present invention can be mobile phone, panel computer etc. with wireless network access function Electronic equipment or Wearable, the embodiment of the present invention is not restricted.
As shown in figure 12, in actual applications, above-mentioned detector unit 10, first acquisition unit 11 can by be located at first terminal On processor 13 realize, specially central processing unit (CPU), microprocessor (MPU), digital signal processor (DSP) or existing Field programmable gate array (FPGA) etc. is realized, and the first transmitting element 12 is realized by transmitter 14, and above-mentioned first terminal also includes:Deposit Storage media 15 is realized, and the storage medium 15, transmitter 14 can be connected with processor 13 by system bus 16, wherein, storage Medium 15 is used for storing executable program code, and the program code includes computer-managed instruction, and storage medium 15 may include High-speed RAM memorizer, it is also possible to also include nonvolatile memory, for example, at least one disk memory.
As shown in figure 13, a kind of first wireless router 2 is embodiments provided, and first wireless router 2 can To include:
Receiving unit 20, for receiving the first access-in point information of first terminal transmission and the mark of second terminal;
Judging unit 21, pre-conditioned for judging whether the first terminal meets;
Adding device 22, for when the judging unit 21 judges that the first terminal meets described pre-conditioned, First access-in point information that the receiving unit 20 is received and the mark of the second terminal are added on the second access point In information, second access-in point information is the corresponding access-in point information of first wireless router;
Connection unit 23, for search when search unit 24 second terminal mark when, according to described add single Second access-in point information that unit 22 adds carries out wireless network with the second terminal and is connected.
Optionally, based on Figure 13, as shown in figure 14, first wireless router 2 also includes:Statistic unit 25.
The statistic unit 25, accesses the connection time of the second wireless network every time for counting the first terminal Number.
The judging unit 21, the connection number of times specifically for being counted according to the statistic unit 25 is default with described The contrast of connection number of times, judges whether the first terminal meets pre-conditioned;And if the connection number of times is more than default connection Number of times, then judge that the first terminal meets described pre-conditioned;And if the connection number of times is default less than or equal to described Connection number of times, then judge that the first terminal is unsatisfactory for described pre-conditioned.
Optionally, based on Figure 13, as shown in figure 15, first wireless router 2 also includes:Second acquisition unit 26.
The second acquisition unit 26, for obtaining the mark of the first terminal.
The judging unit 21, specifically for the mark of the first terminal that obtained according to the acquiring unit 26 and institute The matching result of default mark is stated, judges whether the first terminal meets pre-conditioned;And if the mark of the first terminal Mate with the default mark, then judge that the first terminal meets described pre-conditioned;And if the first terminal Mark is mismatched with the default mark, then judge that the first terminal is unsatisfactory for described pre-conditioned.
As shown in figure 16, in actual applications, above-mentioned judging unit 21, adding device 22, connection unit 23, search unit 24th, statistic unit 25 and second acquisition unit 26 can be realized by the processor 27 being located in the first router, specially centre Reason device (CPU), microprocessor (MPU), digital signal processor (DSP) or field programmable gate array (FPGA) etc. are realized, and are connect Receive unit 20 to be realized by receptor 28, above-mentioned the first router also includes:Storage medium 29 is realized, the storage medium 29, reception Device 28 can be connected with processor 27 by system bus 210, and wherein, storage medium 29 is used for storing executable program code, The program code includes computer-managed instruction, and storage medium 29 may include high-speed RAM memorizer, it is also possible to also include non-easy The property lost memorizer, for example, at least one disk memory.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can adopt hardware embodiment, software implementation or with reference to software and hardware in terms of embodiment shape Formula.And, the present invention can be adopted can be with storage in one or more computers for wherein including computer usable program code The form of the upper computer program that implements of medium (including but not limited to disk memory and optical memory etc.).
The present invention is the flow process with reference to method according to embodiments of the present invention, equipment (system) and computer program Figure and/or block diagram are describing.It should be understood that can be by computer program instructions flowchart and/or each stream in block diagram Journey and/or the combination of square frame and flow chart and/or the flow process in block diagram and/or square frame.These computer programs can be provided The processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device is instructed to produce A raw machine so that produced for reality by the instruction of computer or the computing device of other programmable data processing device The device of the function of specifying in present one flow process of flow chart or multiple flow processs and/or one square frame of block diagram or multiple square frames.
These computer program instructions may be alternatively stored in and can guide computer or other programmable data processing device with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory is produced to be included to refer to Make the manufacture of device, the command device realize in one flow process of flow chart or multiple flow processs and/or one square frame of block diagram or The function of specifying in multiple square frames.
These computer program instructions can be also loaded in computer or other programmable data processing device so that in meter Series of operation steps is executed on calculation machine or other programmable devices to produce computer implemented process, so as in computer or The instruction for executing on other programmable devices is provided for realizing in one flow process of flow chart or multiple flow processs and/or block diagram one The step of function of specifying in individual square frame or multiple square frames.
The above, only presently preferred embodiments of the present invention, is not intended to limit protection scope of the present invention.

Claims (10)

1. a kind of information sharing method, is applied in first terminal, it is characterised in that include:
The network connection state of the first terminal is detected, the network connection state is the wireless network of first terminal connection The state of network;
When detecting with the first wireless network in connection status, corresponding first access point of first wireless network is obtained Information and the mark of the corresponding second terminal of first wireless network, first wireless network is corresponded to for the second terminal Target radio network;
When disconnecting with first wireless network when detecting, and being in connection status with second wireless network, will be described The mark of the first access-in point information and the second terminal is sent to the first wireless router, and the second wireless network is described The corresponding target radio network of first terminal, first wireless router is the corresponding wireless routing of the second wireless network Device.
2. method according to claim 1, it is characterised in that the network connection state of the detection first terminal, Including:
Obtain the current location of the first terminal;
By judging target BS cell range that the current location belongs to, the wireless network of the first terminal connection is detected Network;
When the current location is in the range of the first mark base station cell, detect whether the first terminal is wireless with described first Network connection, the first object base station cell is that second terminal corresponding first presets base station cell;
When the current location is in the range of the second mark base station cell, detect whether the first terminal is wireless with described second Network connection, the second target BS cell is that first terminal corresponding second presets base station cell.
3. a kind of information sharing method, is applied in the first wireless router, it is characterised in that include:
Receive the first access-in point information of first terminal transmission and the mark of second terminal;
Judge whether the first terminal meets pre-conditioned, when the first terminal meets described pre-conditioned, will be described The mark of the first access-in point information and the second terminal is added in the second access-in point information, and second access-in point information is The corresponding access-in point information of first wireless router;
When the mark of the second terminal is searched, carried out wirelessly according to second access-in point information and the second terminal Network connection.
4. method according to claim 3, it is characterised in that described judge whether the first terminal meets default bar Part, including:
Count the connection number of times that the first terminal accesses the second wireless network every time;
According to the connection number of times and the contrast of the default connection number of times, judge whether the first terminal meets default bar Part;
Accordingly, described judge the first terminal whether meet pre-conditioned after, methods described also includes:
If the connection number of times judges that the first terminal meets described pre-conditioned more than default connection number of times;
If the connection number of times is less than or equal to the default connection number of times, judge that the first terminal is unsatisfactory for described default Condition.
5. method according to claim 3, it is characterised in that described judge whether the first terminal meets default bar Part, including:
Obtain the mark of the first terminal;
According to mark and the matching result of the default mark of the first terminal, judge whether the first terminal meets pre- If condition;
Accordingly, described judge the first terminal whether meet pre-conditioned after, methods described also includes:
If the mark of the first terminal is mated with the default mark, judge that the first terminal meets the default bar Part;
If the mark of the first terminal is mismatched with the default mark, judge that the first terminal is unsatisfactory for described pre- If condition.
6. a kind of first terminal, it is characterised in that include:
Detector unit, for detecting the network connection state of the first terminal, the network connection state is for described first eventually The state of the wireless network of end connection;
First acquisition unit, for when the detector unit is detected and is in connection status with the first wireless network, obtaining institute The mark of corresponding first access-in point information of the first wireless network and the corresponding second terminal of first wireless network is stated, described First wireless network is the corresponding target radio network of the second terminal;
First transmitting element, for disconnecting with first wireless network when detector unit is detected, and with second Wireless network in connection status when, first access-in point information that the acquiring unit is obtained and the second terminal Mark is sent to the first wireless router, and the second wireless network is the corresponding target radio network of the first terminal, institute The first wireless router is stated for the corresponding wireless router of the second wireless network.
7. terminal according to claim 6, it is characterised in that
The first acquisition unit, is additionally operable to obtain the current location of the first terminal;
The detector unit, specifically for by judging the target that belongs to of the current location that the first acquisition unit is obtained Base station cell scope, detects the wireless network of the first terminal connection;When the current location is in the first mark base station cell model When enclosing interior, detect whether the first terminal is connected with first wireless network, the first object base station cell is second Terminal corresponding first presets base station cell;When the current location is in the range of the second mark base station cell, described the is detected Whether one terminal is connected with the second wireless network, and the second target BS cell is that first terminal corresponding second is preset Base station cell.
8. a kind of first wireless router, it is characterised in that include:
Receiving unit, for receiving the first access-in point information of first terminal transmission and the mark of second terminal;
Judging unit, pre-conditioned for judging whether the first terminal meets;
Adding device, for when the judging unit judges that the first terminal meets described pre-conditioned, connecing described The mark of first access-in point information and the second terminal of receiving unit reception is added in the second access-in point information, described Second access-in point information is the corresponding access-in point information of first wireless router;
Connection unit, for search when search unit the second terminal mark when, according to the adding device add Second access-in point information carries out wireless network with the second terminal and is connected.
9. router according to claim 8, it is characterised in that first wireless router also includes:Statistic unit;
The statistic unit, accesses the connection number of times of the second wireless network every time for counting the first terminal;
The judging unit, specifically for the connection number of times and the default connection number of times that are counted according to the statistic unit Contrast, judge whether the first terminal meets pre-conditioned;And if the connection number of times is sentenced more than default connection number of times Break the first terminal meet described pre-conditioned;And if the connection number of times is less than or equal to the default connection number of times, Then judge that the first terminal is unsatisfactory for described pre-conditioned.
10. router according to claim 8, it is characterised in that first wireless router also includes:Second obtains Unit;
The second acquisition unit, for obtaining the mark of the first terminal;
The judging unit, specifically for the mark of the first terminal that obtained according to the acquiring unit and the pre- bidding The matching result of knowledge, judges whether the first terminal meets pre-conditioned;And if the mark of the first terminal is pre- with described Bidding knows coupling, then judge that the first terminal meets described pre-conditioned;And if mark and the institute of the first terminal State default mark to mismatch, then judge that the first terminal is unsatisfactory for described pre-conditioned.
CN201610879127.4A 2016-10-08 2016-10-08 Information sharing method, terminal and router Active CN106454938B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610879127.4A CN106454938B (en) 2016-10-08 2016-10-08 Information sharing method, terminal and router

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610879127.4A CN106454938B (en) 2016-10-08 2016-10-08 Information sharing method, terminal and router

Publications (2)

Publication Number Publication Date
CN106454938A true CN106454938A (en) 2017-02-22
CN106454938B CN106454938B (en) 2020-04-17

Family

ID=58172163

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610879127.4A Active CN106454938B (en) 2016-10-08 2016-10-08 Information sharing method, terminal and router

Country Status (1)

Country Link
CN (1) CN106454938B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108566442A (en) * 2018-06-29 2018-09-21 上海连尚网络科技有限公司 A kind of method and apparatus for providing network connection
CN109005571A (en) * 2017-06-07 2018-12-14 中移(杭州)信息技术有限公司 A kind of method, apparatus and system for establishing WiFi connection
CN110249653A (en) * 2017-03-01 2019-09-17 华为技术有限公司 A kind of condition detection method and terminal of signal transmitting equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581876A (en) * 2012-08-02 2014-02-12 中兴通讯股份有限公司 Method and device for sending wireless access point information, and mobile terminals
CN104410963A (en) * 2014-11-24 2015-03-11 中国联合网络通信集团有限公司 WiFi (wireless fidelity) connection method, WiFi agency and system
CN104618873A (en) * 2015-01-15 2015-05-13 腾讯科技(深圳)有限公司 Method and device for sharing access point information
CN106550360A (en) * 2015-09-23 2017-03-29 中国电信股份有限公司 WiFi methods of attachment and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581876A (en) * 2012-08-02 2014-02-12 中兴通讯股份有限公司 Method and device for sending wireless access point information, and mobile terminals
CN104410963A (en) * 2014-11-24 2015-03-11 中国联合网络通信集团有限公司 WiFi (wireless fidelity) connection method, WiFi agency and system
CN104618873A (en) * 2015-01-15 2015-05-13 腾讯科技(深圳)有限公司 Method and device for sharing access point information
CN106550360A (en) * 2015-09-23 2017-03-29 中国电信股份有限公司 WiFi methods of attachment and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110249653A (en) * 2017-03-01 2019-09-17 华为技术有限公司 A kind of condition detection method and terminal of signal transmitting equipment
CN110249653B (en) * 2017-03-01 2021-07-16 华为技术有限公司 State detection method of signal transmitting equipment and terminal
CN109005571A (en) * 2017-06-07 2018-12-14 中移(杭州)信息技术有限公司 A kind of method, apparatus and system for establishing WiFi connection
CN108566442A (en) * 2018-06-29 2018-09-21 上海连尚网络科技有限公司 A kind of method and apparatus for providing network connection

Also Published As

Publication number Publication date
CN106454938B (en) 2020-04-17

Similar Documents

Publication Publication Date Title
CN104754516B (en) Client password method for retrieving, device and system based on LBS
CN105306457B (en) Data buffer storage device and method
CN104731512B (en) The method, apparatus and terminal that picture is shared
CN105100090B (en) Communication method, server and system based on internal and external network separation
CN105978788A (en) Message pushing device and method thereof
CN106033570A (en) Mobile payment device and method
CN105872948A (en) Virtual SIM (Subscriber Identity Module) card realization device and method
CN106155695A (en) The removing control device and method of background application
CN105843478B (en) The icon display control method and device of rapid switch
CN106231650A (en) A kind of method for network access and terminal
CN106304037A (en) The management method of virtual SIM card and device
CN105141507A (en) Method and device for displaying head portrait for social application
CN105100475B (en) Information push-delivery apparatus and method
CN104777982B (en) Method and device for switching terminal input method
CN105898703A (en) Method and device for managing identified pseudo base stations
CN105892803A (en) Quick setting method for setting items and mobile terminal
CN105338245A (en) Photo-taking sharing method, photo-taking sharing terminal and photo-taking sharing system
CN106506965A (en) A kind of image pickup method and terminal
CN105183830B (en) picture browsing method and device
CN104735254B (en) terminal screen locking method and system
CN106502526A (en) A kind of back-stage management method and terminal
CN106454938A (en) Information sharing method, terminal and router
CN105242483A (en) Focusing realization method and device and shooting realization method and device
CN105335055A (en) Self-response type realization method and system of menu as well as terminal equipment
CN106657950A (en) Projection device management device, method and projection data sharing 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
TA01 Transfer of patent application right

Effective date of registration: 20200323

Address after: 201, room 518000, building A, No. 1, front Bay Road, Qianhai Shenzhen Guangdong Shenzhen Hong Kong cooperation zone (Qianhai business secretary)

Applicant after: Shenzhen Qianhai Information and Communication Development Co.,Ltd.

Address before: 518000 Guangdong Province, Shenzhen high tech Zone of Nanshan District City, No. 9018 North Central Avenue's innovation building A, 6-8 layer, 10-11 layer, B layer, C District 6-10 District 6 floor

Applicant before: NUBIA TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Room 201, building a, No. 1, Qianwan 1st Road, Shenzhen Hong Kong cooperation zone, Shenzhen, Guangdong Province

Patentee after: Shenzhen Qianhai Big Data Resource Management Center Co.,Ltd.

Address before: Room 201, building a, No. 1, Qianwan 1st Road, Shenzhen Hong Kong cooperation zone, Shenzhen, Guangdong Province

Patentee before: Shenzhen Qianhai Information and Communication Development Co.,Ltd.

CP01 Change in the name or title of a patent holder