CN108184255A - Switching method, device, storage medium and the terminal of network type - Google Patents

Switching method, device, storage medium and the terminal of network type Download PDF

Info

Publication number
CN108184255A
CN108184255A CN201810040861.0A CN201810040861A CN108184255A CN 108184255 A CN108184255 A CN 108184255A CN 201810040861 A CN201810040861 A CN 201810040861A CN 108184255 A CN108184255 A CN 108184255A
Authority
CN
China
Prior art keywords
datum mark
network
network type
position information
relative position
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
CN201810040861.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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810040861.0A priority Critical patent/CN108184255A/en
Publication of CN108184255A publication Critical patent/CN108184255A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/32Reselection being triggered by specific parameters by location or mobility data, e.g. speed data

Landscapes

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

Abstract

The embodiment of the present application discloses a kind of switching method of network type, device, storage medium and terminal, this method and includes:Datum mark is determined according to the wireless signal strength of first network, the datum mark is more than the location point of preset strength for wireless signal strength;Obtain the relative position information between current location and the datum mark;Target network type is determined according to the relative position information;It is switched over according to the target network type.The handover scheme of the network type provided in the embodiment of the present application, determines datum mark according to the wireless signal strength of first network first, and the datum mark is more than the location point of preset strength for wireless signal strength;Secondly, the relative position information between current location and the datum mark is obtained;Again, target network type is determined according to the relative position information;Finally, it is switched over according to the target network type, and then improves network switching efficiency.

Description

