CN110475018A - A kind of mobile phone screenshotss method and system based on map location label - Google Patents

A kind of mobile phone screenshotss method and system based on map location label Download PDF

Info

Publication number
CN110475018A
CN110475018A CN201910665558.4A CN201910665558A CN110475018A CN 110475018 A CN110475018 A CN 110475018A CN 201910665558 A CN201910665558 A CN 201910665558A CN 110475018 A CN110475018 A CN 110475018A
Authority
CN
China
Prior art keywords
mobile phone
rectangular area
coordinate
location information
phone screen
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
CN201910665558.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.)
Guangdong Yinuo Communication Co Ltd
Original Assignee
Guangdong Yinuo Communication 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 Guangdong Yinuo Communication Co Ltd filed Critical Guangdong Yinuo Communication Co Ltd
Priority to CN201910665558.4A priority Critical patent/CN110475018A/en
Publication of CN110475018A publication Critical patent/CN110475018A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The invention belongs to mobile phone screenshotss field, a kind of mobile phone screenshotss method and system based on map location label provided, method includes: acquisition marker location information, and by location information with 2D coordinate form record;The markd rectangular area of covering institute is calculated according to the positional information;According to rectangular area described in mobile phone screen size scaling, the rectangular area is made just to cover whole mobile phone screen;Picture is intercepted, and exports screenshot.By designing above, it is able to use family automatically recording position information after mark position, allow the random marker location information of user, to verification size and all labels can be covered according to screen size auto zoom when screenshotss, then user is given after screenshot, both the trouble scaled manually was eliminated, in turn ensures that all labels can be shown in screenshot.

Description

