CN105847068A - Map marking method and terminal - Google Patents
Map marking method and terminal Download PDFInfo
- Publication number
- CN105847068A CN105847068A CN201610362969.2A CN201610362969A CN105847068A CN 105847068 A CN105847068 A CN 105847068A CN 201610362969 A CN201610362969 A CN 201610362969A CN 105847068 A CN105847068 A CN 105847068A
- Authority
- CN
- China
- Prior art keywords
- map
- base station
- pseudo
- terminal
- information
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/22—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks comprising specially adapted graphical user interfaces [GUI]
Abstract
The embodiment of the invention discloses a map marking method, which comprises the steps of acquiring parameters of a first map, and when base station information of a pseudo base station is stored, marking the pseudo base station on the first map according to the base station information of the pseudo base station. The embodiment of the invention further discloses a terminal at the same time.
Description
Technical field
The present invention relates to the communications field, particularly relate to a kind of map label method and terminal.
Background technology
" pseudo-base station ", as when the instrument of former enforcement telecommunication fraud means, the principle of " pseudo-base station " is concrete
For: searched by relevant devices such as sending short messages in groups device, note senders take centered by it, certain radius scope
Interior Mobile phone card information, the base station of the operator that disguises oneself as, falsely use other people phone number and send out to user mobile phone by force
Send the short messages such as swindle, ad promotions.Such as, in the region that the artificial abortion such as market, railway station is more, with respectively
Plant name and send swindle message or ad promotions to a range of mobile phone.When this kind equipment runs, user
Terminal be forced to be connected on this equipment, it is impossible to be just often connected to public telecommunication network, typically can temporarily take off
Net 8~12 seconds, so that user cannot normally obtain service, part mobile phone needs the switching on and shutting down again could again
Access common network.Additionally, " pseudo-base station " also results in terminal use's frequent updating position so that this region
Wireless network resource nervous and then network blockage phenomenon occurs, have a strong impact on the proper communication of user.
Summary of the invention
For solving above-mentioned technical problem, embodiment of the present invention expectation provides a kind of map label method and terminal,
Can on map labelling pseudo-base station so that user specifically understands the distribution of pseudo-base station around, i.e. its attribute letter
Breath.
The technical scheme is that and be achieved in that:
First aspect, it is provided that a kind of map label method, including:
Obtain the parameter of the first map;
When storage has the base station information of pseudo-base station, according to the base station information of described pseudo-base station, described first
Pseudo-base station described in labelling on map;
The first map after display labelling.
Optionally, described base station information includes positional information and attribute information, in the parameter obtaining the first map
Afterwards, described method also includes:
The current location of labelling terminal in described first map;
The described base station information according to described pseudo-base station, on described first map, pseudo-base station described in labelling includes:
In the preset range of described current location, pseudo-described in labelling on the position that described positional information is corresponding
Base station.
Optionally, described on described first map after pseudo-base station described in labelling, described method also includes:
When determining new pseudo-base station, obtain the base station information of new pseudo-base station;
According to the base station information of described new pseudo-base station, pseudo-base station new described in labelling on described first map;
The first map and the attribute information thereof of pseudo-base station new described in labelling is sent to described server.
Optionally, described attribute information at least includes that the identification information of keyword and map, described method also wrap
Include:
Sending the load request for loading map to described server, described load request includes that user selects
The second keyword;
Receive the identification information of at least one map corresponding with described second keyword that described server sends;
The identification information of display at least one map described;
Receive the identification information of the second map that user selects;
Sending, to described server, the request of download, the described request of downloading includes the identification information of described second map;
Receive and show described second map.
Second aspect, it is provided that a kind of map label method, including:
Receiving the first map and attribute information thereof that terminal sends, described first map is marked with pseudo-base station
Map;
Store described first map and attribute information thereof.
Optionally, described method also includes:
Receiving the load request that described terminal sends, described load request includes the second keyword that user selects;
In the attribute information of each map described, determine at least one ground corresponding with described second keyword
The identification information of figure;
The identification information of at least one map described is sent to described terminal;
Receiving the download request that described terminal sends, the described request of downloading includes the mark letter of described second map
Breath;
According to the identification information of described second map, send described second map to described terminal.
The third aspect, it is provided that a kind of terminal, including:
Acquiring unit, for obtaining the parameter of the first map;
Indexing unit, during for there being the base station information of pseudo-base station when storage, believes according to the base station of described pseudo-base station
Breath, pseudo-base station described in labelling on described first map;
Display unit, the first map after showing labelling.
Optionally, described indexing unit is additionally operable to: the current location of labelling terminal in described first map;
In the preset range of described current location, pseudo-base station described in labelling on the position that described positional information is corresponding.
Optionally, described terminal also includes:
Determine unit, in time determining new pseudo-base station, obtain the base station information of new pseudo-base station;
Described indexing unit is additionally operable to: according to the base station information of described new pseudo-base station, at described first map
Pseudo-base station new described in upper labelling;
Transmitting element, for sending the first map and the genus thereof of pseudo-base station new described in labelling to described server
Property information.
Optionally, described attribute information at least includes that the identification information of keyword and map, described terminal also wrap
Include:
Transmitting element is additionally operable to: send the load request for loading map, described loading to described server
Request includes the second keyword that user selects;For sending the request of download, described download to described server
Request includes the identification information of described second map;
Receive unit, for receiving at least one corresponding with described second keyword that described server sends
The identification information of map;For receiving the identification information of the second map that user selects;
Described display unit is additionally operable to: the identification information of display at least one map described;Receive and show institute
State the second map.
The embodiment of the present invention provides a kind of map label method and terminal, including: obtain the parameter of the first map;
When storage has the base station information of pseudo-base station, according to the base station information of described pseudo-base station, at described first map
Pseudo-base station described in upper labelling.So, owing to pseudo-base station has been marked on map, user can pass through
Consulting a map and search pseudo-base station, so, pseudo-base station is very clear on map, and user just can directly know
Other pseudo-base station, prevents from affecting the proper communication of terminal.
Accompanying drawing explanation
Fig. 1 is the hardware architecture diagram of the optional terminal realizing each embodiment of the present invention;
The flow chart 1 of a kind of map label method that Fig. 2 provides for the embodiment of the present invention;
The flow chart 2 of a kind of map label method that Fig. 3 provides for the embodiment of the present invention;
The definition format of the HTTP interaction fields that Fig. 4 provides for the embodiment of the present invention;
The schematic diagram of a kind of client terminal/server structure that Fig. 5 provides for the embodiment of the present invention;
The schematic diagram of the logical structure of the map label system that Fig. 6 provides for the embodiment of the present invention;
The flow chart 2 of a kind of map label method that Fig. 7 provides for the embodiment of the present invention;
The structural representation Fig. 1 of a kind of terminal that Fig. 8 provides for the embodiment of the present invention;
The structural representation Fig. 2 of a kind of terminal that Fig. 9 provides for the embodiment of the present invention;
The structural representation Fig. 1 of a kind of server that Figure 10 provides for the embodiment of the present invention;
The structural representation Fig. 2 of a kind of server that Figure 11 provides for the embodiment of the present invention;
The structural representation Fig. 2 of a kind of terminal that Figure 12 provides for the embodiment of the present invention;
The structural representation Fig. 3 of a kind of terminal that Figure 13 provides for the embodiment of the present invention;
The structural representation Fig. 2 of a kind of server that Figure 14 provides for the embodiment of the present invention;
The structural representation Fig. 3 of a kind of server that Figure 15 provides for the embodiment of the present invention;
The structural representation of a kind of map label system that Figure 16 provides for the embodiment of the present invention.
Detailed description of the invention
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 clearly
Chu, it is fully described by.
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not used to limit
The present invention.
The terminal realizing each embodiment of the present invention is described referring now to accompanying drawing.In follow-up description, make
With the suffix of such as " module ", " parts " or " unit " for representing element only for being conducive to this
Bright explanation, itself does not has specific meaning.Therefore, " module " can mixedly use with " parts ".
Terminal can be implemented in a variety of manners.Such as, the terminal described in the present invention can include such as moving
Mobile phone, smart phone, notebook computer, digit broadcasting receiver, personal digital assistant (PDA), flat
The terminal of plate computer (PAD), portable media player (PMP), guider etc. and such as
The fixed terminal of numeral TV, desk computer etc..Hereinafter it is assumed that terminal is terminal.But, this area
Skilled artisan will appreciate that, in addition to being used in particular for the element of mobile purpose, according to the enforcement of the present invention
The structure of mode can also apply to the terminal of fixed attribute.
Fig. 1 is the hardware architecture diagram of the optional terminal realizing each embodiment of the present invention.
Terminal 100 can include wireless communication unit 110, user input unit 130, output unit 150,
Memorizer 160, interface unit 170, controller 180 and power subsystem 190 etc..Fig. 1 shows have
The terminal of various assemblies, it should be understood that be not required for implementing all assemblies illustrated.Can substitute
More or less of assembly is implemented on ground.Will be discussed in more detail below the element of terminal.
Wireless communication unit 110 generally includes one or more assembly, and it allows terminal 100 and radio communication
Radio communication between system or network.Such as, wireless communication unit can include broadcast reception module 111,
Mobile communication module 112, wireless Internet module 113, short range communication module 114 and positional information module
In 115 at least one.
Broadcast reception module 111 via broadcast channel from external broadcasting management server receive broadcast singal and/or
Broadcast related information.Broadcast channel can include satellite channel and/or terrestrial channel.Broadcast management server can
Be generate and send broadcast singal and/or the server of broadcast related information or receive before generate wide
Broadcast signal and/or broadcast related information and send it to the server of terminal.Broadcast singal can include
TV broadcast singal, radio signals, data broadcasting signal etc..And, broadcast singal can enter one
Step includes the broadcast singal combined with TV or radio signals.Broadcast related information can also be via shifting
Dynamic communication network provides, and in this case, broadcast related information can be by mobile communication module 112
Receive.Broadcast singal can exist in a variety of manners, and such as, it can be with DMB (DMB)
Electronic program guides (EPG), the electronic service guidebooks (ESG) of digital video broadcast-handheld (DVB-H)
Etc. form and exist.Broadcast reception module 111 can receive by using the broadcast system of each attribute
Signal is broadcasted.Especially, broadcast reception module 111 can be by using such as multimedia broadcasting-ground
(DMB-T), DMB-satellite (DMB-S), DVB-hand-held (DVB-H),
Forward link media (MediaFLO@) Radio Data System, received terrestrial digital broadcasting integrated service (ISDB-T)
Etc. digit broadcasting system receive digital broadcasting.Broadcast reception module 111 may be constructed such that and is adapted to provide for
The various broadcast systems of broadcast singal and above-mentioned digit broadcasting system.Receive via broadcast reception module 111
Broadcast singal and/or broadcast related information can be stored in memorizer 160 (or the storage of other attribute is situated between
Matter) in.
Mobile communication module 112 send radio signals to base station (such as, access point, node B etc.),
In exterior terminal and server at least one and/or receive from it radio signal.Such aerogram
Number can include voice call signal, video calling signal or send according to text and/or Multimedia Message
And/or the data of each attribute received.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of terminal.This module can be interiorly or exteriorly
Be couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by this module can include WLAN
(WLAN) (Wi-Fi), WiMAX (Wibro), worldwide interoperability for microwave access (Wimax), at a high speed
Downlink packets accesses (HSDPA) etc..
Positional information module 115 is the module of positional information for checking or obtain terminal.Positional information mould
The typical case of block is GPS (global positioning system).According to current technology, GPS module 115 calculates
From the range information of three or more satellites and correct time information and for the Information application three calculated
Angle, thus according to longitude, latitude and highly accurately calculating three-dimensional current location information.Currently,
Three satellites are used and by using an other satellite school for calculating the method for position and temporal information
The position just calculated and the error of temporal information.Additionally, GPS module 115 can be by the most continuous
Calculate current location information and calculate velocity information.
User input unit 130 can generate key input data to control terminal according to the order of user's input
Various operations.User input unit 130 allows user to input the information of each attribute, and can include key
Dish, metal dome, touch pad (such as, detection due to touched and cause resistance, pressure, electric capacity etc.
The sensitive component of change), roller, rocking bar etc..Especially, it is superimposed upon aobvious as a layer when touch pad
When showing on unit 151, touch screen can be formed.
Interface unit 170 is used as at least one external device (ED) and is connected, with terminal 100, the interface that can pass through.Example
As, external device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger)
Port, wired or wireless FPDP, memory card port, for connecting the end of device with identification module
Mouth, audio frequency input/output (I/O) port, video i/o port, ear port etc..Identification module is permissible
It is that storage is for verifying that user uses the various information of terminal 100 and can include subscriber identification module
(UIM), subscriber identification module (SIM), USIM (USIM) etc..It addition, tool
The device (hereinafter referred to as " identifying device ") having identification module can be to take the form of smart card, therefore, knows
Other device can be connected with terminal 100 via port or other attachment means.Interface unit 170 may be used for
Receive the input (such as, data message, electric power etc.) from external device (ED), and the input that will receive
One or more elements of being transferred in terminal 100 or may be used for transmitting between terminal and external device (ED)
Data.
It addition, when terminal 100 is connected with external base, interface unit 170 can serve as allowing by it
There is provided the path of terminal 100 by electric power from base or can serve as allowing the various orders from base input
Signal is transferred to the path of terminal by it.Can serve as using from various command signals or the electric power of base input
The signal whether being accurately fitted within base in identification terminal.Output unit 150 be configured to vision,
Audio frequency and/or tactile manner provide output signal (such as, audio signal, video signal, alarm signal, to shake
Dynamic signal etc.).
Output unit 150 can include display unit 151, dio Output Modules 152, alarm unit 153
Etc..
Display unit 151 may be displayed on the information processed in terminal 100.Such as, it is in when terminal 100
During telephone calling model, display unit 151 can show and call or other (such as, text message that communicates
Transmitting-receiving, multimedia file download etc.) relevant user interface (UI) or graphic user interface (GUI).
When terminal 100 is in video calling pattern or image capture mode, display unit 151 can show catches
The image obtained and/or the image of reception, UI or GUI illustrating video or image and correlation function etc..
Meanwhile, when display unit 151 and touch pad the most superposed on one another to form touch screen time, aobvious
Show that unit 151 can serve as input equipment and output device.Display unit 151 can include liquid crystal display
(LCD), thin film transistor (TFT) LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display,
At least one in flexible display, three-dimensional (3D) display etc..Some in these display are permissible
Being configured to transparence watch from outside with permission user, this is properly termed as transparent display, the most transparent
Display can for example, transparent organic light emitting diode (TOLED) display etc..Want according to specific
Embodiment, terminal 100 can include two or more display units (or other display device), such as,
Terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch screen can be used
In detecting touch input pressure and touch input position and touch input area.
Dio Output Modules 152 can be in call signal in terminal and receive pattern, call mode, record mould
Time under the isotypes such as formula, speech recognition mode, broadcast reception mode, wireless communication unit 110 is received
Or in memorizer 160 storage voice data transducing audio signal and be output as sound.And, sound
Frequently output module 152 can provide the audio frequency relevant to the specific function of terminal 100 execution to export (such as,
Call signal receives sound, message sink sound etc.).Dio Output Modules 152 can include speaker,
Buzzer etc..
Alarm unit 153 can provide output to notify event to terminal 100.Typical event
Can include calling reception, message sink, key signals input, touch input etc..Except audio or video
Outside output, alarm unit 153 can provide in a different manner and export the generation with notification event.Such as,
Alarm unit 153 can with vibration form provide output, when receive calling, message or some enter
When entering communication (incomingcommunication), alarm unit 153 can provide sense of touch to export (i.e.,
Vibration) to notify to user.By providing such sense of touch to export, even if at the mobile phone of user
When being in the pocket of user, user also is able to identify the generation of various event.Alarm unit 153 also may be used
To provide the output of the generation of notification event via display unit 151 or dio Output Modules 152.
Memorizer 160 can store the process performed by controller 180 and the software program controlling operation etc.,
Or can temporarily store data (such as, telephone directory, message, the static state that oneself maybe will export through output
Image, video etc.).And, memorizer 160 can store and export about when touch is applied to touch screen
The vibration of various modes and the data of audio signal.
Memorizer 160 can include the storage medium of at least one attribute, described storage medium include flash memory,
Hard disk, multimedia card, card-type memorizer (such as, SD or DX memorizer etc.), random access store
Device (RAM), static random-access memory (SRAM), read only memory (ROM), electric erasable
Programmable read only memory (EEPROM), programmable read only memory (PROM), magnetic storage,
Disk, CD etc..And, terminal 100 can be connected the storage performing memorizer 160 with by network
The network storage device cooperation of function.
Controller 180 generally controls the overall operation of terminal.Such as, controller 180 perform with voice call,
Control that data communication, video calling etc. are relevant and process.It addition, controller 180 can include for
Reproducing the multi-media module 181 of (or playback) multi-medium data, multi-media module 181 can construct in control
In device 180 processed, or it is so structured that separate with controller 180.Controller 180 can perform pattern to be known
Other places are managed, so that the handwriting input performed on the touchscreen or picture drafting input are identified as character or image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides behaviour
Make the suitable electric power needed for each element and assembly.
Various embodiment described herein can be to use such as computer software, hardware or its any combination
Computer-readable medium implement.Implementing for hardware, embodiment described herein can be by using
Application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD),
Programmable logic device (PLD), field programmable gate array (FPGA), processor, controller, micro-control
Device processed, microprocessor, it is designed to perform at least one in the electronic unit of function described herein and comes real
Executing, in some cases, such embodiment can be implemented in controller 180.Software is implemented,
The embodiment of such as process or function can perform at least one function or the single software of operation with permission
Module is implemented.Software code can by write with any suitable programming language software application (or
Program) to implement, software code can be stored in memorizer 160 and be performed by controller 180.
So far, oneself is through describing terminal according to its function.Below, for the sake of brevity, description is such as rolled over
Slider type terminal in the terminal of each attribute of stack-type, board-type, oscillating-type, slider type terminal etc. is made
For example.Therefore, the present invention can be applied to the terminal of any attribute, and is not limited to slider type terminal.
As shown in Figure 1 terminal 100 may be constructed such that utilization is via frame or packet transmission data such as
Wired and wireless communication system and satellite-based communication system operate.
The communication system that the terminal of the embodiment of the present invention is operable to can use different air interfaces and/or
Physical layer.Such as, communication system the air interface used includes such as frequency division multiple access (FDMA), time-division
Multiple access (TDMA), CDMA (CDMA) and UMTS (UMTS) are (especially,
Long Term Evolution (LTE)), global system for mobile communications (GSM) etc..
Based on above-mentioned terminal hardware structure, each embodiment of the present invention is proposed.
Embodiment one
The embodiment of the present invention provides a kind of map label method, is applied to terminal, as in figure 2 it is shown, the method
Including:
Step 101, obtain the parameter of the first map.
Step 102, when storage has the base station information of pseudo-base station, according to the base station information of pseudo-base station, the
Labelling pseudo-base station on one map.
After user obtains the parameter of the first map, pseudo-base station status information map to be built, it is necessary to obtain and work as
The base station information of the pseudo-base station that front position terminal receives.The base station information of pseudo-base station includes pseudo-base station
CELL-ID, Location Area Code (Location Area Code, LAC), the signal intensity etc. of current location, this
The acquisition of a little information can report after the unified acquisition of bottom modem, it is also possible to by the interface function of ap
Directly read.Here, the parameter of the first map is for building the first map.
In the present embodiment, labelling pseudo-base station can use different colors or different patterns to be marked.
In one embodiment of this invention, terminal obtain map time, can invocation map service provider provide interface.
The first map after step 103, display labelling.
So, owing to pseudo-base station has been marked on map, user can search by consulting a map
Pseudo-base station, so, pseudo-base station is very clear on map, user just can Direct Recognition pseudo-base station, prevent
Affect the proper communication of terminal.
Described base station information includes positional information and attribute information, and after step 101, described method is also wrapped
Include: the current location of labelling terminal in the first map;Equally, labelling current location can also use difference
Color or different patterns be marked and highlight.
After user obtains the parameter of the first map, terminal needs to show the position mark of user on the first map,
Simultaneously after the base station information getting pseudo-base station, user can be by present position special icon or face
Color is marked on map, and the status information that pseudo-base station is relevant is labeled, thus builds puppet
Base station state information map.
Owing to needing the current location of labelling terminal, accordingly, it would be desirable to position current location, location can
To include being realized by following several ways.
First kind of way is architecture.This is the easiest location mode, mainly by cellular communications networks
In each community unique identification number (Cell-ID) obtain positional information.Because operator is in cellular cell
Planning and build time, the position of each cell base station and the coverage of community can be recorded, these information can be forever
In the long data base being saved in mobile communications network.When terminal is after some community access to mobile network,
Just can obtain the identification number of this community, from data base, obtain this community base by Cell Identity CI the most again
The positional information stood.The method of architecture realizes simple, and the existing network system is made without transformation,
But its degree of accuracy excessively relies on the size of cell coverage area, the suburb that, radius of society sparse in base station is bigger
Positioning precision do not reach requirement.
First kind of way is GPS (Global Positioning System, GPS) location.
GPS includes 24 position location satellites, and they send framing signal to terminal, according to terminal return signal and
The wherein instantaneous position of three satellites, the method utilizing space length rear to cross calculate terminal direction,
Positional information and translational speed.GPS is the alignment system that current outdoor positioning precision is the highest, therefore this identification
System uses GPS to position user.
As a example by Android (android) system, the mainly Google (Google) that implements of location provides
Android.location positioning service bag.Wherein location need the class used mainly have position class (Location),
Class is monitored in orientation management class (LocationManager), position supplier's class (LocationProvider), location
(LocationListener), position data standard class (Criteria) these five kinds.Developer passes through Location class
The getLongitude () provided and two methods of getAltitude () obtain the latitude and longitude information of current time.
Accordingly, step 102 may include that in the preset range of current location, corresponding at positional information
Position on labelling pseudo-base station.Here, because the limited coverage area of pseudo-base station, for being in current location
Terminal, it is only necessary to knowing the pseudo-base station that can be covered to, therefore, this preset range is pseudo-base station
Coverage distance.Generally, the coverage distance of pseudo-base station is 1km.
Further, owing to pseudo-base station determines in real time, therefore, after step 102, described method is also
When comprising determining that new pseudo-base station, obtain the base station information of new pseudo-base station;Base according to new pseudo-base station
Stand information, the pseudo-base station that labelling is new on the first map;The new pseudo-base station of labelling is sent to described server
First map and attribute information thereof.
Further, when the place that user to is new, terminal may be not aware that the pseudo-base station in this place
Distribution situation, accordingly, it would be desirable to obtain the distribution of pseudo-base station from server, so, when attribute information at least
During including the identification information of keyword and map, described method also includes:
Send for loading the load request of map to server, described load request include that user selects the
Two keywords;Receive the mark letter of at least one map corresponding with described second keyword that server sends
Breath;The identification information of display at least one map described;Receive the identification information of the second map that user selects;
Sending, to server, the request of download, the described request of downloading includes the identification information of the second map;Receive and show
Second map.
Here, user, can be by the first map and corresponding attribute information after the first map having constructed this locality
Upload onto the server together with (this attribute information includes the keyword relevant to place name) keyword and realize network altogether
Enjoy, meanwhile, terminal can by search key find incidentally corresponding keyword other maps and
Locally downloading data base stores, and this just requires that client and server carries out effective data communication.
In the system that terminal and server are formed, the communication of terminal and server is by TCP SOCKET
Socket realizes, in Internet by HTML (Hypertext Markup Language) (HyperText Transfer Protocol, HTTP)
(Transmission Control Protocol, is transmitted in Transmission Control Protocol to be encapsulated into transmission control protocol.
In HTTP message, data division uses self-defining field to come identification request and the type of response and content.
Embodiment two
The embodiment of the present invention provides a kind of map label method, is applied to server, as it is shown on figure 3, the party
Method may include that
Step 201, the first map receiving terminal transmission and attribute information thereof.
Here, the first map is the map being marked with pseudo-base station.
Step 202, store the first map and attribute information thereof.
So, owing to pseudo-base station has been marked on map, user can search by consulting a map
Pseudo-base station, meanwhile, the map of labelling pseudo-base station can be sent to server by terminal so that other are eventually
End can obtain the map of labelling base station, and so, pseudo-base station is very clear on map, and user just can be straight
Connect identification pseudo-base station, prevent from affecting the proper communication of terminal.
Further, the method can also include: receives the load request that terminal sends, described load request
The second keyword selected including user;In the attribute information of each map described, determine crucial with second
The identification information of at least one map that word is corresponding;The identification information of at least one map is sent to terminal;Connect
Receiving the download request that terminal sends, the described request of downloading includes the identification information of described second map;According to
The identification information of two maps, sends the second map to terminal.
What deserves to be explained is, before terminal and server communication start, server end opens TCP SOCKET
Socket port, waits that terminal is set up SOCKET and connected.When terminal needs to send HTTP request, eventually
End is attached according to the socket of server, can send HTTP request after connection establishment success.Service
After device receives HTTP request, perform relevant operation according to the type of request, mainly count in the present system
According to the access in storehouse, after completing, result is encapsulated in http protocol and is sent to client by server, the completeest
Become the data exchange process of bout request response.Because HTTP uses the mode of short connection, so
After the process of a data interaction completes, identify that the client of system can actively disconnect the TCP with server
SOCKET connects, and terminates this communication.Server may proceed to wait connecing of client SOCKET socket
Enter, connect until client is actively set up, repeat above-mentioned communication process.It is illustrated in figure 4 HTTP mutual
The definition format of field.
Embodiment three
The embodiment of the present invention provides a kind of map label method, is applied to map label system, and this system uses
Client terminal/server structure, as it is shown in figure 5, this system includes terminal and server.Here client is
The application program of Android terminal, mainly performs the judgement of location, the structure of pseudo-base station map and pseudo-base station
Function, is interacted by http protocol with server;Server is then responsible for the user of customer in response end and is stepped on
Record is asked, to third party's map server application Map Services and is supplied to client by application programming interfaces
End program, the signal ground diagram data that receives from client of storage or send the pseudo-base stored to client
Stand map datum.
As shown in Figure 6, from logic level, the logical structure of this system can be divided into three levels, and top layer is
Effect presentation layer, namely front-end interface, be responsible for function present and with the direct interaction of user, middle
Layer is the background program of function realization layer, i.e. client, undertakes the realization of each function and the access of data, the end
Layer is system data layer, is divided into local data base and server database.
As it is shown in fig. 7, the method may include that
Step 301, terminal receive the Location Request of user.
Step 302, terminal, according to Location Request, obtain the parameter of the first map, and get the bid at the first map
The current location of note terminal.
Here, current location refers to the position of present terminal.
The base station information of step 303, terminal judges whether storage Pseudo base station.The most then perform step 304;
If it is not, then perform step 305.
Step 304, when the base station information of storage Pseudo base station, terminal according to the base station information of pseudo-base station,
Labelling pseudo-base station in the first map.
The first map after step 305, terminal demonstration labelling.
Step 306, when terminal determines new pseudo-base station, obtain the base station information of new pseudo-base station.
Here, owing to the parameter of real base station and the parameter of pseudo-base station there are differences, terminal can be according to this
It is base station that a little differences determine that the equipment of connection determines whether.Or, terminal can store the parameter of correct base station,
Thus the parameter of the equipment of connection is compared, if there is the parameter of identical base station, then allow terminal
Resident;If it does not exist, then forbid that terminal is resident.
Step 307, terminal are according to the base station information of described new pseudo-base station, and in the first map, labelling is new
Pseudo-base station.
The first map being marked with new pseudo-base station being called the first new map, what deserves to be explained is, this is new
The first map on go back the pseudo-base station before labelling.
Step 308, terminal to server send the first new map and attribute information thereof.
This attribute information includes the mark of terminal, the renewal time of map, the mark of map and keyword etc..
Step 309, server store the first new map and attribute information thereof.
Step 310, terminal to server send load request.
This load request includes the second keyword, and this second keyword is the local place name residing for active user.
Step 311, server, according to load request, determine the map with the second keyword.
Step 312, server send the mark of map to terminal.
Step 313, terminal mark according to the map, determines and needs to select the second map.
Step 314, terminal to server send the download request for downloading the second map.
Step 315, server, according to the request of downloading, obtain the second map.
Step 316, server send the second map to terminal.
Step 317, terminal demonstration the second map.
This second map is the map that other-end is sent to the base station information including pseudo-base station of server.
Embodiment four
A kind of terminal 40 that the embodiment of the present invention provides, as shown in Figure 8, this terminal 40 includes:
Acquiring unit 401, for obtaining the parameter of the first map;
Indexing unit 402, during for there being the base station information of pseudo-base station when storage, according to the base of described pseudo-base station
Stand information, pseudo-base station described in labelling on described first map.
Display unit 403, the first map after showing labelling.
So, owing to pseudo-base station has been marked on map, user can search by consulting a map
Pseudo-base station, so, pseudo-base station is very clear on map, user just can Direct Recognition pseudo-base station, prevent
Affect the proper communication of terminal.
Concrete, described indexing unit 402 is additionally operable to: the current location of labelling terminal in the first map;
In the preset range of described current location, pseudo-base station described in labelling on the position that described positional information is corresponding.
As it is shown in figure 9, described terminal 40 also includes:
Determine unit 404, in time determining new pseudo-base station, obtain the base station information of new pseudo-base station;
Described indexing unit 402 is additionally operable to: according to the base station information of described new pseudo-base station, described first
Pseudo-base station new described in labelling on map;
Transmitting element 405, for send to described server pseudo-base station new described in labelling the first map and
Its attribute information.
Concrete, described attribute information at least includes the identification information of keyword and map;Transmitting element 404
It is additionally operable to: sending the load request for loading map to described server, described load request includes user
The second keyword selected;For sending, to described server, the request of download, described download request includes described
The identification information of the second map;
With reference to Fig. 9, described terminal 40 also includes:
Receive unit 406, for receiving at least one corresponding with described second keyword that server sends
The identification information of map;For receiving the identification information of the second map that user selects;
Described display unit 403 is additionally operable to: the identification information of display at least one map described;Receive and show
Show described second map.
Embodiment five
A kind of server 50 that the embodiment of the present invention provides, as shown in Figure 10, this server 50 includes:
Receive unit 501, for receiving the first map and attribute information, described first ground that terminal sends
Figure is the map being marked with pseudo-base station;
Memory element 502, is used for storing described first map and attribute information thereof.
So, owing to pseudo-base station has been marked on map, user can search by consulting a map
Pseudo-base station, meanwhile, the map of labelling pseudo-base station can be sent to server by terminal so that other are eventually
End can obtain the map of labelling base station, and so, pseudo-base station is very clear on map, and user just can be straight
Connect identification pseudo-base station, prevent from affecting the proper communication of terminal.
Concrete, described reception unit 501 is additionally operable to: receive the load request that described terminal sends, described
Load request includes the second keyword that user selects;For receiving the download request that described terminal sends, institute
State the request of download and include the identification information of described second map;
As shown in figure 11, described server 50 also includes:
Determine unit 503, in the attribute information of each map described, determine crucial with described second
The identification information of at least one map that word is corresponding;
Transmitting element 504, for sending the identification information of at least one map described to described terminal;For
According to the identification information of described second map, send described second map to described terminal.
Embodiment six
A kind of terminal 60 that the embodiment of the present invention provides, as shown in figure 12, this terminal 60 includes:
Receiver 601, for obtaining the parameter of the first map.
Processor 602, during for there being the base station information of pseudo-base station when storage, according to the base station of described pseudo-base station
Information, pseudo-base station described in labelling on described first map.
Display, the first map after showing labelling.
So, owing to pseudo-base station has been marked on map, user can search by consulting a map
Pseudo-base station, so, pseudo-base station is very clear on map, user just can Direct Recognition pseudo-base station, prevent
Affect the proper communication of terminal.
Concrete, described processor 602 is additionally operable to: the current location of labelling terminal in the first map;?
In the preset range of described current location, pseudo-base station described in labelling on the position that described positional information is corresponding.
When described processor 602 is additionally operable to determine new pseudo-base station, obtain the base station information of new pseudo-base station;
According to the base station information of described new pseudo-base station, pseudo-base station new described in labelling on described first map;
Further, as shown in figure 13, described terminal 60 also includes:
Transmitter 604, for send to described server pseudo-base station new described in labelling the first map and
Attribute information.
Concrete, described attribute information at least includes the identification information of keyword and map;Transmitter 604 is also
For: sending the load request for loading map to described server, described load request includes that user selects
The second keyword selected;For sending, to described server, the request of download, described download request includes described the
The identification information of two maps;
Further, described receiver 601 be additionally operable to receive server send with described second keyword pair
The identification information of at least one map answered;For receiving the identification information of the second map that user selects;
Display 603 is additionally operable to: the identification information of display at least one map described;Receive and show described
Second map.
Embodiment seven
A kind of server 70 that the embodiment of the present invention provides, as shown in figure 14, this server 70 includes:
Receiver 701, for receiving the first map and attribute information, described first map that terminal sends
It it is the map being marked with pseudo-base station;
Memorizer 702, is used for storing described first map and attribute information thereof.
So, owing to pseudo-base station has been marked on map, user can search by consulting a map
Pseudo-base station, meanwhile, the map of labelling pseudo-base station can be sent to server by terminal so that other are eventually
End can obtain the map of labelling base station, and so, pseudo-base station is very clear on map, and user just can be straight
Connect identification pseudo-base station, prevent from affecting the proper communication of terminal.
Concrete, described receiver 701 is additionally operable to: receive the load request that described terminal sends, described in add
The request of load includes the second keyword that user selects;For receiving the download request that described terminal sends, described
The request of download includes the identification information of described second map;
As shown in figure 15, described server 70 also includes:
Processor 703, in the attribute information of each map described, determines and described second keyword
The identification information of at least one corresponding map;
Transmitter 704, for sending the identification information of at least one map described to described terminal;For root
According to the identification information of described second map, send described second map to described terminal.
Embodiment eight
The embodiment of the present invention provides a kind of map label system 80, and as shown in figure 16, this system 80 includes:
Terminal 801;
Server 802.
Wherein, terminal 801 is used for: obtain the parameter of the first map;When storage has the base station information of pseudo-base station
Time, according to the base station information of described pseudo-base station, pseudo-base station described in labelling on described first map;Display is repaiied
The first map after changing.
Server 802 is used for: receive the first map and attribute information, described first map that terminal sends
It it is the map being marked with pseudo-base station;Store described first map and attribute information thereof.
So, owing to pseudo-base station has been marked on map, user can search by consulting a map
Pseudo-base station, so, pseudo-base station is very clear on map, user just can Direct Recognition pseudo-base station, prevent
Affect the proper communication of terminal.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or meter
Calculation machine program product.Therefore, the present invention can use hardware embodiment, software implementation or combine software and
The form of the embodiment of hardware aspect.And, the present invention can use and wherein include calculating at one or more
The computer-usable storage medium of machine usable program code (includes but not limited to disk memory and optical storage
Device etc.) form of the upper computer program implemented.
The present invention is with reference to method, equipment (system) and computer program according to embodiments of the present invention
Flow chart and/or block diagram describe.It should be understood that can be by computer program instructions flowchart and/or side
Flow process in each flow process in block diagram and/or square frame and flow chart and/or block diagram and/or the knot of square frame
Close.Can provide these computer program instructions to general purpose computer, special-purpose computer, Embedded Processor or
The processor of other programmable data processing device is to produce a machine so that by computer or other can
The instruction that the processor of programming data processing equipment performs produces for realizing in one flow process of flow chart or multiple stage
The device of the function specified in flow process and/or one square frame of block diagram or multiple stage square frame.
These computer program instructions may be alternatively stored in and can guide computer or other programmable data processing device
In the computer-readable memory worked in a specific way so that be stored in this computer-readable memory
Instruction produces the manufacture including command device, and this command device realizes at one flow process of flow chart or multiple stage stream
The function specified in journey and/or one square frame of block diagram or multiple stage square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makes
Sequence of operations step must be performed to produce computer implemented process on computer or other programmable devices,
Thus the instruction performed on computer or other programmable devices provides for realizing in one flow process of flow chart
Or the step of the function specified in multiple stage flow process and/or one square frame of block diagram or multiple stage square frame.
The above, only presently preferred embodiments of the present invention, it is not intended to limit the protection model of the present invention
Enclose.
Claims (10)
1. a map label method, it is characterised in that including:
Obtain the parameter of the first map;
When storage has the base station information of pseudo-base station, according to the base station information of described pseudo-base station, described first
Pseudo-base station described in labelling on map;
The first map after display labelling.
Method the most according to claim 1, it is characterised in that described base station information includes positional information
And attribute information, after obtaining the parameter of the first map, described method also includes:
The current location of labelling terminal in described first map;
The described base station information according to described pseudo-base station, on described first map, pseudo-base station described in labelling includes:
In the preset range of described current location, pseudo-described in labelling on the position that described positional information is corresponding
Base station.
Method the most according to claim 1, it is characterised in that described labelling on described first map
After described pseudo-base station, described method also includes:
When determining new pseudo-base station, obtain the base station information of new pseudo-base station;
According to the base station information of described new pseudo-base station, pseudo-base station new described in labelling on described first map;
The first map and the attribute information thereof of pseudo-base station new described in labelling is sent to described server.
4. according to the method described in any one of claims 1 to 3, it is characterised in that described attribute information is extremely
Include that the identification information of keyword and map, described method also include less:
Sending the load request for loading map to described server, described load request includes that user selects
The second keyword;
Receive the identification information of at least one map corresponding with described second keyword that described server sends;
The identification information of display at least one map described;
Receive the identification information of the second map that user selects;
Sending, to described server, the request of download, the described request of downloading includes the identification information of described second map;
Receive and show described second map.
5. a map label method, it is characterised in that including:
Receiving the first map and attribute information thereof that terminal sends, described first map is marked with pseudo-base station
Map;
Store described first map and attribute information thereof.
Method the most according to claim 5, it is characterised in that described method also includes:
Receiving the load request that described terminal sends, described load request includes the second keyword that user selects;
In the attribute information of each map described, determine at least one ground corresponding with described second keyword
The identification information of figure;
The identification information of at least one map described is sent to described terminal;
Receiving the download request that described terminal sends, the described request of downloading includes the mark letter of described second map
Breath;
According to the identification information of described second map, send described second map to described terminal.
7. a terminal, it is characterised in that including:
Acquiring unit, for obtaining the parameter of the first map;
Indexing unit, during for there being the base station information of pseudo-base station when storage, believes according to the base station of described pseudo-base station
Breath, pseudo-base station described in labelling on described first map;
Display unit, the first map after showing labelling.
Terminal the most according to claim 7, it is characterised in that described indexing unit is additionally operable to: in institute
State the current location of labelling terminal in the first map;In the preset range of described current location, in institute's rheme
Pseudo-base station described in labelling on the position that confidence breath is corresponding.
Terminal the most according to claim 7, it is characterised in that described terminal also includes:
Determine unit, in time determining new pseudo-base station, obtain the base station information of new pseudo-base station;
Described indexing unit is additionally operable to: according to the base station information of described new pseudo-base station, at described first map
Pseudo-base station new described in upper labelling;
Transmitting element, for sending the first map and the genus thereof of pseudo-base station new described in labelling to described server
Property information.
10. according to the terminal described in any one of claim 7 to 9, it is characterised in that described attribute information
At least include that the identification information of keyword and map, described terminal also include:
Transmitting element is additionally operable to: send the load request for loading map, described loading to described server
Request includes the second keyword that user selects;For sending the request of download, described download to described server
Request includes the identification information of described second map;
Receive unit, for receiving at least one corresponding with described second keyword that described server sends
The identification information of map;For receiving the identification information of the second map that user selects;
Described display unit is additionally operable to: the identification information of display at least one map described;Receive and show institute
State the second map.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610362969.2A CN105847068A (en) | 2016-05-26 | 2016-05-26 | Map marking method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610362969.2A CN105847068A (en) | 2016-05-26 | 2016-05-26 | Map marking method and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105847068A true CN105847068A (en) | 2016-08-10 |
Family
ID=56594858
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610362969.2A Pending CN105847068A (en) | 2016-05-26 | 2016-05-26 | Map marking method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105847068A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106507309A (en) * | 2016-11-30 | 2017-03-15 | 努比亚技术有限公司 | A kind of method of offered load map and the network equipment |
CN106714180A (en) * | 2016-11-28 | 2017-05-24 | 奇酷互联网络科技(深圳)有限公司 | Pseudo base station information processing method and processing device |
CN106792705A (en) * | 2016-11-28 | 2017-05-31 | 奇酷互联网络科技(深圳)有限公司 | A kind of processing method and processing unit of pseudo-base station information |
CN108090085A (en) * | 2016-11-21 | 2018-05-29 | 鲸彩在线科技(大连)有限公司 | A kind of map sharing method and device |
CN109275113A (en) * | 2018-11-22 | 2019-01-25 | 郑州骄郎网络科技有限公司 | A kind of prevention method of refuse messages |
CN110619085A (en) * | 2019-03-18 | 2019-12-27 | 北京无限光场科技有限公司 | Information processing method and device |
CN111357310A (en) * | 2017-11-15 | 2020-06-30 | 华为技术有限公司 | Method for processing pseudo base station information |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103377583A (en) * | 2012-04-17 | 2013-10-30 | 百度在线网络技术(北京)有限公司 | Map display method and map display system for mobile terminal, and GIS (geographical information system) server |
CN104142152A (en) * | 2013-05-10 | 2014-11-12 | 北京四维图新科技股份有限公司 | Map mark processing method and apparatus, and navigation terminal |
CN104965847A (en) * | 2015-02-04 | 2015-10-07 | 北京奇虎科技有限公司 | Information displaying method and apparatus |
CN105164683A (en) * | 2014-01-31 | 2015-12-16 | 谷歌公司 | System and method for geo-locating images |
CN105263142A (en) * | 2014-07-14 | 2016-01-20 | 百度在线网络技术(北京)有限公司 | Method and device for identifying pseudo base station |
-
2016
- 2016-05-26 CN CN201610362969.2A patent/CN105847068A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103377583A (en) * | 2012-04-17 | 2013-10-30 | 百度在线网络技术(北京)有限公司 | Map display method and map display system for mobile terminal, and GIS (geographical information system) server |
CN104142152A (en) * | 2013-05-10 | 2014-11-12 | 北京四维图新科技股份有限公司 | Map mark processing method and apparatus, and navigation terminal |
CN105164683A (en) * | 2014-01-31 | 2015-12-16 | 谷歌公司 | System and method for geo-locating images |
CN105263142A (en) * | 2014-07-14 | 2016-01-20 | 百度在线网络技术(北京)有限公司 | Method and device for identifying pseudo base station |
CN104965847A (en) * | 2015-02-04 | 2015-10-07 | 北京奇虎科技有限公司 | Information displaying method and apparatus |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108090085A (en) * | 2016-11-21 | 2018-05-29 | 鲸彩在线科技(大连)有限公司 | A kind of map sharing method and device |
CN106714180A (en) * | 2016-11-28 | 2017-05-24 | 奇酷互联网络科技(深圳)有限公司 | Pseudo base station information processing method and processing device |
CN106792705A (en) * | 2016-11-28 | 2017-05-31 | 奇酷互联网络科技(深圳)有限公司 | A kind of processing method and processing unit of pseudo-base station information |
CN106507309A (en) * | 2016-11-30 | 2017-03-15 | 努比亚技术有限公司 | A kind of method of offered load map and the network equipment |
CN111357310A (en) * | 2017-11-15 | 2020-06-30 | 华为技术有限公司 | Method for processing pseudo base station information |
CN111357310B (en) * | 2017-11-15 | 2022-04-22 | 华为技术有限公司 | Method for processing pseudo base station information |
CN109275113A (en) * | 2018-11-22 | 2019-01-25 | 郑州骄郎网络科技有限公司 | A kind of prevention method of refuse messages |
CN110619085A (en) * | 2019-03-18 | 2019-12-27 | 北京无限光场科技有限公司 | Information processing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105847068A (en) | Map marking method and terminal | |
CN102939514B (en) | For the method and apparatus of location-based service | |
CN102227611B (en) | For providing the method and apparatus of the cursor of context data in instruction drawing application | |
CN107239302A (en) | A kind of firmware upgrade method, terminal and server | |
CN106383780A (en) | Monkey test method and device | |
CN106325798A (en) | Method and device for achieving multi-screen content display | |
CN106231650A (en) | A kind of method for network access and terminal | |
CN106488542A (en) | A kind of mobile terminal and its control method | |
CN106170150A (en) | Mobile terminal and localization method | |
CN106502526A (en) | A kind of back-stage management method and terminal | |
CN108074009A (en) | Motion route generation method and device, mobile terminal and server | |
CN106100968A (en) | A kind of information sharing method and terminal | |
CN105939517A (en) | Method and device for preventing mobile terminal from accessing pseudo base station | |
CN106372264A (en) | Map data migration device and method | |
CN106130981A (en) | The self-defined device and method of digital label of augmented reality equipment | |
CN105975500A (en) | Data processing method, data statistical system and backstage management system | |
CN106506364A (en) | A kind of cut-in method, client and routing server | |
CN106547674A (en) | A kind of fingerprint input method, device and terminal | |
CN106455009A (en) | A network search device and method | |
CN106376004A (en) | Information processing method and terminal | |
CN107025499A (en) | A kind of method and mobile terminal for determining trip strategy | |
CN106569796A (en) | Display method and terminal | |
CN106507309A (en) | A kind of method of offered load map and the network equipment | |
CN107071820A (en) | A kind of method of mobile terminal and switch contents Distributor | |
CN106131777A (en) | Mobile terminal positioner and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160810 |