Switching method, device, storage medium and the terminal of network type
Technical field
The invention relates to the switching method of communication of mobile terminal technical field more particularly to network type, device, Storage medium and terminal.
Background technology
With the development of radio network technique, the more and more using terminals of user are connected to Wireless LAN into line number According to communication, such as Wireless Fidelity WIFI.After user leaves WIFI coverage areas, it is switched to mobile cellular network and carries out data friendship Mutually.At present, the handover mechanism of WIFI and mobile cellular network is that terminal obtains WIFI signal intensity and mobile cellular network is strong, Network corresponding compared with strong signal is determined as the network that uses of terminal communication.But inventor has found that aforesaid way is a consumption When longer mode, can not quickly be responded.
Invention content
The purpose of the embodiment of the present application is to provide a kind of switching method of network type, device, storage medium and terminal, can To improve network switching efficiency.
In a first aspect, the embodiment of the present application provides a kind of switching method of network type, including:
Datum mark is determined according to the wireless signal strength of first network, the datum mark is more than default for wireless signal strength The location point of intensity;
Obtain the relative position information between current location and the datum mark;
Target network type is determined according to the relative position information;
It is switched over according to the target network type.
Second aspect, the embodiment of the present application provide a kind of switching device of network type, including:
Datum mark determining module, for determining datum mark according to the wireless signal strength of first network, the datum mark is Wireless signal strength is more than the location point of preset strength;
Position information acquisition module, for obtaining the datum mark that current location and the datum mark determining module determine Between relative position information;
Network type determining module, it is true for the relative position information that is obtained according to the position information acquisition module Set the goal network type;
Handover module, for being switched over according to the target network type that the network type determining module determines.
The third aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer journey Sequence realizes the switching method of the network type as shown in first aspect when the program is executed by processor.
Fourth aspect, the embodiment of the present application provide a kind of terminal, and including memory, processor and storage are on a memory And the computer program that can be run in processor, the processor are realized when performing the computer program as shown in first aspect Network type switching method.
The handover scheme of the network type provided in the embodiment of the present application, first according to the wireless signal strength of first network Determine datum mark, the datum mark is more than the location point of preset strength for wireless signal strength;Secondly, current location and institute are obtained State the relative position information between datum mark;Again, target network type is determined according to the relative position information;Finally, root It is switched over according to the target network type, and then improves network switching efficiency.
Description of the drawings
Fig. 1 is a kind of flow diagram of the switching method of network type provided by the embodiments of the present application;
Fig. 2 is the flow diagram of the switching method of another network type provided by the embodiments of the present application;
Fig. 3 is the flow diagram of the switching method of another network type provided by the embodiments of the present application;
Fig. 4 is the flow diagram of the switching method of another network type provided by the embodiments of the present application;
Fig. 5 is a kind of structure diagram of the switching device of network type provided by the embodiments of the present application;
Fig. 6 is a kind of structure diagram of mobile terminal provided by the embodiments of the present application.
Specific embodiment
Further illustrate the technical solution of the application below with reference to the accompanying drawings and specific embodiments.It is appreciated that It is that specific embodiment described herein is used only for explaining the application rather than the restriction to the application.It further needs exist for illustrating , part relevant with the application rather than entire infrastructure are illustrated only for ease of description, in attached drawing.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail The processing described as flow chart or method.Although each step is described as the processing of sequence, many of which by flow chart Step can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of each step can be rearranged.When its operation The processing can be terminated during completion, it is also possible to have the additional step being not included in attached drawing.The processing can be with Corresponding to method, function, regulation, subroutine, subprogram etc..
With the development of radio network technique, the more and more using terminals of user are connected to Wireless LAN into line number According to interaction.In the relevant technologies, terminal is after WIFI is connected to, if WIFI signal is good, without mobile cellular network Switching, if WIFI signal is poor, carries out the switching of mobile cellular network.When WIFI signal takes a turn for the better again, switch back into again WIFI.When determining whether switching, need constantly to obtain WIFI signal intensity and the signal strength of mobile cellular network, therefore Power consumption and take it is higher, cause network switching efficiency low.This application provides one kind based on relative position information to WIFI areas Network type is recorded used in different location in domain, the mode then switched over according to the position of terminal, and then is dropped The time-consuming and power consumption generated during low network switching, improves network switching efficiency.Concrete scheme is as follows:
Fig. 1 is the flow diagram of the switching method of network type provided by the embodiments of the present application, and this method is used for terminal The situation of network switching is carried out, this method can be performed by being connected to wireless network or finding the terminal of wireless network, should Terminal can be mobile terminal, tablet computer, wearable device, laptop etc., and this method specifically comprises the following steps:
Step 110 determines datum mark according to the wireless signal strength of first network.
Wherein, the datum mark is more than the location point of preset strength for wireless signal strength.
First network is the Wireless LAN that the Wireless LAN that terminal is currently connected to or terminal are found.Eventually End can get the signal of multiple Wireless LAN simultaneously, be obtained often by analyzing the corresponding frame data of Wireless LAN The signal strength of a Wireless LAN, frame data broadcast in every 0.1 second are primary.
Terminal establishes a signal strength table for each Wireless LAN, by the signal strength numerical value detected with And corresponding location information is stored during detection.Further, selection signal intensity is more than the location point of preset strength.It is default Intensity can be 20dbm-60dbm, be chosen as 30dbm.For each Wireless LAN, any one signal can be selected strong Degree is more than the location point of preset strength as datum mark.Optionally, the location point at edge can will be covered positioned at WLAN It is determined as datum mark.
Relative position information between step 120, acquisition current location and datum mark.
Relative position information can be coordinate information, or range information.After datum mark is determined, terminal is persistently counted Calculate the relative position information between terminal current location and datum mark.And net is determined according to relative position information in subsequent step Network type.
Optionally, it obtains corresponding first coordinate information in current location and the datum mark corresponds to the second coordinate information;Root Relative position information is determined according to the first coordinate information and the second coordinate information.
If user moves in the smaller regional movement of height change, such as grassland, plains region without high-rise region, then The coordinate information that GPS positioning module is got can be used as current location.Terminal obtains the corresponding GPS positioning information of datum mark. Then, relative position information is determined according to the location information of current location information and datum mark, wherein, relative position information For relative coordinate.
Correspondingly, terminal storage has the correspondence of opposite relative coordinate and network type, for represent datum mark certain The network type used in a orientation or direction or in some region of overlay area.
Optionally, relative position information can also be range information.Obtain between current location and the datum mark away from From information, using the range information as relative position information.
After datum mark is determined, start distance measuring sensor in reference point location terminal, distance measuring sensor can be gyroscope Or acceleration transducer.Using the range information that distance measuring sensor obtains as relative position information, range information is used to represent Terminal is currently the distance between with datum mark.The distance can be the distance in three dimensions, such as datum mark is in ten meters of high-altitudes, Terminal current vertical drops at 1 meter, then it is 9 meters to measure range information.It but at this time can not if by GPS coordinate information Height change is embodied, therefore range information is more suitable for the scene with height change.
Step 130 determines target network type according to relative position information.
Terminal from pre-stored correspondence, determines the corresponding target network class of location information according to relative position information Type.Further, there are a set of correspondences for each Wireless LAN.Optionally, terminal continues after datum mark is determined Relative position information is obtained, until terminal is closed or user triggers closing network switching manually.
Step 140 is switched over according to target network type.
Judge whether your target network type and currently used network type are consistent.It is cut if consistent without network It changes.If it is inconsistent, network type is switched into target network type.Target network type is for mobile cellular network or wirelessly Local area network.Wherein, mobile cellular network can also include 4G (fourth generation mobile communication technology, the 4th Generation Mobile communication), 3G network (3rd generation mobile communication technology, 3rd-Generation) or long-term evolving network (Long Term Evolution, LTE).
The switching method of network type provided in this embodiment first, is determined according to the wireless signal strength of first network Datum mark, the datum mark are more than the location point of preset strength for wireless signal strength;Secondly, current location and the base are obtained Relative position information between on schedule;Again, target network type is determined according to the relative position information;Finally, according to institute Target network type is stated to switch over.Relative to the signal strength for detecting WIFI and mobile cellular network simultaneously, then in basis The size of the two intensity switches over, and time-consuming, and power consumption height is compared, and the application can determine target network by relative position information Network type, into without being persistently detected to signal strength, low energy consumption and response quickly, can improve network switching efficiency.
Fig. 2 is the flow chart of the switching method of a network type provided by the embodiments of the present application, as above-described embodiment Further explanation, including:
Step 210 determines reference area according to the wireless signal strength of first network.
When determining datum mark, in addition to being randomly selected, the mode that can also be provided through this embodiment improves benchmark The accuracy of point, and then make datum mark for the highest point of signal strength in first network.Cumulative statistics terminal is in step 210 The location point and the correspondence of signal strength measured in moving process in one network.Signal strength is all higher than default strong The point of degree extracts, and obtains reference area.Optionally, there are a reference areas in each network.The reference area is packet Containing the signal strength region most more than the point of preset strength.
Step 220 determines datum mark according to reference area.
Datum mark is selected in reference area.Any one in reference area can be determined as datum mark.
Optionally, the central point in calculating benchmark region, using central point as datum mark.The calculation of central point can be with For, the highest point of signal strength numerical value in reference area, the central point of geometry can be corresponded in region on the basis of.
Relative position information between step 230, acquisition current location and datum mark.
Step 240 determines target network type according to relative position information.
Step 250 is switched over according to target network type.
Datum mark can be accurately positioned in the switching method of network type provided in this embodiment, so that based on remembeing The relative position information that point measures is more accurate, improves the accuracy of network switching.
Fig. 3 is the flow chart of the switching method of a network type provided by the embodiments of the present application, as above-described embodiment Further explanation, including:
Step 310 determines datum mark according to the wireless signal strength of first network.
Wherein, datum mark is more than the location point of preset strength for wireless signal strength.
Step 320, according to the location information of current location and the location information of datum mark, determine current location and datum mark Between the first distance.
If persistently carrying out the calculating of relative position after datum mark is detected, terminal burden can be increased.Based on this, this The location information remembered a little is obtained in embodiment, can be determined according to the location information of current location and the location information of datum mark The network coverage for the first network whether user enters, and then entering first network or first network will be entered During network coverage, start distance detection, and then reduce the power consumption of distance measuring sensor.
Step 330, when the first distance is less than pre-determined distance, by motion sensor obtain current location and datum mark it Between range information, using range information as relative position information.
Network coverage radius of the pre-determined distance for first network or the network coverage radius slightly larger than first network, example It is such as 5-10 meters bigger than the network coverage radius of first network.
Step 340 determines target network type according to relative position information.
Step 350 is switched over according to target network type.
The switching method of network type provided in this embodiment, by calculating the first distance, can judge user whether into Enter or first network will be entered, and then when user enters or will enter first network, start distance measuring sensor and surveyed Away from reduction power consumption.
Fig. 4 is the flow chart of the switching method of a network type provided by the embodiments of the present application, as above-described embodiment Further explanation, including:
Step 410 determines datum mark according to the wireless signal strength of first network.
Wherein, datum mark is more than the location point of preset strength for wireless signal strength.
Relative position information between step 420, acquisition current location and datum mark.
Step 430 determines target network type according to relative position information.
Step 440 is switched over according to target network type.
Step 450, the target area that will be reached according to movement pattern user.
The motion track of user or the behavioural habits of user can be got according to location information.According to the movement of user The target area that user will reach can be predicted in track or behavioural habits.Such as moved on user's Zheng Mou highways, which leads to Toward the shelter of user, then the shelter of user is target area.
If step 460, the corresponding switching mode in target area are the second network, being initiated the connection to the second network please It asks.
Terminal storage has the datum mark of multiple networks, if terminal departing from the range of first network, and will enter the The range of two networks then can initiate the connection request when that will enter the second network to the second network.
The switching method of network type provided in this embodiment can predict the target area that user will reach, according to The corresponding switching mode in target area carries out network switching, further improves switching efficiency.
Fig. 5 is a kind of structure diagram of the switching device of network type provided by the embodiments of the present application.As shown in figure 5, The device includes:Datum mark determining module 510, position information acquisition module 520, network type determining module 530, handover module 540 and prediction module 550.
Datum mark determining module 510, for determining datum mark, the datum mark according to the wireless signal strength of first network It is more than the location point of preset strength for wireless signal strength;
Position information acquisition module 520, for obtaining described in current location and the datum mark determining module 510 determine Relative position information between datum mark;
Network type determining module 530, for the relative position obtained according to the position information acquisition module 520 Information determines target network type;
Handover module 540, the target network type for being determined according to the network type determining module 530 carry out Switching.
Further, datum mark determining module 510 is used for:
Reference area is determined according to the wireless signal strength of first network;
Datum mark is determined according to the reference area.
Further, datum mark determining module 510 is used for:
The central point of the reference area is calculated, using the central point as datum mark.
Further, position information acquisition module 520 is used for:
It obtains corresponding first coordinate information in current location and the datum mark corresponds to the second coordinate information;
Relative position information is determined according to the first coordinate information and the second coordinate information.
Further, position information acquisition module 520 is used for:
The distance between current location and the datum mark information are obtained, is believed the range information as relative position Breath.
Further, position information acquisition module 520 is used for:
According to the location information of current location and the location information of the datum mark, the current location and the base are determined The first distance between on schedule;
When the described first distance is less than pre-determined distance, the current location and the benchmark are obtained by motion sensor The distance between point information, using the range information as relative position information.
Further, prediction module 550 is further included, for the target area that will be reached according to movement pattern user Domain;
Handover module 540 is used for, if the corresponding switching mode in the target area is the second network, to described second Network initiates the connection request.
The switching method of network type provided in this embodiment, first, datum mark determining module 510 is according to first network Wireless signal strength determines datum mark, and the datum mark is more than the location point of preset strength for wireless signal strength;Secondly, position Data obtaining module 520 obtains the relative position information between current location and the datum mark;Again, network type determines mould Block 530 determines target network type according to the relative position information;Finally, handover module 540 is according to the target network class Type switches over.Relative to the signal strength for detecting WIFI and mobile cellular network simultaneously, then according to the big of the two intensity Small to switch over, time-consuming, and power consumption height is compared, and the application can determine target network type, Jin Erwu by relative position information It needs persistently to be detected signal strength, low energy consumption and response quickly, can improve network switching efficiency.
Above device can perform the method that the aforementioned all embodiments of the application are provided, and it is corresponding to have the execution above method Function module and advantageous effect.The not technical detail of detailed description in the present embodiment, reference can be made to the aforementioned all implementations of the application The method that example is provided.
Fig. 6 is the structure diagram of another terminal device provided by the embodiments of the present application.As shown in fig. 6, the terminal can To include:Housing (not shown), memory 601, central processing unit (Central Processing Unit, CPU) 602 (also known as processor, hereinafter referred to as CPU), the computer program that is stored on memory 601 and can be run on processor 602, Circuit board (not shown) and power circuit (not shown).The circuit board is placed in the space that the housing surrounds Portion;The CPU602 and the memory 601 are arranged on the circuit board;The power circuit, for for the terminal Each circuit or device power supply;The memory 601, for storing executable program code;The CPU602 is by reading The executable program code that is stored in memory 601 is stated to run program corresponding with the executable program code.
The terminal further includes:Peripheral Interface 603, RF (Radio Frequency, radio frequency) circuit 605, voicefrequency circuit 606th, loud speaker 611, power management chip 608, input/output (I/O) subsystem 609, touch screen 612, other input/controls Equipment 610 and outside port 604, these components are communicated by one or more communication bus or signal wire 607.
It should be understood that graphic terminal 600 is only an example of terminal, and terminal device 600 can be with With than more or less components shown in figure, two or more components can be combined or can be had Different component configurations.Various parts shown in figure can be including one or more signal processings and/or special integrated Hardware, software including circuit are realized in the combination of hardware and software.
Just provided in this embodiment below to be described in detail for a kind of terminal device, the terminal device is with intelligent hand For machine.
Memory 601, the memory 601 can be by access such as CPU602, Peripheral Interfaces 603, and the memory 601 can To include high-speed random access memory, nonvolatile memory can also be included, such as one or more disk memory, Flush memory device or other volatile solid-state parts.
The peripheral hardware that outputs and inputs of equipment can be connected to CPU602 and deposited by Peripheral Interface 603, the Peripheral Interface 603 Reservoir 601.
I/O subsystems 609, the I/O subsystems 609 can be by the input/output peripherals in equipment, such as touch screen 612 With other input/control devicess 610, it is connected to Peripheral Interface 603.I/O subsystems 609 can include 6091 He of display controller For controlling one or more input controllers 6092 of other input/control devicess 610.Wherein, one or more input controls Device 6092 processed receives electric signal from other input/control devicess 610 or sends electric signal to other input/control devicess 610, Other input/control devicess 610 can include physical button (pressing button, rocker buttons etc.), dial, slide switch, behaviour Vertical pole clicks idler wheel.What deserves to be explained is input controller 6092 can with it is following any one connect:Keyboard, infrared port, The indicating equipment of USB interface and such as mouse.
Wherein, according to the operation principle of touch screen and transmission information medium classification, touch screen 612 can be resistance-type, Capacitor induction type, infrared-type or surface acoustic wave type.Classify according to mounting means, touch screen 612 can be:It is external hanging type, built-in Formula or monoblock type.Classify according to technical principle, touch screen 612 can be:Vector pressure sensing technology touch screen, resistive technologies are touched Touch screen, capacitance technology touch screen, infrared technology touch screen or surface acoustic wave technique touch screen.
Touch screen 612, the touch screen 612 are the input interface and output interface between user terminal and user, can User is shown to depending on output, visual output can include figure, text, icon, video etc..Optionally, touch screen 612 is by user The electric signal (electric signal of such as contact surface) triggered on touch screen curtain, is sent to processor 602.
Display controller 6091 in I/O subsystems 609 receives electric signal from touch screen 612 or is sent out to touch screen 612 Electric signals.Touch screen 612 detects the contact on touch screen, and the contact detected is converted to and shown by display controller 6091 The interaction of user interface object on touch screen 612, that is, realize human-computer interaction, the user interface being shown on touch screen 612 Icon that object can be the icon of running game, be networked to corresponding network etc..What deserves to be explained is equipment can also include light Mouse, light mouse are the extensions for not showing the touch sensitive surface visually exported or the touch sensitive surface formed by touch screen.
RF circuits 605 are mainly used for establishing the communication of intelligent sound box and wireless network (i.e. network side), realize intelligent sound box Data receiver and transmission with wireless network.Such as transmitting-receiving short message, Email etc..
Voicefrequency circuit 606 is mainly used for receiving audio data from Peripheral Interface 603, which is converted to telecommunications Number, and the electric signal is sent to loud speaker 611.
Loud speaker 611 for the voice signal for receiving intelligent sound box from wireless network by RF circuits 605, is reduced to Sound simultaneously plays the sound to user.
Power management chip 608, the hardware for being connected by CPU602, I/O subsystem and Peripheral Interface are powered And power management.
In the present embodiment, central processing unit 602 is used for:
Datum mark is determined according to the wireless signal strength of first network, the datum mark is more than default for wireless signal strength The location point of intensity;
Obtain the relative position information between current location and the datum mark;
Target network type is determined according to the relative position information;
It is switched over according to the target network type.
Further, the wireless signal strength according to first network determines datum mark, including:
Reference area is determined according to the wireless signal strength of first network;
Datum mark is determined according to the reference area.
Further, it is described that datum mark is determined according to the reference area, including:
The central point of the reference area is calculated, using the central point as datum mark.
Further, the relative position information obtained between current location and the datum mark, including:
It obtains corresponding first coordinate information in current location and the datum mark corresponds to the second coordinate information;
Relative position information is determined according to the first coordinate information and the second coordinate information.
Further, the relative position information obtained between current location and the datum mark, including:
The distance between current location and the datum mark information are obtained, is believed the range information as relative position Breath.
Further, the distance between current location and the datum mark information is obtained to include:
According to the location information of current location and the location information of the datum mark, the current location and the base are determined The first distance between on schedule;
When the described first distance is less than pre-determined distance, the current location and the benchmark are obtained by motion sensor The distance between point information, using the range information as relative position information.
Further, it after the relative position information between current location and the datum mark is obtained, further includes:
The target area that will be reached according to movement pattern user;
If the corresponding switching mode in the target area is the second network, being initiated the connection to second network please It asks.
The embodiment of the present application also provides a kind of storage medium for including terminal device executable instruction, and the terminal device can When being performed by terminal device processor for performing a kind of switching method of network type, this method includes execute instruction:
Datum mark is determined according to the wireless signal strength of first network, the datum mark is more than default for wireless signal strength The location point of intensity;
Obtain the relative position information between current location and the datum mark;
Target network type is determined according to the relative position information;
It is switched over according to the target network type.
Further, the wireless signal strength according to first network determines datum mark, including:
Reference area is determined according to the wireless signal strength of first network;
Datum mark is determined according to the reference area.
Further, it is described that datum mark is determined according to the reference area, including:
The central point of the reference area is calculated, using the central point as datum mark.
Further, the relative position information obtained between current location and the datum mark, including:
It obtains corresponding first coordinate information in current location and the datum mark corresponds to the second coordinate information;
Relative position information is determined according to the first coordinate information and the second coordinate information.
Further, the relative position information obtained between current location and the datum mark, including:
The distance between current location and the datum mark information are obtained, is believed the range information as relative position Breath.
Further, the distance between current location and the datum mark information is obtained to include:
According to the location information of current location and the location information of the datum mark, the current location and the base are determined The first distance between on schedule;
When the described first distance is less than pre-determined distance, the current location and the benchmark are obtained by motion sensor The distance between point information, using the range information as relative position information.
Further, it after the relative position information between current location and the datum mark is obtained, further includes:
The target area that will be reached according to movement pattern user;
If the corresponding switching mode in the target area is the second network, being initiated the connection to second network please It asks.
The arbitrary of one or more computer-readable media may be used in the computer storage media of the embodiment of the present application Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or Device or arbitrary above combination.The more specific example (non exhaustive list) of computer readable storage medium includes:Tool There are one or the electrical connections of multiple conducting wires, portable computer diskette, hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD- ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage Medium can be any tangible medium for including or storing program, which can be commanded execution system, device or device Using or it is in connection.
Computer-readable signal media can include in a base band or as a carrier wave part propagation data-signal, Wherein carry computer-readable program code.Diversified forms may be used in the data-signal of this propagation, including but it is unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for By instruction execution system, device either device use or program in connection.
The program code included on computer-readable medium can be transmitted with any appropriate medium, including --- but it is unlimited In wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
Can with one or more programming language or combinations come write for perform the application operation computer Program code, programming language include object oriented program language-such as Java, Smalltalk, C++, also wrap Include conventional procedural programming language-such as " C " language or similar programming language.Program code can be complete Ground is performed, is partly performed on the user computer on the user computer, the software package independent as one performs, partly exists Part performs or performs on a remote computer or server completely on the remote computer on subscriber computer.It is being related to In the situation of remote computer, remote computer can pass through the network of any kind --- including LAN (LAN) or wide area Net (WAN)-be connected to subscriber computer or, it may be connected to outer computer (such as utilizes ISP To pass through Internet connection).
Certainly, a kind of storage medium for including computer executable instructions that the embodiment of the present application is provided, computer Operation is recommended in the application that executable instruction is not limited to the described above, and the application that the application any embodiment is provided can also be performed Relevant operation in recommendation method.
Note that it above are only the preferred embodiment of the application and institute's application technology principle.It will be appreciated by those skilled in the art that The application is not limited to specific embodiment described here, can carry out for a person skilled in the art it is various it is apparent variation, The protection domain readjusted and substituted without departing from the application.Therefore, although being carried out by above example to the application It is described in further detail, but the application is not limited only to above example, in the case where not departing from the application design, also It can include other more equivalent embodiments, and scope of the present application is determined by scope of the appended claims.