A kind of mobile phone screenshotss method and system based on map location label
Technical field
The invention belongs to mobile phone screenshotss field more particularly to a kind of mobile phone screenshotss method marked based on map location and it is System.
Background technique
Now, mobile phone plays this effect that do not replace, mobile phone screenshot as the tool of mobile communication in people's lives It is a very basic function, user's mark position in map is then sent to other users.But it if is marked with multiple Position, and when mobile phone screen can not be shown completely, it is necessary to map denotation is reduced manually, until can see all marker bits Set, then again screenshot send, user's operation get up it is more troublesome, be easy omit mark position, if long screenshotss send after, receive Person will still be scaled manually, and pulling can just see having those places to be marked, and be easy to omit mark position.
To sum up, it now needs one kind and is able to solve above-mentioned technical problem, be able to use family and automatically record position after mark position Confidence breath, can be according to screen size auto zoom to verifying size and cover all labels, then to use after screenshot when screenshotss Family overcomes the above problem by this scheme.
Summary of the invention
Place in view of above-mentioned deficiencies of the prior art, the purpose of the present invention is to provide a kind of based on map location label Mobile phone screenshotss method and system aim to solve the problem that the prior art needs to scale map manually and finds mark position screenshot again, or are easy to lose The problem of spill tag is remembered.
In order to achieve the above object, this invention takes following technical schemes:
A kind of mobile phone screenshotss method based on map location label characterized by comprising
Marker location information is obtained, and by location information with 2D coordinate form record;
The markd rectangular area of covering institute is calculated according to the positional information;
According to rectangular area described in mobile phone screen size scaling, the rectangular area is made just to cover whole mobile phone screen;
Picture is intercepted, and exports screenshot.
Preferably, described to include: with 2D coordinate form record by location information
Drafting mobile phone top left co-ordinate is (0,0), and X-axis rises in value direction from left to right, the increment direction of Y-axis be from up to Under;
It is converted into plane 2D coordinate again in the longitude and latitude of existing map by the corresponding extraction label in the position in the mobile phone upper left corner (X, Y).
Preferably, described by location information with 2D coordinate form record after further include: filter out the markd X value of institute Maximum value and minimum value and calculate the maximum value of its difference and Y value and minimum value and calculate its difference.
Preferably, the markd rectangular area of covering that calculates according to the positional information includes:
Determine the coordinate of rectangular area upper left corner endpoint;
Determine the coordinate of rectangular area lower right corner endpoint;
Institute is calculated according to the coordinate of the coordinate of rectangular area upper left corner endpoint and rectangle lower right corner endpoint State rectangular area.
Preferably, the rectangular area according to mobile phone screen size scaling covers the rectangular area just whole A mobile phone screen includes:
Calculate the length and width and length-width ratio of the rectangular area;
It is equal to the length or width that the rectangular area length-width ratio adjusts the rectangular area according to mobile phone screen length-width ratio, and obtains Final rectangular area out.
In addition, the present invention also provides a kind of mobile phone screen-cutting systems based on map location label, which is characterized in that packet It includes:
Position information acquisition module is used to obtain marker location information, and by location information with 2D coordinate form record;
Computing module is used to calculate the markd rectangular area of covering institute according to the positional information;
Module is adjusted, the rectangular area according to mobile phone screen size scaling is used for, covers the rectangular area just Lid whole mobile phone screen;
Picture interception module is used to intercept picture, and exports screenshot.
Compared with prior art, beneficial effects of the present invention:
A kind of mobile phone screenshotss method and system based on map location label provided by the invention, method include: to obtain Marker location information, and by location information with 2D coordinate form record;It is all that a covering is calculated according to the positional information The rectangular area of label;According to rectangular area described in mobile phone screen size scaling, the rectangular area is made just to cover entire hand Machine screen;Picture is intercepted, and exports screenshot.By designing above, it is able to use family and automatically records position letter after mark position Breath, allows the random marker location information of user, and screenshotss whens to verification size and can cover according to screen size auto zoom Then all labels give user, had both eliminated the trouble scaled manually, and in turn ensured that all labels can be in screenshot after screenshot Display.
Detailed description of the invention
Fig. 1 is the flow diagram of the mobile phone screenshotss method of the invention based on map location label;
Fig. 2 is the schematic block diagram of the mobile phone screen-cutting system of the invention based on map location label.
Specific embodiment
To make the purpose of the present invention, technical solution and effect clearer, clear and definite, right as follows in conjunction with drawings and embodiments The present invention is further described.It should be appreciated that described herein, specific examples are only used to explain the present invention, is not used to Limit the present invention.
As shown in attached drawing 1-2, a kind of mobile phone screenshotss method based on map location label provided by the invention, feature exists In, comprising: marker location information is obtained, and by location information with 2D coordinate form record;It calculates according to the positional information One markd rectangular area of covering institute;According to rectangular area described in mobile phone screen size scaling, make the rectangular area just Whole mobile phone screen is covered well;Picture is intercepted, and exports screenshot.
Specifically, when marking map location when the user clicks then cell phone system decodes location information with XY axis Coordinate form record, user click multiple labels, mark different places, obtain multiple coordinate records, according to coordinate record meter The rectangular area for calculating overlay marks, then adapts it to according to the ratio of the longer wide-edge of handset size proportion adjustment rectangular area Then screen proportion cuts out picture and exports preservation to mobile phone.
Specific regulating step is as follows:
For example, if the rectangular area length-width ratio being calculated before us is 12:9, our mobile phone is set Screen aspect ratio is 16:9, and the bottom right angular coordinate for the rectangular area being calculated at this moment just is needed to be revised as (16:9).So that The length-width ratio of red framework is 16:9, finally by rectangular zoom or the size of real screen is stretched to, to make mobile phone full frame aobvious Show, is scaled manually without user.
In some embodiments, described to include: with 2D coordinate form record by location information
Drafting mobile phone top left co-ordinate is (0,0), and X-axis rises in value direction from left to right, the increment direction of Y-axis be from up to Under;It is converted into plane 2D coordinate (X, Y) again in the longitude and latitude of existing map by the corresponding extraction label in the position in the mobile phone upper left corner. Specifically, earth longitude and latitude switchs to the prior art that 2D coordinate system is each map, this patent, which is used, uses " Mercator projection The googl e map of method ",
In some embodiments, it is described by location information with 2D coordinate form record after further include: filter out all The maximum value and minimum value of the X value of label simultaneously calculate the maximum value of its difference and Y value and minimum value and calculate its difference, by X The width and length of the difference of value and the difference of Y value tentatively respectively as rectangular area.
In some embodiments, described to calculate the markd rectangular area packet of a covering institute according to the positional information It includes:
Determine the coordinate of rectangular area upper left corner endpoint;
Determine the coordinate of rectangular area lower right corner endpoint;
Institute is calculated according to the coordinate of the coordinate of rectangular area upper left corner endpoint and rectangle lower right corner endpoint State rectangular area.Specifically, the abscissa of rectangular area upper left corner endpoint is that minimum X-coordinate value subtracts A inside all labels, Wherein A is positive number, and ordinate is then that minimum Y-coordinate value subtract B inside all labels, and wherein B is positive number, in operating process, in advance On backstage, the value of A and B is set.Likewise, the coordinate value in the available rectangular area lower right corner.
In some embodiments, the rectangular area according to mobile phone screen size scaling, makes the rectangular area just Covering whole mobile phone screen includes: well
Calculate the length and width and length-width ratio of the rectangular area;
It is equal to the length or width that the rectangular area length-width ratio adjusts the rectangular area according to mobile phone screen length-width ratio, and obtains Final rectangular area out.Specifically, width is that the maximum value of X value and the difference of minimum value add 2A, the maximum value and minimum of a length of Y value The difference of value adds 2B, then calculates the relationship of A and B under a proportional relationship, therefore A value is arranged in advance in system, under a proportional relationship It obtains B, confirms final rectangular area.
In addition, the present invention also provides a kind of mobile phone screen-cutting systems based on map location label, comprising:
Position information acquisition module is used to obtain marker location information, and by location information with 2D coordinate form record;
Computing module is used to calculate the markd rectangular area of covering institute according to the positional information;
Module is adjusted, the rectangular area according to mobile phone screen size scaling is used for, covers the rectangular area just Lid whole mobile phone screen;
Picture interception module is used to intercept picture, and exports screenshot.
To sum up, working principle of the present invention is as follows:
A kind of mobile phone screenshotss method and system based on map location label provided by the invention, method include: to obtain Marker location information, and by location information with 2D coordinate form record;It is all that a covering is calculated according to the positional information The rectangular area of label;According to rectangular area described in mobile phone screen size scaling, the rectangular area is made just to cover entire hand Machine screen;Picture is intercepted, and exports screenshot.By designing above, it is able to use family and automatically records position letter after mark position Breath, allows the random marker location information of user, and screenshotss whens to verification size and can cover according to screen size auto zoom Then all labels give user, had both eliminated the trouble scaled manually, and in turn ensured that all labels can be in screenshot after screenshot Display.Label map is clicked in use process, clicks screenshot after having marked map, screenshot needed for background processor calculates automatically Then screenshot saves for final rectangular area.
It, can according to the technique and scheme of the present invention and its hair it is understood that for those of ordinary skills Bright design is subject to equivalent substitution or change, and all these changes or replacement all should belong to the guarantor of appended claims of the invention Protect range.

