CN107357829A - Scaling processing method and processing device - Google Patents

Scaling processing method and processing device Download PDF

Info

Publication number
CN107357829A
CN107357829A CN201710465254.4A CN201710465254A CN107357829A CN 107357829 A CN107357829 A CN 107357829A CN 201710465254 A CN201710465254 A CN 201710465254A CN 107357829 A CN107357829 A CN 107357829A
Authority
CN
China
Prior art keywords
scaling
fix
elements
localization region
target
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
CN201710465254.4A
Other languages
Chinese (zh)
Inventor
徐胜强
王熙
陈恺睿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710465254.4A priority Critical patent/CN107357829A/en
Publication of CN107357829A publication Critical patent/CN107357829A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Remote Sensing (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Navigation (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure is directed to scaling processing method and processing device.This method includes:Obtain the localization region of target terminal;Obtain multiple scalings corresponding to the localization region;The target scale ratio of the localization region is obtained according to the multiple scaling.In the technical scheme, multiple scalings that server can report according to multiple terminals, determine the target scale ratio of the localization region of target terminal, realize the scheme that scaling is adjusted according to different zones dynamic, applicability of the target scale ratio for localization region is improved, and then improves Consumer's Experience.

Description

Scaling processing method and processing device
Technical field
This disclosure relates to communication technical field, more particularly to a kind of scaling processing method and processing device.
Background technology
With the rapid development of Internet technology, the application of Orientation on map technology is more and more extensive.For example, when user enters The complex foreign environment of one situation, such as when market or bustling block, it is difficult to determine position and the ring being currently located Position relationship between border, now user can open the map APP (Application, application program) in terminal, the map The map of environment where APP can show user simultaneously positions the current position of user, is easy to user to consult.
The content of the invention
To overcome problem present in correlation technique, the embodiment of the present disclosure provides a kind of scaling processing method and dress Put.The technical scheme is as follows:
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of scaling processing method, including:
Obtain the localization region of target terminal;
Obtain multiple scalings corresponding to the localization region;
The target scale ratio of the localization region is obtained according to the multiple scaling.
The technical scheme provided by this disclosed embodiment can include the following benefits:Server can be according to multiple ends The multiple scalings reported are held, the target scale ratio of the localization region of target terminal is determined, realizes according to different zones Dynamic adjusts the scheme of scaling, improves applicability of the target scale ratio for localization region, and then improve user Experience.
In one embodiment, the target scale ratio that the localization region is obtained according to the multiple scaling Including:
Target scale ratio using the average value of the multiple scaling as the localization region.
The technical scheme provided by this disclosed embodiment can include the following benefits:Server can obtain multiple use Target scale ratio of the average value for multiple scalings that family reports in the localization region of target terminal as the localization region, The scheme that scaling is adjusted according to different zones dynamic is realized, improves target scale ratio being applicable for localization region Property, and then improve Consumer's Experience.
In one embodiment, methods described includes:
Receive scaling and the elements of a fix that multiple terminals are sent;
According to the scaling and the elements of a fix of the multiple terminal, establish the elements of a fix and the corresponding of scaling is closed System;
Multiple scalings corresponding to the acquisition localization region include:
The corresponding relation of the elements of a fix and scaling is inquired about, obtains multiple positioning in the localization region Scaling corresponding to coordinate.
The technical scheme provided by this disclosed embodiment can include the following benefits:Server can be according to multiple use Multiple scalings that family reports in the localization region of target terminal, determine the target scale ratio of the localization region of target terminal Example, the scheme that scaling is adjusted according to different zones dynamic is realized, improves target scale ratio for localization region Applicability, and then improve Consumer's Experience.
In one embodiment, methods described includes:
The target scale ratio is sent to the target terminal, to cause the target terminal to be contracted according to the target The ratio of putting shows the cartographic information for including the localization region.
The technical scheme provided by this disclosed embodiment can include the following benefits:Server can determine determination The target scale ratio in position region is sent to target terminal, in order to which target terminal is shown including institute according to the target scale ratio The cartographic information of localization region is stated, user is simplified and determines to show the flow of scaling, improve Consumer's Experience.
In one embodiment, the localization region for obtaining target terminal includes:
Obtain the region for being less than or equal to predetermined threshold value with the distance of the target terminal.
The technical scheme provided by this disclosed embodiment can include the following benefits:Server can will be whole with target The distance at end is less than or equal to localization region of the region of predetermined threshold value as target terminal, improves localization region and determines just Victory and accuracy, and then improve the accuracy for the target scale ratio for determining localization region.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of scaling processing method, including:
In show map information, current scaling and the elements of a fix are obtained;
The scaling and the elements of a fix are sent to server.
The technical scheme provided by this disclosed embodiment can include the following benefits:Terminal can be according to the need of user The scaling and the elements of a fix of adjustment show map information are sought, the scaling and the elements of a fix are then sent to service Device, it is easy to the scaling of server adjustment different zones, realizes the scheme that scaling is adjusted according to different zones dynamic, Improve Consumer's Experience.
In one embodiment, described in show map information, obtaining current scaling and the elements of a fix includes:
When exceeding preset duration according to the first scaling and the first coordinate show map information, first contracting is obtained Ratio is put as the scaling, first coordinate is as the elements of a fix.
The technical scheme provided by this disclosed embodiment can include the following benefits:Terminal can be according to the first contracting Put ratio and when the first coordinate show map information exceedes preset duration, the first scaling and the first coordinate are identified as Scaling and the elements of a fix, improve the accuracy for obtaining scaling and the elements of a fix.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of scaling processing unit, including:
First acquisition module, for obtaining the localization region of target terminal;
Second acquisition module, for obtaining multiple scalings corresponding to the localization region;
3rd acquisition module, for obtaining the target scale ratio of the localization region according to the multiple scaling.
In one embodiment, the 3rd acquisition module includes:
First acquisition submodule, for being contracted the average value of the multiple scaling as the target of the localization region Put ratio.
In one embodiment, described device includes:
Receiving module, the scaling and the elements of a fix sent for receiving multiple terminals;
Module is established, for the scaling and the elements of a fix according to the multiple terminal, establishes the elements of a fix and scaling The corresponding relation of ratio;
Second acquisition module includes:
Second acquisition submodule, for inquiring about the corresponding relation of the elements of a fix and scaling, obtain positioned at described Scaling corresponding to multiple elements of a fix in localization region.
In one embodiment, described device includes:
First sending module, for the target scale ratio to be sent into the target terminal, to cause the target Terminal shows the cartographic information for including the localization region according to the target scale ratio.
In one embodiment, first acquisition module includes:
3rd acquisition submodule, it is less than or equal to the region of predetermined threshold value with the distance of the target terminal for obtaining.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of scaling processing unit, including:
4th acquisition module, in show map information, obtaining current scaling and the elements of a fix;
Second sending module, for the scaling and the elements of a fix to be sent into server.
In one embodiment, the 4th acquisition module includes:
3rd acquisition submodule, for when exceeding default according to the first scaling and the first coordinate show map information When long, first scaling is obtained as the scaling, first coordinate is as the elements of a fix.
According to the 5th of the embodiment of the present disclosure the aspect, there is provided a kind of scaling processing unit, including:
First processor;
For storing the first memory of first processor executable instruction;
Wherein, the first processor is configured as:
Obtain the localization region of target terminal;
Obtain multiple scalings corresponding to the localization region;
The target scale ratio of the localization region is obtained according to the multiple scaling.
According to the 6th of the embodiment of the present disclosure the aspect, there is provided a kind of scaling processing unit, including:
Second processor;
For storing the second memory of second processor executable instruction;
Wherein, the second processor is configured as:
In show map information, current scaling and the elements of a fix are obtained;
The scaling and the elements of a fix are sent to server.
According to the 7th of the embodiment of the present disclosure the aspect, there is provided a kind of computer-readable recording medium, be stored thereon with calculating The step of machine instructs, and first aspect any embodiment methods described is realized in the instruction when being executed by processor.
According to the eighth aspect of the embodiment of the present disclosure, there is provided a kind of computer-readable recording medium, be stored thereon with calculating The step of machine instructs, and second aspect any embodiment methods described is realized in the instruction when being executed by processor.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is the flow chart of the scaling processing method according to an exemplary embodiment.
Fig. 2 a are the flow charts of the scaling processing method according to an exemplary embodiment.
Fig. 2 b are the flow charts of the scaling processing method according to an exemplary embodiment.
Fig. 2 c are the flow charts of the scaling processing method according to an exemplary embodiment.
Fig. 3 is the interaction figure of the scaling processing method according to an exemplary embodiment.
Fig. 4 is the interaction figure of the scaling processing method according to an exemplary embodiment.
Fig. 5 a are the structural representations of the scaling processing unit according to an exemplary embodiment.
Fig. 5 b are the structural representations of the scaling processing unit according to an exemplary embodiment.
Fig. 5 c are the structural representations of the scaling processing unit according to an exemplary embodiment.
Fig. 5 d are the structural representations of the scaling processing unit according to an exemplary embodiment.
Fig. 5 e are the structural representations of the scaling processing unit according to an exemplary embodiment.
Fig. 6 a are the structural representations of the scaling processing unit according to an exemplary embodiment.
Fig. 6 b are the structural representations of the scaling processing unit according to an exemplary embodiment.
Fig. 7 is the structured flowchart of the scaling processing unit according to an exemplary embodiment.
Fig. 8 is the structured flowchart of the scaling processing unit according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
The technical scheme that the embodiment of the present disclosure provides, is related to server, terminal and target terminal, wherein, server can be with The server provided for operator, the server or Cloud Server that either third-party platform provides;Terminal and target terminal can Think mobile phone, tablet personal computer, intelligent watch and other possess the equipment of positioning function, the embodiment of the present disclosure is not limited this It is fixed.Illustrated by taking mobile phone as an example, for user in the map APP on enabling mobile phone, server issues default scaling to mobile phone Ratio, now mobile phone according to the default scaling show map information user can be easy to observe current location and landform. But different region complexity is different, such as wilderness landform is simple, spacious empty;And bustling block building is more, landform is multiple It is miscellaneous.If wilderness and bustling block are shown according to same scaling, easily when showing wilderness because scaling is too big Cause user can not position terrestrial reference and get lost, cause user true because scaling is too small when showing bustling block Determine accurate location, therefore Consumer's Experience is relatively low.
The embodiment of the present disclosure provides scaling processing method, and implementing the executive agent of this method has terminal, target whole End and server, wherein, server can be operator provide server, either third-party platform provide server or Cloud Server;Terminal and target terminal can be mobile phone, tablet personal computer, intelligent watch and other possess setting for positioning function It is standby.The embodiment of the present disclosure arranges three sets of embodiments for realizing the above method, following institute according to the difference of method subject of implementation State:
End side
Fig. 1 is a kind of flow chart of scaling processing method according to an exemplary embodiment, and this method is used for Terminal, as shown in figure 1, the scaling processing method comprises the following steps 101 to step 102:
In a step 101, in show map information, current scaling and the elements of a fix are obtained.
Example, the ratio between map range and actual range when scaling is show map information;The elements of a fix are terminal The latitude coordinates of current location.Terminal can determine the latitude coordinates of terminal current location first after map APP is opened, Then the cartographic information near the latitude coordinates is shown on interface, mark terminal latitude coordinates are also shown on the cartographic information Anchor point mark, i.e. the anchor point mark represents the current elements of a fix.
User can be to the cartographic information shown on interface during cartographic information is consulted scaling and positioning Point mark is adjusted.For example, when showing wilderness area, scaling can be adjusted to small percentage by user so that interface On can show the actual area of larger area;When showing bustling block, scaling can be adjusted to larger proportion, made The detail of near zone can be shown by obtaining on interface.Meanwhile if user determine the anchor point mark that is shown on interface with it is current When position is not inconsistent, anchor point target position can also be adjusted.
Example, anchor point mark can be adjusted to the first coordinate scaling and be adjusted to the first pantograph ratio by terminal in user Example, and when exceeding preset duration according to the first scaling and the first coordinate show map information, obtain first scaling As scaling, first coordinate improves the accuracy for obtaining scaling and the elements of a fix as the elements of a fix.Its In, the preset duration can be adjusted as the case may be in practical application, and the embodiment of the present disclosure is not construed as limiting to this.
In a step 102, scaling and the elements of a fix are sent to server.
Example, terminal can be established by map APP and server and connected, and then will be got by map APP Scaling and the elements of a fix be sent to server.
In the technical scheme provided by this disclosed embodiment, terminal can adjust show map information according to the demand of user Scaling and the elements of a fix, the scaling and the elements of a fix are then sent to server, be easy to server adjustment not With the scaling in region, the scheme that scaling is adjusted according to different zones dynamic is realized, improves Consumer's Experience.
Server side
Fig. 2 a are a kind of flow charts of scaling processing method according to an exemplary embodiment, and this method is used for Server, as shown in Figure 2 a, the scaling processing method comprise the following steps 201 to step 203:
In step 201, the localization region of target terminal is obtained.
Example, target terminal can send target to server first after indicating to open map APP according to user The current elements of a fix of terminal.It is whole can to obtain target after the elements of a fix are received according to the elements of a fix for server The localization region at end.
For example, by taking map of China as an example, during initialization, map of China can be divided into more by server according to features of terrain Sub-regions, the features of terrain of different subregions are different.After server receives the location information of target terminal transmission, The subregion for including the elements of a fix of the target terminal can be determined, then the positioning area using the subregion as target terminal Domain.
Or server can obtain and be less than or equal to the region of predetermined threshold value as target end with the distance of target terminal The localization region at end, i.e. server can be that radius does circle using the elements of a fix of target terminal as center of circle predetermined threshold value, and the circle covers The region of lid is the localization region of target terminal.For example, circle is done as the center of circle using the elements of a fix of target terminal, the radius of the circle For 1000 meters, the then localization region using the region that the circle covers as target terminal.In practical application, the predetermined threshold value can be with It is adjusted as the case may be, the embodiment of the present disclosure is not construed as limiting to this.
In step 202, multiple scalings corresponding to localization region are obtained.
Example, server can be that different landform set different scalings, and will be contracted according to different landform Proportional marking is put on map.After server gets the localization region of target terminal, the positioning on map can be obtained The multiple scalings identified in region.
In step 203, the target scale ratio of localization region is obtained according to multiple scalings.
Example, server can obtain multiple scalings after multiple scalings corresponding to localization region are got The average value of ratio, then the target scale ratio using the average value as localization region.
, can be according to from big to small or server is after multiple scalings corresponding to localization region are got Order arranges the plurality of scaling, can be with a scaling in selected and sorted center if the plurality of scaling is odd number Target scale ratio as localization region;If the plurality of scaling is even numbers, two scalings in sequence center can be obtained Target scale ratio of the average value of ratio as localization region.
In the technical scheme provided by this disclosed embodiment, multiple pantograph ratios that server can report according to multiple terminals Example, the target scale ratio of the localization region of target terminal is determined, realized according to different zones dynamic adjustment scaling Scheme, applicability of the target scale ratio for localization region is improved, and then improve Consumer's Experience.
In one embodiment, as shown in Figure 2 b, the method comprising the steps of 204 and step 205:
In step 204, scaling and the elements of a fix that multiple terminals are sent are received.
In step 205, according to the scaling and the elements of a fix of multiple terminals, the elements of a fix and scaling are established Corresponding relation.
In step 202, multiple scalings corresponding to acquisition localization region, can be realized by step 2021:In step In rapid 2021, the corresponding relation of Query Location coordinate and scaling, multiple elements of a fix pair in localization region are obtained The scaling answered.
Example, multiple terminals can be established by map APP and server and connected, and each terminal will explicitly Scaling and the elements of a fix during figure information are sent to server.Server is receiving the scaling of multiple terminals transmissions After the elements of a fix, the scaling of each terminal can be stored according to the elements of a fix of each terminal, establishes the elements of a fix With the corresponding relation of scaling, the elements of a fix and scaling are one-to-one relationship in the corresponding relation.
Server can consult pair of the elements of a fix and scaling after the localization region of target terminal is got It should be related to, obtain multiple elements of a fix in localization region in the corresponding relation, then obtain the plurality of elements of a fix pair The multiple scalings answered.
In the technical scheme provided by this disclosed embodiment, server can according to multiple users target terminal positioning Multiple scalings of area reporting, the target scale ratio of the localization region of target terminal is determined, is realized according to not same district Domain dynamic adjusts the scheme of scaling, improves applicability of the target scale ratio for localization region, and then improve use Experience at family.
In one embodiment, as shown in Figure 2 c, the method comprising the steps of 206:
In step 206, target scale ratio is sent to target terminal, to cause target terminal according to target scale ratio Example display includes the cartographic information of localization region.
Example, server, can be by map APP by the target scale ratio after target scale ratio is got It is sent to target terminal.Target terminal, can be according to the target scale ratio on boundary after the target scale ratio is received Display includes the cartographic information of the localization region on face.
Above-described embodiment is equally applicable to the technical scheme shown in Fig. 2 b.
In the technical scheme provided by this disclosed embodiment, server can be by the target scale ratio of the localization region of determination Example is sent to target terminal, in order to which target terminal shows the cartographic information including localization region according to the target scale ratio, Simplify user to determine to show the flow of scaling, improve Consumer's Experience.
Target terminal side
The embodiment of the present disclosure also provides a kind of scaling processing method, and this method is used for target terminal.Target terminal exists Indicated according to user after opening map APP, localization region can be obtained first, and obtain multiple contractings corresponding to the localization region Ratio is put, the target scale ratio of localization region is then obtained according to the plurality of scaling.
Example, server can receive the scaling and the elements of a fix that multiple terminals report, then according to the plurality of The scaling and the elements of a fix of terminal, establish the corresponding relation of the elements of a fix and scaling.Target terminal is downloading map During APP, the corresponding relation of the elements of a fix and scaling can be sent to target terminal by server simultaneously, and target terminal connects Receive and store the corresponding relation of the elements of a fix and scaling.After indicating to open map APP according to user, target terminal The current elements of a fix can be obtained first, are then obtained localization region according to the elements of a fix, are then inquired about the elements of a fix With the corresponding relation of scaling, multiple elements of a fix in localization region in the corresponding relation are obtained, and it is more to obtain this Multiple scalings corresponding to the individual elements of a fix, and then according to the target scale ratio of the plurality of scaling acquisition localization region Example, and show the cartographic information including localization region according to the target scale ratio.Specifically, target terminal is sat according to positioning When mark obtains localization region, it can obtain and be less than or equal to the region of predetermined threshold value as positioning area with the distance of current location Domain, i.e. target terminal can be that radius does circle using the current elements of a fix as center of circle predetermined threshold value, and the region of circle covering is Localization region.Target terminal can obtain multiple when obtaining the target scale ratio of localization region according to multiple scalings The average value of scaling, then the target scale ratio using the average value as localization region.
Example, server can be that different landform set different scalings, and will be contracted according to different landform Proportional marking is put on map.For target terminal when downloading map APP, server can be simultaneously by the scaling of different terrain Target terminal is sent to, or the map for being identified with scaling is sent to target terminal.Target terminal refers to according to user Show after opening map APP, the current elements of a fix can be obtained first, then obtain localization region according to the elements of a fix, Multiple scalings of the localization region are obtained then according to the features of terrain of localization region, or obtain the positioning area on map The multiple scalings identified in domain, and then according to the target scale ratio of the plurality of scaling acquisition localization region, and press The cartographic information including localization region is shown according to the target scale ratio.
In the technical scheme provided by this disclosed embodiment, target terminal can be according to multiple pantograph ratios of multiple terminals Example, the target scale ratio of localization region is determined, realize the scheme that scaling is adjusted according to different zones dynamic, improve Target scale ratio and then improves Consumer's Experience for the applicability of localization region.
Implementation process is discussed in detail below by several embodiments.
Fig. 3 is a kind of interaction figure of scaling processing method according to an exemplary embodiment, and executive agent is Terminal, target terminal and server, as shown in figure 3, comprising the following steps 301 to step 309:
In step 301, terminal obtains current scaling and the elements of a fix in show map information.
In step 302, scaling and the elements of a fix are sent to server by terminal.
In step 303, the scaling and the elements of a fix that server reports according to multiple terminals, establish the elements of a fix and The corresponding relation of scaling.
In step 304, target terminal sends the elements of a fix by map APP to server.
In step 305, server obtains the localization region of the target terminal according to the elements of a fix of the target terminal.
Within step 306, the corresponding relation of the server lookup elements of a fix and scaling, obtain positioned at target terminal Scaling corresponding to multiple elements of a fix in localization region.
In step 307, server obtains the target scale of the localization region of target terminal according to the plurality of scaling Ratio.
In step 308, the target scale ratio is sent to target terminal by server.
In a step 309, target terminal shows the cartographic information including localization region according to the target scale ratio.
Embodiment of the disclosure provides a kind of scaling processing method, and server can report more according to multiple terminals Individual scaling, the target scale ratio of the localization region of target terminal is determined, realized according to different zones dynamic adjustment contracting The scheme of ratio is put, improves applicability of the target scale ratio for localization region, and then improve Consumer's Experience.
Fig. 4 is a kind of interaction figure of scaling processing method according to an exemplary embodiment, and executive agent is Terminal, target terminal and server, as shown in figure 4, comprising the following steps 401 to step 409:
In step 401, terminal is exceeding preset duration according to the first scaling and the first coordinate show map information When, the first scaling is obtained as scaling, and the first coordinate is as the elements of a fix.
In step 402, scaling and the elements of a fix are sent to server by terminal.
In step 403, the scaling and the elements of a fix that server reports according to multiple terminals, establish the elements of a fix and The corresponding relation of scaling.
In step 404, target terminal sends the elements of a fix by map APP to server.
In step 405, server obtains the localization region of the target terminal according to the elements of a fix of the target terminal.
In a step 406, the corresponding relation of the server lookup elements of a fix and scaling, obtain positioned at target terminal Scaling corresponding to multiple elements of a fix in localization region.
In step 407, mesh of the server using the average value of the plurality of scaling as the localization region of target terminal Mark scaling.
In a step 408, the target scale ratio is sent to target terminal by server.
In step 409, target terminal shows the cartographic information including localization region according to the target scale ratio.
Embodiment of the disclosure provides a kind of scaling processing method, and server can report more according to multiple terminals Individual scaling, the target scale ratio of the localization region of target terminal is determined, realized according to different zones dynamic adjustment contracting The scheme of ratio is put, improves applicability of the target scale ratio for localization region, and then improve Consumer's Experience.
Following is embodiment of the present disclosure, can be used for performing embodiments of the present disclosure.
Fig. 5 a are a kind of structural representations of scaling processing unit 50 according to an exemplary embodiment, the dress Putting 50 can be implemented in combination with as some or all of of electronic equipment by software, hardware or both.As shown in Figure 5 a, The scaling processing unit 50 includes the first acquisition module 501, the second acquisition module 502 and the 3rd acquisition module 503.
Wherein, the first acquisition module 501, for obtaining the localization region of target terminal.
Second acquisition module 502, for obtaining multiple scalings corresponding to the localization region.
3rd acquisition module 503, for obtaining the target scale ratio of the localization region according to the multiple scaling Example.
In one embodiment, as shown in Figure 5 b, the 3rd acquisition module 503 includes the first acquisition submodule 5031.
First acquisition submodule 5031, for using the average value of the multiple scaling as the localization region Target scale ratio.
In one embodiment, as shown in Figure 5 c, described device 50 includes receiving module 504 and establishes module 505, and institute Stating the second acquisition module 502 includes the second acquisition submodule 5021.
Wherein, receiving module 504, the scaling and the elements of a fix sent for receiving multiple terminals.
Module 505 is established, for the scaling and the elements of a fix according to the multiple terminal, establishes the elements of a fix and contracting Put the corresponding relation of ratio.
Second acquisition submodule 5021, for inquiring about the corresponding relation of the elements of a fix and scaling, acquisition is located at Scaling corresponding to multiple elements of a fix in the localization region.
In one embodiment, as fig 5d, described device 50 includes the first sending module 506.
First sending module 506, for the target scale ratio to be sent into the target terminal, to cause State target terminal and the cartographic information for including the localization region is shown according to the target scale ratio.
Above-described embodiment is equally applicable to the scaling processing unit 50 shown in Fig. 5 b and Fig. 5 c.
In one embodiment, as depicted in fig. 5e, first acquisition module 501 includes the 3rd acquisition submodule 5011.
3rd acquisition submodule 5011, the distance for obtaining with the target terminal are less than or equal to predetermined threshold value Region.
Above-described embodiment is equally applicable to Fig. 5 b, Fig. 5 c and the scaling processing unit 50 shown in Fig. 5 d.
Embodiment of the disclosure provides a kind of scaling processing unit, and the device can report more according to multiple terminals Individual scaling, the target scale ratio of the localization region of target terminal is determined, realized according to different zones dynamic adjustment contracting The scheme of ratio is put, improves applicability of the target scale ratio for localization region, and then improve Consumer's Experience.
Fig. 6 a are a kind of structural representations of scaling processing unit 60 according to an exemplary embodiment, the dress Putting 60 can be implemented in combination with as some or all of of electronic equipment by software, hardware or both.As shown in Figure 6 a, The scaling processing unit 60 includes the 4th acquisition module 601 and the second sending module 602.
Wherein, the 4th acquisition module 601, sat in show map information, obtaining current scaling and positioning Mark.
Second sending module 602, for the scaling and the elements of a fix to be sent into server.
In one embodiment, as shown in Figure 6 b, the 4th acquisition module 601 includes the 3rd acquisition submodule 6011.
Wherein, the 3rd acquisition submodule 6011, for according to the first scaling and the first coordinate show map information During more than preset duration, first scaling is obtained as the scaling, first coordinate is as the positioning Coordinate.
Embodiment of the disclosure provides a kind of scaling processing unit, and the device can adjust aobvious according to the demand of user The scaling and the elements of a fix of pictorial map information, are then sent to server by the scaling and the elements of a fix, are easy to take The scaling for device adjustment different zones of being engaged in, realizes the scheme that scaling is adjusted according to different zones dynamic, improves use Experience at family.
The embodiment of the present disclosure provides a kind of scaling processing unit, including:
First processor;
For storing the first memory of first processor executable instruction;
Wherein, first processor is configured as:
Obtain the localization region of target terminal;
Obtain multiple scalings corresponding to the localization region;
The target scale ratio of the localization region is obtained according to the multiple scaling.
In one embodiment, above-mentioned first processor is also configured to:By the average value of the multiple scaling Target scale ratio as the localization region.
In one embodiment, above-mentioned first processor is also configured to:Receive the scaling that multiple terminals are sent And the elements of a fix;According to the scaling and the elements of a fix of the multiple terminal, the correspondence of the elements of a fix and scaling is established Relation;The corresponding relation of the elements of a fix and scaling is inquired about, the multiple positioning obtained in the localization region are sat Scaling corresponding to mark.
In one embodiment, above-mentioned first processor is also configured to:The target scale ratio is sent to institute Target terminal is stated, to cause the target terminal to show that the map including the localization region is believed according to the target scale ratio Breath.
In one embodiment, above-mentioned first processor is also configured to:Obtain small with the distance of the target terminal In or equal to predetermined threshold value region.
Embodiment of the disclosure provides a kind of scaling processing unit, and the device can report more according to multiple terminals Individual scaling, the target scale ratio of the localization region of target terminal is determined, realized according to different zones dynamic adjustment contracting The scheme of ratio is put, improves applicability of the target scale ratio for localization region, and then improve Consumer's Experience.
The embodiment of the present disclosure provides a kind of scaling processing unit, including:
Second processor;
For storing the second memory of second processor executable instruction;
Wherein, second processor is configured as:
In show map information, current scaling and the elements of a fix are obtained;
The scaling and the elements of a fix are sent to server.
In one embodiment, above-mentioned second processor is also configured to:Sat according to the first scaling and first When mark show map information exceedes preset duration, obtain first scaling and sat as the scaling, described first It is denoted as the elements of a fix.
Embodiment of the disclosure provides a kind of scaling processing unit, and the device can adjust aobvious according to the demand of user The scaling and the elements of a fix of pictorial map information, are then sent to server by the scaling and the elements of a fix, are easy to take The scaling for device adjustment different zones of being engaged in, realizes the scheme that scaling is adjusted according to different zones dynamic, improves use Experience at family.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 7 is a kind of structured flowchart for scaling processing unit 70 according to an exemplary embodiment, should Device 70 is applied to terminal device.For example, device 70 can be mobile phone, and computer, messaging devices, tablet device Deng.
Device 70 can include following one or more assemblies:Processing component 702, memory 704, power supply module 706 are more Media component 708, audio-frequency assembly 710, the interface 712 of input/output (I/O), sensor cluster 714, and communication component 716。
The integrated operation of the usual control device 70 of processing component 702, such as communicated with display, call, data, camera The operation that operation and record operation are associated.Processing component 702 can carry out execute instruction including one or more processors 720, To complete all or part of step of above-mentioned method.In addition, processing component 702 can include one or more modules, it is easy to Interaction between processing component 702 and other assemblies.For example, processing component 702 can include multi-media module, to facilitate more matchmakers Interaction between body component 708 and processing component 702.
Memory 704 is configured as storing various types of data to support the operation in device 70.These data are shown Example includes the instruction of any application program or method for being operated on device 70, contact data, telephone book data, disappears Breath, picture, video etc..Memory 704 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) are erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 706 provides electric power for the various assemblies of device 70.Power supply module 706 can include power management system System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 70.
Multimedia groupware 708 is included in the screen of one output interface of offer between described device 70 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action Border, but also detect and touched or the related duration and pressure of slide with described.In certain embodiments, more matchmakers Body component 708 includes a front camera and/or rear camera.When device 70 is in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive outside multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio-frequency assembly 710 is configured as output and/or input audio signal.For example, audio-frequency assembly 710 includes a Mike Wind (MIC), when device 70 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone is configured To receive external audio signal.The audio signal received can be further stored in memory 704 or via communication component 716 send.In certain embodiments, audio-frequency assembly 710 also includes a loudspeaker, for exports audio signal.
I/O interfaces 712 provide interface between processing component 702 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 714 includes one or more sensors, for providing the state estimation of various aspects for device 70. For example, sensor cluster 714 can detect opening/closed mode of device 70, the relative positioning of component, such as the component For the display and keypad of device 70, sensor cluster 714 can be with the position of 70 1 components of detection means 70 or device Change, the existence or non-existence that user contacts with device 70, the orientation of device 70 or acceleration/deceleration and the temperature change of device 70. Sensor cluster 714 can include proximity transducer, be configured to detect object nearby in no any physical contact Presence.Sensor cluster 714 can also include optical sensor, such as CMOS or ccd image sensor, in imaging applications Use.In certain embodiments, the sensor cluster 714 can also include acceleration transducer, gyro sensor, magnetic sensing Device, pressure sensor or temperature sensor.
Communication component 716 is configured to facilitate the communication of wired or wireless way between device 70 and other equipment.Device 70 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 716 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 716 also includes near-field communication (NFC) module, to promote junction service.Example Such as, in NFC module radio frequency identification (RFID) technology can be based on, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 70 can be believed by one or more application specific integrated circuits (ASIC), numeral Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic building bricks are realized, for performing the method described in Fig. 1.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 704 of instruction, above-mentioned instruction can be performed as the processor 720 of device 70 with the side described in completing above-mentioned Fig. 1 Method.For example, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, magnetic Band, floppy disk and optical data storage devices etc..
Fig. 8 is a kind of block diagram for scaling processing unit 80 according to an exemplary embodiment.For example, dress Put 80 and may be provided in a server.Device 80 includes processing component 802, and it further comprises one or more processors, And as the memory resource representated by memory 803, can be by the instruction of the execution of processing component 802 for storing, such as should Use program.The application program stored in memory 803 can include it is one or more each correspond to one group of instruction Module.In addition, processing component 802 is configured as execute instruction, to perform above-mentioned Fig. 2 a, Fig. 2 b and the method shown in Fig. 2 c.
Device 80 can also include the power management that a power supply module 806 is configured as performs device 80, and one wired Or radio network interface 805 is configured as device 80 being connected to network, and input and output (I/O) interface 808.Device 80 It can operate based on the operating system for being stored in memory 803, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
The embodiment of the present disclosure provides a kind of non-transitorycomputer readable storage medium, the instruction in the storage medium By device 70 computing device when so that device 70 is able to carry out the scaling processing method of above-mentioned end side, the side Method includes:
In show map information, current scaling and the elements of a fix are obtained;
The scaling and the elements of a fix are sent to server.
In one embodiment, described in show map information, obtaining current scaling and the elements of a fix includes: When exceeding preset duration according to the first scaling and the first coordinate show map information, obtain first scaling and make For the scaling, first coordinate is as the elements of a fix.
The embodiment of the present disclosure provides a kind of non-transitorycomputer readable storage medium, the instruction in the storage medium By device 80 computing device when so that device 80 is able to carry out the scaling processing method of above-mentioned server side, described Method includes:
Obtain the localization region of target terminal;
Obtain multiple scalings corresponding to the localization region;
The target scale ratio of the localization region is obtained according to the multiple scaling.
In one embodiment, the target scale ratio that the localization region is obtained according to the multiple scaling Including:Target scale ratio using the average value of the multiple scaling as the localization region.
In one embodiment, methods described includes:Receive scaling and the elements of a fix that multiple terminals are sent;According to The scaling and the elements of a fix of the multiple terminal, establish the corresponding relation of the elements of a fix and scaling;The acquisition institute Stating multiple scalings corresponding to localization region includes:The corresponding relation of the elements of a fix and scaling is inquired about, obtains position In scaling corresponding to multiple elements of a fix in the localization region.
In one embodiment, methods described includes:The target scale ratio is sent to the target terminal, so that Obtain the target terminal and the cartographic information for including the localization region is shown according to the target scale ratio.
In one embodiment, the localization region for obtaining target terminal includes:Obtain with the target terminal away from From the region less than or equal to predetermined threshold value.
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice disclosure disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledges in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (18)

  1. A kind of 1. scaling processing method, it is characterised in that including:
    Obtain the localization region of target terminal;
    Obtain multiple scalings corresponding to the localization region;
    The target scale ratio of the localization region is obtained according to the multiple scaling.
  2. 2. according to the method for claim 1, it is characterised in that described that the positioning is obtained according to the multiple scaling The target scale ratio in region includes:
    Target scale ratio using the average value of the multiple scaling as the localization region.
  3. 3. method according to claim 1 or 2, it is characterised in that methods described includes:
    Receive scaling and the elements of a fix that multiple terminals are sent;
    According to the scaling and the elements of a fix of the multiple terminal, the corresponding relation of the elements of a fix and scaling is established;
    Multiple scalings corresponding to the acquisition localization region include:
    The corresponding relation of the elements of a fix and scaling is inquired about, obtains multiple elements of a fix in the localization region Corresponding scaling.
  4. 4. method according to claim 1 or 2, it is characterised in that methods described includes:
    The target scale ratio is sent to the target terminal, to cause the target terminal according to the target scale ratio Example display includes the cartographic information of the localization region.
  5. 5. method according to claim 1 or 2, it is characterised in that the localization region for obtaining target terminal includes:
    Obtain the region for being less than or equal to predetermined threshold value with the distance of the target terminal.
  6. A kind of 6. scaling processing method, it is characterised in that including:
    In show map information, current scaling and the elements of a fix are obtained;
    The scaling and the elements of a fix are sent to server.
  7. 7. according to the method for claim 6, it is characterised in that it is described in show map information, obtain current scaling Ratio and the elements of a fix include:
    When exceeding preset duration according to the first scaling and the first coordinate show map information, first pantograph ratio is obtained Example is used as the scaling, and first coordinate is as the elements of a fix.
  8. A kind of 8. scaling processing unit, it is characterised in that including:
    First acquisition module, for obtaining the localization region of target terminal;
    Second acquisition module, for obtaining multiple scalings corresponding to the localization region;
    3rd acquisition module, for obtaining the target scale ratio of the localization region according to the multiple scaling.
  9. 9. device according to claim 8, it is characterised in that the 3rd acquisition module includes:
    First acquisition submodule, for the target scale ratio using the average value of the multiple scaling as the localization region Example.
  10. 10. device according to claim 8 or claim 9, it is characterised in that described device includes:
    Receiving module, the scaling and the elements of a fix sent for receiving multiple terminals;
    Module is established, for the scaling and the elements of a fix according to the multiple terminal, establishes the elements of a fix and scaling Corresponding relation;
    Second acquisition module includes:
    Second acquisition submodule, for inquiring about the corresponding relation of the elements of a fix and scaling, acquisition is located at the positioning Scaling corresponding to multiple elements of a fix in region.
  11. 11. device according to claim 8 or claim 9, it is characterised in that described device includes:
    First sending module, for the target scale ratio to be sent into the target terminal, to cause the target terminal Being shown according to the target scale ratio includes the cartographic information of the localization region.
  12. 12. device according to claim 8 or claim 9, it is characterised in that first acquisition module includes:
    3rd acquisition submodule, it is less than or equal to the region of predetermined threshold value with the distance of the target terminal for obtaining.
  13. A kind of 13. scaling processing unit, it is characterised in that including:
    4th acquisition module, in show map information, obtaining current scaling and the elements of a fix;
    Second sending module, for the scaling and the elements of a fix to be sent into server.
  14. 14. device according to claim 13, it is characterised in that the 4th acquisition module includes:
    3rd acquisition submodule, for exceeding preset duration according to the first scaling and the first coordinate show map information When, first scaling is obtained as the scaling, and first coordinate is as the elements of a fix.
  15. A kind of 15. scaling processing unit, it is characterised in that including:
    First processor;
    For storing the first memory of first processor executable instruction;
    Wherein, the first processor is configured as:
    Obtain the localization region of target terminal;
    Obtain multiple scalings corresponding to the localization region;
    The target scale ratio of the localization region is obtained according to the multiple scaling.
  16. A kind of 16. scaling processing unit, it is characterised in that including:
    Second processor;
    For storing the second memory of second processor executable instruction;
    Wherein, the second processor is configured as:
    In show map information, current scaling and the elements of a fix are obtained;
    The scaling and the elements of a fix are sent to server.
  17. 17. a kind of computer-readable recording medium, is stored thereon with computer instruction, it is characterised in that the instruction is by processor The step of claim 1 to 5 any one claim methods described is realized during execution.
  18. 18. a kind of computer-readable recording medium, is stored thereon with computer instruction, it is characterised in that the instruction is by processor The step of claim 6 or 7 methods described are realized during execution.
CN201710465254.4A 2017-06-19 2017-06-19 Scaling processing method and processing device Pending CN107357829A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710465254.4A CN107357829A (en) 2017-06-19 2017-06-19 Scaling processing method and processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710465254.4A CN107357829A (en) 2017-06-19 2017-06-19 Scaling processing method and processing device

Publications (1)

Publication Number Publication Date
CN107357829A true CN107357829A (en) 2017-11-17

Family

ID=60272227

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710465254.4A Pending CN107357829A (en) 2017-06-19 2017-06-19 Scaling processing method and processing device

Country Status (1)

Country Link
CN (1) CN107357829A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109873992A (en) * 2019-03-26 2019-06-11 联想(北京)有限公司 Information processing method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102395104A (en) * 2011-10-25 2012-03-28 桂林理工大学 Method for regulating map scale automatically and dynamically for mobile terminal
US20120110513A1 (en) * 2010-10-28 2012-05-03 Sap Ag Aggregating based on hierarchy and scaling input
CN102541412A (en) * 2010-12-27 2012-07-04 上海博泰悦臻电子设备制造有限公司 Method and system for automatically zooming in and out display scale of navigation map
CN103823828A (en) * 2013-10-31 2014-05-28 小米科技有限责任公司 Map scale setting method, map scale setting device and terminal
CN105159543A (en) * 2015-09-25 2015-12-16 百度在线网络技术(北京)有限公司 Method and device for providing map service
CN105893450A (en) * 2015-12-31 2016-08-24 乐卡汽车智能科技(北京)有限公司 Map displaying method, device and terminal equipment
CN106488402A (en) * 2015-09-01 2017-03-08 腾讯科技(深圳)有限公司 Make an inventory rendering method and relevant device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120110513A1 (en) * 2010-10-28 2012-05-03 Sap Ag Aggregating based on hierarchy and scaling input
CN102541412A (en) * 2010-12-27 2012-07-04 上海博泰悦臻电子设备制造有限公司 Method and system for automatically zooming in and out display scale of navigation map
CN102395104A (en) * 2011-10-25 2012-03-28 桂林理工大学 Method for regulating map scale automatically and dynamically for mobile terminal
CN103823828A (en) * 2013-10-31 2014-05-28 小米科技有限责任公司 Map scale setting method, map scale setting device and terminal
CN106488402A (en) * 2015-09-01 2017-03-08 腾讯科技(深圳)有限公司 Make an inventory rendering method and relevant device
CN105159543A (en) * 2015-09-25 2015-12-16 百度在线网络技术(北京)有限公司 Method and device for providing map service
CN105893450A (en) * 2015-12-31 2016-08-24 乐卡汽车智能科技(北京)有限公司 Map displaying method, device and terminal equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109873992A (en) * 2019-03-26 2019-06-11 联想(北京)有限公司 Information processing method and device
CN109873992B (en) * 2019-03-26 2021-12-24 联想(北京)有限公司 Information processing method and device

Similar Documents

Publication Publication Date Title
CN105203100B (en) Intelligently guiding user takes the method and device of elevator
WO2017031905A1 (en) Social relationship analysis method and device
CN104023121A (en) Mode switching method and device
CN105094962A (en) Application disabled method and apparatus
US20230217212A1 (en) Ranging capacity request method, ranging capacity sending method, and ranging capacity receiving method
CN107560619A (en) Recommend method and apparatus in path
CN107948926A (en) The method and apparatus that smart machine is shared
CN108307308B (en) Positioning method, device and storage medium for wireless local area network equipment
CN106484392A (en) icon display method and device
CN104994125A (en) Information sending method and device and information displaying method and device
CN108629178A (en) The resource access rights configuration method and device of application program
EP3173925B1 (en) Interface display method and apparatus, computer program and recording medium
CN105372999A (en) Data processing method and device
CN105101078B (en) Information prompting method, terminal and server
CN104881342B (en) terminal test method and device
US10356160B2 (en) Methods and devices for acquiring user information
CN104010129A (en) Image processing method, device and terminal
CN106445606A (en) Application program starting method and device
EP3125514A1 (en) Method and device for state notification
CN103957502A (en) Location-based service program selecting method, device and terminal
CN107888468A (en) Information acquisition system, method and device
CN110121148B (en) Interphone team method and device
CN106775646A (en) Alarm clock control method and device
CN106777044A (en) Picture method for pushing and device
CN107357829A (en) Scaling processing method and processing device

Legal Events

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

Application publication date: 20171117

RJ01 Rejection of invention patent application after publication