Claims (10)

1. a kind of switching method of network type, which is characterized in that including:
Datum mark is determined according to the wireless signal strength of first network, the datum mark is more than preset strength for wireless signal strength Location point;
Obtain the relative position information between current location and the datum mark;
Target network type is determined according to the relative position information;
It is switched over according to the target network type.
2. the switching method of network type according to claim 1, which is characterized in that described according to the wireless of first network Signal strength determines datum mark, including:
Reference area is determined according to the wireless signal strength of first network;
Datum mark is determined according to the reference area.
3. the switching method of network type according to claim 2, which is characterized in that described true according to the reference area Determine datum mark, including:
The central point of the reference area is calculated, using the central point as datum mark.
4. the switching method of network type according to claim 1, which is characterized in that it is described acquisition current location with it is described Relative position information between datum mark, including:
It obtains corresponding first coordinate information in current location and the datum mark corresponds to the second coordinate information;
Relative position information is determined according to the first coordinate information and the second coordinate information.
5. the switching method of network type according to claim 1, which is characterized in that it is described acquisition current location with it is described Relative position information between datum mark, including:
The distance between current location and the datum mark information are obtained, using the range information as relative position information.
6. the switching method of network type according to claim 5, which is characterized in that obtain current location and the benchmark The distance between point information includes:
According to the location information of current location and the location information of the datum mark, the current location and the datum mark are determined Between the first distance;
When the described first distance is less than pre-determined distance, by motion sensor obtain the current location and the datum mark it Between range information, using the range information as relative position information.
7. the switching method of network type according to claim 1, which is characterized in that obtaining current location and the base After relative position information between on schedule, further include:
The target area that will be reached according to movement pattern user;
If the corresponding switching mode in the target area is the second network, request is initiated the connection to second network.
8. a kind of switching device of network type, which is characterized in that including:
Datum mark determining module, for determining datum mark according to the wireless signal strength of first network, the datum mark is wireless Signal strength is more than the location point of preset strength;
Position information acquisition module, for obtaining current location between the datum mark that the datum mark determining module determines Relative position information;
Network type determining module, the relative position information for being obtained according to the position information acquisition module determine mesh Mark network type;
Handover module, for being switched over according to the target network type that the network type determining module determines.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor The switching method of the network type as described in any in claim 1-7 is realized during row.
10. a kind of terminal, including memory, processor and storage are on a memory and can be in the computer journey of processor operation Sequence, which is characterized in that the processor realizes the network class as described in claim 1-7 is any when performing the computer program The switching method of type.
CN201810040861.0A 2018-01-16 2018-01-16 Switching method, device, storage medium and the terminal of network type Pending CN108184255A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810040861.0A CN108184255A (en) 2018-01-16 2018-01-16 Switching method, device, storage medium and the terminal of network type

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810040861.0A CN108184255A (en) 2018-01-16 2018-01-16 Switching method, device, storage medium and the terminal of network type