Claims (6)

1. a kind of mobile phone screenshotss method based on map location label characterized by comprising
Marker location information is obtained, and by location information with 2D coordinate form record;
The markd rectangular area of covering institute is calculated according to the positional information;
According to rectangular area described in mobile phone screen size scaling, the rectangular area is made just to cover whole mobile phone screen;
Picture is intercepted, and exports screenshot.
2. the mobile phone screenshotss method according to claim 1 based on map location label, which is characterized in that described by position Information is recorded with 2D coordinate form
Drafting mobile phone top left co-ordinate is (0,0), and X-axis rises in value direction from left to right, and the increment direction of Y-axis is from top to bottom;
By the position in the mobile phone upper left corner it is corresponding extract label the longitude and latitude of existing map be converted into again plane 2D coordinate (X, Y)。
3. the mobile phone screenshotss method according to claim 2 based on map location label, which is characterized in that described by position After confidence breath is with 2D coordinate form record further include: filter out the maximum value of markd X value and minimum value and calculate it The maximum value and minimum value of difference and Y value simultaneously calculate its difference.
4. the mobile phone screenshotss method according to claim 3 based on map location label, which is characterized in that described according to institute It states location information and calculates the markd rectangular area of covering institute and include:
Determine the coordinate of rectangular area upper left corner endpoint;
Determine the coordinate of rectangular area lower right corner endpoint;
The square is calculated according to the coordinate of the coordinate of rectangular area upper left corner endpoint and rectangle lower right corner endpoint Shape region.
5. the mobile phone screenshotss method according to claim 4 based on map location label, which is characterized in that described according to hand Machine screen size scales the rectangular area, so that the rectangular area is just covered whole mobile phone screen and includes:
Calculate the length and width and length-width ratio of the rectangular area;
It is equal to the rectangular area length-width ratio according to mobile phone screen length-width ratio and adjusts the length or width of the rectangular area, and obtains most Whole rectangular area.
6. a kind of mobile phone screen-cutting system based on map location label characterized by comprising
Position information acquisition module is used to obtain marker location information, and by location information with 2D coordinate form record;
Computing module is used to calculate the markd rectangular area of covering institute according to the positional information;
Module is adjusted, the rectangular area according to mobile phone screen size scaling is used for, covers the rectangular area just whole A mobile phone screen;
Picture interception module is used to intercept picture, and exports screenshot.
CN201910665558.4A 2019-07-23 2019-07-23 A kind of mobile phone screenshotss method and system based on map location label Pending CN110475018A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910665558.4A CN110475018A (en) 2019-07-23 2019-07-23 A kind of mobile phone screenshotss method and system based on map location label

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910665558.4A CN110475018A (en) 2019-07-23 2019-07-23 A kind of mobile phone screenshotss method and system based on map location label