Publications (1)

Publication Number Publication Date
CN108184255A true CN108184255A (en) 2018-06-19

Family

ID=62550641

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810040861.0A Pending CN108184255A (en) 2018-01-16 2018-01-16 Switching method, device, storage medium and the terminal of network type

Country Status (1)

Country Link
CN (1) CN108184255A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113795039A (en) * 2021-09-23 2021-12-14 中交信通网络科技有限公司 Operator network switching method, device, equipment and computer readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101406087A (en) * 2006-11-23 2009-04-08 华为技术有限公司 Position updating method and system
CN102958048A (en) * 2011-08-26 2013-03-06 中国移动通信集团山东有限公司 Method for optimal selection between WiFi (wireless fidelity) network and TD-SCDMA (time division-synchronous code division multiple access) network
CN103096409A (en) * 2011-11-04 2013-05-08 上海瀚讯无线技术有限公司 Base station switching method and system in wireless communication
CN103188763A (en) * 2011-12-31 2013-07-03 联想(北京)有限公司 Sign-in method, device and electronic equipment based on space
CN105052203A (en) * 2014-02-10 2015-11-11 深圳市大疆创新科技有限公司 Adaptive communication mode switching
CN105282800A (en) * 2015-10-23 2016-01-27 广东欧珀移动通信有限公司 Network switching method and device for mobile terminal
CN107454640A (en) * 2017-09-23 2017-12-08 广东欧珀移动通信有限公司 Network insertion switching method and Related product

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101406087A (en) * 2006-11-23 2009-04-08 华为技术有限公司 Position updating method and system
CN102958048A (en) * 2011-08-26 2013-03-06 中国移动通信集团山东有限公司 Method for optimal selection between WiFi (wireless fidelity) network and TD-SCDMA (time division-synchronous code division multiple access) network
CN103096409A (en) * 2011-11-04 2013-05-08 上海瀚讯无线技术有限公司 Base station switching method and system in wireless communication
CN103188763A (en) * 2011-12-31 2013-07-03 联想(北京)有限公司 Sign-in method, device and electronic equipment based on space
CN105052203A (en) * 2014-02-10 2015-11-11 深圳市大疆创新科技有限公司 Adaptive communication mode switching
CN105282800A (en) * 2015-10-23 2016-01-27 广东欧珀移动通信有限公司 Network switching method and device for mobile terminal
CN107454640A (en) * 2017-09-23 2017-12-08 广东欧珀移动通信有限公司 Network insertion switching method and Related product

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113795039A (en) * 2021-09-23 2021-12-14 中交信通网络科技有限公司 Operator network switching method, device, equipment and computer readable storage medium
CN113795039B (en) * 2021-09-23 2023-11-24 中交信通网络科技有限公司 Operator network switching method, device, equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN108600059B (en) Equipment control method and related product
RU2615796C2 (en) Method and device for controlling terminal using headset wire, as well as device
US10739854B2 (en) Terminal and touch response method and device
CN103563405B (en) Select the WAP for geography fence monitoring
KR102067019B1 (en) Apparatus and method for controlling charging path of mobile terminal
CN107942306B (en) Method and device for calibrating proximity sensor, storage medium and electronic equipment
CN107077239B (en) Method for adjusting photographing focal length of mobile terminal through touch pad and mobile terminal
CN107835033A (en) Control method, device, terminal device and the storage medium of antenna tuning switch
CN106162369A (en) A kind of realize in virtual scene interactive method, Apparatus and system
CN106331320B (en) Control the method and device of screen state
CN114501119B (en) Interactive display method, device, electronic equipment, system and storage medium
CN109412913A (en) Control method, device, storage medium and the terminal of smart home device
CN108769299B (en) Screen control method and device and mobile terminal
CN111092671B (en) Signal strength reporting method and device, storage medium and terminal equipment
CN109542380A (en) Control method, device, storage medium and the terminal of display pattern
CN107767228A (en) Using recommendation method, apparatus, terminal device and storage medium
CN109445577A (en) Virtual room switching method, device, electronic equipment and storage medium
CN108362310A (en) Determination method, apparatus, storage medium and the terminal of earth magnetism accuracy
CN107534949A (en) A kind of indoor orientation method and equipment
CN108632457A (en) temperature information processing method, device, storage medium and terminal
CN107741812B (en) A kind of method and terminal handling media file
CN109120864A (en) Light filling processing method, device, storage medium and mobile terminal
CN107508979A (en) volume adjusting method, device, terminal and storage medium
US20140348334A1 (en) Portable terminal and method for detecting earphone connection
CN108156650A (en) Control method, device, storage medium and the terminal of locating module

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180619