Publications (1)

Publication Number Publication Date
CN110475018A true CN110475018A (en) 2019-11-19

Family

ID=68509163

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910665558.4A Pending CN110475018A (en) 2019-07-23 2019-07-23 A kind of mobile phone screenshotss method and system based on map location label

Country Status (1)

Country Link
CN (1) CN110475018A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111986088A (en) * 2020-08-28 2020-11-24 网易(杭州)网络有限公司 Image processing method, image processing device, storage medium and terminal equipment
CN113934351A (en) * 2021-10-15 2022-01-14 北京房江湖科技有限公司 Map screenshot method and device and computer-readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102607578A (en) * 2012-02-16 2012-07-25 华为终端有限公司 Method and device for making navigation map of local region
CN107870703A (en) * 2016-09-26 2018-04-03 北京京东尚科信息技术有限公司 Method, system and the terminal device of full-screen picture displaying
CN110032314A (en) * 2019-03-12 2019-07-19 中国平安人寿保险股份有限公司 A kind of long screenshotss method, apparatus, storage medium and terminal device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102607578A (en) * 2012-02-16 2012-07-25 华为终端有限公司 Method and device for making navigation map of local region
CN107870703A (en) * 2016-09-26 2018-04-03 北京京东尚科信息技术有限公司 Method, system and the terminal device of full-screen picture displaying
CN110032314A (en) * 2019-03-12 2019-07-19 中国平安人寿保险股份有限公司 A kind of long screenshotss method, apparatus, storage medium and terminal device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111986088A (en) * 2020-08-28 2020-11-24 网易(杭州)网络有限公司 Image processing method, image processing device, storage medium and terminal equipment
CN111986088B (en) * 2020-08-28 2023-06-30 网易(杭州)网络有限公司 Image processing method, device, storage medium and terminal equipment
CN113934351A (en) * 2021-10-15 2022-01-14 北京房江湖科技有限公司 Map screenshot method and device and computer-readable storage medium

Similar Documents

Publication Publication Date Title
US9576349B2 (en) Techniques for atmospheric and solar correction of aerial images
US20210020139A1 (en) Picture obtaining method and apparatus and picture processing method and apparatus
CN110475018A (en) A kind of mobile phone screenshotss method and system based on map location label
CN107967702A (en) The thermodynamic chart method for visualizing of reverse color applying drawing
CN109255300A (en) Billing information extracting method, device, computer equipment and storage medium
CN107977407A (en) tile map storage method, device, storage medium and computer equipment
CN109900366A (en) A kind of method and device detecting arrester temperature anomaly point
CN106485710A (en) A kind of element mistake part detection method and device
CN103544852A (en) Method for automatically hanging labels on air planes in airport scene monitoring video
CN109254760A (en) A kind of method of picture scaling
CN106227853A (en) One map generalization method electronically and processing method
EP3585052B1 (en) Image identification method, device, apparatus, and data storage medium
CN108337494A (en) A kind of calibration method of projection device, device, projection device and terminal device
WO2016011787A1 (en) Method and apparatus for automatically adjusting electronic document page
CN106951566A (en) A kind of listed company's positioning and pricing information display methods and system based on electronic map
CN105467100A (en) County territory soil erosion time-space dynamic monitoring method based on remote sensing and GIS
CN110334647A (en) A kind of parameter format method based on image recognition
CN111915729A (en) Simulation display method and system for three-dimensional GIS information
CN107491778B (en) Intelligent device screen extraction method and system based on positioning image
CN112308768B (en) Data processing method, device, electronic equipment and storage medium
CN111241974B (en) Bill information acquisition method, device, computer equipment and storage medium
CN105589982A (en) Method and device for importing design drawings on basis of symbol templates
CN109634507B (en) Touch electronic map control method and device
CN112669367A (en) Stamping position detection method and device, computer equipment and storage medium
CN112580111A (en) Electronic signature method and system with signing time

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20191119